Skip to content

Commit

Permalink
Suggested fix to not collect leaves of black boxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanminko committed Jan 11, 2020
1 parent dccd399 commit 9e0fa47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/aig/gia/giaMfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ Sfm_Ntk_t * Gia_ManExtractMfs( Gia_Man_t * p )
{
nBoxIns = Tim_ManBoxInputNum( pManTime, k );
nBoxOuts = Tim_ManBoxOutputNum( pManTime, k );
// collect truth table leaves
Vec_IntClear( vLeaves );
for ( i = 0; i < nBoxIns; i++ )
Vec_IntPush( vLeaves, Gia_ObjId(p->pAigExtra, Gia_ManCi(p->pAigExtra, i)) );
// iterate through box outputs
if ( !Tim_ManBoxIsBlack(pManTime, k) ) //&& Tim_ManBoxInputNum(pManTime, k) <= 6 )
{
// collect truth table leaves
Vec_IntClear( vLeaves );
for ( i = 0; i < nBoxIns; i++ )
Vec_IntPush( vLeaves, Gia_ObjId(p->pAigExtra, Gia_ManCi(p->pAigExtra, i)) );
for ( j = 0; j < nBoxOuts; j++ )
{
// CI corresponding to the box outputs
Expand Down

0 comments on commit 9e0fa47

Please sign in to comment.