summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2022-10-11 09:36:15 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2022-10-11 09:36:15 -0700
commit336b41a0636a78bedf80f9d3b2db30d53ad648fc (patch)
tree31ac2afc59f57581467b835a1ae0131e31383066
parent813a0f1ff1ae7512cb7947f54cd3f2ab252848c8 (diff)
downloadabc-336b41a0636a78bedf80f9d3b2db30d53ad648fc.tar.gz
abc-336b41a0636a78bedf80f9d3b2db30d53ad648fc.tar.bz2
abc-336b41a0636a78bedf80f9d3b2db30d53ad648fc.zip
Adding comment about dup cell name.
-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;
}