Forum Discussion
Altera_Forum
Honored Contributor
14 years ago"std_logic_vector" is used but not declared
I worked with the book "Embedded SoPC Design..." from Chu and I have problem with my first (!) VHDL source code I typed from the book. I suppose this is very basic question - sorry about that. ...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- The error I get: "std_logic_vector" is used but not declared ... but I thought, that is done by the use statement .... --- Quote End --- Your code has essentially two components in it. If you have multiple entities in a file, then you need the use statement above every entity declaration. Cheers, Dave