optical pins name revised. Pin type added

This commit is contained in:
=
2026-06-07 22:56:33 +08:00
parent a4ac88f002
commit 8462c3397f
262 changed files with 3251 additions and 1134 deletions
+6 -2
View File
@@ -206,11 +206,15 @@ class RacetrackResonator:
self.cell_bus = bus.cell
bus_instr = bus.cell.put(0,-self.dLy/2-bend_cell.sz[1]-self.w0/2-self.w1_bus/2-self.gap1,0)
bus_instr.raise_pins(['a1','b1'],['a1','b1'])
## revised in 2026.06.07 by Qin Yue
# legacy: bus_instr.raise_pins(['a1','b1'],['a1','b1'])
bus_instr.raise_pins(['opt_a1','opt_b1'],['opt_a1','opt_b1'])
if (self.w2_bus > 0):
bus_instr = bus.cell.put(0, self.dLy/2+bend_cell.sz[1]+self.w0/2+self.w2_bus/2+self.gap2,0,flip=1)
bus_instr.raise_pins(['a1','b1'],['a2','b2'])
## revised in 2026.06.07 by Qin Yue
# legacy: bus_instr.raise_pins(['a1','b1'],['a2','b2'])
bus_instr.raise_pins(['opt_a1','opt_b1'],['opt_a2','opt_b2'])
return C