From 0353bd89ebbe7aead80008c63a8e2d7f0958f7ef Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Wed, 19 Nov 2014 12:30:21 +0000
Subject: [PATCH] Use 'tech_' prefix for tech_flash_* word width functions.

---
 libraries/technology/flash/tech_flash_asmi_parallel.vhd | 2 +-
 libraries/technology/flash/tech_flash_component_pkg.vhd | 8 ++++----
 libraries/technology/flash/tech_flash_remote_update.vhd | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libraries/technology/flash/tech_flash_asmi_parallel.vhd b/libraries/technology/flash/tech_flash_asmi_parallel.vhd
index bdb381a790..8a5ed3b392 100644
--- a/libraries/technology/flash/tech_flash_asmi_parallel.vhd
+++ b/libraries/technology/flash/tech_flash_asmi_parallel.vhd
@@ -35,7 +35,7 @@ ENTITY tech_flash_asmi_parallel IS
     g_technology : NATURAL := c_tech_select_default
   );
   PORT (
-    addr          : IN STD_LOGIC_VECTOR (flash_addr_w(g_technology)-1 DOWNTO 0);
+    addr          : IN STD_LOGIC_VECTOR (tech_flash_addr_w(g_technology)-1 DOWNTO 0);
     clkin         : IN STD_LOGIC ;
     datain        : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
     rden          : IN STD_LOGIC ;
diff --git a/libraries/technology/flash/tech_flash_component_pkg.vhd b/libraries/technology/flash/tech_flash_component_pkg.vhd
index 04f7347c59..0ad3159ff6 100644
--- a/libraries/technology/flash/tech_flash_component_pkg.vhd
+++ b/libraries/technology/flash/tech_flash_component_pkg.vhd
@@ -109,14 +109,14 @@ PACKAGE tech_flash_component_pkg IS
   );
   end component ip_arria10_remote_update;
 
-  function flash_addr_w( technology: in integer ) return integer;
-  function flash_data_w( technology: in integer ) return integer;
+  function tech_flash_addr_w( technology: in integer ) return integer;
+  function tech_flash_data_w( technology: in integer ) return integer;
 
 END tech_flash_component_pkg;
 
 package body tech_flash_component_pkg is
 
-  function flash_addr_w( technology : in integer )  return integer is 
+  function tech_flash_addr_w( technology : in integer )  return integer is 
   begin
     if technology = c_tech_stratixiv then
         return 24;
@@ -126,7 +126,7 @@ package body tech_flash_component_pkg is
     end if;		  
   end;
 
-  function flash_data_w( technology : in integer )  return integer is 
+  function tech_flash_data_w( technology : in integer )  return integer is 
   begin
     if technology = c_tech_stratixiv then
         return 24;
diff --git a/libraries/technology/flash/tech_flash_remote_update.vhd b/libraries/technology/flash/tech_flash_remote_update.vhd
index ee46f70da0..96226cf7c9 100644
--- a/libraries/technology/flash/tech_flash_remote_update.vhd
+++ b/libraries/technology/flash/tech_flash_remote_update.vhd
@@ -36,7 +36,7 @@ ENTITY tech_flash_remote_update IS
   );
   PORT (
     clock       : IN STD_LOGIC;
-    data_in     : IN STD_LOGIC_VECTOR (flash_data_w(g_technology)-1 DOWNTO 0);
+    data_in     : IN STD_LOGIC_VECTOR (tech_flash_data_w(g_technology)-1 DOWNTO 0);
     param       : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
     read_param  : IN STD_LOGIC;
     reconfig    : IN STD_LOGIC;
@@ -44,7 +44,7 @@ ENTITY tech_flash_remote_update IS
     reset_timer : IN STD_LOGIC;
     write_param : IN STD_LOGIC;
     busy        : OUT STD_LOGIC;
-    data_out    : OUT STD_LOGIC_VECTOR (flash_data_w(g_technology)-1 DOWNTO 0)
+    data_out    : OUT STD_LOGIC_VECTOR (tech_flash_data_w(g_technology)-1 DOWNTO 0)
   );
 END tech_flash_remote_update;
 
-- 
GitLab