Skip to content
Snippets Groups Projects
Commit a369f61d authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use modelsim_copy_files key to copy the data files to mpf directory data/.

parent 20ebfeda
No related branches found
No related tags found
No related merge requests found
......@@ -33,16 +33,16 @@ synth_files =
test_bench_files =
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_wg.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_wg_wideband.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_block_gen.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_tx_seq.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_rx_seq.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_tx_frm.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_frm_generator.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_diag_frm_monitor.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_mms_diag_seq.vhd
$UNB/Firmware/modules/Lofar/diag/tb/vhdl/tb_mms_diag_block_gen.vhd
tb/vhdl/tb_diag_block_gen.vhd
tb/vhdl/tb_mms_diag_block_gen.vhd
tb/vhdl/tb_diag_regression.vhd
modelsim_copy_files =
$UNB/Firmware/modules/Lofar/diag/src/data/bf_in_data.dat .
$UNB/Firmware/modules/Lofar/diag/src/data/diag_block.hex .
\ No newline at end of file
$UNB/Firmware/modules/Lofar/diag/src/data data
\ No newline at end of file
......@@ -48,7 +48,7 @@ ENTITY mms_diag_block_gen IS
g_buf_dat_w : POSITIVE := 32;
g_buf_addr_w : POSITIVE := 7; -- Waveform buffer size 2**g_buf_addr_w nof samples
g_file_index_arr : t_nat_natural_arr := array_init(0, 128, 1); -- default use the instance index as file index 0, 1, 2, 3, 4 ...
g_file_name_prefix : STRING := "../../data/bf_in_data"; -- Relative path to the hex files that contain the initial data for the memories
g_file_name_prefix : STRING := "data/bf_in_data"; -- Path to the hex files that contain the initial data for the memories
-- The sequence number and ".hex" are added within the entity.
g_diag_block_gen_rst : t_diag_block_gen := c_diag_block_gen_rst
);
......
......@@ -56,7 +56,7 @@ ARCHITECTURE tb OF tb_diag_block_gen IS
nof_dat => 2**g_buf_adr_w, -- = 2**adr_w
init_sl => '0');
CONSTANT c_buf_file : STRING := sel_a_b(c_buf.adr_w=7 AND c_buf.dat_w=32, "diag_block.hex", "UNUSED");
CONSTANT c_buf_file : STRING := sel_a_b(c_buf.adr_w=7 AND c_buf.dat_w=32, "data/diag_block.hex", "UNUSED");
CONSTANT c_cntr_init : INTEGER := 0;
CONSTANT c_cntr_incr : INTEGER := 1;
......
......@@ -46,7 +46,7 @@ ENTITY tb_mms_diag_block_gen IS
g_nof_streams : NATURAL := 16;
g_buf_dat_w : NATURAL := 32;
g_buf_addr_w : NATURAL := 7;
g_file_name_prefix : STRING := "bf_in_data";
g_file_name_prefix : STRING := "data/bf_in_data";
g_sim : BOOLEAN := TRUE
);
END tb_mms_diag_block_gen;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment