Forum Discussion
Altera_Forum
Honored Contributor
11 years agolibrary use clause errors
I am using Altera version 13.0.0. The compiler is complaining about this code: library ieee; use ieee.std_logic_1164.all; library basicblocks; use basicblocks.d_flipflop.all...
Altera_Forum
Honored Contributor
11 years agothe .all reference needs to be attached to a package. If the thing you are refering to is an entity, you dont need to call use on it at all if you dont want to, you can just use direct instantiation.
library basicblocks;
--no use cases required
--instatitate a d_flipflop
d_inst : entity basicblocks.d_flipflop
generic map (
--etc
)
port map (
-- etc
);