From c9f73d1f3d3c98170f79a8cff4cb34d2e31ffa1a Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 16 Oct 2020 11:11:37 +0200 Subject: [PATCH] Slightly more explicit error message in the Blif parser. * Change: In CRL::Blif, when a Blif connector do not exists in the Hurricane instance (Plug / External master net), issue a more informative message. --- crlcore/src/ccore/blif/BlifParser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crlcore/src/ccore/blif/BlifParser.cpp b/crlcore/src/ccore/blif/BlifParser.cpp index 4f9504f3..d0129763 100644 --- a/crlcore/src/ccore/blif/BlifParser.cpp +++ b/crlcore/src/ccore/blif/BlifParser.cpp @@ -676,11 +676,11 @@ namespace { Plug* plug = instance->getPlug( masterNet ); if(not plug) { ostringstream tmes; - tmes << "The plug in net <" << netName << "> " - << "and master net <" << masterNetName << "> hasn't been found " - << "for instance <" << subckt->getInstanceName() << "> " - << "of model <" << subckt->getModelName() << ">" - << "in model <" << getCell()->getName() << ">" + tmes << "The plug in net \"" << netName << "\" " + << "for master net \"" << masterNetName << "\" hasn't been found.\n " + << "(instance \"" << subckt->getInstanceName() << "\" " + << "of model \"" << subckt->getModelName() << "\" " + << "in model \"" << getCell()->getName() << "\")" << endl; throw Error(tmes.str()); }