aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/celltypes.h
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/celltypes.h
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/celltypes.h')
-rw-r--r--kernel/celltypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/celltypes.h b/kernel/celltypes.h
index ae88f4aaf..0da78c313 100644
--- a/kernel/celltypes.h
+++ b/kernel/celltypes.h
@@ -464,7 +464,7 @@ struct CellTypes
if (cell->type == "$_AOI4_")
return eval_not(const_or(const_and(arg1, arg2, false, false, 1), const_and(arg3, arg4, false, false, 1), false, false, 1));
if (cell->type == "$_OAI4_")
- return eval_not(const_and(const_or(arg1, arg2, false, false, 1), const_and(arg3, arg4, false, false, 1), false, false, 1));
+ return eval_not(const_and(const_or(arg1, arg2, false, false, 1), const_or(arg3, arg4, false, false, 1), false, false, 1));
log_assert(arg4.bits.size() == 0);
return eval(cell, arg1, arg2, arg3, errp);