diff --git a/verification/tb_template/test/files.tcl b/verification/tb_template/test/files.tcl index 0b4d4e4..22f7780 100644 --- a/verification/tb_template/test/files.tcl +++ b/verification/tb_template/test/files.tcl @@ -13,7 +13,9 @@ ./test_pkg_auto.vhd ./test_csr_decode_auto.vhd ./test_csr_regs_auto.vhd +# Suggest making these absolute paths relative once in the test bench folder e:/git/fw_development_tools/verification/vproc/avsvproc.vhd +e:/git/fw_development_tools/verification/mem_model/mem_model_wrapped.vhd ./tb_pkg.vhd ./tb_ctrl.vhd ./tb.vhd diff --git a/verification/tb_template/test/makefile b/verification/tb_template/test/makefile index 3d5c988..1439153 100644 --- a/verification/tb_template/test/makefile +++ b/verification/tb_template/test/makefile @@ -8,7 +8,7 @@ # User files to build, passed in to vproc makefile build USERCODE = VUserMain0.cpp utils.cpp -MODELSIMDIR = c:\altera_17_1\ver\modelsim_ae +MODELSIMDIR = c:\altera_18_1\ver\modelsim_ae FWDEVTOOLS = e:/git/fw_development_tools VPROCDIR = ${FWDEVTOOLS}/verification/vproc diff --git a/verification/tb_template/test/tb.vhd b/verification/tb_template/test/tb.vhd index 210fec1..9330c1b 100644 --- a/verification/tb_template/test/tb.vhd +++ b/verification/tb_template/test/tb.vhd @@ -206,7 +206,7 @@ begin ----------------------------------------- -- Instantiation of memory model ----------------------------------------- - mem_model_inst : entity work.mem_model + mem_model_inst : entity work.mem_model_wrapped port map ( clk => clk, rst_n => rst_n, @@ -230,9 +230,9 @@ begin avm_tx_write => avm_tx_write, avm_tx_writedata => avm_tx_writedata, - wr_port_valid => wr_valid, - wr_port_data => wr_data, - wr_port_addr => wr_addr + wr_port_valid_0 => wr_valid, + wr_port_data_0 => wr_data, + wr_port_addr_0 => wr_addr );