Initial import

git-svn-id: http://moon:8086/svn/vhdl/trunk@5 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2008-08-23 08:20:30 +00:00
parent bfbeba5129
commit d3bd08bb52
160 changed files with 56260 additions and 0 deletions
@@ -0,0 +1,6 @@
vlib simprim
vcom -93 -work simprim F:/Xilinx9/vhdl/src/simprims/simprim_Vcomponents_mti.vhd
vcom -93 -work simprim F:/Xilinx9/vhdl/src/simprims/simprim_Vpackage_mti.vhd
vcom -93 -work simprim F:/Xilinx9/vhdl/src/simprims/simprim_SMODEL_mti.vhd
vcom -93 -work simprim F:/Xilinx9/vhdl/src/simprims/simprim_VITAL_mti.vhd
@@ -0,0 +1,6 @@
vlib unisim
vcom -93 -work unisim F:/Xilinx9/vhdl/src/unisims/unisim_vpkg.vhd
vcom -93 -work unisim F:/Xilinx9/vhdl/src/unisims/unisim_vcomp.vhd
vcom -93 -work unisim F:/Xilinx9/vhdl/src/unisims/unisim_smodel.vhd
vcom -93 -work unisim F:/Xilinx9/vhdl/src/unisims/unisim_vital.vhd
@@ -0,0 +1,27 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdr_ctrl.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdr_ctrl
do {tb_sdr_ctrl.wdo}
view wave
view structure
view signals
run 800us
@@ -0,0 +1,93 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -divider {Main controller}
add wave -noupdate -divider {Main controller}
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_ctrl/st_ctrl
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_cmd/st_sdr
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_cmd/burst_finished
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/mode_fifo_in
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/mode_fifo_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/col_fifo_in
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/col_fifo_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/cmd_fifo_in
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/cmd_fifo_out
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/cmd_fifo_empty
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/cmd_fifo_full
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/cmd_fifo_re
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/cmd_fifo_we
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Logic /tb_sdr_ctrl/clk
add wave -noupdate -format Logic /tb_sdr_ctrl/rst
add wave -noupdate -format Logic /tb_sdr_ctrl/rst_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_fb
add wave -noupdate -format Analog-Step -height 50 -offset 0.5 -scale 20.0 /tb_sdr_ctrl/efficiency
add wave -noupdate -format Literal /tb_sdr_ctrl/data_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/cycle_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_we_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cs_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_ras_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cas_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cke
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_zen
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_rst
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_drive
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive270
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_en
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_clk
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal /tb_sdr_ctrl/u_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/u_busy
add wave -noupdate -format Logic /tb_sdr_ctrl/u_data_vld
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/sys_clk0
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/ref_data
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {14963876 ps} 0}
configure wave -namecolwidth 184
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {14733925 ps} {15711632 ps}
@@ -0,0 +1,27 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdr_ctrl_fifo.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdr_ctrl_fifo
do {tb_sdr_ctrl_fifo.wdo}
view wave
view structure
view signals
run 20us
@@ -0,0 +1,68 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/clk_out
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/rst_out
add wave -noupdate -format Literal /tb_sdr_ctrl_fifo/inst_sdram_ctrl/inst_sdram_cmd/st_sdr
add wave -noupdate -format Literal /tb_sdr_ctrl_fifo/inst_sdram_ctrl/inst_sdram_cmd/cmd
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_sdram_ctrl/inst_sdram_cmd/cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_sdram_ctrl/sd_cas_n
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_sdram_ctrl/sd_cs_n
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_sdram_ctrl/sd_ras_n
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_sdram_ctrl/sd_we_n
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/inst_sdram_ctrl/sd_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/inst_sdram_ctrl/sd_data
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/u_addr
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/u_busy
add wave -noupdate -format Literal /tb_sdr_ctrl_fifo/u_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/u_cmd_we
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/u_data_r
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/u_data_vld
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/u_data_w
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/u_req_wr
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/u_req_rd
add wave -noupdate -divider {Read FIFO}
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/read_fifo_empty
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/read_fifo_we
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/read_fifo_re
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/read_fifo_dout
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/was_write
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/pr
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/pr_next
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/pw
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/pw_next
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/fifo_full
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_read_fifo/inst_sync_fifo_ctrl/fifo_empty
add wave -noupdate -divider {Write FIFO}
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/inst_write_fifo/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/inst_write_fifo/data_w
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_write_fifo/we
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_write_fifo/re
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_write_fifo/fifo_empty
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_write_fifo/fifo_full
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_write_fifo/inst_sync_fifo_ctrl/pr
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_write_fifo/inst_sync_fifo_ctrl/pr_next
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_write_fifo/inst_sync_fifo_ctrl/pw
add wave -noupdate -format Literal -radix unsigned /tb_sdr_ctrl_fifo/inst_write_fifo/inst_sync_fifo_ctrl/pw_next
add wave -noupdate -divider {Command FIFO}
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/inst_command_fifo/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl_fifo/inst_command_fifo/data_w
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_command_fifo/we
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_command_fifo/re
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_command_fifo/inst_sync_fifo_ctrl/fifo_empty
add wave -noupdate -format Logic /tb_sdr_ctrl_fifo/inst_command_fifo/inst_sync_fifo_ctrl/fifo_full
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {13893123 ps} 0}
configure wave -namecolwidth 172
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {13879998 ps} {13928553 ps}
@@ -0,0 +1,27 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdr_ctrl_lin_r_rand_w.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdr_ctrl
do {tb_sdr_ctrl_lin_r_rand_w.wdo}
view wave
view structure
view signals
run 1200us
@@ -0,0 +1,87 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -divider {Main controller}
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_cmd/burst_finished
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_rd
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/clk
add wave -noupdate -format Logic /tb_sdr_ctrl/rst
add wave -noupdate -format Logic /tb_sdr_ctrl/rst_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_fb
add wave -noupdate -format Analog-Step -height 50 -offset 0.5 -scale 20.0 /tb_sdr_ctrl/efficiency
add wave -noupdate -format Literal /tb_sdr_ctrl/data_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/cycle_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_we_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cs_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_ras_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cas_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cke
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_zen
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_rst
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_drive
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive270
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/rw_null_en
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_rd
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_wr
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_en
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_clk
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal /tb_sdr_ctrl/u_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/u_busy
add wave -noupdate -format Logic /tb_sdr_ctrl/u_data_vld
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/sys_clk0
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/ref_data
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {21813900 ps} 0}
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {21725359 ps} {22204052 ps}
@@ -0,0 +1,27 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdr_ctrl_lin_w_rand_r.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdr_ctrl
do {tb_sdr_ctrl_lin_w_rand_r.wdo}
view wave
view structure
view signals
run 1200us
@@ -0,0 +1,87 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -divider {Main controller}
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_cmd/burst_finished
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_rd
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/clk
add wave -noupdate -format Logic /tb_sdr_ctrl/rst
add wave -noupdate -format Logic /tb_sdr_ctrl/rst_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_fb
add wave -noupdate -format Analog-Step -height 50 -offset 0.5 -scale 20.0 /tb_sdr_ctrl/efficiency
add wave -noupdate -format Literal /tb_sdr_ctrl/data_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/cycle_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_we_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cs_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_ras_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cas_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cke
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_zen
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_rst
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_drive
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive270
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/rw_null_en
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_rd
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_wr
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_en
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_clk
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal /tb_sdr_ctrl/u_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/u_busy
add wave -noupdate -format Logic /tb_sdr_ctrl/u_data_vld
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/sys_clk0
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/ref_data
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {21813900 ps} 0}
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {21725359 ps} {22204052 ps}
@@ -0,0 +1,27 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdr_ctrl_rand_addr.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdr_ctrl
do {tb_sdr_ctrl_rand_rw.wdo}
view wave
view structure
view signals
run 1000us
@@ -0,0 +1,82 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_cmd/burst_finished
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_rd
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/clk
add wave -noupdate -format Logic /tb_sdr_ctrl/rst
add wave -noupdate -format Logic /tb_sdr_ctrl/rst_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_fb
add wave -noupdate -format Analog-Step -height 50 -offset 0.5 -scale 20.0 /tb_sdr_ctrl/efficiency
add wave -noupdate -format Literal /tb_sdr_ctrl/data_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/cycle_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_we_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cs_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_ras_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cas_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cke
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_zen
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_rst
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_drive
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive270
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_en
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_clk
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal /tb_sdr_ctrl/u_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/u_busy
add wave -noupdate -format Logic /tb_sdr_ctrl/u_data_vld
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/sys_clk0
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/ref_data
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {60573747 ps} 0}
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {60552548 ps} {60600861 ps}
@@ -0,0 +1,27 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdr_ctrl_rand_rw.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdr_ctrl
do {tb_sdr_ctrl_rand_rw.wdo}
view wave
view structure
view signals
run 10000us
@@ -0,0 +1,84 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_sdram_cmd/burst_finished
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_in
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_wr
add wave -noupdate -format Literal /tb_sdr_ctrl/u_tag_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/clk
add wave -noupdate -format Logic /tb_sdr_ctrl/rst
add wave -noupdate -format Logic /tb_sdr_ctrl/rst_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_fb
add wave -noupdate -format Analog-Step -height 50 -offset 0.5 -scale 20.0 /tb_sdr_ctrl/efficiency
add wave -noupdate -format Literal /tb_sdr_ctrl/data_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/cycle_cnt
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_we_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cs_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_ras_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cas_n
add wave -noupdate -format Logic /tb_sdr_ctrl/part_cke
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_zen
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_rst
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_p
add wave -noupdate -format Logic /tb_sdr_ctrl/part_clk_n
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dqs
add wave -noupdate -format Literal /tb_sdr_ctrl/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_addr
add wave -noupdate -format Literal /tb_sdr_ctrl/part_ba
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/part_data
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/dqs_drive
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/drive270
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -divider {Main controller}
add wave -noupdate -format Logic /tb_sdr_ctrl/rw_null_en
add wave -noupdate -format Literal /tb_sdr_ctrl/test_phase
add wave -noupdate -format Literal /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/sd_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_en
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/read_clk
add wave -noupdate -format Logic /tb_sdr_ctrl/clk_out
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal /tb_sdr_ctrl/u_cmd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_cmd_we
add wave -noupdate -format Logic /tb_sdr_ctrl/u_busy
add wave -noupdate -format Logic /tb_sdr_ctrl/u_data_vld
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_rd
add wave -noupdate -format Logic /tb_sdr_ctrl/u_req_wr
add wave -noupdate -format Logic /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/sys_clk0
add wave -noupdate -format Literal -expand /tb_sdr_ctrl/inst_sdram_ctrl/phy_ctrl
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/inst_sdram_ctrl/inst_ddr_phy/data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/ref_data
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_r
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_data_w
add wave -noupdate -format Literal -radix hexadecimal /tb_sdr_ctrl/u_addr
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {16004147 ps} 0}
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {15914249 ps} {16324366 ps}
@@ -0,0 +1,28 @@
## NOTE: Do not edit this file.
##
vlib work
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../misc/dpram_1w2r.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../misc/utils_pkg.vhd"
vcom -explicit -93 "../src/fifo_sync.vhd"
vcom -explicit -93 "../src/sdram_config.vhd"
vcom -explicit -93 "../src/sdram_types.vhd"
vcom -explicit -93 "../src/reset_virtex4.vhd"
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
vcom -explicit -93 "../src/sdram_cmd.vhd"
vcom -explicit -93 "../src/sdram_ctrl.vhd"
vcom -explicit -93 "../src/ddr_phy_virtex4.vhd"
vcom -explicit -93 "../src/sdram_ctrl_top.vhd"
vcom -explicit -93 "../src/sdram_ctrl_frontend.vhd"
vcom -explicit -93 "../src/mt46v16m16.vhd"
vcom -explicit -93 "../src/tb_sdram_ctrl_frontend.vhd"
#restart -force
vsim -t 1ps -lib work tb_sdram_ctrl_frontend
do {tb_sdram_ctrl_frontend.wdo}
view wave
view structure
view signals
run 40us
@@ -0,0 +1,45 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -format Literal -radix hexadecimal /tb_sdram_ctrl_frontend/addr
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/busy
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/en
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/r_wn
add wave -noupdate -format Literal -radix hexadecimal /tb_sdram_ctrl_frontend/din
add wave -noupdate -format Literal /tb_sdram_ctrl_frontend/be
add wave -noupdate -format Literal -radix hexadecimal /tb_sdram_ctrl_frontend/dout
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/dout_vld
add wave -noupdate -format Literal -radix hexadecimal /tb_sdram_ctrl_frontend/dout_reg
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/clk_out
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/part_cs_n
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/part_we_n
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/part_ras_n
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/part_cas_n
add wave -noupdate -format Literal /tb_sdram_ctrl_frontend/part_ba
add wave -noupdate -format Literal /tb_sdram_ctrl_frontend/part_dm
add wave -noupdate -format Literal -radix hexadecimal /tb_sdram_ctrl_frontend/part_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_sdram_ctrl_frontend/part_data
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/inst_sdram_ctrl/inst_sdram_ctrl/u_busy
add wave -noupdate -format Literal /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/inst_sdram_ctrl/inst_sdram_ctrl/u_cmd
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/inst_sdram_ctrl/inst_sdram_ctrl/u_cmd_we
add wave -noupdate -format Literal /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/inst_sdram_ctrl/inst_sdram_ctrl/st_ctrl
add wave -noupdate -format Literal /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/inst_sdram_ctrl/inst_sdram_cmd/st_sdr
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/inst_sdram_ctrl/inst_sdram_ctrl/sdr_cmd_busy
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/cat_fifo_full
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/write_fifo_full
add wave -noupdate -format Logic /tb_sdram_ctrl_frontend/inst_sdram_ctrl_frontend/read_fifo_full
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 4} {27951315 ps} 0}
configure wave -namecolwidth 172
configure wave -valuecolwidth 100
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 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {0 ps} {42 us}