summaryrefslogtreecommitdiffstats
path: root/src/base/acb/acbPush.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-04-19 22:53:01 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-04-19 22:53:01 -0700
commit4124a00d4ba7b9d32b19d7164321eb8d245d07df (patch)
tree0d9d7772c75b18c26cfaf74f5c5aff453e9bccff /src/base/acb/acbPush.c
parent7d15b00e133efc2142e326486befcf64c29c50a6 (diff)
downloadabc-4124a00d4ba7b9d32b19d7164321eb8d245d07df.tar.gz
abc-4124a00d4ba7b9d32b19d7164321eb8d245d07df.tar.bz2
abc-4124a00d4ba7b9d32b19d7164321eb8d245d07df.zip
Logic restructuring after mapping.
Diffstat (limited to 'src/base/acb/acbPush.c')
-rw-r--r--src/base/acb/acbPush.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/acb/acbPush.c b/src/base/acb/acbPush.c
index 7ede912f..5dd2f63d 100644
--- a/src/base/acb/acbPush.c
+++ b/src/base/acb/acbPush.c
@@ -44,8 +44,8 @@ ABC_NAMESPACE_IMPL_START
***********************************************************************/
void Acb_ObjPushToFanout( Acb_Ntk_t * p, int iObj, int iFaninIndex, int iFanout )
{
- word c0, uTruthObjNew, uTruthObj = Acb_ObjTruth( p, iObj ), Gate;
- word c1, uTruthFanNew, uTruthFan = Acb_ObjTruth( p, iFanout );
+ word c0, uTruthObjNew = 0, uTruthObj = Acb_ObjTruth( p, iObj ), Gate;
+ word c1, uTruthFanNew = 0, uTruthFan = Acb_ObjTruth( p, iFanout );
int DecType = Abc_TtCheckOutAnd( uTruthObj, iFaninIndex, &uTruthObjNew );
int iFanin = Acb_ObjFanin( p, iObj, iFaninIndex );
int iFanoutObjIndex = Acb_ObjWhatFanin( p, iFanout, iObj );
@@ -94,8 +94,8 @@ void Acb_ObjPushToFanout( Acb_Ntk_t * p, int iObj, int iFaninIndex, int iFanout
***********************************************************************/
void Acb_ObjPushToFanin( Acb_Ntk_t * p, int iObj, int iFaninIndex2, int iFanin )
{
- word uTruthObjNew, uTruthObj = Acb_ObjTruth( p, iObj );
- word uTruthFanNew, uTruthFan = Acb_ObjTruth( p, iFanin );
+ word uTruthObjNew = 0, uTruthObj = Acb_ObjTruth( p, iObj );
+ word uTruthFanNew = 0, uTruthFan = Acb_ObjTruth( p, iFanin );
int iFaninIndex = Acb_ObjWhatFanin( p, iObj, iFanin );
int DecType = Abc_TtCheckDsdAnd( uTruthObj, iFaninIndex, iFaninIndex2, &uTruthObjNew );
int iFanin2 = Acb_ObjFanin( p, iObj, iFaninIndex2 );