Initial commit
This commit is contained in:
34
05-Morse/Simulation/charToMorseController.do
Normal file
34
05-Morse/Simulation/charToMorseController.do
Normal file
@ -0,0 +1,34 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate -divider {Clock and reset}
|
||||
add wave -noupdate /chartomorsecontroller_tb/reset
|
||||
add wave -noupdate /chartomorsecontroller_tb/clock
|
||||
add wave -noupdate -divider {FIFO interface}
|
||||
add wave -noupdate -radix hexadecimal -radixshowbase 0 /chartomorsecontroller_tb/char
|
||||
add wave -noupdate -radix ascii -radixshowbase 0 /chartomorsecontroller_tb/char
|
||||
add wave -noupdate /chartomorsecontroller_tb/charNotReady
|
||||
add wave -noupdate /chartomorsecontroller_tb/readChar
|
||||
add wave -noupdate -divider {Duration counter}
|
||||
add wave -noupdate /chartomorsecontroller_tb/unitNb
|
||||
add wave -noupdate /chartomorsecontroller_tb/startCounter
|
||||
add wave -noupdate /chartomorsecontroller_tb/done
|
||||
add wave -noupdate -divider {Morse Code}
|
||||
add wave -noupdate /chartomorsecontroller_tb/morseOut
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {0 ns} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 249
|
||||
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 ns} {2556473 ns}
|
28
05-Morse/Simulation/morseDecoder.do
Normal file
28
05-Morse/Simulation/morseDecoder.do
Normal file
@ -0,0 +1,28 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate /morsedecoder_tb/reset
|
||||
add wave -noupdate /morsedecoder_tb/clock
|
||||
add wave -noupdate /morsedecoder_tb/RxD
|
||||
add wave -noupdate -radix ascii /morsedecoder_tb/I_enc/characterReg
|
||||
add wave -noupdate /morsedecoder_tb/morseCode
|
||||
add wave -noupdate /morsedecoder_tb/morseEnvelope
|
||||
add wave -noupdate /morsedecoder_tb/TxD
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {30477 ns} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 198
|
||||
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 ns} {12762570 ns}
|
||||
run -all
|
31
05-Morse/Simulation/morseEncoder.do
Normal file
31
05-Morse/Simulation/morseEncoder.do
Normal file
@ -0,0 +1,31 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate -expand -group {Reset and clock} /morseencoder_tb/reset
|
||||
add wave -noupdate -expand -group {Reset and clock} /morseencoder_tb/clock
|
||||
add wave -noupdate -expand -group UART /morseencoder_tb/RxD
|
||||
add wave -noupdate -expand -group UART /morseencoder_tb/I_DUT/characterValid
|
||||
add wave -noupdate -expand -group UART -radix ascii /morseencoder_tb/I_DUT/characterReg
|
||||
add wave -noupdate -expand -group UART -radix hexadecimal /morseencoder_tb/I_DUT/characterReg
|
||||
add wave -noupdate -expand -group Encoder /morseencoder_tb/I_DUT/I_enc/startCounter
|
||||
add wave -noupdate -expand -group Encoder -radix unsigned /morseencoder_tb/I_DUT/I_enc/unitNb
|
||||
add wave -noupdate -expand -group Encoder /morseencoder_tb/I_DUT/I_enc/done
|
||||
add wave -noupdate -expand -group Encoder /morseencoder_tb/morseCode
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {0 ns} 0}
|
||||
quietly wave cursor active 1
|
||||
configure wave -namecolwidth 290
|
||||
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 1000
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
configure wave -timelineunits us
|
||||
update
|
||||
WaveRestoreZoom {0 ns} {37800 us}
|
||||
run -all
|
19
05-Morse/Simulation/uartAgent.txt
Normal file
19
05-Morse/Simulation/uartAgent.txt
Normal file
@ -0,0 +1,19 @@
|
||||
info 01 startup idle
|
||||
duration 100 ns
|
||||
|
||||
info 02 write and readback baud rate register
|
||||
duration 100 ns
|
||||
|
||||
info 03 write user baudrate
|
||||
duration 100 ns
|
||||
baudrate 1E6
|
||||
|
||||
info 04 send word to UART
|
||||
duration 10 us
|
||||
|
||||
info 05 receive word from UART
|
||||
duration 10 us
|
||||
send any
|
||||
|
||||
info 06 read status and data word from UART
|
||||
duration 100 ns
|
9
05-Morse/Simulation/uartDriver.txt
Normal file
9
05-Morse/Simulation/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
|
15
05-Morse/Simulation/uartMonitor.txt
Normal file
15
05-Morse/Simulation/uartMonitor.txt
Normal file
@ -0,0 +1,15 @@
|
||||
at 0 ns idle
|
||||
at 182465 ns sent 48
|
||||
at 312673 ns sent 65
|
||||
at 442881 ns sent 6C
|
||||
at 582494 ns received 48
|
||||
at 703298 ns sent 6F
|
||||
at 712711 ns received 69
|
||||
at 833506 ns sent 0D
|
||||
at 842927 ns received 0D
|
||||
at 1182465 ns sent 77
|
||||
at 1312673 ns sent 6F
|
||||
at 1442881 ns sent 72
|
||||
at 1573090 ns sent 6C
|
||||
at 1703298 ns sent 64
|
||||
at 1833506 ns sent 0D
|
37
05-Morse/Simulation/uvmRs232.do
Normal file
37
05-Morse/Simulation/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