Entity instantiation in GHDL

  • Thread starter Valentin Tihhomirov
  • Start date
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?
 
> What is wrong?

It is configuration spec that caused the error actually. Excuse me for
the fuss.
 

Welcome to EDABoard.com

Sponsor

Back
Top