On 25/08/15 15:28, Sander Vanheule wrote:
Dear all,When trying to instantiate an architecture of an entity for which multiple architectures are defined, linking will fail when elaborating an architecture which does not refer to the full collection of entities instantiated by all the architectures. Searching for the suffixes (__LASTARCH__INSTSIZE etc.) in the error message has not returned any useful result, so I'm assuming this hasn't been reported yet. For example, if you have two architectures ('first' and 'second') where the first one refers to an entity ('internal') which the second one does not refer to, linking to this entity will fail if you try to elaborate the second architecture. However, linking to this entity is not needed in the first place, so I'm guessing that's why it doesn't exist and linking thus fails. In this case, the full set of instantiated entities is {'internal', 'internal_bis'}. 'test(second)' only refers to 'internal_bis' and therefore fails to link 'internal' and vice versa for 'test(first)'.
Hello, I have a fix for that and I plan to commit it soon. As a workaround, you can move the unused entity to a separate file. Thank you for the error report, Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
