2024-05-02 23:16:55 +02:00
|
|
|
Word-level cells
|
|
|
|
|
----------------
|
|
|
|
|
|
2024-05-27 02:31:42 +02: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 23:16:55 +02:00
|
|
|
.. toctree::
|
2024-05-21 08:10:20 +02:00
|
|
|
:maxdepth: 2
|
2024-05-02 23:16:55 +02:00
|
|
|
|
2024-05-21 08:10:20 +02:00
|
|
|
/cell/word_unary
|
2024-05-27 02:31:42 +02:00
|
|
|
/cell/word_binary
|
2024-05-27 05:46:43 +02: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
|
2024-08-27 00:48:28 +02:00
|
|
|
/cell/word_wire
|