首次提交
This commit is contained in:
71
uart_cli_axil/sim/func001/status.tcl
Normal file
71
uart_cli_axil/sim/func001/status.tcl
Normal file
@@ -0,0 +1,71 @@
|
||||
|
||||
# When open .wlf file, there is no CASE_NAME variable in context. We get the case name by searching in the struct window instead.
|
||||
if {![info exists CASE_NAME]} {
|
||||
puts "++++++++++ search case name ++++++++++"
|
||||
set wave_sim_type func
|
||||
for {set wave_i 0} {$wave_i < 1000} {incr wave_i 1} {
|
||||
set wave_case_num [format "%03d" $wave_i];
|
||||
set wave_case_name ${wave_sim_type}${wave_case_num}
|
||||
if {[search structure $wave_case_name] >= 0} {
|
||||
break
|
||||
}
|
||||
}
|
||||
set unset_CASE_NAME true
|
||||
set CASE_NAME $wave_case_name
|
||||
}
|
||||
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/rx_valid
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/rx_data
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/rx_ready
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/tx_valid
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/tx_data
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/tx_ready
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/status
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/cli_state
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/exec_state
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_state
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_data
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_status
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_status_pending
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/cli_wdata
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_buf
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_char
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/cli_push_pending
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/char_cnt
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/strlen
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/word_cnt
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_mem
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/cmd_read
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/cmd_read_pending
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/cmd_write
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_enter
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_enter_pending
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_enter_ack
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_prompt_pending
|
||||
add wave -noupdate /$CASE_NAME/u0_uart_cli_axil/u0_cli2axil/echo_prompt_ack
|
||||
eval TreeUpdate \[SetDefaultTree\]
|
||||
WaveRestoreCursors {{Cursor 1} {3951644000 ps} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 348
|
||||
configure wave -valuecolwidth 100
|
||||
configure wave -justifyvalue left
|
||||
configure wave -signalnamewidth 0
|
||||
configure wave -snapdistance 10
|
||||
configure wave -datasetprefix 0
|
||||
configure wave -rowmargin 4
|
||||
configure wave -childrowmargin 2
|
||||
configure wave -gridoffset 0
|
||||
configure wave -gridperiod 1
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
configure wave -timelineunits ps
|
||||
update
|
||||
WaveRestoreZoom {3951483782 ps} {3951804218 ps}
|
||||
|
||||
if { [info exists unset_CASE_NAME] && [string equal -nocase true $unset_CASE_NAME] } {
|
||||
set unset_CASE_NAME false
|
||||
unset CASE_NAME
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user