@@ -237,25 +237,25 @@ void FlexDRWorker::initNetObjs(
237237 if (cptr->hasNet ()) {
238238 initNetObjs_pathSeg (cptr, nets, netRouteObjs, netExtObjs);
239239 } else {
240- std::cout << " Error: initNetObjs hasNet() empty" << std::endl ;
240+ std::cout << " Error: initNetObjs hasNet() empty\n " ;
241241 }
242242 } else if (rptr->typeId () == frcVia) {
243243 auto cptr = static_cast <frVia*>(rptr);
244244 if (cptr->hasNet ()) {
245245 initNetObjs_via (cptr, nets, netRouteObjs, netExtObjs);
246246 } else {
247- std::cout << " Error: initNetObjs hasNet() empty" << std::endl ;
247+ std::cout << " Error: initNetObjs hasNet() empty\n " ;
248248 }
249249 } else if (rptr->typeId () == frcPatchWire) {
250250 auto cptr = static_cast <frPatchWire*>(rptr);
251251 if (cptr->hasNet ()) {
252252 initNetObjs_patchWire (cptr, nets, netRouteObjs, netExtObjs);
253253 } else {
254- std::cout << " Error: initNetObjs hasNet() empty" << std::endl ;
254+ std::cout << " Error: initNetObjs hasNet() empty\n " ;
255255 }
256256 } else {
257257 std::cout << rptr->typeId () << " \n " ;
258- std::cout << " Error: initCopyDRObjs unsupported type" << std::endl ;
258+ std::cout << " Error: initCopyDRObjs unsupported type\n " ;
259259 }
260260 }
261261 if (isInitDR ()) {
@@ -813,8 +813,7 @@ void FlexDRWorker::initNets_searchRepair_pin2epMap(
813813 }
814814 } else if (connFig->typeId () == drcPatchWire) {
815815 } else {
816- std::cout << " Error: initNets_searchRepair_pin2epMap unsupported type"
817- << std::endl;
816+ std::cout << " Error: initNets_searchRepair_pin2epMap unsupported type\n " ;
818817 }
819818 }
820819}
@@ -845,8 +844,7 @@ void FlexDRWorker::initNets_searchRepair_nodeMap_routeObjEnd(
845844 const auto lNum = obj->getLayerNum ();
846845 nodeMap[{bp, lNum}].insert (i);
847846 } else {
848- std::cout << " Error: initNets_searchRepair_nodeMap unsupported type"
849- << std::endl;
847+ std::cout << " Error: initNets_searchRepair_nodeMap unsupported type\n " ;
850848 }
851849 }
852850}
@@ -1678,7 +1676,7 @@ void FlexDRWorker::initTrackCoords_route(drNet* net,
16781676 }
16791677 } else if (uConnFig->typeId () == drcPatchWire) {
16801678 } else {
1681- std::cout << " Error: initTrackCoords unsupported type" << std::endl ;
1679+ std::cout << " Error: initTrackCoords unsupported type\n " ;
16821680 }
16831681 }
16841682}
@@ -1779,7 +1777,7 @@ void FlexDRWorker::initMazeIdx_connFig(drConnFig* connFig)
17791777 } else {
17801778 std::cout << " Error: initMazeIdx_connFig pathseg no idx (" << bp.x ()
17811779 << " , " << bp.y () << " ) (" << ep.x () << " , " << ep.y () << " ) "
1782- << getTech ()->getLayer (lNum)->getName () << std::endl ;
1780+ << getTech ()->getLayer (lNum)->getName () << ' \n ' ;
17831781 }
17841782 } else if (connFig->typeId () == drcVia) {
17851783 auto obj = static_cast <drVia*>(connFig);
@@ -1796,11 +1794,11 @@ void FlexDRWorker::initMazeIdx_connFig(drConnFig* connFig)
17961794 } else {
17971795 std::cout << " Error: initMazeIdx_connFig via no idx (" << bp.x () << " , "
17981796 << bp.y () << " ) "
1799- << getTech ()->getLayer (layer1Num + 1 )->getName () << std::endl ;
1797+ << getTech ()->getLayer (layer1Num + 1 )->getName () << ' \n ' ;
18001798 }
18011799 } else if (connFig->typeId () == drcPatchWire) {
18021800 } else {
1803- std::cout << " Error: initMazeIdx_connFig unsupported type" << std::endl ;
1801+ std::cout << " Error: initMazeIdx_connFig unsupported type\n " ;
18041802 }
18051803}
18061804
@@ -1826,7 +1824,7 @@ void FlexDRWorker::initMazeIdx_ap(drAccessPattern* ap)
18261824 }
18271825 } else {
18281826 std::cout << " Error: initMazeIdx_ap no idx (" << bp.x () << " , " << bp.y ()
1829- << " ) " << getTech ()->getLayer (lNum)->getName () << std::endl ;
1827+ << " ) " << getTech ()->getLayer (lNum)->getName () << ' \n ' ;
18301828 }
18311829
18321830 if (gridGraph_.hasMazeIdx (bp, lNum + 2 )) {
@@ -2085,8 +2083,7 @@ void FlexDRWorker::initMazeCost_marker_route_queue_addHistoryCost(
20852083 if (i == 4 ) {
20862084 std::cout
20872085 << " Warning: marker bloat 4x width but could not find two grids "
2088- " to add marker cost"
2089- << std::endl;
2086+ " to add marker cost\n " ;
20902087 std::cout << " marker -- src: " ;
20912088 for (auto src : marker.getSrcs ()) {
20922089 if (src) {
@@ -2563,7 +2560,8 @@ void FlexDRWorker::route_queue_update_from_marker(
25632560 allowAvoidRipup = true ;
25642561 dNet->setNRipupAvoids (0 );
25652562 }
2566- routes.emplace_back (dNet, dNet->getNumReroutes (), true , checkingObj);
2563+ routes.emplace_back (
2564+ dNet, dNet->getNumReroutes (), true , checkingObj);
25672565 }
25682566 }
25692567 }
0 commit comments