optical pins name revised. Pin type added
This commit is contained in:
@@ -199,9 +199,13 @@ class taper_xs2xs:
|
||||
nd.strt(length=L_port,xs=xs_2,width=w_2).put(L_taper,0,0)
|
||||
|
||||
nd.Pin(name='a0',width=w_1).put(-L_port,0,180)
|
||||
nd.Pin(name='a1',width=w_1).put(-L_port,0,180)
|
||||
## revised in 2026.06.07 by Qin Yue
|
||||
# legacy: nd.Pin(name='a1',width=w_1).put(-L_port,0,180)
|
||||
nd.Pin(name='opt_a1',width=w_1,type="optical:").put(-L_port,0,180)
|
||||
nd.Pin(name='b0',width=w_2).put(L_taper+L_port,0,0)
|
||||
nd.Pin(name='b1',width=w_2).put(L_taper+L_port,0,0)
|
||||
## revised in 2026.06.07 by Qin Yue
|
||||
# legacy: nd.Pin(name='b1',width=w_2).put(L_taper+L_port,0,0)
|
||||
nd.Pin(name='opt_b1',width=w_2,type="optical:").put(L_taper+L_port,0,0)
|
||||
|
||||
self.cell = C
|
||||
|
||||
@@ -363,8 +367,12 @@ class PSR:
|
||||
nd.strt(width=w0,length=L_port,layer=layers).put(0,0,180)
|
||||
nd.strt(width=w1,length=L_port,layer=layers).put(sum(Lt_rib),0,0)
|
||||
|
||||
nd.Pin(name='a1',width=w[0]).put(-L_port,0,180)
|
||||
nd.Pin(name='b1',width=w[-1]).put(sum(Lt_rib)+L_port,0,0)
|
||||
## revised in 2026.06.07 by Qin Yue
|
||||
# legacy: nd.Pin(name='a1',width=w[0]).put(-L_port,0,180)
|
||||
nd.Pin(name='opt_a1',width=w[0],type="optical:").put(-L_port,0,180)
|
||||
## revised in 2026.06.07 by Qin Yue
|
||||
# legacy: nd.Pin(name='b1',width=w[-1]).put(sum(Lt_rib)+L_port,0,0)
|
||||
nd.Pin(name='opt_b1',width=w[-1],type="optical:").put(sum(Lt_rib)+L_port,0,0)
|
||||
self.cell = C
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user