Fix ghdl sim script.
authorStaf Verhaegen <staf@stafverhaegen.be>
Sat, 25 Nov 2017 15:44:05 +0000 (16:44 +0100)
committerStaf Verhaegen <staf@stafverhaegen.be>
Sat, 25 Nov 2017 15:44:05 +0000 (16:44 +0100)
sim/ghdl/bench_idcode.sh

index 1717ae0a9e73564949b916322a806553a5046b10..e17b6566b800ecc2a7a86cb2a791ea75c48f2d8b 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/sh
-ghdl -i ../../rtl/vhdl/c4m_jtag_*.vhdl
-ghdl -i ../../bench/vhdl/idcode.vhdl
-ghdl -m bench_idcode
-./bench_idcode --wave=bench_idcode.ghw
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_pkg.vhdl
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_tap_fsm.vhdl
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_irblock.vhdl
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_idblock.vhdl
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_iocell.vhdl
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_ioblock.vhdl
+ghdl -a --std=08 ../../rtl/vhdl/c4m_jtag_tap_controller.vhdl
+ghdl -a --std=08 ../../bench/vhdl/idcode.vhdl
+ghdl -r --std=08 bench_idcode --wave=bench_idcode.ghw