aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cellaigs.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-04-23 19:59:39 +0200
committerGitHub <noreply@github.com>2019-04-23 19:59:39 +0200
commitb2020ab44fe33b83dbde39fe1f0cd53e4460f2f0 (patch)
tree2e25f6fae27d9e85dd629bea2ec3d46a4929c5ce /kernel/cellaigs.cc
parentc6156f3118f327986d801fb48e50b94b7ea9e4b6 (diff)
parent742c2f245dbe9db1cb89257b296b71b1cb9ac771 (diff)
downloadyosys-b2020ab44fe33b83dbde39fe1f0cd53e4460f2f0.tar.gz
yosys-b2020ab44fe33b83dbde39fe1f0cd53e4460f2f0.tar.bz2
yosys-b2020ab44fe33b83dbde39fe1f0cd53e4460f2f0.zip
Merge pull request #957 from YosysHQ/oai4fix
Fixes for OAI4 cell implementation
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 5fd76afe5..26c625f89 100644
--- a/kernel/cellaigs.cc
+++ b/kernel/cellaigs.cc
@@ -453,7 +453,7 @@ Aig::Aig(Cell *cell)
int B = mk.inport("\\B");
int C = mk.inport("\\C");
int D = mk.inport("\\D");
- int Y = mk.nand_gate(mk.nor_gate(A, B), mk.nor_gate(C, D));
+ int Y = mk.nand_gate(mk.or_gate(A, B), mk.or_gate(C, D));
mk.outport(Y, "\\Y");
goto optimize;
}