1
0
mirror of synced 2026-02-03 23:42:50 +00:00

st.ffP from if to assert

This commit is contained in:
Eddie Hung
2019-09-03 16:37:59 -07:00
parent 16316aa05d
commit 80aec0f006

View File

@@ -59,7 +59,8 @@ void pack_xilinx_dsp(dict<SigBit, Cell*> &bit_to_driver, xilinx_dsp_pm &pm)
log(" adder %s (%s)\n", log_id(st.postAdd), log_id(st.postAdd->type));
SigSpec &opmode = cell->connections_.at("\\OPMODE");
if (st.ffP && st.postAddMux) {
if (st.postAddMux) {
log_assert(st.ffP);
opmode[4] = st.postAddMux->getPort("\\S");
pm.autoremove(st.postAddMux);
}