mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Docs: static opt macro list
Also adds `docs/tests/macro_commands.py` which checks all commands in `code_examples/macro_commands` against the current yosys build. Format similar to `run-test.sh` files: logging the file under test and reporting errors.
This commit is contained in:
parent
95849edbba
commit
6c8949cacc
3 changed files with 107 additions and 4 deletions
|
@ -14,11 +14,9 @@ includes removing unused signals and cells and const folding. It is recommended
|
|||
to run this pass after each major step in the synthesis script. As listed in
|
||||
:doc:`/cmd/opt`, this macro command calls the following ``opt_*`` commands:
|
||||
|
||||
.. literalinclude:: /cmd/opt.rst
|
||||
.. literalinclude:: /code_examples/macro_commands/opt.ys
|
||||
:language: yoscrypt
|
||||
:start-after: following order:
|
||||
:end-at: while <changed design>
|
||||
:dedent:
|
||||
:start-after: #end:
|
||||
:caption: Passes called by :cmd:ref:`opt`
|
||||
|
||||
.. _adv_opt_expr:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue