Bug: Forgot to export Pins in GdsDriver.

This commit is contained in:
Jean-Paul Chaput 2021-03-02 12:47:20 +01:00
parent f4204c52d7
commit 7aa0e1321e
1 changed files with 3 additions and 2 deletions

View File

@ -799,7 +799,8 @@ namespace {
} else if ( dynamic_cast<Horizontal*>(component) } else if ( dynamic_cast<Horizontal*>(component)
or dynamic_cast<Vertical *>(component) or dynamic_cast<Vertical *>(component)
or dynamic_cast<Contact *>(component) or dynamic_cast<Contact *>(component)
or dynamic_cast<Pad *>(component)) { or dynamic_cast<Pad *>(component)
or dynamic_cast<Pin *>(component)) {
for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) { for ( const BasicLayer* layer : component->getLayer()->getBasicLayers() ) {
if (getString(layer->getName()).substr(0,8) == "CORIOBLK") continue; if (getString(layer->getName()).substr(0,8) == "CORIOBLK") continue;
Box bb = component->getBoundingBox(layer); Box bb = component->getBoundingBox(layer);
@ -820,7 +821,7 @@ namespace {
(*this) << ENDEL; (*this) << ENDEL;
isOnGrid( component, bb ); isOnGrid( component, bb );
if (NetExternalComponents::isExternal(component)) { if (NetExternalComponents::isExternal(component) or dynamic_cast<Pin*>(component)) {
string name = getString( component->getNet()->getName() ); string name = getString( component->getNet()->getName() );
if (name.size() > 511) { if (name.size() > 511) {
cerr << getString( cerr << getString(