@@ -1800,38 +1800,25 @@ bool extMain::modelExists(const char* extRules)
18001800 return true ;
18011801}
18021802
1803- void extMain::makeBlockRCsegs (const char * netNames,
1804- uint32_t cc_up,
1805- uint32_t ccFlag,
1806- double resBound,
1807- bool mergeViaRes,
1808- double ccThres,
1809- int contextDepth,
1810- const char * extRules)
1803+ void extMain::makeBlockRCsegs ()
18111804{
1812- if (!modelExists (extRules )) {
1805+ if (!modelExists (rules_file_path_ )) {
18131806 return ;
18141807 }
18151808
18161809 uint32_t debugNetId = 0 ;
18171810
18181811 _diagFlow = true ;
1819- _couplingFlag = ccFlag;
1820- _coupleThreshold = ccThres;
18211812 _usingMetalPlanes = true ;
1822- _ccUp = cc_up;
1823- _couplingFlag = ccFlag;
1824- _ccContextDepth = contextDepth;
1825- _mergeViaRes = mergeViaRes;
1826- _mergeResBound = resBound;
18271813
18281814 if ((_processCornerTable != nullptr )
1829- || ((_processCornerTable == nullptr ) && (extRules != nullptr ))) {
1830- const char * rulesfile
1831- = extRules ? extRules : _prevControl->_ruleFileName .c_str ();
1815+ || ((_processCornerTable == nullptr ) && (rules_file_path_ != nullptr ))) {
1816+ const char * rules_file_path = rules_file_path_
1817+ ? rules_file_path_
1818+ : _prevControl->_ruleFileName .c_str ();
18321819
18331820 // Reading model file
1834- if (!setCorners (rulesfile )) {
1821+ if (!setCorners (rules_file_path )) {
18351822 logger_->info (RCX , 128 , " skipping Extraction ..." );
18361823 return ;
18371824 }
@@ -1843,7 +1830,7 @@ void extMain::makeBlockRCsegs(const char* netNames,
18431830 _foreign = false ; // extract after read_spef
18441831
18451832 std::vector<dbNet*> inets;
1846- _allNet = !findSomeNet (_block, netNames , inets, logger_);
1833+ _allNet = !findSomeNet (_block, target_nets_names_ , inets, logger_);
18471834 for (auto net : inets) {
18481835 net->setMark (true );
18491836 }
0 commit comments