Closed oharboe closed 1 month ago
@povik Is this the best solution? No value for -v seems to recover this message.
There are two kinds of errors in Yosys: recoverable, which will throw you back to the prompt in an interactive session, and non-recoverable, which will exit the process. The first appear to be silenced under -v 3
, which I don't think we want. I will write a patch.
@oharboe can you wait for the next yosys update cycle or do you need this as a stop-gap?
It is easily reverted, isnt it? This way I can forget all about it :-)
The patch is up
YOSYS_FLAGS=-v 3 will silence error messages, such as the below.
However, without this option, synthesis will give an enormous amount of output.
Fortunately, the most common error messages, like unknown top module, is shown during canonicalization and not specifying -v 3 doesn't increase the logging noise noticably during the canonicalization stage.
To test:
Now it fails with a helpful error message
[deleted]