diff --git a/etesian/src/HFNS.cpp b/etesian/src/HFNS.cpp index 47a0ec1b..5c13330b 100644 --- a/etesian/src/HFNS.cpp +++ b/etesian/src/HFNS.cpp @@ -230,12 +230,12 @@ namespace Etesian { Net* blockNet = NULL; Path outputPath = Path(); - driverName.insert( 0, "cmpt_" ); - _buffer = Instance::create( cellPnR, driverName, bufferDatas->getCell() ); - - getSubNetNames()->nextSubNet(); _driverNet = Net::create( topCell, driverName ); _driverNet->setDirection( Net::Direction::OUT ); + getSubNetNames()->nextSubNet(); + + driverName.insert( 0, "cmpt_" ); + _buffer = Instance::create( cellPnR, driverName, bufferDatas->getCell() ); if (topCell == cellPnR) blockNet = _driverNet; else { outputPath = Path( instancePnR );