3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +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:
Krystine Sherwin 2024-09-16 20:38:37 +12:00
parent 927dc445dd
commit dfe803b5c6
No known key found for this signature in database
5 changed files with 20 additions and 15 deletions

View file

@ -528,10 +528,10 @@ endmodule
// --------------------------------------------------------
//* ver 2
//* title Indexed part-select
//* title Variable shifter
//* group binary
//* tags x-output
//- Same as the `$shift` cell, but fills with 'x'.
//- Performs a right logical shift if the second operand is positive (or
//- unsigned), and a left logical shift if it is negative.
//-
module \$shift (A, B, Y);
@ -567,10 +567,10 @@ endmodule
// --------------------------------------------------------
//* ver 2
//* title Variable shifter
//* title Indexed part-select
//* group binary
//- Performs a right logical shift if the second operand is positive (or
//- unsigned), and a left logical shift if it is negative.
//* tags x-output
//- Same as the `$shift` cell, but fills with 'x'.
//-
module \$shiftx (A, B, Y);