mirror of https://github.com/YosysHQ/abc.git
Merge pull request #360 from wjrforcyber/fix_print_mffc
Fix(print_mffc): Missing condition when single output linked to CO
This commit is contained in:
commit
a2c6cb8fd4
|
|
@ -1083,7 +1083,7 @@ void Abc_NtkPrintMffc( FILE * pFile, Abc_Ntk_t * pNtk )
|
||||||
int i;
|
int i;
|
||||||
extern void Abc_NodeMffcConeSuppPrint( Abc_Obj_t * pNode );
|
extern void Abc_NodeMffcConeSuppPrint( Abc_Obj_t * pNode );
|
||||||
Abc_NtkForEachNode( pNtk, pNode, i )
|
Abc_NtkForEachNode( pNtk, pNode, i )
|
||||||
if ( Abc_ObjFanoutNum(pNode) > 1 )
|
if ( Abc_ObjFanoutNum(pNode) > 1 || (Abc_ObjFanoutNum(pNode) == 1 && Abc_ObjIsCo(Abc_ObjFanout0(pNode))))
|
||||||
Abc_NodeMffcConeSuppPrint( pNode );
|
Abc_NodeMffcConeSuppPrint( pNode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue