From 20687dc00abfab667bff31367fd9588cd74bdb4d Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 15 Mar 2010 15:53:16 +0000 Subject: [PATCH] * ./crlcore: - Change: In ApParser, do not stop the parser whenever an external component is found on an internal Net. Instead, display a warning, sets the Net external and continue. --- crlcore/src/ccore/alliance/ap/ApParser.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crlcore/src/ccore/alliance/ap/ApParser.cpp b/crlcore/src/ccore/alliance/ap/ApParser.cpp index 86000539..65bcf0fc 100644 --- a/crlcore/src/ccore/alliance/ap/ApParser.cpp +++ b/crlcore/src/ccore/alliance/ap/ApParser.cpp @@ -595,7 +595,11 @@ namespace { _printError ( false, "Segment neither horizontal nor vertical." ); } if ( layerInfo->isConnector()) { - NetExternalComponents::setExternal(segment); + if ( not net->isExternal() ) { + _printWarning ( "External component on non-external net %s", getString(net->getName()).c_str() ); + net->setExternal ( true ); + } + NetExternalComponents::setExternal(segment); } } else