Adding comment about dup cell name.

This commit is contained in:
Alan Mishchenko 2022-10-11 09:36:15 -07:00
parent 813a0f1ff1
commit 336b41a063
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ void Abc_SclHashCells( SC_Lib * p )
SC_LibForEachCell( p, pCell, i )
{
pPlace = Abc_SclHashLookup( p, pCell->pName );
if ( *pPlace != -1 && pCell->pName )
printf( "There are two standard cells with the same name (%s).\n", pCell->pName );
assert( *pPlace == -1 );
*pPlace = i;
}