Commit d4f4d344 by Alan Mishchenko

Changing the default delay of buffers driving POs.

parent e3cd1048
...@@ -499,7 +499,7 @@ void Wln_NtkRetimeCreateDelayInfo( Wln_Ntk_t * pNtk ) ...@@ -499,7 +499,7 @@ void Wln_NtkRetimeCreateDelayInfo( Wln_Ntk_t * pNtk )
Vec_IntErase( &pNtk->vInstIds ); Vec_IntErase( &pNtk->vInstIds );
if ( !Wln_NtkHasInstId(pNtk) ) if ( !Wln_NtkHasInstId(pNtk) )
{ {
int iObj; int i, iObj;
printf( "The design has no delay information.\n" ); printf( "The design has no delay information.\n" );
Wln_NtkCleanInstId(pNtk); Wln_NtkCleanInstId(pNtk);
Wln_NtkForEachObj( pNtk, iObj ) Wln_NtkForEachObj( pNtk, iObj )
...@@ -507,6 +507,8 @@ void Wln_NtkRetimeCreateDelayInfo( Wln_Ntk_t * pNtk ) ...@@ -507,6 +507,8 @@ void Wln_NtkRetimeCreateDelayInfo( Wln_Ntk_t * pNtk )
Wln_ObjSetInstId( pNtk, iObj, 1 ); Wln_ObjSetInstId( pNtk, iObj, 1 );
else if ( !Wln_ObjIsCio(pNtk, iObj) && Wln_ObjFaninNum(pNtk, iObj) > 0 ) else if ( !Wln_ObjIsCio(pNtk, iObj) && Wln_ObjFaninNum(pNtk, iObj) > 0 )
Wln_ObjSetInstId( pNtk, iObj, 10 ); Wln_ObjSetInstId( pNtk, iObj, 10 );
Wln_NtkForEachCo( pNtk, iObj, i )
Wln_ObjSetInstId( pNtk, Wln_ObjFanin0(pNtk, iObj), 1 );
printf( "Assuming user-specified delays for internal nodes.\n" ); printf( "Assuming user-specified delays for internal nodes.\n" );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment