mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-05 08:30:51 +00:00
pmgen: hold sigmap pointer instead of owning it
This commit is contained in:
parent
647541a4c1
commit
8bbb0acdda
10 changed files with 61 additions and 42 deletions
|
|
@ -244,7 +244,8 @@ struct XilinxSrlPass : public Pass {
|
|||
log_cmd_error("'-fixed' and/or '-variable' must be specified.\n");
|
||||
|
||||
for (auto module : design->selected_modules()) {
|
||||
auto pm = xilinx_srl_pm(module, module->selected_cells());
|
||||
SigMap sigmap(module);
|
||||
auto pm = xilinx_srl_pm(module, &sigmap, module->selected_cells());
|
||||
pm.ud_fixed.minlen = minlen;
|
||||
pm.ud_variable.minlen = minlen;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue