mirror of https://github.com/YosysHQ/yosys.git
Opt
This commit is contained in:
parent
2b911e270b
commit
5597270b9e
|
@ -102,7 +102,7 @@ struct ShregmapTechXilinx7 : ShregmapTech
|
||||||
|
|
||||||
virtual void init(const Module* module, const SigMap &sigmap) override
|
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;
|
auto cell = i.second;
|
||||||
if (cell->type != "$shiftx") continue;
|
if (cell->type != "$shiftx") continue;
|
||||||
if (cell->getParam("\\Y_WIDTH") != 1) continue;
|
if (cell->getParam("\\Y_WIDTH") != 1) continue;
|
||||||
|
|
Loading…
Reference in New Issue