aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-27 04:09:32 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-27 04:09:32 +0100
commit9e9998433616f438cb0185519bb5b7f8e1a8f543 (patch)
treeafd8018402a4ed312860b0e15a6bcb870bb49e5a /kernel
parentae5032af845b4c85510b3ce4a63fea3cca5e6a00 (diff)
downloadyosys-9e9998433616f438cb0185519bb5b7f8e1a8f543.tar.gz
yosys-9e9998433616f438cb0185519bb5b7f8e1a8f543.tar.bz2
yosys-9e9998433616f438cb0185519bb5b7f8e1a8f543.zip
Fixed const folding of $bu0 cells
Diffstat (limited to 'kernel')
-rw-r--r--kernel/celltypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/celltypes.h b/kernel/celltypes.h
index 34a6e56fa..4a600af9d 100644
--- a/kernel/celltypes.h
+++ b/kernel/celltypes.h
@@ -216,7 +216,7 @@ struct CellTypes
type = "$shl";
if (type != "$sshr" && type != "$sshl" && type != "$shr" && type != "$shl" &&
- type != "$pos" && type != "$neg" && type != "$not") {
+ type != "$pos" && type != "$neg" && type != "$not" && type != "$bu0") {
if (!signed1 || !signed2)
signed1 = false, signed2 = false;
}