2022-11-15 05:55:22 -06:00
|
|
|
Auxiliary programs
|
|
|
|
==================
|
|
|
|
|
|
|
|
Besides the main yosys executable, the Yosys distribution contains a set of
|
|
|
|
additional helper programs.
|
|
|
|
|
|
|
|
yosys-config
|
|
|
|
------------
|
|
|
|
|
2023-10-31 16:13:28 -05:00
|
|
|
The ``yosys-config`` tool (an auto-generated shell-script) can be used to query
|
2022-11-15 05:55:22 -06:00
|
|
|
compiler options and other information needed for building loadable modules for
|
2023-12-12 15:08:45 -06:00
|
|
|
Yosys. See :doc:`/yosys_internals/extending_yosys/extensions` for details.
|
2022-11-15 05:55:22 -06:00
|
|
|
|
2023-10-31 16:13:28 -05:00
|
|
|
.. literalinclude:: /temp/yosys-config
|
|
|
|
:start-at: Usage
|
|
|
|
|
2022-11-15 05:55:22 -06:00
|
|
|
.. _sec:filterlib:
|
|
|
|
|
|
|
|
yosys-filterlib
|
|
|
|
---------------
|
|
|
|
|
2023-12-11 17:05:45 -06:00
|
|
|
.. todo:: how does a filterlib rules-file work?
|
2023-10-31 16:13:28 -05:00
|
|
|
|
|
|
|
The ``yosys-filterlib`` tool is a small utility that can be used to strip or
|
|
|
|
extract information from a Liberty file. This can be useful for removing
|
|
|
|
sensitive or proprietary information such as timing or other trade secrets.
|
|
|
|
|
|
|
|
.. literalinclude:: /temp/yosys-filterlib
|
|
|
|
:start-at: Usage
|
2022-11-15 05:55:22 -06:00
|
|
|
|
|
|
|
yosys-abc
|
|
|
|
---------
|
|
|
|
|
|
|
|
This is a fork of ABC with a small set of custom modifications that have not yet
|
|
|
|
been accepted upstream. Not all versions of Yosys work with all versions of ABC.
|
|
|
|
So Yosys comes with its own yosys-abc to avoid compatibility issues between the
|
|
|
|
two.
|
2023-10-29 17:13:48 -05:00
|
|
|
|
2023-10-31 16:13:28 -05:00
|
|
|
.. literalinclude:: /temp/yosys-abc
|
|
|
|
:start-at: usage
|
|
|
|
:end-before: UC Berkeley
|
|
|
|
|
2023-10-29 17:13:48 -05:00
|
|
|
yosys-smtbmc
|
|
|
|
------------
|
|
|
|
|
2023-10-31 16:13:28 -05:00
|
|
|
The ``yosys-smtbmc`` tool is a utility used by SBY for interacting with smt
|
|
|
|
solvers.
|
|
|
|
|
|
|
|
.. literalinclude:: /temp/yosys-smtbmc
|
|
|
|
|
2023-10-29 17:13:48 -05:00
|
|
|
yosys-witness
|
|
|
|
-------------
|
|
|
|
|
2023-10-31 16:13:28 -05:00
|
|
|
``yosys-witness`` is a new tool to inspect and convert yosys witness traces.
|
|
|
|
This is used in SBY and SCY for producing traces in a consistent format
|
|
|
|
independent of the solver.
|
|
|
|
|
|
|
|
.. literalinclude:: /temp/yosys-witness
|
|
|
|
:start-at: Usage
|