File: compile.do

package info (click to toggle)
bladerf 0.2022.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 373,752 kB
  • sloc: ansic: 1,186,428; xml: 150,799; vhdl: 24,182; tcl: 15,408; python: 3,409; sh: 1,551; makefile: 1,255; asm: 158; csh: 18; cpp: 9
file content (24 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Create work library
vlib nuand

# Compile design files
vcom -work nuand -2008 ../../synthesis/synchronizer.vhd
vcom -work nuand -2008 ../../synthesis/handshake.vhd
vcom -work nuand -2008 ../vhdl/time_tamer.vhd

vcom -work nuand -2008 ../vhdl/tb/time_tamer_tb.vhd

# Elaborate design
vsim nuand.time_tamer_tb

# Add waves
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/clock
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/reset
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/ts_clock
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/ts_reset
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/timestamp
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/compare_time
add wave -hexadecimal sim:/time_tamer_tb/U_tamer/check_compare/fsm

# Run
run -all