mirror of https://github.com/YosysHQ/abc.git
Updating 'sim' command to print input patterns.
This commit is contained in:
parent
c70de10002
commit
766f64e221
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue