diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-03-30 21:02:29 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-03-30 21:02:29 -0700 |
commit | 1794bd37cddc9ba24b9b1f517ee813e238f62ae4 (patch) | |
tree | 47d2163e1a03f15c33c90682374c611e56426159 /src/map/mapper | |
parent | 02f7ede7c6d605ca58cbdd882d1818c7a274f5bc (diff) | |
download | abc-1794bd37cddc9ba24b9b1f517ee813e238f62ae4.tar.gz abc-1794bd37cddc9ba24b9b1f517ee813e238f62ae4.tar.bz2 abc-1794bd37cddc9ba24b9b1f517ee813e238f62ae4.zip |
Made gate library package Mio independent of CUDD.
Diffstat (limited to 'src/map/mapper')
-rw-r--r-- | src/map/mapper/mapperSuper.c | 2 | ||||
-rw-r--r-- | src/map/mapper/mapperTree.c | 4 | ||||
-rw-r--r-- | src/map/mapper/mapperTree_old.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/map/mapper/mapperSuper.c b/src/map/mapper/mapperSuper.c index 58deddb7..7ade52fe 100644 --- a/src/map/mapper/mapperSuper.c +++ b/src/map/mapper/mapperSuper.c @@ -114,7 +114,7 @@ int Map_LibraryReadFile( Map_SuperLib_t * pLib, FILE * pFile ) fclose( pFileGen ); // read the genlib library - pLib->pGenlib = Mio_LibraryRead( Abc_FrameGetGlobalFrame(), pLibName, 0, 0 ); + pLib->pGenlib = Mio_LibraryRead( pLibName, 0, 0 ); if ( pLib->pGenlib == NULL ) { printf( "Cannot read GENLIB file \"%s\".\n", pLibName ); diff --git a/src/map/mapper/mapperTree.c b/src/map/mapper/mapperTree.c index f6a0d2d3..bfca980b 100644 --- a/src/map/mapper/mapperTree.c +++ b/src/map/mapper/mapperTree.c @@ -76,7 +76,7 @@ int Map_LibraryReadTree( Map_SuperLib_t * pLib, char * pFileName, char * pExclud pAbc = Abc_FrameGetGlobalFrame(); tExcludeGate = st_init_table(strcmp, st_strhash); - if ( (num = Mio_LibraryReadExclude( pAbc, pExcludeFile, tExcludeGate )) == -1 ) + if ( (num = Mio_LibraryReadExclude( pExcludeFile, tExcludeGate )) == -1 ) { st_free_table( tExcludeGate ); tExcludeGate = 0; @@ -169,7 +169,7 @@ int Map_LibraryReadFileTree( Map_SuperLib_t * pLib, FILE * pFile, char *pFileNam fclose( pFileGen ); // read the genlib library - pLib->pGenlib = Mio_LibraryRead( Abc_FrameGetGlobalFrame(), pLibFile, 0, 0 ); + pLib->pGenlib = Mio_LibraryRead( pLibFile, 0, 0 ); if ( pLib->pGenlib == NULL ) { printf( "Cannot read GENLIB file \"%s\".\n", pLibFile ); diff --git a/src/map/mapper/mapperTree_old.c b/src/map/mapper/mapperTree_old.c index d0acff12..1a76b267 100644 --- a/src/map/mapper/mapperTree_old.c +++ b/src/map/mapper/mapperTree_old.c @@ -167,7 +167,7 @@ int Map_LibraryReadFileTree( Map_SuperLib_t * pLib, FILE * pFile, char *pFileNam fclose( pFileGen ); // read the genlib library - pLib->pGenlib = Mio_LibraryRead( Abc_FrameGetGlobalFrame(), pLibFile, 0, 0 ); + pLib->pGenlib = Mio_LibraryRead( pLibFile, 0, 0 ); if ( pLib->pGenlib == NULL ) { printf( "Cannot read GENLIB file \"%s\".\n", pLibFile ); |