3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-10 08:02:02 +00:00

libparse: fix up tests since liberty expression parsing now normalizes the form of these expressions

This commit is contained in:
Emil J. Tywoniak 2025-11-05 13:05:30 +01:00
parent bf29f6dc11
commit b0a3d6a3e7
8 changed files with 176 additions and 17 deletions

View file

@ -2,5 +2,5 @@ module XNOR2X1 (B, A, Y);
input B;
input A;
output Y;
assign Y = !(B&!A|!B&A); // "!(B&!A|!B&A)"
assign Y = (~((B&(~A))|((~B)&A))); // "!(B&!A|!B&A)"
endmodule