import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.die_with_pads(size=(11470, 4900), ngratings=14, npads=31, grating_pitch=250, pad_pitch=300, grating_coupler='grating_coupler_te', cross_section='strip', pad='pad', layer_floorplan='FLOORPLAN', edge_to_pad_distance=150, edge_to_grating_distance=150, with_loopback=True, pad_port_name_top='e4', pad_port_name_bot='e2').copy()
c.draw_ports()
c.plot()