diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-02-25 13:34:54 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-02-25 13:34:54 -0800 |
commit | 7d5b1c572bfb5385dc79f795d4c9d3294adbdae6 (patch) | |
tree | 9d5ea8ada2ee27dd597940d7de0f4d653124c7ae /src/map/scl/sclUtil.c | |
parent | 80773b95221237134719e08948ed1b74ac049536 (diff) | |
download | abc-7d5b1c572bfb5385dc79f795d4c9d3294adbdae6.tar.gz abc-7d5b1c572bfb5385dc79f795d4c9d3294adbdae6.tar.bz2 abc-7d5b1c572bfb5385dc79f795d4c9d3294adbdae6.zip |
Restoring constraint manager to read old constraint file by default (use 'read_constr -n' to read new format).
Diffstat (limited to 'src/map/scl/sclUtil.c')
-rw-r--r-- | src/map/scl/sclUtil.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/scl/sclUtil.c b/src/map/scl/sclUtil.c index 70140044..07e0deb6 100644 --- a/src/map/scl/sclUtil.c +++ b/src/map/scl/sclUtil.c @@ -254,21 +254,21 @@ void Abc_SclReadTimingConstr( Abc_Frame_t * pAbc, char * pFileName, int fVerbose pToken = strtok( Buffer, " \t\r\n" ); if ( pToken == NULL ) continue; -// if ( !strcmp(pToken, "set_driving_cell") ) - if ( !strcmp(pToken, "default_input_cell") ) + if ( !strcmp(pToken, "set_driving_cell") ) +// if ( !strcmp(pToken, "default_input_cell") ) { Abc_FrameSetDrivingCell( Abc_UtilStrsav(strtok(NULL, " \t\r\n")) ); if ( fVerbose ) printf( "Setting driving cell to be \"%s\".\n", Abc_FrameReadDrivingCell() ); } -// else if ( !strcmp(pToken, "set_load") ) - else if ( !strcmp(pToken, "default_output_load") ) + else if ( !strcmp(pToken, "set_load") ) +// else if ( !strcmp(pToken, "default_output_load") ) { Abc_FrameSetMaxLoad( atof(strtok(NULL, " \t\r\n")) ); if ( fVerbose ) printf( "Setting driving cell to be %f.\n", Abc_FrameReadMaxLoad() ); } -// else printf( "Unrecognized token \"%s\".\n", pToken ); + else printf( "Unrecognized token \"%s\".\n", pToken ); } fclose( pFile ); } |