diff --git a/libraries/technology/flash/tech_flash_component_pkg.vhd b/libraries/technology/flash/tech_flash_component_pkg.vhd index 2121937e4179f911dec0fa55b6802f506c75d65c..04f7347c5944b7a3bd27de44158e8953a1b6bcd1 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;