mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 15:37:59 +00:00
Docs: Comments from @jix
- Unswap shift/shiftx - Add brief overview to cell lib - Clarify $div cell B input - Clarify unary operators - What is $modfloor
This commit is contained in:
parent
927dc445dd
commit
dfe803b5c6
5 changed files with 20 additions and 15 deletions
|
@ -66,8 +66,8 @@ Division and modulo cells are available in two rounding modes. The original
|
|||
`$div` and `$mod` cells are based on truncating division, and correspond to the
|
||||
semantics of the verilog ``/`` and ``%`` operators. The `$divfloor` and
|
||||
`$modfloor` cells represent flooring division and flooring modulo, the latter of
|
||||
which is also known as "remainder" in several languages. See the following table
|
||||
for a side-by-side comparison between the different semantics.
|
||||
which corresponds to the ``%`` operator in Python. See the following table for a
|
||||
side-by-side comparison between the different semantics.
|
||||
|
||||
.. table:: Comparison between different rounding modes for division and modulo cells.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue