diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-02-03 17:24:30 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-02-03 17:24:30 -0800 |
commit | eb270018b92d949953cba3017ae6a540260598c1 (patch) | |
tree | bbf58312aefc218f6fe9bc9b9762592a6e4612ca /src/base/io/ioUtil.c | |
parent | d7d1978e42ca631eacf6a7a49ee75b0184f3ac20 (diff) | |
download | abc-eb270018b92d949953cba3017ae6a540260598c1.tar.gz abc-eb270018b92d949953cba3017ae6a540260598c1.tar.bz2 abc-eb270018b92d949953cba3017ae6a540260598c1.zip |
Esperiments with MO PLA optimization.
Diffstat (limited to 'src/base/io/ioUtil.c')
-rw-r--r-- | src/base/io/ioUtil.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base/io/ioUtil.c b/src/base/io/ioUtil.c index cc1e9e40..7e7d1701 100644 --- a/src/base/io/ioUtil.c +++ b/src/base/io/ioUtil.c @@ -399,6 +399,10 @@ void Io_Write( Abc_Ntk_t * pNtk, char * pFileName, Io_FileType_t FileType ) if ( !Abc_NtkToSop( pNtkTemp, 1 ) ) return; } + else if ( FileType == IO_FILE_MOPLA ) + { + pNtkTemp = Abc_NtkStrash( pNtk, 0, 0, 0 ); + } else if ( FileType == IO_FILE_BENCH ) { if ( !Abc_NtkIsStrash(pNtk) ) @@ -444,6 +448,8 @@ void Io_Write( Abc_Ntk_t * pNtk, char * pFileName, Io_FileType_t FileType ) Io_WriteBook( pNtkTemp, pFileName ); else if ( FileType == IO_FILE_PLA ) Io_WritePla( pNtkTemp, pFileName ); + else if ( FileType == IO_FILE_MOPLA ) + Io_WriteMoPla( pNtkTemp, pFileName ); else if ( FileType == IO_FILE_EQN ) { if ( !Abc_NtkHasAig(pNtkTemp) ) |