summaryrefslogtreecommitdiffstats
path: root/src/map/scl/sclLibUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/scl/sclLibUtil.c')
-rw-r--r--src/map/scl/sclLibUtil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/scl/sclLibUtil.c b/src/map/scl/sclLibUtil.c
index f57669b7..7197310f 100644
--- a/src/map/scl/sclLibUtil.c
+++ b/src/map/scl/sclLibUtil.c
@@ -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;
}