* ./unicorn:

- New: Argument to print the measurments (--dump-measures,-M).
This commit is contained in:
Jean-Paul Chaput 2010-12-15 15:13:39 +00:00
parent 0e09dee142
commit 410e81a42b
1 changed files with 10 additions and 12 deletions

View File

@ -105,7 +105,6 @@ int main ( int argc, char *argv[] )
bool destroyDatabase; bool destroyDatabase;
float edgeCapacity; float edgeCapacity;
float expandStep;
unsigned long eventsLimit; unsigned long eventsLimit;
unsigned int traceLevel; unsigned int traceLevel;
bool textMode; bool textMode;
@ -117,6 +116,7 @@ int main ( int argc, char *argv[] )
bool detailedRoute; bool detailedRoute;
bool loadGlobal; bool loadGlobal;
bool saveGlobal; bool saveGlobal;
bool dumpMeasures;
bool exportDef; bool exportDef;
bool saveImport; bool saveImport;
@ -162,13 +162,13 @@ int main ( int argc, char *argv[] )
, "Save the global routing solution.") , "Save the global routing solution.")
( "edge,e" , boptions::value<float>(&edgeCapacity) ( "edge,e" , boptions::value<float>(&edgeCapacity)
, "The egde density ratio applied on global router's edges." ) , "The egde density ratio applied on global router's edges." )
( "expand-step" , boptions::value<float>(&expandStep)
, "The density delta above which GCells are aggregateds." )
( "events-limit" , boptions::value<unsigned long>(&eventsLimit) ( "events-limit" , boptions::value<unsigned long>(&eventsLimit)
, "The maximum number of iterations (events) that the router is" , "The maximum number of iterations (events) that the router is"
"allowed to perform." ) "allowed to perform." )
( "detailed-route,R" , boptions::bool_switch(&detailedRoute)->default_value(false) ( "detailed-route,R" , boptions::bool_switch(&detailedRoute)->default_value(false)
, "Run the detailed router (Kite).") , "Run the detailed router (Kite).")
( "dump-measures,M" , boptions::bool_switch(&dumpMeasures)->default_value(false)
, "Dump statistical measurements on the disk.")
( "cell,c" , boptions::value<string>() ( "cell,c" , boptions::value<string>()
, "The name of the cell to load, whithout extension." ) , "The name of the cell to load, whithout extension." )
( "save-design,s" , boptions::value<string>() ( "save-design,s" , boptions::value<string>()
@ -272,9 +272,6 @@ int main ( int argc, char *argv[] )
if ( arguments.count("events-limit") ) if ( arguments.count("events-limit") )
Cfg::getParamInt("kite.eventsLimit")->setInt ( eventsLimit ); Cfg::getParamInt("kite.eventsLimit")->setInt ( eventsLimit );
if ( arguments.count("expand-step") )
Cfg::getParamPercentage("kite.expandStep")->setPercentage ( expandStep );
UnicornGui::getBanner().setName ( "cgt" ); UnicornGui::getBanner().setName ( "cgt" );
UnicornGui::getBanner().setPurpose ( "Coriolis Graphical Tool" ); UnicornGui::getBanner().setPurpose ( "Coriolis Graphical Tool" );
@ -511,6 +508,7 @@ int main ( int argc, char *argv[] )
kite->runNegociate (); kite->runNegociate ();
kiteSuccess = kite->getToolSuccess (); kiteSuccess = kite->getToolSuccess ();
kite->finalizeLayout (); kite->finalizeLayout ();
if ( dumpMeasures )
kite->dumpMeasures (); kite->dumpMeasures ();
kite->destroy (); kite->destroy ();