3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

Remove output_bits

This commit is contained in:
Eddie Hung 2019-08-22 11:14:59 -07:00
parent 231ddbf95c
commit 74bd190d3b
2 changed files with 7 additions and 16 deletions

View file

@ -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;