MCPcopy Create free account
hub / github.com/KLayout/klayout / PCellTestLib2

Class PCellTestLib2

testdata/python/dbPCells.py:137–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 self.height = self.shape.box.height() * self.layout.dbu
136
137 class PCellTestLib2(pya.Library):
138
139 def __init__(self):
140
141 # set the description
142 self.description = "PCell test lib2"
143
144 # create the PCell declarations
145 self.layout().register_pcell("Box2", BoxPCell2())
146
147 # register us with the name "PCellTestLib2"
148 self.register("PCellTestLib2")
149
150 # A recursive PCell
151

Callers 1

test_1aMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_1aMethod · 0.56