From 07bc1da7504d29e02cb5023db19503f64de08472 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Romain=20Bron=C3=A8s?= <romain.brones@synchrotron-soleil.fr>
Date: Fri, 28 Apr 2023 15:41:59 +0200
Subject: [PATCH] Rename package file

* This avoid a nasty bug in GHDL (LLVM backend) which doesn't work well
  with files with same names. We have another file named that way with
  DESYRDL.
---
 hdl/{pkg_corr_matrixpi.vhd => pkg_corrmatrixpi.vhd} | 0
 tcl/main.tcl                                        | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename hdl/{pkg_corr_matrixpi.vhd => pkg_corrmatrixpi.vhd} (100%)

diff --git a/hdl/pkg_corr_matrixpi.vhd b/hdl/pkg_corrmatrixpi.vhd
similarity index 100%
rename from hdl/pkg_corr_matrixpi.vhd
rename to hdl/pkg_corrmatrixpi.vhd
diff --git a/tcl/main.tcl b/tcl/main.tcl
index 82b67c9..28436f2 100644
--- a/tcl/main.tcl
+++ b/tcl/main.tcl
@@ -7,7 +7,7 @@ proc init {} {
     variable Config
 
     # Parse configuration from VHDL package
-    parseVhdlConfigFile Config "../hdl/pkg_corr_matrixpi.vhd"
+    parseVhdlConfigFile Config "../hdl/pkg_corrmatrixpi.vhd"
 }
 
 # ==============================================================================
@@ -18,7 +18,7 @@ proc setSources {} {
   genModVerFile VHDL ../hdl/pkg_corr_matrixpi_version.vhd
 
   lappend Sources {"../hdl/pkg_corr_matrixpi_version.vhd" "VHDL"}
-  lappend Sources {"../hdl/pkg_corr_matrixpi.vhd" "VHDL 2008"}
+  lappend Sources {"../hdl/pkg_corrmatrixpi.vhd" "VHDL 2008"}
   lappend Sources {"../hdl/corr_pi.vhd" "VHDL 2008"}
   lappend Sources {"../hdl/matrix_mul.vhd" "VHDL 2008"}
   lappend Sources {"../hdl/orbit_error.vhd" "VHDL 2008"}
-- 
GitLab