diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2018-02-05 00:39:10 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2018-02-05 00:39:10 -0800 |
commit | 28602ccf2c25e13b8a391e5cfc1ae00d3ddb5d0b (patch) | |
tree | d3d22047358990e7e41440eb1b92373d5d460b2b /src | |
parent | 3202c2581e6e9020e754634f7f339a12713b1e49 (diff) | |
download | abc-28602ccf2c25e13b8a391e5cfc1ae00d3ddb5d0b.tar.gz abc-28602ccf2c25e13b8a391e5cfc1ae00d3ddb5d0b.tar.bz2 abc-28602ccf2c25e13b8a391e5cfc1ae00d3ddb5d0b.zip |
Improvements to NDR to represent hierarchical designs.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/miniaig/ndr.h | 2 | ||||
-rw-r--r-- | src/base/abci/abc.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/aig/miniaig/ndr.h b/src/aig/miniaig/ndr.h index fc5574bc..40824886 100644 --- a/src/aig/miniaig/ndr.h +++ b/src/aig/miniaig/ndr.h @@ -379,7 +379,7 @@ static inline void Ndr_WriteVerilogModule( FILE * pFile, void * pDesign, int Mod fprintf( pFile, " %s ", pNames[Ndr_ObjReadEntry(p, Type-256, NDR_NAME)] ); if ( Ndr_ObjReadBody(p, Obj, NDR_NAME) ) fprintf( pFile, "%s ", pNames[Ndr_ObjReadBody(p, Obj, NDR_NAME)] ); - fprintf( pFile, "( ", pNames[Ndr_ObjReadEntry(p, Type-256, NDR_NAME)] ); + fprintf( pFile, "( " ); nArray = Ndr_ObjReadArray( p, Obj, NDR_INPUT, &pArray ); for ( i = 0; i < nArray; i++ ) fprintf( pFile, "%s%s ", pNames[pArray[i]], i==nArray-1 ? "":"," ); diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index cdb5d5b7..67854f1a 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -64,7 +64,6 @@ #include "opt/nwk/nwkMerge.h" #include "base/acb/acbPar.h" -#include "aig/miniaig/ndr.h" #ifndef _WIN32 #include <unistd.h> @@ -13051,7 +13050,7 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv ) // Cba_PrsReadBlifTest(); } // Abc_NtkComputePaths( Abc_FrameReadNtk(pAbc) ); - Ndr_ModuleTestHierarchy(); +// Psl_FileTest(); return 0; usage: Abc_Print( -2, "usage: test [-CKDNM] [-aovwh] <file_name>\n" ); |