Layout connectivity setting

Hi I'm Erik

I'm developing specific scrit for calculating Antenna partial/gate/diffusion Area.
so I'm asking for how to define layers connectivity and how to get some specific regions amons conncted layers

I found out the class object as "connectivity" refer to below.
What i want to do is
1st> get the pin metal 2(attached to m2 text)
2st> this pin metal connect to metal1 and then i want to get metal 1 regions
Can i know how to do that flows by usiont connecivity class object? Help me plz~

conn = pya.Connecivity()
m1_idx = layout.layer(15, 0) # Metal 1
v1_idx = layout.layer(16, 0) # Via 1
m2_idx = layout.layer(17, 0) # Metal 2
conn.connect(m1_idx, v1_idx)
conn.connect(v1_idx, m2_idx)

Comments

Sign In or Register to comment.