aboutsummaryrefslogtreecommitdiffstats
path: root/passes/pmgen/xilinx_srl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/pmgen/xilinx_srl.cc')
-rw-r--r--passes/pmgen/xilinx_srl.cc13
1 files changed, 1 insertions, 12 deletions
diff --git a/passes/pmgen/xilinx_srl.cc b/passes/pmgen/xilinx_srl.cc
index d1dbd77ae..0120a6c2c 100644
--- a/passes/pmgen/xilinx_srl.cc
+++ b/passes/pmgen/xilinx_srl.cc
@@ -214,19 +214,8 @@ struct XilinxSrlPass : public Pass {
pm.ud_fixed.default_params[std::make_pair(ID(FDRE),ID(IS_R_INVERTED))] = State::S0;
pm.run_fixed(run_fixed);
}
- if (variable) {
- // Since `nusers` does not count module ports as a user,
- // and since `sigmap` does not always make such ports
- // the canonical signal.. need to maintain a pool these
- // ourselves
- for (auto p : module->ports) {
- auto w = module->wire(p);
- if (w->port_output)
- for (auto b : pm.sigmap(w))
- pm.ud_variable.output_bits.insert(b);
- }
+ if (variable)
pm.run_variable(run_variable);
- }
}
}
} XilinxSrlPass;