summaryrefslogtreecommitdiffstats
path: root/hw_v5_fx30t_extension/simulation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hw_v5_fx30t_extension/simulation/Makefile')
-rw-r--r--hw_v5_fx30t_extension/simulation/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/hw_v5_fx30t_extension/simulation/Makefile b/hw_v5_fx30t_extension/simulation/Makefile
new file mode 100644
index 0000000..7c41f84
--- /dev/null
+++ b/hw_v5_fx30t_extension/simulation/Makefile
@@ -0,0 +1,47 @@
+#
+# $HeadURL: https://svn.fzd.de/repo/concast/FWF_Projects/FWKE/beam_position_monitor/hardware/board_sp605/simulation/Makefile $
+# $Date: 2011-09-05 16:49:43 +0200 (Mo, 05. Sep 2011) $
+# $Author: lange $
+# $Revision: 1240 $
+#
+
+library = work
+top = top
+
+all: compile simulate
+
+
+compile: Makefile.msim
+ export ANAFLAGS="-quiet -2008"; \
+ make -f Makefile.msim | ccze -A
+
+
+simulate:
+ export top=$(top); \
+ vsim -quiet -gui $(library).$(top) -do run.do -nowlfmcl -l transcript.log
+
+
+clean:
+ rm -rf $(library)
+ rm -f transcript
+ rm -f *.wlf
+ rm -f wlf*
+ @#
+ make -f Makefile.msim clean
+ rm -f Makefile.msim
+ rm -f .stamp
+
+
+# default patterns
+
+lib: $(library)
+
+$(library):
+ vlib $(library)
+
+
+# generate Makefile.msim with vmk
+Makefile.msim: vhdl_files.txt lib
+ vlib work
+ vmk -t modelsim -O -w $(library) -F vhdl_files.txt
+
OpenPOWER on IntegriCloud