projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb8007
)
Fix eval implementation of $_NOR_
author
Clifford Wolf
<clifford@clifford.at>
Thu, 16 Feb 2017 11:17:03 +0000
(12:17 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 16 Feb 2017 11:17:03 +0000
(12:17 +0100)
kernel/celltypes.h
patch
|
blob
|
history
diff --git
a/kernel/celltypes.h
b/kernel/celltypes.h
index 04db5125e8067f4e531b09075129d8f7c3912e9f..8f31d01724f11d045a1aca24665ec690641504d6 100644
(file)
--- 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_")