summaryrefslogtreecommitdiffstats
path: root/test/vhdltest/debug.do
blob: 39210fedfa703a62de8b9423c26bb0c828e45e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# window setup
view structure
view signals
view wave

# wave setup
add wave -noupdate -divider -height 20 Inputs
add wave -position insertpoint  \
sim:/tb/dut/clk \
sim:/tb/dut/rst_i \
sim:/tb/dut/en

add wave -noupdate -divider -height 20 Outputs
add wave -position insertpoint  \
sim:/tb/dut/state_active_*_o \
sim:/tb/dut/*_set_*_o \
sim:/tb/dut/completed_o 

add wave -noupdate -divider -height 20 System
add wave -position insertpoint  \
sim:/tb/dut/stall \
sim:/tb/dut/rst \
sim:/tb/dut/spontaneous_en \
sim:/tb/dut/optimal_transition_set_combined_sig

add wave -noupdate -divider -height 20 Entry_Set
add wave -position insertpoint  \
sim:/tb/dut/in_entry_set_*_sig \
sim:/tb/dut/in_complete_entry_set_*_sig 

add wave -noupdate -divider -height 20 Exit_Set
add wave -position insertpoint  \
sim:/tb/dut/in_exit_set_*_sig 

add wave -noupdate -divider -height 20 Transition_Set
add wave -position insertpoint  \
sim:/tb/dut/in_optimal_transition_set_*_sig 

#add wave -noupdate -divider -height 20 Event_Interface
#add wave -position insertpoint  \
#sim:/tb/ec/*_i \
#sim:/tb/ec/*_o

add wave -noupdate -divider -height 20 ALL_EventController
add wave -position insertpoint  \
sim:/tb/ec/*

add wave -noupdate -divider -height 20 ALL_MicroStepper
add wave -position insertpoint  \
sim:/tb/dut/*

# run simulation
run 500 ns