mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Small cleanup in SatGen
This commit is contained in:
parent
c9699fe76d
commit
0f5ab7649e
1 changed files with 0 additions and 2 deletions
|
@ -161,7 +161,6 @@ struct SatGen
|
||||||
{
|
{
|
||||||
bool arith_undef_handled = false;
|
bool arith_undef_handled = false;
|
||||||
bool is_arith_compare = cell->type == "$lt" || cell->type == "$le" || cell->type == "$ge" || cell->type == "$gt";
|
bool is_arith_compare = cell->type == "$lt" || cell->type == "$le" || cell->type == "$ge" || cell->type == "$gt";
|
||||||
int arith_undef_result = ez->FALSE;
|
|
||||||
|
|
||||||
if (model_undef && (cell->type == "$add" || cell->type == "$sub" || cell->type == "$mul" || cell->type == "$div" || cell->type == "$mod" || is_arith_compare))
|
if (model_undef && (cell->type == "$add" || cell->type == "$sub" || cell->type == "$mul" || cell->type == "$div" || cell->type == "$mod" || is_arith_compare))
|
||||||
{
|
{
|
||||||
|
@ -191,7 +190,6 @@ struct SatGen
|
||||||
ez->assume(ez->vec_eq(undef_y_bits, undef_y));
|
ez->assume(ez->vec_eq(undef_y_bits, undef_y));
|
||||||
}
|
}
|
||||||
|
|
||||||
arith_undef_result = undef_y_bit;
|
|
||||||
arith_undef_handled = true;
|
arith_undef_handled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue