mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fixed const folding of $bu0 cells
This commit is contained in:
parent
ae5032af84
commit
9e99984336
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue