Debian Codegraph @

hdl/fpga/ip/nuand/time_tamer/modelsim/compile.do

raw
1 # Create work library
2 vlib nuand
3
4 # Compile design files
5 vcom -work nuand -2008 ../../synthesis/synchronizer.vhd
6 vcom -work nuand -2008 ../../synthesis/handshake.vhd
7 vcom -work nuand -2008 ../vhdl/time_tamer.vhd
8
9 vcom -work nuand -2008 ../vhdl/tb/time_tamer_tb.vhd
10
11 # Elaborate design
12 vsim nuand.time_tamer_tb
13
14 # Add waves
15 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/clock
16 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/reset
17 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/ts_clock
18 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/ts_reset
19 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/timestamp
20 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/compare_time
21 add wave -hexadecimal sim:/time_tamer_tb/U_tamer/check_compare/fsm
22
23 # Run
24 run -all