From: Clifford Wolf Date: Thu, 16 Feb 2017 11:17:03 +0000 (+0100) Subject: Fix eval implementation of $_NOR_ X-Git-Tag: yosys-0.8~489 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6d56d23b5a283dbb1d220e28168abf4c59c58c2;p=yosys.git Fix eval implementation of $_NOR_ --- diff --git a/kernel/celltypes.h b/kernel/celltypes.h index 04db5125e..8f31d0172 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -313,7 +313,7 @@ struct CellTypes if (type == "$_OR_") return const_or(arg1, arg2, false, false, 1); if (type == "$_NOR_") - return eval_not(const_and(arg1, arg2, false, false, 1)); + return eval_not(const_or(arg1, arg2, false, false, 1)); if (type == "$_XOR_") return const_xor(arg1, arg2, false, false, 1); if (type == "$_XNOR_")