More detailed error message in case of VHDL PORT MAP discrepency.
This commit is contained in:
parent
cd60032d9c
commit
921c519bd3
|
@ -854,12 +854,12 @@ association_element
|
||||||
<< " Port map assignment discrepency "
|
<< " Port map assignment discrepency "
|
||||||
<< "instance:" << Vst::states->_instanceNets.size()
|
<< "instance:" << Vst::states->_instanceNets.size()
|
||||||
<< " vs. model:" << Vst::states->_masterNets.size();
|
<< " vs. model:" << Vst::states->_masterNets.size();
|
||||||
message << "\nModel:";
|
message << "\nModel \"" << Vst::states->_instance->getMasterCell()->getName() << "\":";
|
||||||
for ( Net* net : Vst::states->_masterNets )
|
for ( Net* net : Vst::states->_masterNets )
|
||||||
message << " \"" << net->getName() << "\"";
|
message << "\n* \"" << net->getName() << "\"";
|
||||||
message << "\nInstance:";
|
message << "\nInstance " << Vst::states->_instance->getName() << "\":";
|
||||||
for ( Net* net : Vst::states->_instanceNets )
|
for ( Net* net : Vst::states->_instanceNets )
|
||||||
message << " \"" << net->getName() << "\"";
|
message << "\n* \"" << net->getName() << "\"";
|
||||||
throw Error( message.str() );
|
throw Error( message.str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue