On Fri, Oct 2, 2015 at 2:25 AM, Adrien Prost-Boucle
<[email protected]> wrote:
> On Fri, 2015-10-02 at 07:45 +0200, Tristan Gingold wrote:
>> On 01/10/15 23:20, Adrien Prost-Boucle wrote:
>> > Hi,
>> >
>> > > > GHDL currently crashes on testsuite/vests/vhdl
>> > > > -93/ashenden/compliant/ch_14_fg_14_08.vhd.
>> > > > This is apparently a known issue because that testcase is
>> > > > commented out in the testsuite. I noticed by coincidence when I
>> > > > ran an older version of the testsuite.
>> > >
>> > > Yes, ghdl doesn't like direct recursive instantiation.  I hope to
>> > > fix that in the future.
>> >
>> > I frequently use direct recursive instantiation and it works like
>> > charm (gcc version of GHDL).
>>
>> What I mean by direct instantiation is something like:
>>
>> architecture A of E is
>> ...
>>    INST: entity work.E(A) port map ...
>> ...
>>
>> Ie: An entity is instantiated within one of its architecture.
>
> Yes, it is exactly what I do. The recursive instantiation is inside a
> generate statement of course.
>
> I'm surprised to read in the mailing list that this should not work.
> I can send some VHDL I use and that work if you want proof that it
> works.

Same here!

> BTW, when viewing waveforms in GTKWave, then often many wavesforms are
> missing that correspond to recursive instantiation done in loop
> generate statements.
> This I think is a bug.

Haven't noticed that as I was only looking at the outtermost outputs.

-Pascal
-- 
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca)
ISIP Laboratory: McGill (http://www.isip.ece.mcgill.ca)

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to