From 6fded7dea0d5d17afd45f4d8400ffe5542e0ccd5 Mon Sep 17 00:00:00 2001
From: Leon Hiemstra <hiemstra@astron.nl>
Date: Wed, 12 Nov 2014 10:32:32 +0000
Subject: [PATCH] fixed syntax errors

---
 .../flash/tech_flash_component_pkg.vhd         | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/libraries/technology/flash/tech_flash_component_pkg.vhd b/libraries/technology/flash/tech_flash_component_pkg.vhd
index 2121937e41..04f7347c59 100644
--- a/libraries/technology/flash/tech_flash_component_pkg.vhd
+++ b/libraries/technology/flash/tech_flash_component_pkg.vhd
@@ -112,18 +112,28 @@ PACKAGE tech_flash_component_pkg IS
   function flash_addr_w( technology: in integer ) return integer;
   function 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 
   begin
-    if technology = c_tech_stratixiv then return 24 end if;
-    if technology = c_tech_arria10 then return 32 end if;		  
+    if technology = c_tech_stratixiv then
+        return 24;
+    end if;
+    if technology = c_tech_arria10 then
+        return 32;
+    end if;		  
   end;
 
   function flash_data_w( technology : in integer )  return integer is 
   begin
-    if technology = c_tech_stratixiv then return 24 end if;
-    if technology = c_tech_arria10 then return 32 end if;		  
+    if technology = c_tech_stratixiv then
+        return 24;
+    end if;
+    if technology = c_tech_arria10 then
+        return 32;
+    end if;		  
   end;
 
 
-- 
GitLab