diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-11-25 21:07:27 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-11-25 21:07:27 -0800 |
commit | ba4063acb2c9abc0046a63c698a29522a9a6731d (patch) | |
tree | 5cd153b29e1d016ba05855fc0dc73326eaa96ed5 /src/base/abci | |
parent | 9e0c90d4c3f3c94afaf6ddd737f341f3bcfdd945 (diff) | |
download | abc-ba4063acb2c9abc0046a63c698a29522a9a6731d.tar.gz abc-ba4063acb2c9abc0046a63c698a29522a9a6731d.tar.bz2 abc-ba4063acb2c9abc0046a63c698a29522a9a6731d.zip |
Improvements to handling boxes and flops.
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 2595c625..4ba39ffc 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -26539,11 +26539,11 @@ int Abc_CommandAbc9Strash( Abc_Frame_t * pAbc, int argc, char ** argv ) } else if ( fCollapse && pAbc->pGia->pAigExtra ) { - if ( Gia_ManIsSeqWithBoxes(pAbc->pGia) ) + if ( Gia_ManIsSeqWithBoxes(pAbc->pGia) || Gia_ManRegBoxNum(pAbc->pGia) ) { Gia_Man_t * pUnshuffled = Gia_ManDupUnshuffleInputs( pAbc->pGia ); Gia_ManTransferTiming( pUnshuffled, pAbc->pGia ); - pTemp = Gia_ManDupCollapse( pUnshuffled, pUnshuffled->pAigExtra, NULL, 0 ); + pTemp = Gia_ManDupCollapse( pUnshuffled, pUnshuffled->pAigExtra, NULL, Gia_ManRegBoxNum(pUnshuffled) > 0 ); Gia_ManTransferTiming( pAbc->pGia, pUnshuffled ); Gia_ManStop( pUnshuffled ); } |