aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cellaigs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cellaigs.cc')
-rw-r--r--kernel/cellaigs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cellaigs.cc b/kernel/cellaigs.cc
index b738b9dba..483aa7d57 100644
--- a/kernel/cellaigs.cc
+++ b/kernel/cellaigs.cc
@@ -77,7 +77,7 @@ struct AigMaker
if (portbit >= GetSize(cell->getPort(portname))) {
if (cell->parameters.count(portname.str() + "_SIGNED") && cell->getParam(portname.str() + "_SIGNED").as_bool())
return inport(portname, GetSize(cell->getPort(portname))-1, inverter);
- return bool_node(!inverter);
+ return bool_node(inverter);
}
AigNode node;