mirror of https://github.com/YosysHQ/yosys.git
Docs: $eqx aka case equality
This commit is contained in:
parent
217c2a15dd
commit
5c4f7b4deb
|
@ -14,8 +14,6 @@ Binary operators
|
|||
shiftx, div, mod, pmux (less-so) can produce 'x' output even if all inputs
|
||||
are defined
|
||||
|
||||
.. todo:: `$eqx` is the case equality operator
|
||||
|
||||
All binary RTL cells have two input ports ``A`` and ``B`` and one output port
|
||||
``Y``. They also have the following parameters:
|
||||
|
||||
|
|
|
@ -833,10 +833,11 @@ endmodule
|
|||
//- $eqx (A, B, Y)
|
||||
//* group binary
|
||||
//-
|
||||
//- An exact equality comparison between inputs 'A' and 'B'.
|
||||
//- This corresponds to the Verilog '===' operator.
|
||||
//- Unlike equality comparison that can give 'x' as output,
|
||||
//- an exact equality comparison will strictly give '0' or '1' as output.
|
||||
//- An exact equality comparison between inputs 'A' and 'B'. Also known as the
|
||||
//- case equality operator. This corresponds to the Verilog '===' operator.
|
||||
//- Unlike equality comparison that can give 'x' as output, an exact equality
|
||||
//- comparison will strictly give '0' or '1' as output, even if input includes
|
||||
//- 'x' or 'z' values.
|
||||
//-
|
||||
module \$eqx (A, B, Y);
|
||||
|
||||
|
|
Loading…
Reference in New Issue