Bad guessing of the output of zero_x0 & one_x0 in BlifParser.
* Bug: In CRL::BlifParser::Model::staticInit(), when looking for the output of the Cell, discard power supplies *and* automatic Nets.
This commit is contained in:
parent
2a36a72e34
commit
3a6760f52a
|
@ -350,13 +350,15 @@ namespace {
|
|||
_powerName = Cfg::getParamString("crlcore.powerName" ,"vdd")->asString();
|
||||
|
||||
if (_zero) {
|
||||
for ( Net* net : _zero->getNets() ) if (not net->isSupply()) { _masterNetZero = net; break; }
|
||||
for ( Net* net : _zero->getNets() )
|
||||
if (not net->isSupply() and not net->isAutomatic()) { _masterNetZero = net; break; }
|
||||
} else
|
||||
cerr << Warning( "BlifParser::Model::connectSubckts(): The zero (tie high) cell \"%s\" has not been found."
|
||||
, zeroName.c_str() ) << endl;
|
||||
|
||||
if (_one) {
|
||||
for ( Net* net : _one->getNets() ) if (not net->isSupply()) { _masterNetOne = net; break; }
|
||||
for ( Net* net : _one->getNets() )
|
||||
if (not net->isSupply() and not net->isAutomatic()) { _masterNetOne = net; break; }
|
||||
} else
|
||||
cerr << Warning( "BlifParser::Model::connectSubckts(): The one (tie low) cell \"%s\" has not been found."
|
||||
, oneName.c_str() ) << endl;
|
||||
|
|
Loading…
Reference in New Issue