autoremove ffM
authorEddie Hung <eddie@fpgeh.com>
Fri, 30 Aug 2019 22:30:04 +0000 (15:30 -0700)
committerEddie Hung <eddie@fpgeh.com>
Fri, 30 Aug 2019 22:30:04 +0000 (15:30 -0700)
passes/pmgen/xilinx_dsp.cc

index 50af5de1cee02194432bf38c3b20b925aff429a3..631b93afa4a8795bdcce5d3dc5420ca256972d86 100644 (file)
@@ -106,6 +106,7 @@ void pack_xilinx_dsp(dict<SigBit, Cell*> &bit_to_driver, xilinx_dsp_pm &pm)
                        //else if (st.ffP->type == "$dffe")
                        //      cell->setPort("\\CEM", st.ffM->getPort("\\EN"));
                        else log_abort();
+                       pm.autoremove(st.ffM);
                }
                if (st.ffP) {
                        SigSpec D;