File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ set(VERSION_MINOR 0)
1717
1818
1919
20- set (VERSION_PATCH 382 )
20+ set (VERSION_PATCH 383 )
2121
2222
2323
Original file line number Diff line number Diff line change @@ -746,6 +746,7 @@ struct DesignEditRapidSilicon : public ScriptPass {
746746
747747 void handle_dangling_outs (Module *module )
748748 {
749+ std::unordered_set<Wire *> dangling_ins;
749750 for (auto cell : module ->cells ())
750751 {
751752 for (auto &conn : cell->connections ())
@@ -831,12 +832,9 @@ struct DesignEditRapidSilicon : public ScriptPass {
831832 for (SigBit bit : port.second ){
832833 if (!used_bits.count (bit) && cell->output (portName)
833834 && !bit.wire ->port_output ){
834- RTLIL::SigSig new_conn;
835- RTLIL::Wire *new_wire = module ->addWire (NEW_ID, 1 );
836- new_wire->port_output = true ;
837- new_conn.first = new_wire;
838- new_conn.second = bit;
839- module ->connect (new_conn);
835+ new_ins.erase (bit.wire ->name .str ());
836+ bit.wire ->port_input = false ;
837+ dangling_ins.insert (bit.wire );
840838 }
841839 }
842840 }
You can’t perform that action at this time.
0 commit comments