Fix eval implementation of $_NOR_
authorClifford Wolf <clifford@clifford.at>
Thu, 16 Feb 2017 11:17:03 +0000 (12:17 +0100)
committerClifford Wolf <clifford@clifford.at>
Thu, 16 Feb 2017 11:17:03 +0000 (12:17 +0100)
kernel/celltypes.h

index 04db5125e8067f4e531b09075129d8f7c3912e9f..8f31d01724f11d045a1aca24665ec690641504d6 100644 (file)
@@ -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_")