diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-10-22 15:44:13 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-10-22 15:44:13 -0700 |
commit | accf4825e586cb8b3444551a1145ae4d88662f82 (patch) | |
tree | 75b02b5bd79e1c37000fc76abfcbf42de477e782 /src/aig/gia | |
parent | 5ab3f0fa6ba1519e24368651f7c5fb87cd5ee33e (diff) | |
download | abc-accf4825e586cb8b3444551a1145ae4d88662f82.tar.gz abc-accf4825e586cb8b3444551a1145ae4d88662f82.tar.bz2 abc-accf4825e586cb8b3444551a1145ae4d88662f82.zip |
Adding API to dump MiniAIG into a Verilog file and other small changes.
Diffstat (limited to 'src/aig/gia')
-rw-r--r-- | src/aig/gia/giaIiff.h | 54 | ||||
-rw-r--r-- | src/aig/gia/giaMini.c | 1 |
2 files changed, 55 insertions, 0 deletions
diff --git a/src/aig/gia/giaIiff.h b/src/aig/gia/giaIiff.h new file mode 100644 index 00000000..d1f9b5b3 --- /dev/null +++ b/src/aig/gia/giaIiff.h @@ -0,0 +1,54 @@ +/**CFile**************************************************************** + + FileName [giaIiff.h] + + SystemName [ABC: Logic synthesis and verification system.] + + PackageName [Scalable AIG package.] + + Synopsis [External declarations.] + + Author [Alan Mishchenko] + + Affiliation [UC Berkeley] + + Date [Ver. 1.0. Started - June 20, 2005.] + + Revision [$Id: giaIiff.h,v 1.00 2005/06/20 00:00:00 alanmi Exp $] + +***********************************************************************/ + +#ifndef ABC__aig__gia__giaIiff_h +#define ABC__aig__gia__giaIiff_h + + +//////////////////////////////////////////////////////////////////////// +/// INCLUDES /// +//////////////////////////////////////////////////////////////////////// + +ABC_NAMESPACE_HEADER_START + +//////////////////////////////////////////////////////////////////////// +/// PARAMETERS /// +//////////////////////////////////////////////////////////////////////// + +//////////////////////////////////////////////////////////////////////// +/// BASIC TYPES /// +//////////////////////////////////////////////////////////////////////// + +//////////////////////////////////////////////////////////////////////// +/// MACRO DEFINITIONS /// +//////////////////////////////////////////////////////////////////////// + +//////////////////////////////////////////////////////////////////////// +/// FUNCTION DECLARATIONS /// +//////////////////////////////////////////////////////////////////////// + +ABC_NAMESPACE_HEADER_END + +#endif + +//////////////////////////////////////////////////////////////////////// +/// END OF FILE /// +//////////////////////////////////////////////////////////////////////// + diff --git a/src/aig/gia/giaMini.c b/src/aig/gia/giaMini.c index 3fb8aecb..9a6102fe 100644 --- a/src/aig/gia/giaMini.c +++ b/src/aig/gia/giaMini.c @@ -188,6 +188,7 @@ void Gia_ManWriteMiniAig( Gia_Man_t * pGia, char * pFileName ) { Mini_Aig_t * p = Gia_ManToMiniAig( pGia ); Mini_AigDump( p, pFileName ); + //Mini_AigDumpVerilog( "test_miniaig.v", "top", p ); Mini_AigStop( p ); } |