git-svn-id: http://moon:8086/svn/vhdl/trunk@1338 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2016-07-28 06:45:50 +00:00
parent d4be0af140
commit a39f16486e
2 changed files with 97 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
## NOTE: Do not edit this file.
##
vlib work
# RAMS
vcom -explicit -93 "../../../rams/dpram_1w1r1wc_sim.vhd"
vcom -explicit -93 "../../../rams/dpram_2w2r2c_ra_sim.vhd"
vcom -explicit -93 "../../../rams/dpram_1w1r2c_ra_sim.vhd"
vcom -explicit -93 "../../../rams/dpram_2w2r2c_ro_sim.vhd"
vcom -explicit -93 "../../../rams/dpram_1w1r2c_ro_sim.vhd"
# FIFOS
# MIPS
vcom -explicit -93 "../src/core/TLB/mips_types.vhd"
vcom -explicit -93 "../src/core/TLB/mips_cam2.vhd"
vcom -explicit -93 "../src/tb_mips_cam2.vhd"
vsim -t 1ps -lib work tb_cam2
do {tb_mips_cam2.wdo}
view wave
view structure
view signals
run 60us
+72
View File
@@ -0,0 +1,72 @@
onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate -format Logic /tb_cam2/clk_o
add wave -noupdate -format Logic /tb_cam2/rst_o
add wave -noupdate -format Logic /tb_cam2/cam_we
add wave -noupdate -format Logic /tb_cam2/cam_re
add wave -noupdate -format Logic /tb_cam2/cam_vld
add wave -noupdate -format Logic /tb_cam2/cam_rdy
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/cam_addr
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/cam_rtag
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/cam_wtag
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/cam_entry_din
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/cam_entry_dout
add wave -noupdate -format Logic /tb_cam2/cam_hit_vld
add wave -noupdate -divider CAM
add wave -noupdate -format Literal /tb_cam2/inst_cam2/debug
add wave -noupdate -format Literal /tb_cam2/inst_cam2/state
add wave -noupdate -format Logic /tb_cam2/inst_cam2/rst
add wave -noupdate -format Logic /tb_cam2/inst_cam2/clk
add wave -noupdate -format Logic /tb_cam2/inst_cam2/rdy
add wave -noupdate -format Literal /tb_cam2/inst_cam2/addr
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/tag_wr
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/tag_rd
add wave -noupdate -format Literal -radix hexadecimal -expand /tb_cam2/inst_cam2/cam_stage_waddr
add wave -noupdate -format Literal -radix hexadecimal -expand /tb_cam2/inst_cam2/cam_stage_raddr
add wave -noupdate -format Literal -radix hexadecimal -expand /tb_cam2/inst_cam2/cam_stage_din
add wave -noupdate -format Literal -radix hexadecimal -expand /tb_cam2/inst_cam2/cam_stage_dout
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/pipe0
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/pipe1
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/pipe2
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/pipe3
add wave -noupdate -format Logic /tb_cam2/inst_cam2/cam_ram_re
add wave -noupdate -format Logic /tb_cam2/inst_cam2/cam_ram_we
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/cam_ram_addr_wr
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/cam_ram_addr_rd
add wave -noupdate -format Logic /tb_cam2/inst_cam2/track_ram_re
add wave -noupdate -format Logic /tb_cam2/inst_cam2/track_ram_we
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/track_ram_addr_wr
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/track_ram_addr_rd
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/track_ram_din
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/track_ram_dout
add wave -noupdate -format Literal -label track_ram -radix hexadecimal /tb_cam2/inst_cam2/inst_track_ram/ram
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/clear_addr
add wave -noupdate -format Logic /tb_cam2/inst_cam2/clear_count_en
add wave -noupdate -format Logic /tb_cam2/inst_cam2/clear_count_rdy
add wave -noupdate -format Logic /tb_cam2/inst_cam2/over_write
add wave -noupdate -divider CAM-stages
add wave -noupdate -format Literal -label stage_0_mem -radix hexadecimal /tb_cam2/inst_cam2/gen_cam_stages__0/inst_cam_stage/mem
add wave -noupdate -format Literal -label stage_1_mem -radix hexadecimal /tb_cam2/inst_cam2/gen_cam_stages__1/inst_cam_stage/mem
add wave -noupdate -format Literal -label stage_2_mem -radix hexadecimal /tb_cam2/inst_cam2/gen_cam_stages__2/inst_cam_stage/mem
add wave -noupdate -format Logic /tb_cam2/inst_cam2/final_stage_we
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/final_stage_din
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/final_stage_dout
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/final_stage_wptr
add wave -noupdate -format Literal -radix hexadecimal /tb_cam2/inst_cam2/final_stage_rptr
add wave -noupdate -format Literal -label final_stage_mem -radix hexadecimal /tb_cam2/inst_cam2/inst_cam_final_stage/mem
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {Cursor {3348737 ps} 0}
configure wave -namecolwidth 137
configure wave -valuecolwidth 81
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 {9116655 ps} {10046492 ps}