diff options
author | Bert Lange <b.lange@hzdr.de> | 2015-04-15 13:54:39 +0200 |
---|---|---|
committer | Bert Lange <b.lange@hzdr.de> | 2015-04-15 13:54:39 +0200 |
commit | 8c5a743259480ebd0cfdbb17fbde8584e34b2aa4 (patch) | |
tree | 794887f475d6abb4bdde21c94105f7fcdde1bdd4 /mig_test/simulation/Makefile | |
parent | a1c964908b51599bf624bd2d253419c7e629f195 (diff) | |
download | zpu-8c5a743259480ebd0cfdbb17fbde8584e34b2aa4.zip zpu-8c5a743259480ebd0cfdbb17fbde8584e34b2aa4.tar.gz |
clean up
Diffstat (limited to 'mig_test/simulation/Makefile')
-rw-r--r-- | mig_test/simulation/Makefile | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/mig_test/simulation/Makefile b/mig_test/simulation/Makefile deleted file mode 100644 index b1a0b89..0000000 --- a/mig_test/simulation/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -# -# $HeadURL: https://svn.fzd.de/repo/concast/FWF_Projects/FWKE/beam_position_monitor/trunk/hardware/board_prototyp1/simulation/Makefile $ -# $Date$ -# $Author$ -# $Revision$ -# - -library = work -top = top_tb - -software_dir = ../software - - -# http://sourceforge.net/projects/vmk/ -VMK = vmk - -# generate list of used libs -library_list = $(shell cut --field 1 --delimiter=" " --only-delimited ../vhdl_files.txt | grep --invert "\#" | sort --unique) -#library_list += $(shell cut --field 1 --delimiter=" " --only-delimited ../verilog_files.txt | grep --invert "\#" | sort --unique) - -# list of verilog files -#vlog_list = $(shell cut --field 3 --delimiter=" " --only-delimited ../verilog_files.txt | grep --invert "\#" | sort --unique) - - -all: compile - -software: - test ! -d $(software_dir) || make --directory $(software_dir) | ccze -A - -hw_timestamp: - test ! -f ../rtl/Makefile || make --directory ../rtl - -compile: hw_timestamp Makefile.msim - @# compile DDR3 memory model stuff - #vlog -work nanya +define+x16 +define+sg15f +incdir++../rtl_tb $(vlog_list) - @# normal vhdl compile - export ANAFLAGS="-quiet -2008"; \ - make -f Makefile.msim | ccze -A - @echo "Start the simulation with \"make simulate\" now." - - -simulate: - #mkdir -p data - export top=$(top); \ - vsim -quiet -novopt -gui $(library).$(top) -do run.do -l transcript.log - - -clean: - @# modelsim stuff - rm -f transcript.log - rm -f bus_trace.txt - rm -f *.wlf - rm -f wlf* - @# compile stuff - -make -f Makefile.msim clean - rm -rf $(library_list) - rm -f Makefile.msim - rm -f .stamp - - -# generate Makefile.msim with vmk -Makefile.msim: software ../vhdl_files.txt $(library_list) - $(VMK) -t modelsim -O -w $(library) -F ../vhdl_files.txt - -$(library_list): - vlib $@ - |