- added WB TB

git-svn-id: http://moon:8086/svn/vhdl/trunk@1294 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-06-11 16:58:46 +00:00
parent ed26cf7449
commit ec40c08234
4 changed files with 375 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
## 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 fmf
vcom -work fmf -93 "../../models/memory/flash/serial/S25fl064k/utilities/conversions.vhd"
vcom -work fmf -93 "../../models/memory/flash/serial/S25fl064k/utilities/gen_utils.vhd"
vlib work
vcom -explicit -93 "../../misc/utils_pkg.vhd"
vcom -explicit -93 "../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../rams/dpram_1w1r2c_ra_sim.vhd"
vcom -explicit -93 "../../FIFO/src/gray_counter.vhd"
vcom -explicit -93 "../../FIFO/src/fifo_async_ctrl.vhd"
vcom -explicit -93 "../../FIFO/src/fifo_async.vhd"
vcom -explicit -93 "../../FIFO/src/fifo_sync_ctrl.vhd"
vcom -explicit -93 "../../FIFO/src/fifo_sync.vhd"
vcom -explicit -93 "../src/spi_types.vhd"
vcom -explicit -93 "../src/spi_master.vhd"
vcom -explicit -93 "../src/spi_flash_wb.vhd"
vcom -explicit -93 "../../models/memory/flash/serial/S25fl064k/model/S25fl064k.vhd"
vcom -explicit -93 "../src/tb_spi_flash_wb.vhd"
vsim -t 1ps -lib work tb_spi_flash_wb
view wave
do {tb_spi_flash_wb.wdo}
view structure
view signals
run 120 us
+39
View File
@@ -0,0 +1,39 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -format Logic /tb_spi_flash_wb/clk
add wave -noupdate -format Logic /tb_spi_flash_wb/rst
add wave -noupdate -format Logic /tb_spi_flash_wb/cyc_i
add wave -noupdate -format Logic /tb_spi_flash_wb/stb_i
add wave -noupdate -format Literal /tb_spi_flash_wb/sel_i
add wave -noupdate -format Logic /tb_spi_flash_wb/we_i
add wave -noupdate -format Logic /tb_spi_flash_wb/ack_o
add wave -noupdate -format Logic /tb_spi_flash_wb/srdy_o
add wave -noupdate -format Logic /tb_spi_flash_wb/mrdy_i
add wave -noupdate -format Literal -radix hexadecimal /tb_spi_flash_wb/addr_i
add wave -noupdate -format Literal -radix hexadecimal /tb_spi_flash_wb/dat_i
add wave -noupdate -format Literal -radix hexadecimal /tb_spi_flash_wb/dat_o
add wave -noupdate -format Logic /tb_spi_flash_wb/int_o
add wave -noupdate -format Logic /tb_spi_flash_wb/mosi
add wave -noupdate -format Logic /tb_spi_flash_wb/miso
add wave -noupdate -format Logic /tb_spi_flash_wb/mst_clk
add wave -noupdate -format Logic /tb_spi_flash_wb/mso
add wave -noupdate -format Logic /tb_spi_flash_wb/mso_n
add wave -noupdate -format Logic /tb_spi_flash_wb/holdneg
add wave -noupdate -format Logic /tb_spi_flash_wb/wpneg
add wave -noupdate -format Logic /tb_spi_flash_wb/uut/register_access
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {20580000 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} {126 us}