Initial commit
This commit is contained in:
32
Libs/RS232_test/sim/serialPortTransmitter.do
Normal file
32
Libs/RS232_test/sim/serialPortTransmitter.do
Normal file
@ -0,0 +1,32 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /serialporttransmitter_tb/clock
|
||||
add wave -noupdate /serialporttransmitter_tb/reset
|
||||
add wave -noupdate -divider Controls
|
||||
add wave -noupdate -radix hexadecimal -radixshowbase 0 /serialporttransmitter_tb/dataIn
|
||||
add wave -noupdate /serialporttransmitter_tb/send
|
||||
add wave -noupdate -divider Internals
|
||||
add wave -noupdate /serialporttransmitter_tb/I_DUT/dividerCounterReset
|
||||
add wave -noupdate /serialporttransmitter_tb/I_DUT/txSendingByte
|
||||
add wave -noupdate /serialporttransmitter_tb/I_DUT/txSendingByteAndStop
|
||||
add wave -noupdate -divider {Serial out}
|
||||
add wave -noupdate /serialporttransmitter_tb/busy
|
||||
add wave -noupdate /serialporttransmitter_tb/TxD
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {33909547739 ps} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 142
|
||||
configure wave -valuecolwidth 40
|
||||
configure wave -justifyvalue left
|
||||
configure wave -signalnamewidth 1
|
||||
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 ms
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {315 us}
|
9
Libs/RS232_test/sim/uartDriver.txt
Normal file
9
Libs/RS232_test/sim/uartDriver.txt
Normal file
@ -0,0 +1,9 @@
|
||||
at 1 us
|
||||
info setting baud rate
|
||||
uart_baud 115200
|
||||
|
||||
at 100 us
|
||||
uart_send Hello
|
||||
|
||||
wait 1 ms
|
||||
uart_send world
|
37
Libs/RS232_test/sim/uvmRs232.do
Normal file
37
Libs/RS232_test/sim/uvmRs232.do
Normal file
@ -0,0 +1,37 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate -group {Reset and clock} /uvmrs232_tb/reset
|
||||
add wave -noupdate -group {Reset and clock} /uvmrs232_tb/clock
|
||||
add wave -noupdate -expand -group {UART signals} /uvmrs232_tb/RxD
|
||||
add wave -noupdate -expand -group {UART signals} /uvmrs232_tb/TxD
|
||||
add wave -noupdate -expand -group {UART Tx} /uvmrs232_tb/I_tester/rs232TxString
|
||||
add wave -noupdate -expand -group {UART Tx} /uvmrs232_tb/I_tester/rs232SendString
|
||||
add wave -noupdate -expand -group {UART Tx} /uvmrs232_tb/dataIn
|
||||
add wave -noupdate -expand -group {UART Tx} /uvmrs232_tb/send
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/U_DUT/I_driv/outString
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/U_DUT/I_driv/sendString
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/U_DUT/I_driv/outChar
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/U_DUT/I_driv/sendChar
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/dataOut
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/dataValid
|
||||
add wave -noupdate -expand -group {UART Rx} /uvmrs232_tb/I_tester/rs232RxChar
|
||||
add wave -noupdate -expand -group Transactions /uvmrs232_tb/U_DUT/driverTransaction
|
||||
add wave -noupdate -expand -group Transactions /uvmrs232_tb/U_DUT/monitorTransaction
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {0 ps} 0}
|
||||
quietly wave cursor active 0
|
||||
configure wave -namecolwidth 247
|
||||
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 us
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {2100 us}
|
Reference in New Issue
Block a user