From 1794bd37cddc9ba24b9b1f517ee813e238f62ae4 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 30 Mar 2011 21:02:29 -0700 Subject: Made gate library package Mio independent of CUDD. --- src/map/mapper/mapperSuper.c | 2 +- src/map/mapper/mapperTree.c | 4 ++-- src/map/mapper/mapperTree_old.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/mapper') 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 ); -- cgit v1.2.3