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

Corrected default path to data/ directory.

parent b17d3303
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ ENTITY diag_wg_wideband IS
GENERIC (
g_technology : NATURAL := c_tech_select_default;
-- Use g_buf_dir to be able to have different path to waveform file for sim and for synth
g_buf_dir : STRING := "../../../src/data/";
g_buf_dir : STRING := "data/";
-- Wideband parameters
g_wideband_factor : NATURAL := 4; -- Wideband rate factor >= 1 for unit frequency of g_wideband_factor * Fs
......
......@@ -41,7 +41,7 @@ ENTITY mms_diag_wg_wideband IS
g_cross_clock_domain : BOOLEAN := TRUE;
-- Use g_buf_dir to be able to have different path to waveform file for sim and for synth
g_buf_dir : STRING := "../../../src/data/";
g_buf_dir : STRING := "data/";
-- Wideband parameters
g_wideband_factor : NATURAL := 4; -- Wideband rate factor >= 1 for unit frequency of g_wideband_factor * Fs
......
......@@ -56,9 +56,9 @@ ARCHITECTURE tb OF tb_diag_wg IS
dat_w => g_buf_dat_w, -- fit DSP multiply 18x18 element
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=11 AND c_buf.dat_w=18, "../../../src/data/diag_sin_2048x18.hex",
sel_a_b(c_buf.adr_w=10 AND c_buf.dat_w=18, "../../../src/data/diag_sin_1024x18.hex",
sel_a_b(c_buf.adr_w=10 AND c_buf.dat_w= 8, "../../../src/data/diag_sin_1024x8.hex", "UNUSED")));
CONSTANT c_buf_file : STRING := sel_a_b(c_buf.adr_w=11 AND c_buf.dat_w=18, "data/diag_sin_2048x18.hex",
sel_a_b(c_buf.adr_w=10 AND c_buf.dat_w=18, "data/diag_sin_1024x18.hex",
sel_a_b(c_buf.adr_w=10 AND c_buf.dat_w= 8, "data/diag_sin_1024x8.hex", "UNUSED")));
CONSTANT c_wg_nof_samples : NATURAL := c_buf.nof_dat; -- must be <= c_buf.nof_dat
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment