mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-25 23:33:42 +00:00
Don't display on stdout in py_wrap_generator when using log_to_stream
This commit is contained in:
parent
dec43679be
commit
fee4caafb7
1 changed files with 2 additions and 1 deletions
|
@ -2429,7 +2429,8 @@ namespace YOSYS_PYTHON {
|
||||||
{
|
{
|
||||||
// Create an ostream that delegates to the python object.
|
// Create an ostream that delegates to the python object.
|
||||||
boost::iostreams::stream<PythonOutputDevice>* output = new boost::iostreams::stream<PythonOutputDevice>(object);
|
boost::iostreams::stream<PythonOutputDevice>* output = new boost::iostreams::stream<PythonOutputDevice>(object);
|
||||||
Yosys::log_streams.insert(Yosys::log_streams.begin(), output);
|
Yosys::log_streams.clear();
|
||||||
|
Yosys::log_streams.push_back(output);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue