projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f97147
)
Copy-paste typo
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 22 Aug 2019 15:43:44 +0000
(08:43 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 22 Aug 2019 15:43:44 +0000
(08:43 -0700)
passes/opt/opt_expr.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_expr.cc
b/passes/opt/opt_expr.cc
index 73f48317a77ea537e350599031a87c74a1cf48de..00d7d6063cc275c85be6c2c9848ae211a36aea8a 100644
(file)
--- a/
passes/opt/opt_expr.cc
+++ b/
passes/opt/opt_expr.cc
@@
-758,7
+758,7
@@
void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons
}
if (width < GetSize(sig_a)) {
- cover_list("opt.opt_expr.
xbit
", "$shiftx", "$shift", cell->type.str());
+ cover_list("opt.opt_expr.
trim
", "$shiftx", "$shift", cell->type.str());
sig_a.remove(width, GetSize(sig_a)-width);
cell->setPort(ID::A, sig_a);
cell->setParam(ID(A_WIDTH), width);