mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3300 from imhcyx/master
memory_share: fix wrong argidx in extra_args
This commit is contained in:
commit
384d2120ee
|
@ -555,7 +555,7 @@ struct MemorySharePass : public Pass {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
extra_args(args, 1, design);
|
extra_args(args, argidx, design);
|
||||||
MemoryShareWorker msw(design, flag_widen, flag_sat);
|
MemoryShareWorker msw(design, flag_widen, flag_sat);
|
||||||
|
|
||||||
for (auto module : design->selected_modules())
|
for (auto module : design->selected_modules())
|
||||||
|
|
Loading…
Reference in New Issue