mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fixed handling of $_XOR_ in SAT generator
This commit is contained in:
parent
0efde13775
commit
b7ba90910d
2 changed files with 4 additions and 2 deletions
|
@ -107,7 +107,7 @@ struct SatGen
|
|||
ez->assume(ez->vec_eq(ez->vec_and(a, b), y));
|
||||
if (cell->type == "$or" || cell->type == "$_OR_")
|
||||
ez->assume(ez->vec_eq(ez->vec_or(a, b), y));
|
||||
if (cell->type == "$xor" || cell->type == "$_XOR")
|
||||
if (cell->type == "$xor" || cell->type == "$_XOR_")
|
||||
ez->assume(ez->vec_eq(ez->vec_xor(a, b), y));
|
||||
if (cell->type == "$xnor")
|
||||
ez->assume(ez->vec_eq(ez->vec_not(ez->vec_xor(a, b)), y));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue