3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Fixed const folding of $bu0 cells

This commit is contained in:
Clifford Wolf 2014-02-27 04:09:32 +01:00
parent ae5032af84
commit 9e99984336
2 changed files with 2 additions and 1 deletions

View file

@ -463,6 +463,7 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons
FOLD_2ARG_CELL(pow)
FOLD_1ARG_CELL(pos)
FOLD_1ARG_CELL(bu0)
FOLD_1ARG_CELL(neg)
// be very conservative with optimizing $mux cells as we do not want to break mux trees