Comment out debug messages in GdsDriver & GdsParser.

This commit is contained in:
Jean-Paul Chaput 2021-04-15 23:22:07 +02:00
parent 2002282483
commit dd28bbba7a
2 changed files with 7 additions and 4 deletions

View File

@ -721,6 +721,8 @@ namespace {
if (cell->getName() == "control_r") return *this;
if (not hasLayout(cell)) return *this;
//cerr << "GdsStream::operator<<(Cell*): " << getString(cell) << endl;
Technology* tech = DataBase::getDB()->getTechnology();
time_t t = time( 0 );
@ -746,6 +748,7 @@ namespace {
for ( Instance* instance : cell->getInstances() ) {
if (instance->getMasterCell()->getName() == "control_r") continue;
if (not hasLayout(instance->getMasterCell())) continue;
//cerr << "| " << getString(instance) << endl;
if (instance->getPlacementStatus() == Instance::PlacementStatus::UNPLACED) continue;

View File

@ -867,10 +867,10 @@ namespace {
string cellName = "gds_" + _record.getName();
_cell = _library->getCell( cellName );
if (not _cell) {
cerr << Warning( "GdsStream::readStructure(): No Cell named \"gds_%s\" in Library \"%s\" (created)."
, _record.getName().c_str()
, getString(_library).c_str()
) << endl;
cparanoid << Warning( "GdsStream::readStructure(): No Cell named \"gds_%s\" in Library \"%s\" (created)."
, _record.getName().c_str()
, getString(_library).c_str()
) << endl;
_cell = Cell::create( _library, cellName );
}
}