diff --git a/libraries/base/diag/src/vhdl/diag_wg_wideband.vhd b/libraries/base/diag/src/vhdl/diag_wg_wideband.vhd
index ed54b8918282257088d23ad95f2d4321cfb36bc8..63d02e992cb7517fae7ddb83bbaf8649f71e3e3d 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 89b3fc07fe74fee3cb7ade797f2b234b8031c8aa..19a4f52c38c4bcb35f6ca1c20fac5739ec00df93 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 bbec747b8e4e31f9168c8a80757e69444766b187..ca3ba5ef9857a8cd8b962bf3fb7aa4f4a450445f 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