Skip to content

Commit

Permalink
Updating 'sim' command to print input patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanminko committed Jul 15, 2023
1 parent c70de10 commit 766f64e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/proof/fra/fraSim.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,12 @@ void Fra_SmlPrintOutputs( Fra_Sml_t * p, int nPatterns )
int i, k;
for ( k = 0; k < nPatterns; k++ )
{
Aig_ManForEachCi( p->pAig, pObj, i )
{
pSims = Fra_ObjSim( p, pObj->Id );
printf( "%d", Abc_InfoHasBit( pSims, k ) );
}
printf( " " ); ;
Aig_ManForEachCo( p->pAig, pObj, i )
{
pSims = Fra_ObjSim( p, pObj->Id );
Expand Down

0 comments on commit 766f64e

Please sign in to comment.