From 65c30178f20f47653e8794a6d7df21d16d61c275 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 2 Jan 2012 21:20:13 +0000 Subject: [PATCH] * ./crlcore: - Bug: In ApParser.cpp, the connectors where not parsed. The problem was not showing if you run all Stratus scripts in the same process as the caching mechanism will prevent the parsing of the disk file and uses the memory copy (which is correct). --- crlcore/src/ccore/alliance/ap/ApParser.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/crlcore/src/ccore/alliance/ap/ApParser.cpp b/crlcore/src/ccore/alliance/ap/ApParser.cpp index c628a9b8..28470a93 100644 --- a/crlcore/src/ccore/alliance/ap/ApParser.cpp +++ b/crlcore/src/ccore/alliance/ap/ApParser.cpp @@ -377,6 +377,10 @@ namespace { net->setType ( Net::Type::GROUND ); net->setGlobal ( true ); } + if ( _framework->isCLOCK(hName) ) { + net->setType ( Net::Type::CLOCK ); + net->setGlobal ( true ); + } } return net; @@ -513,7 +517,7 @@ namespace { strncpy ( pinName+length+1, fields[4], 1022-length ); } - net = _getNet ( fields[5] ); + net = _getNet ( fields[3] ); layerInfo = _getLayerInformation ( fields[6] ); if ( orientation == NORTH ) accessDirection = Pin::AccessDirection::NORTH; @@ -536,8 +540,8 @@ namespace { ); //setExternal ( pin ); } - if ( !layerInfo ) - _printError ( false, "Unknown layer name %s.", fields[6] ); + if ( !net ) _printError ( false, "Unknown net name %s." , fields[5] ); + if ( !layerInfo ) _printError ( false, "Unknown layer name %s.", fields[6] ); } } @@ -836,6 +840,7 @@ namespace { case 'R': _parseReference (); break; case 'V': _parseVia (); break; case 'B': _parseBigVia (); break; + case 'C': _parseConnector (); break; case 'S': _parseSegment (); break; case 'I': _parseInstance (); break; }