On Wed, 20 Jul 2011 22:16:51 +0100, Alex Huntley wrote:
I think you could get around the single instantiation limitation:
declare an array as the global signal.
add a generic (integer) on the entity that you are instantiating
several times (call it N)
connect the signal of interest to bit N of the global signal array
for each instantiation assign a different value of N in the generic
map (especially easy if you use a for...generate)
The record suggestion is good though.
I'll keep notes on all 3 approaches, I like this one a lot though,
very handful for the automated generation of the files :-)
I'm curious about the VPI/VHPI thing though...
yg
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss