Fix bug in NetBuilderHV::_do_1G_xM1_1PinM2(), using bad RoutingPad.

* Bug: In NetBuilderHV::_do_1G_xM1_1PinM2(), using the wrong RoutingPad
    table to build the wires between M1. The topology was not connecting
    some M1.
This commit is contained in:
Jean-Paul Chaput 2023-06-25 11:08:16 +02:00
parent 0aa9010b32
commit 5cdb8b25f0
1 changed files with 2 additions and 2 deletions

View File

@ -1155,8 +1155,8 @@ namespace Anabatic {
} }
for ( size_t i=1 ; i<rpsM1.size() ; ++i ) { for ( size_t i=1 ; i<rpsM1.size() ; ++i ) {
AutoContact* leftContact = doRp_Access( getGCell(), getRoutingPads()[i-1], HAccess ); AutoContact* leftContact = doRp_Access( getGCell(), rpsM1[i-1], HAccess );
AutoContact* rightContact = doRp_Access( getGCell(), getRoutingPads()[i ], HAccess ); AutoContact* rightContact = doRp_Access( getGCell(), rpsM1[i ], HAccess );
AutoSegment::create( leftContact, rightContact, Flags::Horizontal ); AutoSegment::create( leftContact, rightContact, Flags::Horizontal );
} }