mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Fix RSTP
This commit is contained in:
parent
af147d1430
commit
37a34eeb04
|
@ -438,7 +438,7 @@ void pack_xilinx_dsp(dict<SigBit, Cell*> &bit_to_driver, xilinx_dsp_pm &pm)
|
||||||
st.ffPrstmux->connections_.at("\\Y").replace(P, pm.module->addWire(NEW_ID, GetSize(P)));
|
st.ffPrstmux->connections_.at("\\Y").replace(P, pm.module->addWire(NEW_ID, GetSize(P)));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cell->setPort("\\RSTP", State::S1);
|
cell->setPort("\\RSTP", State::S0);
|
||||||
if (st.ffPcemux) {
|
if (st.ffPcemux) {
|
||||||
SigSpec S = st.ffPcemux->getPort("\\S");
|
SigSpec S = st.ffPcemux->getPort("\\S");
|
||||||
cell->setPort("\\CEP", st.ffPcepol ? S : pm.module->Not(NEW_ID, S));
|
cell->setPort("\\CEP", st.ffPcepol ? S : pm.module->Not(NEW_ID, S));
|
||||||
|
|
Loading…
Reference in a new issue