- Master RX and TX working

git-svn-id: http://moon:8086/svn/vhdl/trunk@1276 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-06-04 11:09:56 +00:00
parent 7ad5c7f3c2
commit 6605ecc2ac
5 changed files with 405 additions and 143 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ do {tb_spi.wdo}
view structure
view signals
run 20 us
run 60 us
+30 -20
View File
@@ -2,15 +2,26 @@ onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -format Logic /tb_spi/clk
add wave -noupdate -format Logic /tb_spi/rst
add wave -noupdate -format Logic /tb_spi/tx_cmd_vld
add wave -noupdate -format Logic /tb_spi/tx_cmd_rdy
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/tx_cmd
add wave -noupdate -format Logic /tb_spi/tx_din_vld
add wave -noupdate -format Logic /tb_spi/tx_din_rdy
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/tx_din
add wave -noupdate -format Logic /tb_spi/tx_shift_en
add wave -noupdate -format Logic /tb_spi/tx_mosi
add wave -noupdate -format Logic /tb_spi/tx_clk
add wave -noupdate -format Logic /tb_spi/mst_cmd_vld
add wave -noupdate -format Logic /tb_spi/mst_cmd_rdy
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/mst_cmd
add wave -noupdate -format Logic /tb_spi/mst_din_vld
add wave -noupdate -format Logic /tb_spi/mst_din_rdy
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/mst_din
add wave -noupdate -format Logic /tb_spi/mst_shift_en
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/mst_dout
add wave -noupdate -format Logic /tb_spi/mst_dout_vld
add wave -noupdate -format Logic /tb_spi/mst_dout_re
add wave -noupdate -format Logic /tb_spi/mosi
add wave -noupdate -format Logic /tb_spi/miso
add wave -noupdate -format Logic /tb_spi/mst_clk
add wave -noupdate -format Logic /tb_spi/mso
add wave -noupdate -format Literal /tb_spi/ctrl
add wave -noupdate -format Literal -expand /tb_spi/status
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/slv_rx_shiftreg
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/slv_rx_valid_pipe
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/slv_rx_data
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/mst_rx_data
add wave -noupdate -divider TX
add wave -noupdate -format Literal /tb_spi/inst_spi_tx/word_width
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/rst
@@ -22,30 +33,29 @@ add wave -noupdate -format Logic /tb_spi/inst_spi_tx/din_vld
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/din_rdy
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/din
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/shift_en
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/data_out
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/shift_reg
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/clk_out
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/mosi
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/tx_shift_reg
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/sclk
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/xfer_count
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/data_count
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/word_count
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/cmd_reg
add wave -noupdate -format Literal /tb_spi/inst_spi_tx/state
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/data_load_en
add wave -noupdate -format Literal /tb_spi/inst_spi_tx/shift_cnt_pipe
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cmd_reg_we
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/xfer_count_en
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/data_count_en
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/xfer_count_busy
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/data_count
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/data_count_busy
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/spi_clk
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/cat_fifo_din
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/cat_fifo_dout
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cat_fifo_re
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cat_fifo_we
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cat_fifo_full
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cat_fifo_empty
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/write_fifo_din
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/write_fifo_dout
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/write_fifo_full
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/write_fifo_empty
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {6254805 ps} 0}
WaveRestoreCursors {{Cursor 1} {17474865 ps} 0}
configure wave -namecolwidth 197
configure wave -valuecolwidth 131
configure wave -justifyvalue left
@@ -59,4 +69,4 @@ configure wave -gridperiod 1
configure wave -griddelta 40
configure wave -timeline 0
update
WaveRestoreZoom {5843806 ps} {8445242 ps}
WaveRestoreZoom {0 ps} {63 us}