Skip to content

Commit 336b41a

Browse files
committed
Adding comment about dup cell name.
1 parent 813a0f1 commit 336b41a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/map/scl/sclLibUtil.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ void Abc_SclHashCells( SC_Lib * p )
7272
SC_LibForEachCell( p, pCell, i )
7373
{
7474
pPlace = Abc_SclHashLookup( p, pCell->pName );
75+
if ( *pPlace != -1 && pCell->pName )
76+
printf( "There are two standard cells with the same name (%s).\n", pCell->pName );
7577
assert( *pPlace == -1 );
7678
*pPlace = i;
7779
}

0 commit comments

Comments
 (0)