Suppress wrong errors/warnings in AnabaticEngine & AutoSegment.
* Bug: In Anabatic::AutoHorizontal & AutoVertical, in getGCells() method, do not display the "NULL GCell under" error message if the segment has just been created. It could on a "wrong" axis position so the line probing method may fail. * Bug: In AnabaticEngine CTOR, if the "blockagenet" is created there, do not forget to set it's type to BLOCKAGE (to avoid later warnings). * Bug: In Anabatic::NetBuilder::_load(), do not display a warning if the blockage net has no RoutingPads (it *must* not have one).
This commit is contained in:
parent
faef4b182f
commit
7dcd8e136a
|
@ -338,7 +338,10 @@ namespace Anabatic {
|
|||
_matrix.setCell( cell, _configuration->getSliceHeight() );
|
||||
Edge::unity = _configuration->getSliceHeight();
|
||||
|
||||
if (not _blockageNet) _blockageNet = Net::create( cell, "blockagenet" );
|
||||
if (not _blockageNet) {
|
||||
_blockageNet = Net::create( cell, "blockagenet" );
|
||||
_blockageNet->setType( Net::Type::BLOCKAGE );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -224,13 +224,15 @@ namespace Anabatic {
|
|||
gcell = gcell->getEast( yprobe );
|
||||
if (not gcell) {
|
||||
success = false;
|
||||
cerr << Error( "AutoHorizontal::getGCells() : NULL GCell under %s\n"
|
||||
" begin:%s\n"
|
||||
" end: %s"
|
||||
, getString(this).c_str()
|
||||
, getString(getAutoSource()->getGCell()).c_str()
|
||||
, getString(getAutoTarget()->getGCell()).c_str()
|
||||
) << endl;
|
||||
if (not isCreated()) {
|
||||
cerr << Error( "AutoHorizontal::getGCells() : NULL GCell under %s\n"
|
||||
" begin:%s\n"
|
||||
" end: %s"
|
||||
, getString(this).c_str()
|
||||
, getString(getAutoSource()->getGCell()).c_str()
|
||||
, getString(getAutoTarget()->getGCell()).c_str()
|
||||
) << endl;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -218,13 +218,15 @@ namespace Anabatic {
|
|||
|
||||
if (not gcell) {
|
||||
success = false;
|
||||
cerr << Error( "AutoVertical::getGCells() : NULL GCell under %s\n"
|
||||
" begin:%s\n"
|
||||
" end: %s"
|
||||
, getString(this).c_str()
|
||||
, getString(getAutoSource()->getGCell()).c_str()
|
||||
, getString(getAutoTarget()->getGCell()).c_str()
|
||||
) << endl;
|
||||
if (not isCreated()) {
|
||||
cerr << Error( "AutoVertical::getGCells() : NULL GCell under %s\n"
|
||||
" begin:%s\n"
|
||||
" end: %s"
|
||||
, getString(this).c_str()
|
||||
, getString(getAutoSource()->getGCell()).c_str()
|
||||
, getString(getAutoTarget()->getGCell()).c_str()
|
||||
) << endl;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -2327,8 +2327,10 @@ namespace Anabatic {
|
|||
size_t degree = routingPads.getSize();
|
||||
|
||||
if (degree == 0) {
|
||||
cmess2 << Warning("Net \"%s\" do not have any RoutingPad (ignored)."
|
||||
,getString(net->getName()).c_str()) << endl;
|
||||
if (not net->isBlockage()) {
|
||||
cmess2 << Warning( "Net \"%s\" do not have any RoutingPad (ignored)."
|
||||
, getString(net->getName()).c_str() ) << endl;
|
||||
}
|
||||
cdebug_tabw(145,-1);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue