Placing PCell ports
new_device_A = fp.place(device_A, “port_A”, at=device_B[”port_B”])In this method, the two ports will be connected.
new_device_A = fp.place(device_A, “port_A”, at=device_B[”port_B”].position)In this method,
port_Awill be placing at the position ofport_Bbut remaining the port orientation.
new_device_A = fp.place(device_A, “port_A”, at=device_B[”port_B”]).translated(x, y)In this method,
port_Awill first be aligned toport_Band move to(x, y)related toport_B.
new_device_A = fp.place(device_A, “port_A”, at=device_B[”port_B”].rotated(degrees=-90))In this method,
port_Awill be connected toport_Bwith an angle difference of 90 degrees.