Initial commit
This commit is contained in:
32
Libs/Common_test/sim/debounce.do
Normal file
32
Libs/Common_test/sim/debounce.do
Normal file
@ -0,0 +1,32 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate -divider {Clock and Reset}
|
||||
add wave -noupdate -color Gray60 /debounce_tb/I_tb/testInfo
|
||||
add wave -noupdate -color Gray50 /debounce_tb/clock
|
||||
add wave -noupdate -color Gray50 /debounce_tb/reset
|
||||
add wave -noupdate -divider Input
|
||||
add wave -noupdate -color {Dark Orchid} /debounce_tb/input
|
||||
add wave -noupdate -radix unsigned /debounce_tb/I_debouncer/DELAY
|
||||
add wave -noupdate -radix unsigned /debounce_tb/I_debouncer/lvec_count
|
||||
add wave -noupdate -radix binary -childformat {{/debounce_tb/I_debouncer/lvec_sample(9) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(8) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(7) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(6) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(5) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(4) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(3) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(2) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(1) -radix binary} {/debounce_tb/I_debouncer/lvec_sample(0) -radix binary}} -subitemconfig {/debounce_tb/I_debouncer/lvec_sample(9) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(8) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(7) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(6) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(5) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(4) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(3) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(2) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(1) {-radix binary} /debounce_tb/I_debouncer/lvec_sample(0) {-radix binary}} /debounce_tb/I_debouncer/lvec_sample
|
||||
add wave -noupdate /debounce_tb/I_debouncer/lsig_samplePulse
|
||||
add wave -noupdate -divider {Debonced input}
|
||||
add wave -noupdate -color Gold /debounce_tb/debounced
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {59062638 ps} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 265
|
||||
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 us
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {86730947 ps}
|
24
Libs/Common_test/sim/debouncerULogicVector.do
Normal file
24
Libs/Common_test/sim/debouncerULogicVector.do
Normal file
@ -0,0 +1,24 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /debouncerulogicvector_tb/reset
|
||||
add wave -noupdate /debouncerulogicvector_tb/clock
|
||||
add wave -noupdate -expand /debouncerulogicvector_tb/input
|
||||
add wave -noupdate -format Analog-Step -height 30 -max 15.0 -radix unsigned /debouncerulogicvector_tb/i_filt/debouncecounter
|
||||
add wave -noupdate -expand /debouncerulogicvector_tb/debounced
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {8842679128 ps} 0}
|
||||
configure wave -namecolwidth 285
|
||||
configure wave -valuecolwidth 42
|
||||
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 1000
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
configure wave -timelineunits us
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {2100 ns}
|
26
Libs/Common_test/sim/rotaryToUnsigned.do
Normal file
26
Libs/Common_test/sim/rotaryToUnsigned.do
Normal file
@ -0,0 +1,26 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /rotarytounsigned_tb/reset
|
||||
add wave -noupdate /rotarytounsigned_tb/clock
|
||||
add wave -noupdate -format Analog-Step -height 50 -max 14.999999999999998 -radix unsigned -radixshowbase 0 /rotarytounsigned_tb/rotary
|
||||
add wave -noupdate /rotarytounsigned_tb/I_DUT/glitchDelayCounter
|
||||
add wave -noupdate -format Analog-Step -height 50 -max 14.999999999999998 -radix unsigned -childformat {{/rotarytounsigned_tb/I_DUT/rotaryStable(3) -radix unsigned} {/rotarytounsigned_tb/I_DUT/rotaryStable(2) -radix unsigned} {/rotarytounsigned_tb/I_DUT/rotaryStable(1) -radix unsigned} {/rotarytounsigned_tb/I_DUT/rotaryStable(0) -radix unsigned}} -radixshowbase 0 -subitemconfig {/rotarytounsigned_tb/I_DUT/rotaryStable(3) {-height 17 -radix unsigned -radixshowbase 0} /rotarytounsigned_tb/I_DUT/rotaryStable(2) {-height 17 -radix unsigned -radixshowbase 0} /rotarytounsigned_tb/I_DUT/rotaryStable(1) {-height 17 -radix unsigned -radixshowbase 0} /rotarytounsigned_tb/I_DUT/rotaryStable(0) {-height 17 -radix unsigned -radixshowbase 0}} /rotarytounsigned_tb/I_DUT/rotaryStable
|
||||
add wave -noupdate -format Analog-Step -height 200 -max 63.0 -radix unsigned -radixshowbase 0 /rotarytounsigned_tb/number
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {0 ps} 0}
|
||||
quietly wave cursor active 0
|
||||
configure wave -namecolwidth 243
|
||||
configure wave -valuecolwidth 40
|
||||
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 ns
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {210 us}
|
23
Libs/Common_test/sim/spikeFilter.do
Normal file
23
Libs/Common_test/sim/spikeFilter.do
Normal file
@ -0,0 +1,23 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /spikefilter_tb/reset
|
||||
add wave -noupdate /spikefilter_tb/clock
|
||||
add wave -noupdate /spikefilter_tb/input
|
||||
add wave -noupdate /spikefilter_tb/filtered
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {3129283489 ps} 0}
|
||||
configure wave -namecolwidth 285
|
||||
configure wave -valuecolwidth 42
|
||||
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 1000
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
configure wave -timelineunits us
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {42 us}
|
Reference in New Issue
Block a user