On Mon, Jun 15, 2009 at 05:54:45PM -0700, Chris Teague wrote: > I'm having trouble doing a hierarchical project using GHDL. I have a > entity called mmc1, which I'd like to contain a instance of a > "shift_reg". It seems to work OK if all the inputs of the sub-entity > are explicit internal signals, but passing along inputs from the top > level to the bottom level entity fails. Here is what I'm seeing: > $ ghdl -a mmc1.vhdl > mmc1.vhdl:44:31: no interface for 'clk' in association > /usr/lib/ghdl/bin/ghdl: compilation error > > > Any idea what I'm doing wrong here? From the examples I'm learning > VHDL from (Altera), I don't see anything wrong with this. It has the > same complaint about "data_in" if I assign it to cpu_d0 instead of > test2. Thanks for any suggestions,
Hi, it is difficult to find what is wrong because the example is not complete. You are doing a direct instantiation and therefore the component shift_reg is not used. Tristan. _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss