From 336b41a0636a78bedf80f9d3b2db30d53ad648fc Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 11 Oct 2022 09:36:15 -0700 Subject: Adding comment about dup cell name. --- src/map/scl/sclLibUtil.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3