Skip to content
Snippets Groups Projects
Commit bcc6a131 authored by David Lanzendörfer's avatar David Lanzendörfer
Browse files

Edges for routing

Adding proper ports for routing
parent 183cd73c
No related branches found
No related tags found
No related merge requests found
......@@ -109,10 +109,7 @@ class ViaStripe(LibrePDKStructure):
lid = self.config.get_layer_id("metal"+str(toplayer))
pad = gf.components.rectangle(size=s, layer=lid)
self << pad
rect = compass(size=s, layer=lid)
rect = rect.move([-rect.xmin,-rect.ymin])
c_ref = self.add_ref(rect)
pad = gf.components.pad(size=s, layer=lid)
pad = pad.move([-pad.xmin,-pad.ymin])
c_ref = self.add_ref(pad)
self.add_ports(c_ref.ports)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment