Forum Discussion
Altera_Forum
Honored Contributor
15 years agoport array declaration error
Hi, I'm trying to declare an array in my port entity. I have read some about on the web but I get an array declaration error.
library ieee;
use ieee.std_logic_1164.all;
--use ieee.std_logic_...
Altera_Forum
Honored Contributor
15 years agoThat's should be correct.
You must prefix library ieee; use ieee.std_logic_1164.all; to the package declarations, since it refers to std_logic types You must prefix the same to the entity declaration, since it directly uses std_logic, too, besides using mytypes.