docs: Reference chapters with doc tag

Fix some formatting.
This commit is contained in:
Krystine Sherwin 2023-10-30 22:38:47 +13:00
parent d4e45cdccb
commit 74c1fc1cdd
No known key found for this signature in database
5 changed files with 8 additions and 9 deletions

View File

@ -11,7 +11,7 @@ yosys-config
The yosys-config tool (an auto-generated shell-script) can be used to query
compiler options and other information needed for building loadable modules for
Yosys. See :ref:`chapter:prog` for details.
Yosys. See :doc:`/yosys_internals/extensions` for details.
.. _sec:filterlib:

View File

@ -67,7 +67,8 @@ Things you can't do
- Process high-level languages such as C/C++/SystemC
- Create physical layouts (place&route)
+ Check out `nextpnr`_ for that
- Check out `nextpnr`_ for that
.. _nextpnr: https://github.com/YosysHQ/nextpnr

View File

@ -37,9 +37,9 @@ The :cmd:ref:`opt_expr` pass
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This pass performs const folding on the internal combinational cell types
described in :ref:`chapter:celllib`. This means a cell with all constant inputs
is replaced with the constant value this cell drives. In some cases this pass
can also optimize cells with some constant inputs.
described in :doc:`/yosys_internals/formats/cell_library`. This means a cell
with all constant inputs is replaced with the constant value this cell drives.
In some cases this pass can also optimize cells with some constant inputs.
.. table:: Const folding rules for ``$_AND_`` cells as used in :cmd:ref:`opt_expr`.
:name: tab:opt_expr_and

View File

@ -1,5 +1,3 @@
.. _chapter:prog:
Writing extensions
==================

View File

@ -223,8 +223,8 @@ Cells
Declares a cell, with zero or more attributes, with the given identifier and
type in the enclosing module.
Cells perform functions on input signals. See :ref:`chapter:celllib` for a
detailed list of cell types.
Cells perform functions on input signals. See
:doc:`/yosys_internals/formats/cell_library` for a detailed list of cell types.
.. code:: BNF