From fa7fde68c1e4f7b20f9b697fdc4c449ed54e32b1 Mon Sep 17 00:00:00 2001
From: Daniel van der Schuur <schuur@astron.nl>
Date: Tue, 21 Apr 2015 08:59:13 +0000
Subject: [PATCH] -Added modelsim_copy_files call to hdllib.cfg and changed
 path in VHD file  to fix wrong path of 'memory_file'.

---
 libraries/technology/ip_stratixiv/flash/hdllib.cfg             | 3 +++
 .../ip_stratixiv/flash/ip_stratixiv_asmi_parallel.vhd          | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/libraries/technology/ip_stratixiv/flash/hdllib.cfg b/libraries/technology/ip_stratixiv/flash/hdllib.cfg
index d19b4b4e1a..110bffb7f8 100644
--- a/libraries/technology/ip_stratixiv/flash/hdllib.cfg
+++ b/libraries/technology/ip_stratixiv/flash/hdllib.cfg
@@ -10,3 +10,6 @@ synth_files =
     ip_stratixiv_remote_update.vhd
     
 test_bench_files =
+
+modelsim_copy_files = 
+    $UNB/Firmware/modules/Numonyx/NU_M25P128_V10/sim/memory_file .
diff --git a/libraries/technology/ip_stratixiv/flash/ip_stratixiv_asmi_parallel.vhd b/libraries/technology/ip_stratixiv/flash/ip_stratixiv_asmi_parallel.vhd
index e91cad5402..d1e4e63ac7 100644
--- a/libraries/technology/ip_stratixiv/flash/ip_stratixiv_asmi_parallel.vhd
+++ b/libraries/technology/ip_stratixiv/flash/ip_stratixiv_asmi_parallel.vhd
@@ -902,7 +902,7 @@
   -- synthesis translate_off
   u_M25P128: ENTITY numonyx_m25p128_lib.M25P128
   GENERIC MAP(
-    MemoryFileName => "../../../../../UniBoard/trunk/Firmware/modules/Numonyx/NU_M25P128_V10/sim/memory_file",
+    MemoryFileName => "../ip_stratixiv_flash/memory_file",
     TimingCheckOn  => FALSE
   )
   PORT MAP (   
-- 
GitLab