1 |
4 |
Bjarneorn |
|
2 |
|
|
onbreak {resume}
|
3 |
|
|
|
4 |
|
|
proc r {} {
|
5 |
|
|
restart -force -all
|
6 |
|
|
}
|
7 |
|
|
|
8 |
|
|
transcript file ""
|
9 |
|
|
|
10 |
|
|
set debug 1
|
11 |
|
|
|
12 |
|
|
if {$debug} {
|
13 |
|
|
set seed [clock seconds]
|
14 |
|
|
} else {
|
15 |
|
|
set seed [clock seconds]
|
16 |
|
|
}
|
17 |
|
|
|
18 |
|
|
#transcript file transcript
|
19 |
|
|
|
20 |
|
|
if {$debug} {
|
21 |
|
|
vsim -novopt -sv_seed $seed -wlf hssdrc_work.wlf work.tb_top
|
22 |
|
|
|
23 |
|
|
onerror {resume}
|
24 |
|
|
quietly WaveActivateNextPane {} 0
|
25 |
|
|
|
26 |
|
|
radix hexadecimal
|
27 |
|
|
|
28 |
|
|
add wave -noupdate -divider system
|
29 |
|
|
add wave -noupdate -format Logic /tb_top/clk
|
30 |
|
|
add wave -noupdate -format Logic /tb_top/reset
|
31 |
|
|
add wave -noupdate -format Logic /tb_top/sclr
|
32 |
|
|
|
33 |
|
|
add wave -noupdate -divider sys_if_req_resp
|
34 |
|
|
add wave -noupdate -format Logic /tb_top/sys_write
|
35 |
|
|
add wave -noupdate -format Logic /tb_top/sys_read
|
36 |
|
|
add wave -noupdate -format Logic /tb_top/sys_refr
|
37 |
|
|
add wave -noupdate -format Logic /tb_top/sys_ready
|
38 |
|
|
|
39 |
|
|
add wave -noupdate -divider sys_if_req_data
|
40 |
|
|
add wave -noupdate -format Literal /tb_top/sys_rowa
|
41 |
|
|
add wave -noupdate -format Literal /tb_top/sys_cola
|
42 |
|
|
add wave -noupdate -format Literal /tb_top/sys_ba
|
43 |
|
|
add wave -noupdate -format Literal /tb_top/sys_burst
|
44 |
|
|
add wave -noupdate -format Literal /tb_top/sys_chid_i
|
45 |
|
|
|
46 |
|
|
add wave -noupdate -divider sys_if_data
|
47 |
|
|
add wave -noupdate -format Literal /tb_top/sys_wdata
|
48 |
|
|
add wave -noupdate -format Literal /tb_top/sys_wdatam
|
49 |
|
|
add wave -noupdate -format Logic /tb_top/sys_use_wdata
|
50 |
|
|
|
51 |
|
|
add wave -noupdate -format Logic /tb_top/sys_chid_o
|
52 |
|
|
add wave -noupdate -format Literal /tb_top/sys_rdata
|
53 |
|
|
add wave -noupdate -format Logic /tb_top/sys_vld_rdata
|
54 |
|
|
|
55 |
|
|
add wave -noupdate -divider sdram_if
|
56 |
|
|
add wave -noupdate -format Logic /tb_top/nclk
|
57 |
|
|
add wave -noupdate -format Literal /tb_top/inter/cmd_e
|
58 |
|
|
add wave -noupdate -format Literal /tb_top/dq
|
59 |
|
|
add wave -noupdate -format Literal /tb_top/dqm
|
60 |
|
|
add wave -noupdate -format Literal /tb_top/addr
|
61 |
|
|
add wave -noupdate -format Literal /tb_top/ba
|
62 |
|
|
add wave -noupdate -format Logic /tb_top/cs_n
|
63 |
|
|
add wave -noupdate -format Logic /tb_top/ras_n
|
64 |
|
|
add wave -noupdate -format Logic /tb_top/cas_n
|
65 |
|
|
add wave -noupdate -format Logic /tb_top/we_n
|
66 |
|
|
|
67 |
|
|
add wave -noupdate -divider am
|
68 |
|
|
add wave -noupdate -format Logic /tb_top/top/access_manager/am_pre_all_enable
|
69 |
|
|
add wave -noupdate -format Logic /tb_top/top/access_manager/am_refr_enable
|
70 |
|
|
add wave -noupdate -format Literal /tb_top/top/access_manager/am_pre_enable
|
71 |
|
|
add wave -noupdate -format Literal /tb_top/top/access_manager/am_act_enable
|
72 |
|
|
add wave -noupdate -format Literal /tb_top/top/access_manager/am_read_enable
|
73 |
|
|
add wave -noupdate -format Literal /tb_top/top/access_manager/am_write_enable
|
74 |
|
|
|
75 |
|
|
add wave -noupdate -divider mux
|
76 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_pre_all
|
77 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_refr
|
78 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_pre
|
79 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_act
|
80 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_read
|
81 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_write
|
82 |
|
|
add wave -noupdate -format Logic /tb_top/top/mux/mux_lmr
|
83 |
|
|
add wave -noupdate -format Literal /tb_top/top/mux/mux_burst
|
84 |
|
|
|
85 |
|
|
add wave -noupdate -divider state
|
86 |
|
|
add wave -noupdate -format Literal /tb_top/top/decoder/state0/state
|
87 |
|
|
add wave -noupdate -format Literal /tb_top/top/decoder/state1/state
|
88 |
|
|
add wave -noupdate -format Literal /tb_top/top/decoder/state2/state
|
89 |
|
|
|
90 |
|
|
add wave -noupdate -divider ba_map
|
91 |
|
|
add wave -noupdate -format Logic /tb_top/top/ba_map/update
|
92 |
|
|
add wave -noupdate -format Logic /tb_top/top/ba_map/clear
|
93 |
|
|
add wave -noupdate -format Literal /tb_top/top/ba_map/ba
|
94 |
|
|
add wave -noupdate -format Literal /tb_top/top/ba_map/rowa
|
95 |
|
|
add wave -noupdate -format Logic /tb_top/top/ba_map/pre_act_rw
|
96 |
|
|
add wave -noupdate -format Logic /tb_top/top/ba_map/act_rw
|
97 |
|
|
add wave -noupdate -format Logic /tb_top/top/ba_map/rw
|
98 |
|
|
add wave -noupdate -format Logic /tb_top/top/ba_map/all_close
|
99 |
|
|
|
100 |
|
|
add wave -noupdate -divider init_state
|
101 |
|
|
add wave -noupdate -format Logic /tb_top/top/init_state/init_done
|
102 |
|
|
|
103 |
|
|
add wave -noupdate -divider refr_cnt
|
104 |
|
|
add wave -noupdate -format Logic /tb_top/top/refr_cnt/ack
|
105 |
|
|
add wave -noupdate -format Logic /tb_top/top/refr_cnt/hi_req
|
106 |
|
|
add wave -noupdate -format Logic /tb_top/top/refr_cnt/low_req
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
TreeUpdate [SetDefaultTree]
|
111 |
|
|
configure wave -namecolwidth 203
|
112 |
|
|
configure wave -valuecolwidth 100
|
113 |
|
|
configure wave -justifyvalue left
|
114 |
|
|
configure wave -signalnamewidth 0
|
115 |
|
|
configure wave -snapdistance 10
|
116 |
|
|
configure wave -datasetprefix 0
|
117 |
|
|
configure wave -rowmargin 4
|
118 |
|
|
configure wave -childrowmargin 2
|
119 |
|
|
configure wave -gridoffset 0
|
120 |
|
|
configure wave -gridperiod 1
|
121 |
|
|
configure wave -griddelta 40
|
122 |
|
|
configure wave -timeline 0
|
123 |
|
|
update
|
124 |
|
|
WaveRestoreZoom {0 ps} {1000 ps}
|
125 |
|
|
|
126 |
|
|
log -r /*
|
127 |
|
|
|
128 |
|
|
} else {
|
129 |
|
|
vsim -sv_seed $seed work.tb_top
|
130 |
|
|
run -all
|
131 |
|
|
quit
|
132 |
|
|
}
|
133 |
|
|
|