From 0769f4895591692d63d463d51b186e9f6e8220b5 Mon Sep 17 00:00:00 2001 From: Erik Kooistra <kooistra@astron.nl> Date: Wed, 4 May 2016 10:58:56 +0000 Subject: [PATCH] Corrected default path to data/ directory. --- libraries/base/diag/src/vhdl/diag_wg_wideband.vhd | 2 +- libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd | 2 +- libraries/base/diag/tb/vhdl/tb_diag_wg.vhd | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/base/diag/src/vhdl/diag_wg_wideband.vhd b/libraries/base/diag/src/vhdl/diag_wg_wideband.vhd index ed54b89182..63d02e992c 100644 --- a/libraries/base/diag/src/vhdl/diag_wg_wideband.vhd +++ b/libraries/base/diag/src/vhdl/diag_wg_wideband.vhd @@ -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 diff --git a/libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd b/libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd index 89b3fc07fe..19a4f52c38 100644 --- a/libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd +++ b/libraries/base/diag/src/vhdl/mms_diag_wg_wideband.vhd @@ -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 diff --git a/libraries/base/diag/tb/vhdl/tb_diag_wg.vhd b/libraries/base/diag/tb/vhdl/tb_diag_wg.vhd index bbec747b8e..ca3ba5ef98 100644 --- a/libraries/base/diag/tb/vhdl/tb_diag_wg.vhd +++ b/libraries/base/diag/tb/vhdl/tb_diag_wg.vhd @@ -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 -- GitLab