diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2021-04-09 13:46:52 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2021-04-09 13:46:52 -0700 |
commit | 75981f7feebc4065980f99551654ac101edb4afa (patch) | |
tree | 9141ccff39f549a89f7838774f7b2dae13b51157 /src/base/abci/abc.c | |
parent | 796c29039a4983e92bf12051d73326758127162e (diff) | |
download | abc-75981f7feebc4065980f99551654ac101edb4afa.tar.gz abc-75981f7feebc4065980f99551654ac101edb4afa.tar.bz2 abc-75981f7feebc4065980f99551654ac101edb4afa.zip |
Computing sum of PO support sizes.
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r-- | src/base/abci/abc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index df7ae5ab..417c7909 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -48387,6 +48387,7 @@ usage: int Abc_CommandAbc9Test( Abc_Frame_t * pAbc, int argc, char ** argv ) { extern void Gia_RsbEnumerateWindows( Gia_Man_t * p, int nInputsMax, int nLevelsMax ); + extern int Gia_ManSumTotalOfSupportSizes( Gia_Man_t * p ); int c, fVerbose = 0; int nFrames = 5; int fSwitch = 0; @@ -48449,7 +48450,7 @@ int Abc_CommandAbc9Test( Abc_Frame_t * pAbc, int argc, char ** argv ) // } // Abc_FrameUpdateGia( pAbc, Abc_Procedure(pAbc->pGia) ); // Gia_ManTryResub( pAbc->pGia ); - Gia_RsbEnumerateWindows( pAbc->pGia, 6, 5 ); + printf( "AIG in \"%s\" has the sum of output support sizes equal to %d.\n", pAbc->pGia->pSpec, Gia_ManSumTotalOfSupportSizes(pAbc->pGia) ); return 0; usage: Abc_Print( -2, "usage: &test [-FW num] [-svh]\n" ); |