3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-06 06:16:04 +00:00
This commit is contained in:
Emil J 2025-11-03 10:04:14 +01:00 committed by GitHub
commit 7b9f79d6d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 521 additions and 284 deletions

View file

@ -16,7 +16,7 @@ value from the ``B`` input is sent to the output. So the `$mux` cell implements
the function :verilog:`Y = S ? B : A`.
The `$pmux` cell is used to multiplex between many inputs using a one-hot select
signal. Cells of this type have a ``WIDTH`` and a ``S_WIDTH`` parameter and
signal. Cells of this type have a ``WIDTH`` and an ``S_WIDTH`` parameter and
inputs ``A``, ``B``, and ``S`` and an output ``Y``. The ``S`` input is
``S_WIDTH`` bits wide. The ``A`` input and the output are both ``WIDTH`` bits
wide and the ``B`` input is ``WIDTH*S_WIDTH`` bits wide. When all bits of ``S``