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:
parent
3d33c4e66a
commit
c9f73d1f3d
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue