V
Valentin Tihhomirov
Guest
GHDL gives an example of adder instantiation, using components
adder_0: adder port map (i0 => i0, i1 => i1, ci => ci,
s => s, co => co);
which works. I tried to get rid of the component, making direct
instantiation of the entity
adder_0: entity adder port map (i0 => i0, i1 => i1, ci => ci,
s => s, co => co);
But, it says
> no declaration for "adder"
What is wrong?
adder_0: adder port map (i0 => i0, i1 => i1, ci => ci,
s => s, co => co);
which works. I tried to get rid of the component, making direct
instantiation of the entity
adder_0: entity adder port map (i0 => i0, i1 => i1, ci => ci,
s => s, co => co);
But, it says
> no declaration for "adder"
What is wrong?