- added SPI (Zwischenstand)

git-svn-id: http://moon:8086/svn/vhdl/trunk@1273 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-05-31 16:44:51 +00:00
parent 4f08ade4e2
commit 41f9574600
6 changed files with 473 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
## NOTE: Do not edit this file.
## Autogenerated by ProjNav (creatfdo.tcl) on Thu Jul 06 20:49:07 Westeuropäische Sommerzeit 2006
##
if {[file exists work]} {vdel -lib work -all}
vlib work
vcom -explicit -93 "../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/spi_types.vhd"
vcom -explicit -93 "../src/spi_tx.vhd"
vcom -explicit -93 "../src/spi_rx.vhd"
vcom -explicit -93 "../src/tb_spi.vhd"
vsim -t 1ps -lib work tb_spi
view wave
do {tb_spi.wdo}
view structure
view signals
run 20 us
+51
View File
@@ -0,0 +1,51 @@
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_ack
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_re
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 -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
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/clk
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cmd_vld
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/cmd_ack
add wave -noupdate -format Literal -radix hexadecimal /tb_spi/inst_spi_tx/cmd
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/din_vld
add wave -noupdate -format Logic /tb_spi/inst_spi_tx/din_re
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 Logic /tb_spi/inst_spi_tx/clk_out
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/cmd_reg
add wave -noupdate -format Literal /tb_spi/inst_spi_tx/state
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 Logic /tb_spi/inst_spi_tx/data_count_busy
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {5674147 ps} 0}
configure wave -namecolwidth 197
configure wave -valuecolwidth 131
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
update
WaveRestoreZoom {0 ps} {21 us}