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.
This commit is contained in:
Jean-Paul Chaput 2020-10-16 11:11:37 +02:00
parent 3d33c4e66a
commit c9f73d1f3d
1 changed files with 5 additions and 5 deletions

View File

@ -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());
}