diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-09 13:38:09 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-02-09 13:38:09 -0800 |
commit | b186f362a7001ce24a8b942b146d8eb36e50d767 (patch) | |
tree | 6a376dc199fd3738545b6bb851186dcb50641c20 /src/aig/saig/saigRefSat.c | |
parent | 274e8ada9407d2dbaad06b6c065fb583d9f494cb (diff) | |
download | abc-b186f362a7001ce24a8b942b146d8eb36e50d767.tar.gz abc-b186f362a7001ce24a8b942b146d8eb36e50d767.tar.bz2 abc-b186f362a7001ce24a8b942b146d8eb36e50d767.zip |
Bug fix in flop-level abstraction refinement.
Diffstat (limited to 'src/aig/saig/saigRefSat.c')
-rw-r--r-- | src/aig/saig/saigRefSat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/aig/saig/saigRefSat.c b/src/aig/saig/saigRefSat.c index 1f862c1a..632ad354 100644 --- a/src/aig/saig/saigRefSat.c +++ b/src/aig/saig/saigRefSat.c @@ -215,7 +215,8 @@ Vec_Int_t * Saig_RefManFindReason( Saig_RefMan_t * p ) // select the reason vReasons = Vec_IntAlloc( 100 ); Aig_ManIncrementTravId( p->pFrames ); - Saig_RefManFindReason_rec( p->pFrames, Aig_ObjFanin0(pObj), vPrios, vReasons ); + if ( !Aig_ObjIsConst1(Aig_ObjFanin0(pObj)) ) + Saig_RefManFindReason_rec( p->pFrames, Aig_ObjFanin0(pObj), vPrios, vReasons ); Vec_IntFree( vPrios ); return vReasons; } |