On 06/13/2016 08:23 PM, Tristan Gingold wrote:
On 12/06/16 15:36, Walter F.J. Mueller wrote:
Hi *,
I'm using ghdl with VHPI to setup co-simulations. In the 'external' part
stdout is either set to autoflush (e.g. in perl), or a flush is done after
each message (e.g. in C/C++).
In my test environment the output is usually send through a pipe.
Apparently ghdl uses buffered IO when vhdl textio outputs are written.
This leads to messages from ghdl and the 'external' part to be
out-of-order.
Some other simulators have an option like 'UNBUFFERED' or 'AUTOFLUSH' which
will force a flush for each line for stdout writes.
Is there such an option in ghdl ?
If not it be great when it is added on a future release.
No, but this makes sense. You can create an issue on github ?
Done: https://github.com/tgingold/ghdl/issues/87
Thanks,
Tristan.
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss