mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 21:50:54 +00:00
Added proper === and !== support in constant expressions
This commit is contained in:
parent
11ffa78677
commit
ecc30255ba
9 changed files with 79 additions and 15 deletions
11
tests/simple/undef_eqx_nex.v
Normal file
11
tests/simple/undef_eqx_nex.v
Normal file
|
@ -0,0 +1,11 @@
|
|||
module test(y);
|
||||
output [7:0] y;
|
||||
assign y[0] = 0/0;
|
||||
assign y[1] = 0/1;
|
||||
assign y[2] = 0/0 == 32'bx;
|
||||
assign y[3] = 0/0 != 32'bx;
|
||||
assign y[4] = 0/0 === 32'bx;
|
||||
assign y[5] = 0/0 !== 32'bx;
|
||||
assign y[6] = 0/1 === 32'bx;
|
||||
assign y[7] = 0/1 !== 32'bx;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue