projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9699fe
)
Small cleanup in SatGen
author
Clifford Wolf
<clifford@clifford.at>
Fri, 27 Dec 2013 14:15:20 +0000
(15:15 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 27 Dec 2013 14:18:14 +0000
(15:18 +0100)
kernel/satgen.h
patch
|
blob
|
history
diff --git
a/kernel/satgen.h
b/kernel/satgen.h
index 8fb8e818a7e56e754cdd23ab2a4c97090638b800..67312f440b79062b470c51fdabea101a503b8f0a 100644
(file)
--- a/
kernel/satgen.h
+++ b/
kernel/satgen.h
@@
-161,7
+161,6
@@
struct SatGen
{
bool arith_undef_handled = false;
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))
{
@@
-191,7
+190,6
@@
struct SatGen
ez->assume(ez->vec_eq(undef_y_bits, undef_y));
}
- arith_undef_result = undef_y_bit;
arith_undef_handled = true;
}