Upgraded tb_template to use modified mem_model top level

This commit is contained in:
Simon Southwell 2019-09-17 12:21:05 +01:00
commit b5b47cea0b
3 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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
);