diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-12-03 14:39:11 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-12-03 14:39:11 -0800 |
commit | 1743979b75850820f3b8aec29a7191754b1bd2bd (patch) | |
tree | 869bef60dd1d9e1cec5af94740d8a898c168b1d2 /src/base/io/ioUtil.c | |
parent | a49dfbcf91d2271fc18b9581309f7362b6272ede (diff) | |
download | abc-1743979b75850820f3b8aec29a7191754b1bd2bd.tar.gz abc-1743979b75850820f3b8aec29a7191754b1bd2bd.tar.bz2 abc-1743979b75850820f3b8aec29a7191754b1bd2bd.zip |
Adding switch -a to 'write_verilog' to write factored forms without XORs and MUXes.
Diffstat (limited to 'src/base/io/ioUtil.c')
-rw-r--r-- | src/base/io/ioUtil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/io/ioUtil.c b/src/base/io/ioUtil.c index 055efe91..c6b47b11 100644 --- a/src/base/io/ioUtil.c +++ b/src/base/io/ioUtil.c @@ -462,7 +462,7 @@ void Io_Write( Abc_Ntk_t * pNtk, char * pFileName, Io_FileType_t FileType ) { if ( !Abc_NtkHasAig(pNtkTemp) && !Abc_NtkHasMapping(pNtkTemp) ) Abc_NtkToAig( pNtkTemp ); - Io_WriteVerilog( pNtkTemp, pFileName ); + Io_WriteVerilog( pNtkTemp, pFileName, 0 ); } else fprintf( stderr, "Unknown file format.\n" ); @@ -590,7 +590,7 @@ void Io_WriteHie( Abc_Ntk_t * pNtk, char * pBaseName, char * pFileName ) if ( !Abc_NtkHasAig(pNtkResult) && !Abc_NtkHasMapping(pNtkResult) ) Abc_NtkToAig( pNtkResult ); } - Io_WriteVerilog( pNtkResult, pFileName ); + Io_WriteVerilog( pNtkResult, pFileName, 0 ); } else if ( Io_ReadFileType(pFileName) == IO_FILE_BLIFMV ) { |