aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-12-27 15:15:20 +0100
committerClifford Wolf <clifford@clifford.at>2013-12-27 15:18:14 +0100
commit0f5ab7649e4496b1923cad6f093c735a2350fdc8 (patch)
treedb2050071b076ae576b7f988b2794666b47ad63d /kernel
parentc9699fe76deb13209d61af461d9ce850a5113c8d (diff)
downloadyosys-0f5ab7649e4496b1923cad6f093c735a2350fdc8.tar.gz
yosys-0f5ab7649e4496b1923cad6f093c735a2350fdc8.tar.bz2
yosys-0f5ab7649e4496b1923cad6f093c735a2350fdc8.zip
Small cleanup in SatGen
Diffstat (limited to 'kernel')
-rw-r--r--kernel/satgen.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/satgen.h b/kernel/satgen.h
index 8fb8e818a..67312f440 100644
--- 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;
}