projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b911e2
)
Opt
author
Eddie Hung
<eddieh@ece.ubc.ca>
Thu, 21 Mar 2019 17:20:27 +0000
(10:20 -0700)
committer
Eddie Hung
<eddieh@ece.ubc.ca>
Thu, 21 Mar 2019 17:20:27 +0000
(10:20 -0700)
passes/techmap/shregmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/shregmap.cc
b/passes/techmap/shregmap.cc
index 028f4ba3560d3b0437fbcef770e00e0a26f554cf..d5221d46f894a68adf34d7bc27ffc7e6baa2dd89 100644
(file)
--- a/
passes/techmap/shregmap.cc
+++ b/
passes/techmap/shregmap.cc
@@
-102,7
+102,7
@@
struct ShregmapTechXilinx7 : ShregmapTech
virtual void init(const Module* module, const SigMap &sigmap) override
{
- for (
auto
i : module->cells_) {
+ for (
const auto &
i : module->cells_) {
auto cell = i.second;
if (cell->type != "$shiftx") continue;
if (cell->getParam("\\Y_WIDTH") != 1) continue;