2024-05-02 16:16:55 -05:00
|
|
|
Word-level cells
|
|
|
|
----------------
|
|
|
|
|
2024-05-26 19:31:42 -05:00
|
|
|
Most of the RTL cells closely resemble the operators available in HDLs such as
|
|
|
|
Verilog or VHDL. Therefore Verilog operators are used in the following sections
|
|
|
|
to define the behaviour of the RTL cells.
|
|
|
|
|
|
|
|
Note that all RTL cells have parameters indicating the size of inputs and
|
|
|
|
outputs. When passes modify RTL cells they must always keep the values of these
|
|
|
|
parameters in sync with the size of the signals connected to the inputs and
|
|
|
|
outputs.
|
|
|
|
|
|
|
|
Simulation models for the RTL cells can be found in the file
|
|
|
|
:file:`techlibs/common/simlib.v` in the Yosys source tree.
|
|
|
|
|
2024-05-02 16:16:55 -05:00
|
|
|
.. toctree::
|
2024-05-21 01:10:20 -05:00
|
|
|
:maxdepth: 2
|
2024-05-02 16:16:55 -05:00
|
|
|
:glob:
|
|
|
|
|
2024-05-21 01:10:20 -05:00
|
|
|
/cell/word_unary
|
2024-05-26 19:31:42 -05:00
|
|
|
/cell/word_binary
|
2024-05-26 22:46:43 -05:00
|
|
|
/cell/word_mux
|
|
|
|
/cell/word_reg
|
|
|
|
/cell/word_mem
|
|
|
|
/cell/word_fsm
|
|
|
|
/cell/word_arith
|
|
|
|
/cell/word_spec
|
|
|
|
/cell/word_formal
|
|
|
|
/cell/word_debug
|
|
|
|
|
|
|
|
.. todo:: Add information about `$slice` and `$concat` cells.
|
|
|
|
|
|
|
|
.. todo:: Add information about `$alu`, `$fa`, and `$lcu` cells.
|
|
|
|
|
|
|
|
.. autocellgroup:: word_other
|
|
|
|
:caption: Other word-level cells
|
|
|
|
:members:
|
|
|
|
:source:
|
|
|
|
:linenos:
|