Skip to content
Snippets Groups Projects
Commit 6fded7de authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

fixed syntax errors

parent 1065b0c2
No related branches found
No related tags found
Loading
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment