diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-07-24 09:54:53 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-07-24 09:54:53 -0700 |
commit | 00d023713b68fc554197efeb2c766b14ac3ec4bd (patch) | |
tree | 454e35712bc3fc3256dc7e8019f74bc49761d335 /src/map/mapper/mapper.c | |
parent | fadcef9eb91411844bdf5d52e687cdd306c94794 (diff) | |
download | abc-00d023713b68fc554197efeb2c766b14ac3ec4bd.tar.gz abc-00d023713b68fc554197efeb2c766b14ac3ec4bd.tar.bz2 abc-00d023713b68fc554197efeb2c766b14ac3ec4bd.zip |
Tuning standard-cell mapping flow.
Diffstat (limited to 'src/map/mapper/mapper.c')
-rw-r--r-- | src/map/mapper/mapper.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/mapper/mapper.c b/src/map/mapper/mapper.c index 17102cec..020ee9f5 100644 --- a/src/map/mapper/mapper.c +++ b/src/map/mapper/mapper.c @@ -142,8 +142,14 @@ int Map_CommandReadLibrary( Abc_Frame_t * pAbc, int argc, char **argv ) } fclose( pFile ); + if ( Abc_FrameReadLibGen() == NULL ) + { + fprintf( pErr, "Genlib library should be read in first..\n" ); + return 1; + } + // set the new network - pLib = Map_SuperLibCreate( NULL, FileName, ExcludeFile, fAlgorithm, fVerbose ); + pLib = Map_SuperLibCreate( (Mio_Library_t *)Abc_FrameReadLibGen(), NULL, FileName, ExcludeFile, fAlgorithm, fVerbose ); if ( pLib == NULL ) { fprintf( pErr, "Reading supergate library has failed.\n" ); |