In CRL::GdsDriver, filter out "CORIOLBLK*" layers (gross hack).
This commit is contained in:
parent
a5fbe94705
commit
95d3ca5344
|
@ -765,6 +765,7 @@ namespace {
|
||||||
|
|
||||||
for ( const vector<Point>& subpolygon : subpolygons ) {
|
for ( const vector<Point>& subpolygon : subpolygons ) {
|
||||||
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
||||||
|
if (getString(layer->getName()).substr(0,8) == "CORIOBLK") continue;
|
||||||
(*this) << BOUNDARY;
|
(*this) << BOUNDARY;
|
||||||
(*this) << LAYER(layer->getGds2Layer());
|
(*this) << LAYER(layer->getGds2Layer());
|
||||||
(*this) << DATATYPE(layer->getGds2Datatype());
|
(*this) << DATATYPE(layer->getGds2Datatype());
|
||||||
|
@ -776,6 +777,7 @@ namespace {
|
||||||
Rectilinear* rectilinear = dynamic_cast<Rectilinear*>(component);
|
Rectilinear* rectilinear = dynamic_cast<Rectilinear*>(component);
|
||||||
if (rectilinear) {
|
if (rectilinear) {
|
||||||
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
||||||
|
if (getString(layer->getName()).substr(0,8) == "CORIOBLK") continue;
|
||||||
(*this) << BOUNDARY;
|
(*this) << BOUNDARY;
|
||||||
(*this) << LAYER(layer->getGds2Layer());
|
(*this) << LAYER(layer->getGds2Layer());
|
||||||
(*this) << DATATYPE(layer->getGds2Datatype());
|
(*this) << DATATYPE(layer->getGds2Datatype());
|
||||||
|
@ -787,6 +789,7 @@ namespace {
|
||||||
Diagonal* diagonal = dynamic_cast<Diagonal*>(component);
|
Diagonal* diagonal = dynamic_cast<Diagonal*>(component);
|
||||||
if (diagonal) {
|
if (diagonal) {
|
||||||
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
||||||
|
if (getString(layer->getName()).substr(0,8) == "CORIOBLK") continue;
|
||||||
(*this) << BOUNDARY;
|
(*this) << BOUNDARY;
|
||||||
(*this) << LAYER(layer->getGds2Layer());
|
(*this) << LAYER(layer->getGds2Layer());
|
||||||
(*this) << DATATYPE(layer->getGds2Datatype());
|
(*this) << DATATYPE(layer->getGds2Datatype());
|
||||||
|
@ -798,6 +801,7 @@ namespace {
|
||||||
or dynamic_cast<Contact *>(component)
|
or dynamic_cast<Contact *>(component)
|
||||||
or dynamic_cast<Pad *>(component)) {
|
or dynamic_cast<Pad *>(component)) {
|
||||||
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
|
||||||
|
if (getString(layer->getName()).substr(0,8) == "CORIOBLK") continue;
|
||||||
Box bb = component->getBoundingBox(layer);
|
Box bb = component->getBoundingBox(layer);
|
||||||
if ((bb.getWidth() == 0) or (bb.getHeight() == 0))
|
if ((bb.getWidth() == 0) or (bb.getHeight() == 0))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue