optical pins name revised. Pin type added
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user