Commit f37156c
committed
synthesis: improve error messages
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:
1. modify gcd.v to rename "gcd" module to "gcdxxx"
2. Run "make synth"
Now it fails with a helpful error message
[deleted]
4. Executing HIERARCHY pass (managing design hierarchy).
ERROR: Module `gcd' not found!
ERROR: TCL interpreter returned an error: Yosys command produced an error
Command exited with non-zero status 1
Signed-off-by: Øyvind Harboe <[email protected]>1 parent ad1c669 commit f37156c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
| 543 | + | |
| 544 | + | |
544 | 545 | | |
545 | 546 | | |
546 | 547 | | |
| |||
0 commit comments