mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 10:35:38 +00:00
Docs: Mention verilator for linting
Link to verilator in the introduction. Include `verilator --lint-only fifo.v` in the example synth doc. Fix linter warnings in fifo.v.
This commit is contained in:
parent
52c231dd64
commit
b14a651142
3 changed files with 16 additions and 3 deletions
|
@ -30,6 +30,14 @@ First, let's quickly look at the design we'll be synthesizing:
|
|||
|
||||
.. todo:: fifo.v description
|
||||
|
||||
While the open source `read_verilog` frontend generally does a pretty good job
|
||||
at processing valid Verilog input, it does not provide very good error handling
|
||||
or reporting. Using an external tool such as `verilator`_ before running Yosys
|
||||
is highly recommended. We can quickly check the Verilog syntax of our design by
|
||||
calling ``verilator --lint-only fifo.v``.
|
||||
|
||||
.. _verilator: https://www.veripool.org/verilator/
|
||||
|
||||
Loading the design
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue