diff options
author | David Shah <dave@ds0.me> | 2019-04-23 17:54:00 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-04-23 17:54:00 +0100 |
commit | 742c2f245dbe9db1cb89257b296b71b1cb9ac771 (patch) | |
tree | 76cb135f6b8e44590c93affcb76e83c1a103f623 /kernel/cellaigs.cc | |
parent | d9daf09cf3aab202b6da058c5e959f6375a4541e (diff) | |
download | yosys-742c2f245dbe9db1cb89257b296b71b1cb9ac771.tar.gz yosys-742c2f245dbe9db1cb89257b296b71b1cb9ac771.tar.bz2 yosys-742c2f245dbe9db1cb89257b296b71b1cb9ac771.zip |
Fixes for OAI4 cell implementation
Fixes #955 and the underlying issue in #954
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'kernel/cellaigs.cc')
-rw-r--r-- | kernel/cellaigs.cc | 2 |
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; } |