Surely you can still write to a file using textio from deep down in the hierarchy? textio isn't restricted to the top level.

The only condition would be if it was synthesisable code then you'd have to mask off the non-synthesisable textio commands (and package declaration?) from synthesis as shown in Sylvere's link below.

On 20/07/11 11:55, Sylvere Teissier wrote:
Le 19/07/2011 21:52, Svenn Are Bjerkem a écrit :
I can, of course, add some buses up to top level and then achieve my
goal, but if vpi can save me from modifying the design, it would be a
better solution.
you can use a global signal probe

see here:
https://mail.gna.org/public/ghdl-discuss/2011-02/msg00032.html

you have to slightly modify the design, but it doesn't affect synthesis



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

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

Reply via email to