From a39f16486e0b0d05ad1285c364f2635dda2179c3 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Thu, 28 Jul 2016 06:45:50 +0000 Subject: [PATCH] - added git-svn-id: http://moon:8086/svn/vhdl/trunk@1338 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/sim/tb_mips_cam2.fdo | 25 +++++++++++ lib/CPUs/MIPS/sim/tb_mips_cam2.wdo | 72 ++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 lib/CPUs/MIPS/sim/tb_mips_cam2.fdo create mode 100644 lib/CPUs/MIPS/sim/tb_mips_cam2.wdo diff --git a/lib/CPUs/MIPS/sim/tb_mips_cam2.fdo b/lib/CPUs/MIPS/sim/tb_mips_cam2.fdo new file mode 100644 index 0000000..3150346 --- /dev/null +++ b/lib/CPUs/MIPS/sim/tb_mips_cam2.fdo @@ -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 diff --git a/lib/CPUs/MIPS/sim/tb_mips_cam2.wdo b/lib/CPUs/MIPS/sim/tb_mips_cam2.wdo new file mode 100644 index 0000000..8026ca0 --- /dev/null +++ b/lib/CPUs/MIPS/sim/tb_mips_cam2.wdo @@ -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}