Lösung vom Drive kopiert und mit ChatGPT korrigieren lassen.

This commit is contained in:
2024-02-29 16:33:57 +01:00
parent 673abf9c48
commit 8f9d0cd001
31 changed files with 1313 additions and 107 deletions

43
labor_4_drive/sim/wave.do Normal file
View File

@@ -0,0 +1,43 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate /spi_master_tb/RESETn_TB
add wave -noupdate /spi_master_tb/RUN_TB
add wave -noupdate /spi_master_tb/CLOCK_50_TB
add wave -noupdate -radix unsigned /spi_master_tb/CLK_DIVIDER_TB
add wave -noupdate /spi_master_tb/SLAVE_SELECT_TB
add wave -noupdate /spi_master_tb/DATA_LENGTH_TB
add wave -noupdate -radix unsigned /spi_master_tb/MODE_TB
add wave -noupdate -radix hexadecimal /spi_master_tb/TX_TB
add wave -noupdate -radix hexadecimal /spi_master_tb/RX_TB
add wave -noupdate -divider {SPI Interface}
add wave -noupdate /spi_master_tb/SSn_TB
add wave -noupdate /spi_master_tb/SCLK_TB
add wave -noupdate /spi_master_tb/MOSI_TB
add wave -noupdate /spi_master_tb/BUSY_TB
add wave -noupdate /spi_master_tb/MISO_TB
add wave -noupdate -divider {SPI Master intern}
add wave -noupdate /spi_master_tb/SYNC_TEST_TB
add wave -noupdate -radix unsigned -childformat {{{/spi_master_tb/STATE_TEST_TB[2]} -radix unsigned} {{/spi_master_tb/STATE_TEST_TB[1]} -radix unsigned} {{/spi_master_tb/STATE_TEST_TB[0]} -radix unsigned}} -subitemconfig {{/spi_master_tb/STATE_TEST_TB[2]} {-height 15 -radix unsigned} {/spi_master_tb/STATE_TEST_TB[1]} {-height 15 -radix unsigned} {/spi_master_tb/STATE_TEST_TB[0]} {-height 15 -radix unsigned}} /spi_master_tb/STATE_TEST_TB
add wave -noupdate /spi_master_tb/ENA_TEST_TB
add wave -noupdate /spi_master_tb/spi_master_test/BUSY
add wave -noupdate -radix hexadecimal /spi_master_tb/spi_master_test/TX_SR
add wave -noupdate -radix hexadecimal /spi_master_tb/spi_master_test/RX_SR
add wave -noupdate -radix unsigned /spi_master_tb/spi_master_test/CYCLE_CTR
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {24527614 ps} 0}
quietly wave cursor active 1
configure wave -namecolwidth 232
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 ns
update
WaveRestoreZoom {0 ps} {26250 ns}