# Makefile for Cadence "ldv" "ncvhdl" VHDL # # use tcsh # source vhdl_cshrc # make /bin/make or /usr/bin/make # or /usr/local/bin/gmake # or /usr/ccs/bin/make # # for debugging # # make |& more # # must have set up cds.lib and hdl.var in default directory # must have subdirectory "vhdl_lib", mkdir vhdl_lib # get tadd32.vhdl using cp ~squire/www/download/tadd32.vhdl . # get add4.vhdl cp ~squire/www/download/add4.vhdl . all: tadd32.out tadd32.out: tadd32.vhdl add32.vhdl tadd32.run ncvhdl -v93 add32.vhdl ncvhdl -v93 tadd32.vhdl ncelab -v93 tadd32:circuits ncsim -batch -logfile tadd32.out -input tadd32.run tadd32 clean: rm -f *.log rm -rf vhdl_lib mkdir vhdl_lib