################################################################################ # Makefile for LIBRARY 'CACHE' - can reference multiple entity/architecture pairs ################################################################################ # ################################################################################ ifndef TOOLSET USAGE: @echo 'USAGE: gmake -f <makefile> TOOLSET=<toolset>' @echo ' <toolset> from one of the following:' @echo ' cadence - Leapfrog, Cadence Design Systems' @echo ' ikos - Voyager, Ikos Systems' @echo ' mtech - V-System, Model Technology' @echo ' qvhdl - QuickVHDL, Mentor Graphics' @echo ' synopsys - VSS, Synopsys' @echo ' vantage - Optium, Vantage Analysis Systems' endif ifeq (${TOOLSET}, cadence) COMPILER = cv -messages ${DEBUG} ${LIBS} $< DEBUG = LIBS = -work xilinx endif ifeq (${TOOLSET}, ikos) COMPILER = analyze ${DEBUG} ${LIBS} $< DEBUG = LIBS = -l xilinx endif ifeq (${TOOLSET}, mtech) COMPILER = vcom ${DEBUG} ${LIBS} -source $< DEBUG = LIBS = -work ${LIB_OBJ} endif ifeq (${TOOLSET}, qvhdl) COMPILER = qvcom ${DEBUG} ${LIBS} -source $< DEBUG = LIBS = -work ${LIB_OBJ} endif ifeq (${TOOLSET}, qhdl) COMPILER = qvlcom ${DEBUG} ${LIBS} -93 -source $< DEBUG = LIBS = -work ${LIB_OBJ} endif ifeq (${TOOLSET}, synopsys) COMPILER = vhdlan ${DEBUG} ${LIBS} $< DEBUG = LIBS = -w XILINX endif ifeq (${TOOLSET}, vantage) COMPILER = analyze ${DEBUG} ${LIBS} -src $< DEBUG = LIBS = -lib ${LIB_OBJ} -lib ${EIA_OBJ} -libieee -lib ${UTILITIES_OBJ} endif ################################################################################ ################################################################################ # This is the dummy directory for the timestamps TS = ts TOUCH = touch $@ LIB_SRC = ./verilab LIB_OBJ = ../obj/${TOOLSET}/verilab ################################################################################ ################################################################################ all: detff detff: ${LIB_OBJ}/${TS}/detff.v ################################################################################ # THE UPDATE RULES ################################################################################ #------------------------------------------------------------------------------- # ENTITY detff ${LIB_OBJ}/${TS}/detff.v: ${LIB_SRC}/detff.v ${COMPILER} ${TOUCH} #------------------------------------------------------------------------------- <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>