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.


                With best regards,      Walter

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to