From 3a09249150ed6be4e924241a7e46db6e21050152 Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Sun, 24 Mar 2024 09:20:52 -0700 Subject: [PATCH] update to latest gdsfactory --- pyproject.toml | 2 +- ...er_add_electrical_pads_top_dc_984bbf2d.gds | Bin 0 -> 15792 bytes ...eater_add_electrical_pads_top_984bbf2d.gds | Bin 0 -> 13042 bytes ..._array_add_fiber_array_add_fiber_array.gds | Bin 117922 -> 118694 bytes ...ay_add_fiber_array_componentdbr_cavity.gds | Bin 126174 -> 126784 bytes tests/ref/add_fiber_array_pads_rf.gds | Bin 129504 -> 130422 bytes tests/ref/coupler.gds | Bin 0 -> 6706 bytes tests/ref/coupler_coupler1.gds | Bin 0 -> 7164 bytes tests/ref/coupler_coupler_e0bb2bc4.gds | Bin 0 -> 7170 bytes tests/ref/coupler_ring.gds | Bin 0 -> 2026 bytes tests/ref/coupler_ring_coupler_ring1.gds | Bin 0 -> 2484 bytes .../coupler_ring_coupler_ring_e0bb2bc4.gds | Bin 0 -> 2492 bytes tests/ref/dbr_cavity.gds | Bin 8314 -> 8236 bytes tests/ref/ebeam_y_adiabatic_tapers.gds | Bin 15546 -> 15434 bytes tests/ref/gc_te1310.gds | Bin 144856 -> 144876 bytes tests/ref/gc_te1310_8deg.gds | Bin 1026072 -> 1026048 bytes tests/ref/gc_te1310_broadband.gds | Bin 267732 -> 267732 bytes tests/ref/gc_te1550.gds | Bin 112544 -> 112546 bytes tests/ref/gc_te1550_90nmSlab.gds | Bin 30336 -> 30304 bytes tests/ref/gc_te1550_broadband.gds | Bin 215722 -> 215740 bytes tests/ref/gc_tm1550.gds | Bin 82164 -> 82166 bytes tests/ref/mmi1x2_mmi1x21.gds | Bin 0 -> 728 bytes tests/ref/mmi1x2_mmi1x2_e0bb2bc4.gds | Bin 0 -> 736 bytes tests/ref/mzi_mzi_a1fe9d55.gds | Bin 0 -> 24312 bytes tests/ref/mzi_mzi_f5c6fc9f.gds | Bin 0 -> 23124 bytes tests/ref/pad_array_pad_array_25dc0e38.gds | Bin 0 -> 360 bytes tests/ref/pad_pad_0210fbc6.gds | Bin 0 -> 246 bytes ...ble_heater_ring_double_heater_dde86d0f.gds | Bin 0 -> 6860 bytes ...ble_heater_ring_double_heater_f261383d.gds | Bin 0 -> 6658 bytes .../ref/ring_double_ring_double_64b48b6b.gds | Bin 0 -> 3952 bytes .../ref/ring_double_ring_double_a459ac5d.gds | Bin 0 -> 3770 bytes ...ng_single_dut_ring_single_dut_26538df6.gds | Bin 0 -> 7462 bytes ...ng_single_dut_ring_single_dut_5f7261fe.gds | Bin 0 -> 7066 bytes ...gle_heater_ring_single_heater_59bd74a4.gds | Bin 0 -> 10856 bytes ...gle_heater_ring_single_heater_cc91df46.gds | Bin 0 -> 11258 bytes .../ref/ring_single_ring_single_382b19ee.gds | Bin 0 -> 8278 bytes .../ref/ring_single_ring_single_7ee9a328.gds | Bin 0 -> 8258 bytes tests/ref/straight.gds | Bin 0 -> 438 bytes ...ater_metal_undercut_with_undercutFalse.gds | Bin 2686 -> 3312 bytes tests/test_components.py | 1 + .../test_pdk_settings_add_fiber_array_.yml | 36 +- .../test_pdk_settings_add_pads_dc_.yml | 12 +- .../test_pdk_settings_add_pads_rf_.yml | 12 +- .../test_pdk_settings_bend_s_.yml | 2 - .../test_pdk_settings_coupler_.yml | 39 +- .../test_pdk_settings_coupler_ring_.yml | 39 +- .../test_pdk_settings_dbr_cavity_.yml | 37 - .../test_pdk_settings_dbr_cavity_te_.yml | 52 - .../test_pdk_settings_ebeam_dc_te1550_.yml | 8 +- .../test_pdk_settings_mmi1x2_.yml | 39 +- .../test_pdk_settings_mzi_.yml | 18 +- .../test_pdk_settings_mzi_heater_.yml | 18 +- .../test_pdk_settings_pad_.yml | 11 +- .../test_pdk_settings_pad_array_.yml | 12 +- .../test_pdk_settings_ring_double_.yml | 63 +- .../test_pdk_settings_ring_double_heater_.yml | 63 +- .../test_pdk_settings_ring_single_.yml | 63 +- .../test_pdk_settings_ring_single_heater_.yml | 63 +- .../test_pdk_settings_ring_with_crossing_.yml | 52 +- .../test_pdk_settings_straight_.yml | 25 +- ...st_pdk_settings_straight_heater_metal_.yml | 2 + .../test_pdk_settings_straight_one_pin_.yml | 2 - .../test_pdk_settings_taper_.yml | 2 - ...st_pdk_settings_via_stack_heater_mtop_.yml | 2 - tests/test_netlists.py | 56 + .../test_netlists_add_fiber_array_.yml | 56 + ...test_netlists_add_fiber_array_pads_rf_.yml | 152 + .../test_netlists/test_netlists_add_pads_.yml | 489 +++ .../test_netlists_add_pads_rf_.yml | 489 +++ tests/test_netlists/test_netlists_bend_.yml | 5 + .../test_netlists_bend_euler180_sc_.yml | 5 + .../test_netlists_bend_euler_sc_.yml | 5 + tests/test_netlists/test_netlists_bend_s_.yml | 35 + .../test_netlists/test_netlists_coupler_.yml | 5 + .../test_netlists_coupler_ring_.yml | 246 ++ .../test_netlists_dbr_cavity_.yml | 60 + .../test_netlists_dbr_cavity_te_.yml | 56 + .../test_netlists_ebeam_BondPad_.yml | 14 + .../test_netlists_ebeam_adiabatic_te1550_.yml | 14 + .../test_netlists_ebeam_adiabatic_tm1550_.yml | 14 + .../test_netlists_ebeam_bdc_te1550_.yml | 5 + .../test_netlists_ebeam_bdc_tm1550_.yml | 5 + .../test_netlists_ebeam_crossing4_.yml | 5 + .../test_netlists_ebeam_crossing4_2ports_.yml | 66 + ...t_netlists_ebeam_dc_halfring_straight_.yml | 21 + .../test_netlists_ebeam_dc_te1550_.yml | 5 + ...s_ebeam_splitter_adiabatic_swg_te1550_.yml | 14 + ...ists_ebeam_splitter_swg_assist_te1310_.yml | 5 + ...ists_ebeam_splitter_swg_assist_te1550_.yml | 5 + .../test_netlists_ebeam_swg_edgecoupler_.yml | 14 + ...test_netlists_ebeam_terminator_te1310_.yml | 5 + ...test_netlists_ebeam_terminator_te1550_.yml | 5 + ...test_netlists_ebeam_terminator_tm1550_.yml | 5 + .../test_netlists_ebeam_y_1550_.yml | 5 + .../test_netlists_ebeam_y_adiabatic_.yml | 5 + .../test_netlists_ebeam_y_adiabatic_1310_.yml | 5 + ...est_netlists_ebeam_y_adiabatic_tapers_.yml | 95 + .../test_netlists_gc_te1310_.yml | 28 + .../test_netlists_gc_te1310_8deg_.yml | 28 + .../test_netlists_gc_te1310_broadband_.yml | 28 + .../test_netlists_gc_te1550_.yml | 28 + .../test_netlists_gc_te1550_90nmSlab_.yml | 28 + .../test_netlists_gc_te1550_broadband_.yml | 28 + .../test_netlists_gc_tm1550_.yml | 28 + .../test_netlists_metal_via_.yml | 5 + tests/test_netlists/test_netlists_mmi1x2_.yml | 5 + tests/test_netlists/test_netlists_mzi_.yml | 599 ++++ .../test_netlists_mzi_heater_.yml | 616 ++++ tests/test_netlists/test_netlists_pad_.yml | 5 + ...s_photonic_wirebond_surfacetaper_1310_.yml | 5 + ...s_photonic_wirebond_surfacetaper_1550_.yml | 5 + .../test_netlists_ring_double_.yml | 163 + .../test_netlists_ring_double_heater_.yml | 233 ++ .../test_netlists_ring_single_.yml | 206 ++ .../test_netlists_ring_single_heater_.yml | 248 ++ .../test_netlists_ring_with_crossing_.yml | 113 + tests/test_netlists/test_netlists_spiral_.yml | 3128 +++++++++++++++++ .../test_netlists/test_netlists_straight_.yml | 5 + .../test_netlists_straight_heater_metal_.yml | 244 ++ .../test_netlists_straight_one_pin_.yml | 5 + tests/test_netlists/test_netlists_taper_.yml | 5 + .../test_netlists_terminator_short_.yml | 43 + .../test_netlists_thermal_phase_shifter0_.yml | 5 + .../test_netlists_thermal_phase_shifter1_.yml | 5 + .../test_netlists_thermal_phase_shifter2_.yml | 5 + .../test_netlists_thermal_phase_shifter3_.yml | 5 + ubcpdk/components.py | 80 +- ubcpdk/import_gds.py | 2 +- ubcpdk/tech.py | 11 +- 129 files changed, 7890 insertions(+), 698 deletions(-) create mode 100644 tests/ref/add_electrical_pads_top_dc_ring_single_heater_add_electrical_pads_top_dc_984bbf2d.gds create mode 100644 tests/ref/add_electrical_pads_top_ring_single_heater_add_electrical_pads_top_984bbf2d.gds create mode 100644 tests/ref/coupler.gds create mode 100644 tests/ref/coupler_coupler1.gds create mode 100644 tests/ref/coupler_coupler_e0bb2bc4.gds create mode 100644 tests/ref/coupler_ring.gds create mode 100644 tests/ref/coupler_ring_coupler_ring1.gds create mode 100644 tests/ref/coupler_ring_coupler_ring_e0bb2bc4.gds create mode 100644 tests/ref/mmi1x2_mmi1x21.gds create mode 100644 tests/ref/mmi1x2_mmi1x2_e0bb2bc4.gds create mode 100644 tests/ref/mzi_mzi_a1fe9d55.gds create mode 100644 tests/ref/mzi_mzi_f5c6fc9f.gds create mode 100644 tests/ref/pad_array_pad_array_25dc0e38.gds create mode 100644 tests/ref/pad_pad_0210fbc6.gds create mode 100644 tests/ref/ring_double_heater_ring_double_heater_dde86d0f.gds create mode 100644 tests/ref/ring_double_heater_ring_double_heater_f261383d.gds create mode 100644 tests/ref/ring_double_ring_double_64b48b6b.gds create mode 100644 tests/ref/ring_double_ring_double_a459ac5d.gds create mode 100644 tests/ref/ring_single_dut_ring_single_dut_26538df6.gds create mode 100644 tests/ref/ring_single_dut_ring_single_dut_5f7261fe.gds create mode 100644 tests/ref/ring_single_heater_ring_single_heater_59bd74a4.gds create mode 100644 tests/ref/ring_single_heater_ring_single_heater_cc91df46.gds create mode 100644 tests/ref/ring_single_ring_single_382b19ee.gds create mode 100644 tests/ref/ring_single_ring_single_7ee9a328.gds create mode 100644 tests/ref/straight.gds create mode 100644 tests/test_netlists.py create mode 100644 tests/test_netlists/test_netlists_add_fiber_array_.yml create mode 100644 tests/test_netlists/test_netlists_add_fiber_array_pads_rf_.yml create mode 100644 tests/test_netlists/test_netlists_add_pads_.yml create mode 100644 tests/test_netlists/test_netlists_add_pads_rf_.yml create mode 100644 tests/test_netlists/test_netlists_bend_.yml create mode 100644 tests/test_netlists/test_netlists_bend_euler180_sc_.yml create mode 100644 tests/test_netlists/test_netlists_bend_euler_sc_.yml create mode 100644 tests/test_netlists/test_netlists_bend_s_.yml create mode 100644 tests/test_netlists/test_netlists_coupler_.yml create mode 100644 tests/test_netlists/test_netlists_coupler_ring_.yml create mode 100644 tests/test_netlists/test_netlists_dbr_cavity_.yml create mode 100644 tests/test_netlists/test_netlists_dbr_cavity_te_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_BondPad_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_adiabatic_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_adiabatic_tm1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_bdc_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_bdc_tm1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_crossing4_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_crossing4_2ports_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_dc_halfring_straight_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_dc_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_splitter_adiabatic_swg_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1310_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_swg_edgecoupler_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_terminator_te1310_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_terminator_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_terminator_tm1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_y_1550_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_y_adiabatic_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_y_adiabatic_1310_.yml create mode 100644 tests/test_netlists/test_netlists_ebeam_y_adiabatic_tapers_.yml create mode 100644 tests/test_netlists/test_netlists_gc_te1310_.yml create mode 100644 tests/test_netlists/test_netlists_gc_te1310_8deg_.yml create mode 100644 tests/test_netlists/test_netlists_gc_te1310_broadband_.yml create mode 100644 tests/test_netlists/test_netlists_gc_te1550_.yml create mode 100644 tests/test_netlists/test_netlists_gc_te1550_90nmSlab_.yml create mode 100644 tests/test_netlists/test_netlists_gc_te1550_broadband_.yml create mode 100644 tests/test_netlists/test_netlists_gc_tm1550_.yml create mode 100644 tests/test_netlists/test_netlists_metal_via_.yml create mode 100644 tests/test_netlists/test_netlists_mmi1x2_.yml create mode 100644 tests/test_netlists/test_netlists_mzi_.yml create mode 100644 tests/test_netlists/test_netlists_mzi_heater_.yml create mode 100644 tests/test_netlists/test_netlists_pad_.yml create mode 100644 tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1310_.yml create mode 100644 tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1550_.yml create mode 100644 tests/test_netlists/test_netlists_ring_double_.yml create mode 100644 tests/test_netlists/test_netlists_ring_double_heater_.yml create mode 100644 tests/test_netlists/test_netlists_ring_single_.yml create mode 100644 tests/test_netlists/test_netlists_ring_single_heater_.yml create mode 100644 tests/test_netlists/test_netlists_ring_with_crossing_.yml create mode 100644 tests/test_netlists/test_netlists_spiral_.yml create mode 100644 tests/test_netlists/test_netlists_straight_.yml create mode 100644 tests/test_netlists/test_netlists_straight_heater_metal_.yml create mode 100644 tests/test_netlists/test_netlists_straight_one_pin_.yml create mode 100644 tests/test_netlists/test_netlists_taper_.yml create mode 100644 tests/test_netlists/test_netlists_terminator_short_.yml create mode 100644 tests/test_netlists/test_netlists_thermal_phase_shifter0_.yml create mode 100644 tests/test_netlists/test_netlists_thermal_phase_shifter1_.yml create mode 100644 tests/test_netlists/test_netlists_thermal_phase_shifter2_.yml create mode 100644 tests/test_netlists/test_netlists_thermal_phase_shifter3_.yml diff --git a/pyproject.toml b/pyproject.toml index f44610ee..5def08a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ "Operating System :: OS Independent" ] dependencies = [ - "gdsfactory==7.18.0", + "gdsfactory==7.22.2", "gplugins[tidy3d,sax,schematic]>=0.10.2,<0.11" ] description = "ubcpdk pdk" diff --git a/tests/ref/add_electrical_pads_top_dc_ring_single_heater_add_electrical_pads_top_dc_984bbf2d.gds b/tests/ref/add_electrical_pads_top_dc_ring_single_heater_add_electrical_pads_top_dc_984bbf2d.gds new file mode 100644 index 0000000000000000000000000000000000000000..8090689285fdc49dd2d7de6172bcc5545b0efa5c GIT binary patch literal 15792 zcmeI3d2}1q6^Eb3lDx>f9j}Ua*-0EgyX633-x?@1>|qhIBqt7r1ji6UDWnC;P77V2 ztbwwHLOIY-!V;DO1qy9h!cN%&lqEpmuqU8?Z$_gT+p;A4@K=v@j`Bt0d2{dm-TU6W zc~25{p(uw4r$x!%Ac{o2$QK==#r%I!tk?$!`i3GyD}<=dv(4S?^!^`+*FdkkMj||6$!jV`k93PBFhld8Dk-_lNNNibnc*)Xm zEE?_&`TP3%y)j`e5~8ItUF&GH*Awga2Zbmu&lCE~S|QXnHI;U*7mf@KMOK7;A%7_5 z^M&M@iErllg>sx%=x5ed+LsRu#lz7hL&xG&H0tS#_V>qxy}`moi=DQe7bGt(TPGgh zPbgJGxwKxXwO(Utt=cxV#>-{HLy>`ni-yC2px+nj4fco(mgS{%zs+rff!>%q+UGX6 zHQOESwYhCH5D!Iz!4YlE5s&tHf_lCBqEMP=rM%A2I*neNeJ77-ZT36j4h3W0UcWhJ zv)>6Ui>k9ymd$OW{lRF+8}OLhj?inA*XFi;{zz{y=8u}&n(dDEIYY!`b4-0n%d_4} zd7Ytk8oj=2e0W4_v){o`UpyF!M8@+Qy%LFyC#Ec$+j;`=h$rrjncI%h%jC7WZ9EY2 z^v8Yl)AT)Rw9gqLPN&zVql6N?H05=M)@k%gSc^xrHv1h5d1LW_XZ-rYvV5iMkD(s7 zw?7mZ(Wge}HOgzVUBAa4@_BrL@$?$)bM}Z$)v0=%i(cxOy77R?s-xP;u8ux(n?0I< z7D9~jaDrMeI^@#Vq?gM2%SW7R_OjO(b4R>>?>HG#N1^dXBBN)iT8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jec7|r7+Llb@ZxmuI;%M$o885MZ(^y;AKHs9;3$RqFU{}a%hq>`^~EVs;=2vm0hNu zEy}JlS}|NFZPh4z*TPsXX0!i{iaqTMh7X=llWIAdGJeXR<1G-%nfl*qt@iNm?EAoy0NU zjnq9z?u5$~K512dYnG*T?X4eIJyTc0Ca}6?{L(?UnpW+(i`A9pu_2$_ zLC9#;u~t*qv6i{`3;eAY}+<%kDb*jg6+7+P{ zJF>D4*ZoF~F~?Twp5LSDFEGW-r#1DmXG-q%&14l%WzMa<>~YJNm%VLX88fA+z*#x$ z+a$ezQav}hZ!`WLkLt5_t}n9>GBc{D(g$O2l3l;#9<2HI9PDeZWG9qgwwm@9wS7%J z)*^K$J5AfvPPXaHrj(U*yW*)mQ&S7`F1azPt7poJ%H>QgqxzZI?;>e_4QzF=F`)fU zI5pB2R4MGnS%g#HvByH$&O7q2_OiUUrGC$%-lz(9Fz6` Nr~a;1A$F}+@jrW-%F+M; literal 0 HcmV?d00001 diff --git a/tests/ref/add_electrical_pads_top_ring_single_heater_add_electrical_pads_top_984bbf2d.gds b/tests/ref/add_electrical_pads_top_ring_single_heater_add_electrical_pads_top_984bbf2d.gds new file mode 100644 index 0000000000000000000000000000000000000000..1bb24a66b9f1cb5603177b2979e5ec8f6f40e968 GIT binary patch literal 13042 zcmeI3d3;k<7RPVaF6q9eZD`XaZJ{7d(p3}zVZ=elZB%fJX_7*;z4C_0Ga ziVLoQgE~4mpbjqMC^Dh~qOyq#>WG4(A5@Sf^S$rAGyy^r_{@LPd_IqF^KzGSe&^hq zm-8ONEcE)Z!lu(FY!=C)KqQC?VUPSZ!T@OB3}Jzl@x6KD_kx;xu^-gZxi*Wcyop4j1O zZmMf(X?6L9FeVFO&x+R9=WBNQTk9HxNXamW(94*q_Q}gKGn&WS+3B6)aW~a9`Q7d& z*)q6mOr6kAa*0q&E2B@G+#T>tnoI|0ozLfN^w&opb^o??{y?+K@Ak&i*6(w-wlp~# z<7(?~^t;?Gfq2@weE$0S)`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mxqVxEC9zHdmfrFju}# zB!<^2?aT${iPWQIejU24qNdtbyQ>g8b`g0Ru5BL>yT0mPUv-bGCcf$Ws(b9#=ukKf z&f*F!70!kC!l(IybU>~G`l@^U^56=vue!&t6m;mT?(r+4gDc}L{CeO@y05y22K;*H ztM2h@t*^Q#`l@?W>A0HitM2tx_xh@P?1>NdRrmgnt9$!DWfXp5FZ8=S;`yrJo*AQ+ zr;GMJJxn1_8Of)6WIarw_PJU+h+Pkec&;n_L|>G7xptxQ!BbPpOV*3VtyP{b(oJ2d zF!Z@nvxqV8LCrxydN=@{2Y@jkK(h zqOmzk@mnM`&X;!dd>&7vdCsz@S{QypGBm69G+DUTC!Z#hv#TVf4pA$NkzbLshAZ5? z&KggJ@-Sv~H8iy}xn-rh*I6w~R9`Jij@Z`>v+}%gt;<>4+Tv^InJ+SfgO_k;T0MlA zeRbp!Ixneal2%7e4cAeF!EWx@s|ODca2F?hgw9LGn~6Oc5n1K$RVV#eRVSVkKV(j5 zc1P?Ov}Mndbz|9IWvFf(Vtn=Ec>2e#1S>b04!eG==WdjI>CaaXqb97hiL-vJsChW` zxFQ=6(aZcSIF}rD(4lCVyQJ01uU;disz9qaD*Zk8x@23e(tqf?0*dV` zlyTj?+aM#OSSrU2-_7Dak#^TE^4WOqgiTZL!bRMTQooZzzH%oldSC8FDf7sG6jf+h z+%rqGJDNRr*&=!{cF)cc-d~lLGNa;YsYW!^GWLER<$rP*E!@CX|Bpw{o|~Ah=l+dO Y*dqK)A2E!1)R*q-(W>9fXf%rd0-So!FaQ7m literal 0 HcmV?d00001 diff --git a/tests/ref/add_fiber_array_add_fiber_array_add_fiber_array.gds b/tests/ref/add_fiber_array_add_fiber_array_add_fiber_array.gds index 9b537c18bef8aa6dba0723f180a89fcb590a11d8..21d23e463380f88daa3026bbbe133830588bb5af 100644 GIT binary patch delta 1088 zcmb7DF>KR76#d_JE+(Y3O-mYwh$2KmLKNlPq)G-PB#=7N1yl9C}wm1baufrWwS zh7)1{QHcd47?4Vn2r;A5NKEW3St>H3GKB9qPH?HzGWfpk-}C+V-+%Y&S@89X;L|Og zuP$aU$e4y zHd|OQ?MnlEEaT#183%8kasKt^;_}`OUYG!Y0DVC4-%gavJ9v4Vzzfcf;tg7))xh|a z4&e#4pL7;xunLze4K%!iSf+pI9GGH7otv6w>~6Vim-0C)mFB6mnaV%X0^3>upMSuB ze7S>nD0JO$vw>OKJ!#-Ph1~|;qHwW^d0(HNDqf#{UEDtXxnufl4?1d(5&4t#+1CAi zo(_)&A(plCA+_U*uXaY_`*X*TQh)R-fVzKTQfkLXitC;uT>l)Jz2hIb)xyc3ol0lz zwe)tgg%8J*DA3LKYrvLx| delta 749 zcmZ2BpMB9x_6dtQER#|aQ%wy_Ca!jwe*6rh3|wIPYaox4k$cMj|N9actfmW`Wz^%+ zOH4CMGBmbKW|(ewmQjk`FgZ2V)G&2={8>gxW$Bv#|8IO?U=d_sVBun55EEi6E-6aP zOwTBZH!)8!H?pv_m_8S%&;Xt5$3=BL1%>Vy8^)LVd*e(vJT`AM& zon;hLWdOU322uC88nHoKIDNr6MjZm$q2V!cuN?=>?b99i zFv@f7E&2cdKN|zX-jeAJI~k4m{tAKE|Nlei=`3d$EhoO`;edw>Sd-KQh$g8C2u&a{ zkS3rQNRzM#8(V5pYGQ7DdUAY8s-dZ=0Ymc_rtM#t7-w%`hCHaoQG9ZKZb5!tYF-JNlP2!7<$$FXNO-6VK)j|dfbbef4CFPS7|3hW7w=&d jgr%wNyZ10Q@ms5~5wr`O+C+pfLS=f(8Af$x78V8o6JYU6 diff --git a/tests/ref/add_fiber_array_add_fiber_array_add_fiber_array_componentdbr_cavity.gds b/tests/ref/add_fiber_array_add_fiber_array_add_fiber_array_componentdbr_cavity.gds index a84aaed3e1e1632e7cc9f934bc2432ac20ee41b1..8c09894260c495d1c711a0a457bd562f30b7a9fa 100644 GIT binary patch delta 977 zcmb7@%WD%+6vpR-dNZ~`$yj65WbzlLzXmr3GoJ2rA-YI+>ZIt$C5gl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(DQU0>~Vl+TfpPiHq5c+%QvN8L~sTVd-jMPE6JS_ZI632HOt3bD3 zGAUIhYR^<)?NCe{HGbBZ8=G}#A3E@ixyi(2Zaz$>qDzahwC;tlQiq{`4*44(5Cr*`N6g&1viKbUsAC8k3R{#J2 diff --git a/tests/ref/add_fiber_array_pads_rf.gds b/tests/ref/add_fiber_array_pads_rf.gds index 15acb0133c4afdbbe64c3001416cfa62b149a418..2fff3cc9bdff128a780c3a2bad9fc5836c3dcb4b 100644 GIT binary patch delta 1715 zcmb7FU1%It6uxJ&J3BQo`;*OXTZ36@Y+@T_{&z=;3K2w5QxriT+R6NFy3pOtZa1J% zMErpwsEq@;LQ#q+1@%Eu48Bwm@xdkMOsIE!aITb)5@=#1l3XB_9sQ+|A5_4c7SO+Q{J zXnD(2MTrw7UbLR4l1o$)&V39){N^Q?CT7z!_bh`#yqA{YPGY`ZhACoFD`45jsJHNZ z6%I4)_BneJM(~$ac#@GNK}Z{xg)i0MmQcGp{6GyR5(I`*m9mzbJyB6DNi$i)kjFUt z80^{T^M6Grh@O*n$TXu<@RuR$t; z5DJn9IgazEYcYEb4wBVFb=M>IFZYdSwjo6kduSUb2FYsET}AXhy2#_tH%YQo6ZVAK zaW^k+b6w;G|Z$j1PMU7`I;O zpkXMSnH6O(yX@d%z-b<0L*JYui*-GN_RfvB(Ar8idKm2mgIYt{F| zZ!pbtSVorg`vz%x)=(=JCrPXa9vk~VT5z##bCs7fdPX3$bI-CT15@D$-Fv03Hz1Br z{thMl=^BjgU{8mW?Y)W9_KCy|ctbtrp-3IO9*WcxT@>-m3K_}eI^4|o(pak3;YVQn w{|5ek8^n(H8a0f^NvVu4Ts+l)+d_VOdE%tn4nl-K?f_b+1)>DP5P1UVAL$pF delta 1383 zcmai!O=ufO6vyYu>T0bxk}SJ+tf;iej-5D7(0*!{wj|Vn5O7eAfl@ZB*^%QCe;_-B zLNUdmP;w{@Dta_+hz~ubv`{F>lAM@cnoHv-HIzaREjZCNhm8AJJD7dl+*D+m#Q0t?7yKjGRX0XvHeBvySKkDnT!A$@%57Z zc=!N#ytD*oak&nA157lN3YGBD61<9!>o9`#yU;V}?T!$CkdRoEqf-~BFR+}E8=o9A zOi5F8LC!dP@59k;Xy+wMQ!JV^(Wt^fJhcrS&r{c`@O3j4P*f|MkrX^vff!ETgL(XJ z74{U_GF%Qj``K00+)!*2K1^&56XHADXtEFvh4c%LGM9 zl1p>G;+zk@{J}nPtO#j4yyu2;5%jJg;bLGf)v^Dj<9%N^<0?Ka!jUe1*Nbd(oX5l> zjJ)t-^ylWl>>@C{U4zbmKp9g6R{Wy|pN4r$kxW@P6<68Iw_pHYyA1(+<0f>5wxfg; ztVY9)cyJwb{ASheq-ctAR@2qukE<{rcG@=Y>awF;#$7I0cb5y{=q7~F`UT!>$`oF3 zWeP9+yG&xg%1kpQsaCVE`=VTiOo3} z<08=$Qu!?Ab^YyTcXB2jMIvGO^v3q`5SNwCrWVG zGZbDg!TW(7H(|UCaZge_R`#Hhsiufj5*^O^uuz6Dp03#3wB)XoVTj*pg@xy;&{L?u zEBx-dUOU6#+ZEehtunI$w|LLV&Y_PFaGWtQp36<;3_3M2JvGTDXa7!^V~+0VKfrVN z`3T>=2fdhFhM|2i?mzq^+=Q2lE6?C3;JwD+S6d)IpZ&H4hj>qV{C3OrTd?I@X&d?@ zJ0`YKjUtp1BKewU}@j t{CpkKyw~j(mLo2%ExBzQzthBhc*Dhgc%zAXIKsU^1D@D`kK6oy@)vogwx9q2 diff --git a/tests/ref/coupler.gds b/tests/ref/coupler.gds new file mode 100644 index 0000000000000000000000000000000000000000..7e59845d92e5c9bf9668ea2d22e6985458c3f1ed GIT binary patch literal 6706 zcmajkd2p5Gy#U}hCpqUNsmpb%Md=hBN0j2yYF)2ZEu!%%$|6ew!AKy1AVvWxt?hJN zK-9Y2dPPwgyC`a6gYjs3cAxeM{2|GDU&Uc@e3^VtS+g@hkljxW4dwJ6#`&Fn8eL^-I6Z-w{@56qn%+$$OU*B;3><|tuPo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z0>u)W?x;v$KpQYo%HV5Gu=M)4$@Yt$@14H*ecnRxH+gp}%5SrG#zH5> zS+L$_?=pqAoLA>iekVUjb)77Z!X0s*aCV$0)axzkQ&7*AUr;?;zTz3qN$*?*aZHWZ z9TDdV_lxtyJC?aP&AU~82d8rbxt{)&wq~dgnx|l zgpbF0!r#StLhGH8<->8FP=Cx6XI`G7-L9XZ-rbAhJfZzR-Dkz_ct7vn-G7Sngz|fx zcku4`T>0o$$JUpr|6285_g~{Y;pcIlaIH9AWe0t>?cN>diFeFYoF_a`KD>+P`f?@* zFvBzD%{p^6w7%S!I8Qhw&J*4!|3%)#2lyyGFZY~!ea?3&?wq~W?6Xr&|24fX-ZXu- z$;*G!w|KIC@a~@%?cNz7y*yj}zndujscWRFB4HimUNE>R7H%-{X;- z%~Lsmm+5Q$R+!k^=Y?PLd_T{(5A4I(PYsKxt_`(pqdqSbdiPQBP|8d31RhW89PfU` zdfv@hw2z8++o$eVRKI%nE1I44qp5%EtLQu%_lo_K;S_$C`n2a1=YhQTT*A2DuHsRg z>HJWq9`V=RK>4lf$LF0l;_R{B+G$+HLnyyvUb5fSb&NPl_S5J*`*Q*H|7i6ospqIq zsh*?sSIK@EptKFPyW6u4BYqs rPxgL3aos-meXiN(|2>cP{r~rt){9~Vc|NY*-Z_65$72$sXa9(Hu literal 0 HcmV?d00001 diff --git a/tests/ref/coupler_coupler1.gds b/tests/ref/coupler_coupler1.gds new file mode 100644 index 0000000000000000000000000000000000000000..01aa820c0e1f8bb9838b15449d17fd7081f7f752 GIT binary patch literal 7164 zcmb8!d2p5Gy#U}hCpqUNsmpbxD4n9?h$8O0UaeY0V-;nQC4pch5Fm&sAf>gPjth!f zms=}}%FsnoD;?{O*HN_YT3f3lvIG6s`Oja6JyMy8|dHb``lTl{^+gwTTbu$ z;<57{tR5VCq`&#Idu1}Cubwt};+Sg>J3fT6@(?n6rb0=`?3ME6fBr{l==zgSlBB_x zxg;rm#5SJA9ZAx$fZN!Uo06pPYp&y-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tQ@k@|14{%iY7oG1J=&J(T@$IIM6KijtLjPt}hW-87T?kykQ z#dAG4jlG%S>GEcsxhh&;Zg`w0oDk;;ub2M<@8tcQN6*VWqh6o#ZHhZ*uZ{DwQ%?Ui zyei%_{cMw$|Az1IIQ`(=Ki`k~DnF7jPtMjcPg8xz)KVVD#Oq(uZwsj&_2Ve6`tPb^ zsXl#&2Xh8bVsBoeuk~B|n65r=|2fa~{cQWdK8*cTH=pWSSIs8s^Y-?xeN@<=@=`dO zN76b+xnH4{cX2xHqrzSGsrwbwuh#tvW@qg%>fhQ5I?qPFWdCG1f#0J(?KshSAg>)4 zG48i3cnGICKh&v1{5986ertO2S?7&7JFK^Q5|?v7%J1+O?00n?E{>x8G%U|voJ0LT zOnr*#IrL+y=TQAsv|on$8K)?YA@RDIah~vA=jI~*hWf6!AkGsmjPr!{;~+nK#Pey; zbc%Cee4c(Acs-rl1LF72&;iz8+!5yq^KqWA80U#|&w4MdVp*Ig)F1uD8Gql^zi0S{ z-*<&RyZ`@5=g%ju+wJb3Yj*p8&!gR+-~F83c0SKPcH8;y|M~ZAeY^huP5k`s-&23R zf4klbzy5tg*YB~re!i;kYVnW%|5NF8L)@W!Z(Uo`8ustJ+YY;Ao=-b9?557A{yU$F z?{e`|(SPq#R(w?F)nVGn|G!UluFR*tUZLajf8#nZ<>fWgtt6C(J$7eD9GUK!tB>zm m*SB5UxsG`43EzHg%=SO7J@H>(+qu$s-;=to&3ff23;zR~$iH_0 literal 0 HcmV?d00001 diff --git a/tests/ref/coupler_coupler_e0bb2bc4.gds b/tests/ref/coupler_coupler_e0bb2bc4.gds new file mode 100644 index 0000000000000000000000000000000000000000..8de6299cdc93d497d7ade8c104d8e73a960dd786 GIT binary patch literal 7170 zcmb8!d2p5Gy#U}hCud1gm+MMVIz`73McjA2TD6GcRg^`R1cE>yKoC(tN^3hE7ZkNF zw_Z_HhAxU)=~#EXj-qwf+FBivRfrNGMAiT~Cnx8-&r2?~e_Y#MX6TdD?|k3;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F}|N{)@be4{$y`FaNB1ea3ev?!3J= z-p@{X{a62*cr)~~O+o(azrz#sgLnTzAL^^Z2*x})TgN^_^&MMFc^n(Be_6jRqI%Sg zr?~3AtB&RR^j#jxnLLF(d6~Y}Z|!3{`@H>UJm2?o>;wBS_S2{ZRM%0}Y@|MKZ|~ek z#RDlX#bbFit#hRN6>E7nXV5+>-ff?{Us3&P-LGhN)()lqt*xZ9+wl(7D||e(wzJZ~dhmah|Xc=Lt)3o;dfc_wv3>$9Y2i(NCQ5 z_g($Ehj00PSLn6p-%ob`eB!!2?)kZ9kN@{P+VlB6&)MVd=lP#K?*9M({`YOYJOBMA zetysIslVC3o$rO;{Jx>{_t>33UsZaw_}jn#RC(PHcc|D`*Os-019#tThg~w?r=1#h z)9$DKE1!z*a`98qf9+FNe9Z2v!}L@Cf1ldDGN1Zpg^thvjqBi)m)C5UvQQEB+LIk| uWV>dsIk9tH|LEG?>xkE$^pCHN+5X$LC;#(ncds^>F_@?eZmU> literal 0 HcmV?d00001 diff --git a/tests/ref/coupler_ring.gds b/tests/ref/coupler_ring.gds new file mode 100644 index 0000000000000000000000000000000000000000..248af055ebca9214b42624d68504ae0396e9c8b1 GIT binary patch literal 2026 zcmbW&TWkzb9LMqh%Up_P2Gw1)C|C~7^ny6}>6e+6p zwd6`avC1GR>3%E@Ra@B@iUy+_MG8!oaW%WEr+1$E=%3V9+InQ+Tq&~r{#uWw)vsQ+ zW@RKAh&DDY6LYRep`QB9Ulxe?>nqC}ybYrDSGI{biYyZ@OXAPrF~wpZm&Q-bd6MN? zMkcReRB~i-x=LVeb2QkvY3#0>$coXvkk9KcPma7_(lbTxBSrFe zWky;hYj27(y-ClONtoRTR-&s)(sQ(eGF+rZMy0gi2x3<47U36m#$zI=E^Ydhihz zGHDo#@e>Xev9w?nh4OF`w&Hvdt1-_i?7*EOwi$Q=pJJCt&T{;KU&zu=BzGIuir86d z!m<4r-lT2Jt=O>>7l}CM;01g}M)J9WNFCQpd??~xOx7CY*mOz6GnK5vkz?~Ik-Pz9 z9)g?jEIuYPHT024J$*Bosi9NP`j(YJ6Kz{?99cQeUyTRwFqup62A;#$WFE__rr<54 zj$;8Di}4-O8|QjtZWsM8Sc->m1z87S6ffcivW`dcdG6v?G8*%2$2ZtQHpa&Np3qpm z`hGGb)qf<;^=911b?r7$&SZ3j1vXEWrkCTy` zHFY5Glc^fb)H;v!KxGXI&rdmu^iU~4^2?s25I+~*6Ya0|fkLgf-K57ZAS1f(0&e4N z)#!3-s#?nbs+!qm{Bafl literal 0 HcmV?d00001 diff --git a/tests/ref/coupler_ring_coupler_ring1.gds b/tests/ref/coupler_ring_coupler_ring1.gds new file mode 100644 index 0000000000000000000000000000000000000000..2e0993f85dc084dd78d6b6798adec5c02dcf915e GIT binary patch literal 2484 zcmbW3ZD?Cn7{{M`lbob^?`@3hEKP;_f^ThJx+W@fo7J%?qBwL;G)tOvtISri4i$Wv zLvT9ui~7ZZRKX2VQJhH8I?xXr_y!6N#fs=a#Sb!2zbG1i=iZy7jwE*W%kSQs=RD8< z{LeYhsVFhctukPk{*w}ve(}q&3@v|_u&H)Umusck{UQmEZ|(ZW$FDnf_*7wHVPyW` zwkpa#{YI1hZJ-e#4Vr_b6$8cJ_0TC53WkOWc6p>5fo_hVWp?bZpL{jS-6iH6# z?+x1Dy}csd9%sB^j}MAES7!;tJR-(#lCZO##}{GrIhwM#BO)=BAa666xEo zN4Z?_sMHmTE*-5_a6Nqg20|#Xs#q=U7`k-V&SX9_wm$Vzd7h zn_Ab@kaJ>#Ox$X$Zeg@oEllRpQ`sp|tBt)P;Q`-sg%IZok?3JB}sN9pkPW zk%P@D#ocqY()5m2pqxcorSMol_?V92!ZNFG8knjzEr``7UJZc{af~JOPs=t-wL}E4)y|w-1i7oqOQ~ zoQJoH_;sGU;ZgV)hxU5-68st-7wOpve}TU<%YKpIUbtB#gn`0y=mq!zwvpQi!DH}t zk;u*P4Y-6x^hHaMI??ao7b3Ac(7GP->^UM5--yBA8hjJphgNz_0)6pM;KOLtc^-j3z

V*5+RhbziccLW4`| zZ|B{bgHJN4zAwXXpniV`KeVsUz)?7jUvI<9As*7vBtT3Y-vWG#Gf)2_%s^_yzGodig3L#4 zg*ny<|Dq=#vC-Y|EXdk>@hdV9w?Jxn{y-DjJ%`}6@D?U4--QHlb zo}-ZSt{R<@z6*>^ve@2f&I?i#%*c$Fn{;XlvJus-#M)d=sQ@a zwzEo1pH_v-^Nnf^{;#U7{@b-`Xu+u(T4+>j@Jy<@|7$G2jdb^2Wwq~y&D*9!|4omL kmNVnI3R~y&d+7{(Z)NG~K;M4H0exbfRc`QK4tTxt56FV62LJ#7 literal 0 HcmV?d00001 diff --git a/tests/ref/coupler_ring_coupler_ring_e0bb2bc4.gds b/tests/ref/coupler_ring_coupler_ring_e0bb2bc4.gds new file mode 100644 index 0000000000000000000000000000000000000000..6d30276be468bada562a4b8a405dfd3faf6131df GIT binary patch literal 2492 zcmb7`ZD?Cn7{{M`Z*r36y|*#0wKNsx3%<2UleATt+pNl_h~m&W(JXIlmDx(xp@J`S z2u_E7QNJii6?BM-;zWwpfqvM)H&AdWRzwFXevpCsWuozS-;$t7Q}g9_@5yt{^FROd zoO7-y(e>>ztm%Q15|Tj)$a)!Vf0l@@_RN;+rTTp$NyEQk(_@p@9y@$$dS+>C@wpw_ zWZ2)m?~qcJ`F(fqsnv`1*|}ZC+IYE~Emv|PzMzPT>M|oLri;i$38T^Ye6-PMD3SC= zk0PlVtKFmB?(3(2pVMEn`-eoGZH*F)8zS28lC(!VhZdptSr%oDy;i;=*Ag96Hz0#N2$|QYNOJSrruawS;s53PQO2l!;j#7haKI7=>9&4+|TVk`T$GV!G z*oj`T>5WYdIVU#6#7%FNr^kyEwQ_!Xs+t!yr0o}p4Er~~ZTI2Xn#HM|_M5#LUHcO0 z_HoyZ$dP82;@*XNX?EA{g<`&tD-;UjlU>Jdi_BL_gu0PdMe%D>(K*s_$BPWes@0xS zsyRxzn#)XP@>Aq+E8VG7yV9-HPK6H~^hncb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HJmVfqsuT-|a?9BBq= amdPf@Mw7S7*&#TE^3s#VUL>;1OVEU|=u;Vg?2dNw)lg5<> P?Tqr1lNdvpSy&hV7_2p}f?*lF+=o#N5=Bcq0=- zBSUj@gNYxF+zr@B(ZRsL!o|QKBE*Ja)C0HXJ1p&YSQxk8VPX1dFma~50J@sZW{kU; T7+EK?u;>Cw7nVw978V8o4PQOZ delta 168 zcmaF!n&ZZ6jtPZAB0_ArnMFnUMe#{yhK7kIDHapw8)=KMp^Gvwuy8Rj09B_Zr6%Ua zrzgjkq#7C<8ZbV>ng2pfiQvlC;x6C(&S0WmWWvj8zG5VHX> zI}mdKF((jn0Wmia^8hg~5c6$!V&wN;%E&r>!7_ebAoXAwzbBB=TF!3{q)L|a`va+K H%lVxE>Eur9 delta 276 zcmZp;U^nA}-Govh5h1qR%%YB;dWsfNae2Jsdtsp*qt7@fr>*s#hq7csUMF@i7?5HkZY3lOscF&hxG12G2>a{@6J z5OV`D4-oSLG2iwgMt<+5!dwh&Qj81?3_Q}T4rySJF@4`MeqCV>B#8!~0w9?FW*NUH YBgb^J<^1MY<@1*F`(u^Zx18Sz0J_&g3;+NC diff --git a/tests/ref/gc_te1310_broadband.gds b/tests/ref/gc_te1310_broadband.gds index 5bf89339c48eb53e6f49b64e2311da9da557a798..f5f317d83657a8499a27315ccca12f3a549f0125 100644 GIT binary patch delta 195 zcmcbzTHwlRfeF=m210C^xdr(}CGqJg#qqhBMMe2V@yYo>p}f?*lF+=o#N5=Bcyp6v zizI{O#EHE|?gnh6=wM)A;bLGA5n@9(s`&^@`wC(02;wU7ytkO delta 198 zcmcbzTHwlRfeF<@B0_ArnMFnUMe)fg<|gJwiK!D;8p+DBv85)ZCg#ScC&!nh8X6lK z#3vQyC#EDN=A|%fj}u}!%p}agz$V4Wz`(#G&FUaI69i^WR}y8>MUn710|wIrL|Gaq r?w2tYVMDi$fq{jKfk93PkA=-jjO|K{Aj|~B%-fY1S$GARSy&hVQW!Tw diff --git a/tests/ref/gc_te1550.gds b/tests/ref/gc_te1550.gds index e11481db085c003b9e0129316813f25b0086e861..00ba3c11a49430ba6d23123e1e29ade2ce195b87 100644 GIT binary patch delta 212 zcmZ4Ro^8>4wh4uL210C^xdr(}CGqJg#qqhBMMe2V@yYo>p}f?*lF+=o#N5=BcoS1Y z6H_CT)QQbT?gnh6=wM)A;bLGA5n@9(YI@mrM)ip^;J1Mt>j`1))}LW3&|JVqlYEWME+6k!E#}oCyN6ra#%ns4L8Y zB#{ON8PkQfGdiP4_?!WQ>0#R$JtuCJ(FWR&<|+mT7A^(`pli|HHCcjDotcG&0RXV@ BI;#Kx diff --git a/tests/ref/gc_te1550_90nmSlab.gds b/tests/ref/gc_te1550_90nmSlab.gds index c313236de9e1df422c8e676d20726499316e2344..f59446d9ce3a0a8649cb4f9a3af0669f8f643429 100644 GIT binary patch delta 191 zcmZp8%lP08B0?AzP5hwF%)-I|0Cd+t8UO$Q delta 218 zcmaFxhOyx-{jZGA`VmERqDyi!omOmLMuV% diff --git a/tests/ref/gc_te1550_broadband.gds b/tests/ref/gc_te1550_broadband.gds index 8a2a84ae036cd9383ed7d916a0bfb5557a9c78f9..6009c07c12bce430a242eb1a774952cda623929c 100644 GIT binary patch delta 177 zcmZ2Am3Pln-U-!u210C^xdr(}CGqJg#qqhBMMe2V@yYo>p}f?*lF+=o#N5=Bcr&9k z6GP)v(}}%C?gnh6=wM)A;bLGA5n{tI>Wj0m2pfiQa|mO52qOqHZ4Y5&R`z6Mo!;fe GtN;MU=s7w7 delta 160 zcmdlpm3P%t-U-!0B0_ArnMFnUMe&Ko7Rd%_7A6x{8kvf)p^Gvwuy8Rj$O*BfCZ#6k z#-}I8m!uk+ni|9>73C+UBqiphFicirbe5H4!=s|Pg0a1V5rmnxS1>XwdkS+fut_m8 VFfi~)vpPu51c6!8=XfzI0011lE@=P& diff --git a/tests/ref/gc_tm1550.gds b/tests/ref/gc_tm1550.gds index 7977dfde6f9fcb390e7dd29ccce1c8301ac37c80..047bed5f74f0ad14eaef9f16222be5e5c0f1defb 100644 GIT binary patch delta 187 zcmey;$oj33bwZ(@fe>3}Zb5!gNql-raeQuOQBi(Td~!ZeC@(dyBs4ECF*h|O-XzJ$ z#M~^=Y+|#Ky8#<1Iv5yOxEL5jgxJuHntsZGQN8&k%l4Nnj61Cb(4{w?_|3$~I{6y2 SE|3&saR!n(EVaxmEDQj#tv*u# delta 189 zcmey?$oi#`bwZ(#h!9(DW>HaoQM|FKX=-w^fyKo6M#3U&Y^h19iMjFV$?+w*hNh+l z4BI(u8Gkbgb1|?dNX`U-S<_h@7o5S)8=d3T0WBSa+-L?NXhiG>Iv2^9DT zyq{U$Xs&EN-gj544@-CLoh=kIL$ub`>$UP}rBp@`0e0NLgPkw{7IQv7LG&>POrQ4< z2%er`nr#Xl#yKp{) RTN%xD(}laN+>rkr;0Ic`j=lf@ literal 0 HcmV?d00001 diff --git a/tests/ref/mmi1x2_mmi1x2_e0bb2bc4.gds b/tests/ref/mmi1x2_mmi1x2_e0bb2bc4.gds new file mode 100644 index 0000000000000000000000000000000000000000..048d31cf11cbf967145bc9fea608d0f0a7a81bf4 GIT binary patch literal 736 zcma))KTE?<6va8(TW>6HJlu6w%J=iPt?f+|GwE!ob*)w{okTm8g*cAly(PfQ0(w}%fgVu+=JGB- zLG(TajGuLtjgM0As;PTpzw$)w4jbQ$9nOm=(N`dKBGO4eg$GuffO9PK89le^Rczhe zPx^oGL?1Ul`CC@$LO9ORu*&^@zTDg2=9K-#Z&miTxvlp0AL_qf4thqem>uOS^5$XQ zW$M*lp#3arrw*cc_9dW>Sg(zmtpA~iKCgr_YN#MdIHCBj(vuFd2uw2hPTVc%!;;OF X=9OER9O8`zd(Cw5E?Te8dwci>N+gj~ literal 0 HcmV?d00001 diff --git a/tests/ref/mzi_mzi_a1fe9d55.gds b/tests/ref/mzi_mzi_a1fe9d55.gds new file mode 100644 index 0000000000000000000000000000000000000000..a10dd727d0a9c066a346ad8bebdaa4ac6d37dbdb GIT binary patch literal 24312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^>6@; zpydjPJ!v6$E*he<0bf(eD?D|_4U9`5ejCwR((nYtS3{mgaZilk_%lrk%koPxb~;TwuaA__m*=&l zp&-VmH5vnum>OTzXc`LL*s}%VtGNYIN9OOLA3yGb*rpW0)8S%>M%I3?0j`Dp(WMFg z0)7Y4ICT~z57NpYTBLD4I3o2P28pq4C%lh%+z9bG!vSA{iy#`=2f%G`GyH})xAR*c z?XzsKH=Ga8CqK@Dud((&w-+Nmi{k?A!8^-&{l{Dt_O(Hhb zfsem!%;7I0My+rxBwzhYh|w&_-*(1S4ur(5at1NN#!BYP{5NkU$oZ^^@JwQp4)MV; zA3jTrXglpANKN*%5F_H(6B~1_@Jcuj-a?GdfKS2o@Sns8J9_RUHjL>Rh4@~Dea?Cq zf*-;m#0Xuhu7UKax}F$41aBiYIBFR>_q`{4q3kQmg#FCm&#eMJn=RV6X6`Wo%8i}8Dn z^0_SA<#SrbSEug|?cR&#vfbMO@ugy4jO@9dUaYef_JlG&D!I_ZQ_fBYsXqP`1J_GU1eLMNE z0*2u)A-3m!0(0O5Y~KgX@OAR)Q8*h0Au-D)r%S6L`#mxU#}Ry^_8bqv2Vn?aP2Qqg z35H~0R}cKn%7El;=JRkgyZ}~^_r%IYEbWYUv6lTzcro>X?XFa{#en|qCnZ7 zm`mHuKR{~Hj6Ie$klM7I4-asy`g|^_6sut##~MVzr0-ryFmH>9tDjpY)cPQasiF0iEzB?}Yc5dK8o1B_8v(t~+n? H%x3XFw*M5^ literal 0 HcmV?d00001 diff --git a/tests/ref/ring_double_heater_ring_double_heater_f261383d.gds b/tests/ref/ring_double_heater_ring_double_heater_f261383d.gds new file mode 100644 index 0000000000000000000000000000000000000000..1648e92522b66d40604883044739c55fa3b7a3eb GIT binary patch literal 6658 zcmb`M33$`x9mn5X|Flh;Ha*iev}xL;wFPO?TMz_c$dHMscrmlIO`%euw8e8%R8SCP z!sanSMMVw=^U>iz8K`p#ouHg5$6!)msG#Tr9)M<_H~*x`N`cO2eV*`X-n_@}_x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G8V^ysEPOfOyo@l96&574Wz zRo?+!Dm72R{q*)!mExfgIZKYqznAbF?#cJ^=)Z?V{?DMxw{rPcadlVucM!3Gr%#al zj#t5-AcNz!be8D^CdozApx>SE(v1KamQDJ`a1X H*NguE*W?f0 literal 0 HcmV?d00001 diff --git a/tests/ref/ring_double_ring_double_64b48b6b.gds b/tests/ref/ring_double_ring_double_64b48b6b.gds new file mode 100644 index 0000000000000000000000000000000000000000..7b5d611713e791e411e00f7955f8f00ef3925256 GIT binary patch literal 3952 zcmbW432anV6o$`xGxMfQ>(YJw#rlLEgk0dc*Ptgl98y@G_^K2*0xmnZK}N`bv3mfw@6Ha zNxFW_HtEA!%TO?maacxe2sq*I^ZEW1ne?J``P&nPhkOEmlqil`?He}g_B<9`4D5p{7zx!YS^Jd8c+EoxVS5w)&OPf_==YKGQR zwREiKLjk1qbRhRO;Ky zUq$UcpP#$>=M|`*_5l0s<=*a(Oxzuz2xEeI*;RU5OI0L7?=3?G?6h>PsluymWf1;ft7GK9LrI4Gn@>MLa#{leAtX^`sv&T zm%-&Cu@3k$Tn9Ic#FfIY;Wl_gBz_#K(T(xnLDo-TE*Sxj!J9;E^I@AvqW&Cs2|fhB z5J^gcop2?coWsK_A6^UB!-XO#L*QGG=Z5kt#m6zGGQWKboGy~e8tMwT6|#03-%aR{ z#{W%KBI)ID4SWZloQ6evj4{i{$cPiz4UThtWJ1 z{tVkh@)(ak1s9=xBm4&bB9hNMvCN%+3)~OUB#wQ{rw8Kph!j+y{Y1zGAYT9e9@_K& zf_E>h7Dy^G9nBjov^r`ndkx$(nx7fho*)I6(9+B$j+~C`^Q7A-;Lk zMqwN*gVDtK8nnWEXd(~vaIyzE*gF3rKl0M|CySh%zrow!Pv~+2?uB*mb9DO=Qe%!O z@J)363a)}z!$;BmV|XVV4rj3+8{kAZ1TvPk9_B&z*BQZnqF(_zr#j$H_WNl_tafrP zSVBEK0c#<-6|h&yk3;fLwvp@a)X{QCJW09+k5FeT;Ega7QYSX%&m%8ep|Lj!ufsd2 zS9Hl6K^>!0E;_`cTkaO>oLqCsJ+1~4b1ZwGgVwS4z-M6+yoP>RgJ$@}42Q4MPrKk$ z*Z`@AXg*o5(0|Xv@$gbK?4&>ULt>0v0LvkHJHDllx52p(ogM631fR^c^!+AyIYfgD zVzaV-2K}jRM^o0$k9TqX~brkjJDLd1;5k@oI`ui_5geelB1cr zOhHF;4s7Q9I)b*R;Jc6*P4}VgSvUzUgy@*);~YE#?}oe4_8*7_w!7eiXiH72GvV!U zG}@B4>V(X%vgdKfIA>45dbk%&iCNhSXTWu6%9!#bybj)rmOJ1aI1*N)35iv)paHrl?3)>#6l_iH{316~ zB}4;t10-)1t#vA^Ah{|j24!i0z_{J=+|rDD32XQEeiZ%&P&c!-uCCZkqFp!I3w{IW zd)01kO8PrlT4MM2j^Hgy{UH3l6}%ILZYV)ZwCK;=3e{&0I6kMl= gh`O=tXGGz961wa4x+l?_{5vkubZsy1H)gZ^3;D9V`Tzg` literal 0 HcmV?d00001 diff --git a/tests/ref/ring_double_ring_double_a459ac5d.gds b/tests/ref/ring_double_ring_double_a459ac5d.gds new file mode 100644 index 0000000000000000000000000000000000000000..c1acbb746aba158d9d096c3425450fc4f81c041c GIT binary patch literal 3770 zcmbW432YQ)6oB8%?#}jZx5xHcdT+NV2;E++NEL)AAu5L;AiC+crBoYQ3KfZp^*}*9 z5H+Z1K%*RSQKH32RX`NPXbgfPM=&XB0A0V?*`tsiM3ef_>3_WU{qOy=E1Ib4 zRBtVd;Ht zhNiVP&TjD5HMjYi>b*7P6`q>fiaIgJh-4*ewaslUP4%tbz?ia{Qcq=VRm!#?y(pjd*3)sKFR3BSzjHT1*yH8l)u6hhTz;r3G@mTh78X3U@Kg60xSjT=)WX(zJu&VE8_)5Q!cGtKn`qRwU+T zI2j&=KJKOYu!SSn-vaG$8C)(B?|?7Eb#SvtLOJ{zZi7ce631bU`yuf=$o@&JB_rT5 zc$0{2K5Q3B*55ZT!H3`%A}J}b3$EmD$>Swi2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mTO`cpoH3rI*n5HR2|>;bV{-hJQ>x z4nuNOOdnz5DneJ78mVX}^ux>WLEeH-!297kxSD*w2tAN^LO+BHV486uzoBw?8$S2L z%i%4I+wUOLz<)QsABI$JB`u6E`6)gEnRmro;pgx<3f~9O?yH9LnGdJ&eE|L%GS|G{ z!za1+egS?I4&n>#-Veij;SDef8}UV+z4YO)fvgwb*I@`szl^IqpBT(zu`$l_;dkRz zKG+-oVy-ei2IJ$QKZ88WGl3?THd!yx8J+CBr^r_th5G2cQ+@0+LCHQ{fvb{zxFa+A zPgCEYNtNXGT6o7YrPuJV?KM1%zc=T#(iLm2s+!WL_oVI9dvbE0MGR~H9m)jHAhcu` zky^`QCi18A!_1qo!q*n^kE_BDO#SZ5oy)=-v?=47NiKu7Lf5mI$kOvlNqad5WGvp~ zykjiRtCPu$4)_~1$r^rMbh6%0LiRrYarhVmz&kZzK?#X;Np6A2f zqOZB9f5S%Gy4vc#=u`KN5Ah{FbGt)MOLSzcR?#joNGuYQj*S>~tghH~E_OM&AxAn_ zk~4Cmb4V_APF*?HIVbme3>XU;6B!#BBlno)<`rY9S7mVAoVVwm*vWWHEQQaQ-*o%w z_5xaDQJ`R%(DpiAD}3(M)++k%3u&eO6#UIdq2s6E&%Il*yYW7P9PvKFpL>$mE1&Ne86dXP$no0UNwM8{lnQMo7 z(%DR^qdT#>eZ#7oR;+7pU$tUG!ugM>>sO`+GFy9VZ_Nx2EYeOc_)IVSf6{ro>)11W l{&stH&fiX=CplfmuMQa%Rxhhj+S{~u4f$n)O2p?={|9C#zJCA! literal 0 HcmV?d00001 diff --git a/tests/ref/ring_single_heater_ring_single_heater_59bd74a4.gds b/tests/ref/ring_single_heater_ring_single_heater_59bd74a4.gds new file mode 100644 index 0000000000000000000000000000000000000000..d2aef0f1d5842bff9207abe89850c3354bea934b GIT binary patch literal 10856 zcmeI2dw7%e6~}+My=jv+ZF)`H(57jVloq5-?;;?#DMRLMDqdzxZ&0iPEjM*jrl_ds z1gA1VMMV*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+d=qV6hR;K^FwI62uF3B) zN#{Z|v%U+1nkFW6v3$t;A#fxl59PCu34ar>gf4tyZ4-5vAm5WeX7n^EP>v_&(stuv zNG%$%$Fvqwo2K*NUS2DCkwZpwGk(cg{2IhJLpA(@vl?5C+o4yZ?os$TXM2W5ad(*P z)w%OTIDf7~8rv_6_A@(uD?h$prXR`O2k+?Hp0q!afV0u3gy?+vbRg$zj943?dcE6z znVc{CWpaP1to+e<%Kft3Xn&+r&o|eH8J(CijaHB8hJfJ^}1>~B^d2A zT7*(aPKtyS1JODtGGteH8PO90J|L+*Rdqj0?Io`a_mtP2+AQrf?@4yaQ@!UY&+=0b z^2bjd@T2-gNrwH(($lF|vUMUs>*Gol_)&6{u@&8o4R^%lSpUzD4coj%UAMBkv3^ed zunp0!H=V0+7p%TKK)=7CAy`u_PkiEk3| z?j!ZV(`&r@$hRAw^yA$}G~j%QcOSV|#Ji6o-hHHtNJ}8zeT;V>@$N%H* n;|YJCb;93?MZTfO{N>$oe}fhNyDU!B>GE~lXOS+2(J1~4upm8V literal 0 HcmV?d00001 diff --git a/tests/ref/ring_single_heater_ring_single_heater_cc91df46.gds b/tests/ref/ring_single_heater_ring_single_heater_cc91df46.gds new file mode 100644 index 0000000000000000000000000000000000000000..bf5f1c80852eb6ced9df06f5b2c34ced60b5eea5 GIT binary patch literal 11258 zcmeI2d3;k<7RPV4m$qq>rfb@UHcgwPP>?3w1wj->9dz7A#WkiIRI6aiB08gtf{LKy zGA<)7s3_v#_|d@ub#NI+kr5XV7lgs3>IecNA6!8*-}_$DgwiGQ?onM< zZR>BV5443E{X(Q?8btJEv}>&$SxVRR&QSa0Dbs`1RZW3re|1ecZIwbDP1BvGqt1$S zp?5gE_9P*Ot`iCOK05Owt-Ct6FH?x&iw- zhQnLlS6fFF>bIp3+1JHdn#F)|&r_l?ZLA6gYU*1X{Y`!~+QctT!%%H&b5&JibzH3V z|L9Q+TY7vB)zmhInrmC)T4IfA_29Pj;k(Q{x6HhYriHq?f*qm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#URPR&Y;4efXrs#VPeb4Oe#t&s$^ggVP>^+>@@d2w)}&o z%MSeov!g;7WLWX&Wn(KYDN4*t&nRJF;b353<7HxCWMJcCVqjp<5nu+A4FCWCXJcSs zegUI_Lcc)bKmew};w*v;aQ!ai>gPnZpNoM_5#$OEexNHDzc7e^UBe2p7HH#d5X}I# zm9Q@6$6(bA%x@98c;I%4F#*GsO`MT|gMkO)W3VbVNw$1Lhz+>aGQWVUHG-&R2fB)d F0RZD=JNEzp literal 0 HcmV?d00001 diff --git a/tests/ref/straight_heater_metal_undercut_straight_heater_metal_undercut_with_undercutFalse.gds b/tests/ref/straight_heater_metal_undercut_straight_heater_metal_undercut_with_undercutFalse.gds index 0ff63a4886c6841d1783e8b98b3180c2794c5be8..a7be1f52726ac5034f74bb8b722b5df7d291ea40 100644 GIT binary patch literal 3312 zcmcImJ#5oJ6n=J`ODF-_P$eyjP+E0CAYq3#O_r#jiiH6NBz_j-#!eG8P1D#0%G41M z13L_r7+66tFfy^g&<(NiC#DV^Ktfc=+@0gtv2$@6l}Ogv*7v^m{JwYJ1rYH3b;xjh z>>G^0B*b6_vfg`0@Tgu}YALM^fbmGQbpFBorFYMFi;Hj0Zaukq6*5tFY#t%qXeqVj zsv%c3#n4*vs%9v4*=(pytdk0YiJEa*0pt0Ym_xv zElRVhc&-4D7>$7Q6UOYAR1)2;DY9-Tw$}B-z)~Cx99EyZ!{ACw1nM8)t z#C6XW^YewuQo-ii`51yiCpe5qWTF>dQ>0z7@avQt7lXdNOL=-%*BZ-4RcuNi!~xI| z9ymZpdCYaj?t^7n2tTRLitqo>OzoAvr(YkEHH-T9ooIvm+)>r7td}Aa9%Mx<6pCu4 zFe5qYskA~z6E9X(b7EeTTx@BRi7hS_i*s6D>hQjL!Ndl5-)EUvKQFg%g^Bg^a@XE6 zu>sx>yG(3=_xmj-*3Zk|c+AB5dHHn;gz{Su*=84(y@P}=PhDilUY+nbgg0Yfk0@nqk0@nu9)?G> zJ?60AWA;u0ka&B=ru&uF+Ft24GNF8ur~W{JCr_?Ivcz*qn_G(GI(NkF$!n z>$H9HDY`D#l?|;WNwO@;dhMPjiLxx=&DYCm15vrqsE`V$?UTT*Bf#j)S;E!XvUct| z7r^oR-phGU)`5EDop0~%bMp2)1Jg}=zSCsa4>8{)p3FCiA7;J>i4UJt7;3)LEB1V+ z&4ZqA+RgpUw^uu_%l6gI6m9KHJmkY@N8*WgBz_p}28sV)+L@Ryu;}aI{_HVtzFU?LVTUwXW7?c=Nc(v|lYx1Qf#f^1yuTR_ONO{1|= zxAi(UY;5YQ*fyGar&YyfrDN;&8+N_-?W)nVFo1Fl0G*IQ0(4R)s?d2E0FtL-0Maj* z7$+9uHPscii6J4SNF%I_J^F9AdApYhed ziCZgnU2T)SO!oGi)ED3a-)&M&M7~vBOFsW)nYxy}XRAL%)@n7c7O++%{V^N zsyJ)c|2XSPpX!5i0MwsblBnAZ+_LwFRb5ky#Zt8vrMjHus>|7H+<# zkWQZF-EUZy-ZVC_scE{d>Q>_+)>K{B$VU55ncLNUUinC`h;B%uaQC~N5UM1=nMeFd zY*Xtve`q(5DYN&0TK2zDDmjhVx%XDyw+2^1%IhVX#eF;_T#@^pDH%mUjw=vO9$FtV zX?nBSJDY=Q;wQb%1Bg>mYvb0<(&EtaB?TEK;gk&h@r<{-s#*`MX z3&~(i>Ba{k8H)LNUr2^x{&xB+!ro7I;fjb|H`BNP==D#f=8H^b-w}oU- zXY9$MkPO9i+CnlIQ^|Z2lEIkD({Ujg>}2KTrjQJt4rS+sM@GyZ|NZAFb5B42edD`H w=>0d@<}-bg?uOw08+H>>e>&5t{}E?;-~8&E-0li|6ErZRdXsd>{8AM74^ag8KL7v# diff --git a/tests/test_components.py b/tests/test_components.py index 3af02499..d7b828d0 100644 --- a/tests/test_components.py +++ b/tests/test_components.py @@ -18,6 +18,7 @@ "add_pins_bbox_siepic", "add_pads", "add_pins_bbox_siepic_remove_layers", + "import_gds", } cell_names = set(cells.keys()) - set(skip_test) dirpath_ref = pathlib.Path(__file__).absolute().parent / "ref" diff --git a/tests/test_components/test_pdk_settings_add_fiber_array_.yml b/tests/test_components/test_pdk_settings_add_fiber_array_.yml index 517c32f6..3409cf54 100644 --- a/tests/test_components/test_pdk_settings_add_fiber_array_.yml +++ b/tests/test_components/test_pdk_settings_add_fiber_array_.yml @@ -1,29 +1,16 @@ function: add_fiber_array info: - length: 10.0 - route_info_length: 10.0 + length: 1.0 + route_info_length: 1.0 route_info_type: xs_sc - route_info_weight: 10.0 - route_info_xs_sc_length: 10.0 + route_info_weight: 1.0 + route_info_xs_sc_length: 1.0 width: 0.5 module: ubcpdk.components name: add_fiber_array_add_fiber_array settings: component: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 component_name: null cross_section: xs_sc fanout_length: 0.0 @@ -32,25 +19,10 @@ settings: function: get_input_labels grating_coupler: function: gc_te1550 - info: null layer_label: - 10 - 0 optical_routing_type: 0 - post_process: null straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 with_loopback: false diff --git a/tests/test_components/test_pdk_settings_add_pads_dc_.yml b/tests/test_components/test_pdk_settings_add_pads_dc_.yml index 4d025a6e..ed8ffd79 100644 --- a/tests/test_components/test_pdk_settings_add_pads_dc_.yml +++ b/tests/test_components/test_pdk_settings_add_pads_dc_.yml @@ -1,7 +1,7 @@ function: add_electrical_pads_top_dc info: {} module: gdsfactory.routing.add_electrical_pads_top_dc -name: ring_single_heater_add_electrical_pads_top_dc_cc2475fe +name: ring_single_heater_add_electrical_pads_top_dc_984bbf2d settings: component: ring_single_heater get_bundle_function: @@ -11,7 +11,6 @@ settings: bend: function: wire_corner cross_section: xs_metal_routing - info: null pad_array: function: pad_array module: gdsfactory.components.pad @@ -28,14 +27,6 @@ settings: layer: - 12 - 0 - post_process: - function: add_pins_siepic - module: ubcpdk.tech - settings: - layer_pin: - - 1 - - 11 - port_type: placement size: - 75 - 75 @@ -43,7 +34,6 @@ settings: - 125 - 125 port_names: null - post_process: null select_ports: function: select_ports module: gdsfactory.port diff --git a/tests/test_components/test_pdk_settings_add_pads_rf_.yml b/tests/test_components/test_pdk_settings_add_pads_rf_.yml index b5c91837..873b53c5 100644 --- a/tests/test_components/test_pdk_settings_add_pads_rf_.yml +++ b/tests/test_components/test_pdk_settings_add_pads_rf_.yml @@ -1,11 +1,10 @@ function: add_electrical_pads_top info: {} module: gdsfactory.routing.add_electrical_pads_top -name: ring_single_heater_add_electrical_pads_top_cc2475fe +name: ring_single_heater_add_electrical_pads_top_984bbf2d settings: component: ring_single_heater direction: top - info: null layer: MTOP pad_array: function: pad_array @@ -23,14 +22,6 @@ settings: layer: - 12 - 0 - post_process: - function: add_pins_siepic - module: ubcpdk.tech - settings: - layer_pin: - - 1 - - 11 - port_type: placement size: - 75 - 75 @@ -38,7 +29,6 @@ settings: - 125 - 125 port_names: null - post_process: null select_ports: function: select_ports module: gdsfactory.port diff --git a/tests/test_components/test_pdk_settings_bend_s_.yml b/tests/test_components/test_pdk_settings_bend_s_.yml index 471a9d03..3da9531c 100644 --- a/tests/test_components/test_pdk_settings_bend_s_.yml +++ b/tests/test_components/test_pdk_settings_bend_s_.yml @@ -8,9 +8,7 @@ module: gdsfactory.components.bend_s name: bend_s settings: cross_section: xs_sc - info: null npoints: 99 - post_process: null size: - 11.0 - 1.8 diff --git a/tests/test_components/test_pdk_settings_coupler_.yml b/tests/test_components/test_pdk_settings_coupler_.yml index 182dbcae..bc04f258 100644 --- a/tests/test_components/test_pdk_settings_coupler_.yml +++ b/tests/test_components/test_pdk_settings_coupler_.yml @@ -3,49 +3,14 @@ info: length: 10.186 min_bend_radius: 11.857 module: gdsfactory.components.coupler -name: coupler_4abc60df +name: coupler settings: coupler_straight: function: coupler_straight coupler_symmetric: function: coupler_symmetric - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null + cross_section: xs_sc dx: 10.0 dy: 4.0 gap: 0.236 - info: null length: 20.0 - post_process: - function: add_pins_bbox_siepic diff --git a/tests/test_components/test_pdk_settings_coupler_ring_.yml b/tests/test_components/test_pdk_settings_coupler_ring_.yml index 15895216..d232a33d 100644 --- a/tests/test_components/test_pdk_settings_coupler_ring_.yml +++ b/tests/test_components/test_pdk_settings_coupler_ring_.yml @@ -1,7 +1,7 @@ function: coupler_ring info: {} module: gdsfactory.components.coupler_ring -name: coupler_ring_4abc60df +name: coupler_ring settings: bend: function: bend_euler @@ -9,44 +9,9 @@ settings: function: coupler90 coupler_straight: function: coupler_straight - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null + cross_section: xs_sc cross_section_bend: null gap: 0.2 - info: null length_extension: 3 length_x: 4.0 - post_process: - function: add_pins_bbox_siepic radius: 5.0 diff --git a/tests/test_components/test_pdk_settings_dbr_cavity_.yml b/tests/test_components/test_pdk_settings_dbr_cavity_.yml index f079899a..030952cd 100644 --- a/tests/test_components/test_pdk_settings_dbr_cavity_.yml +++ b/tests/test_components/test_pdk_settings_dbr_cavity_.yml @@ -5,42 +5,5 @@ name: dbr_cavity settings: coupler: function: coupler - module: gdsfactory.components.coupler - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic dbr: function: dbr diff --git a/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml b/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml index 9b41f639..9d68abcf 100644 --- a/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml +++ b/tests/test_components/test_pdk_settings_dbr_cavity_te_.yml @@ -9,43 +9,6 @@ settings: settings: coupler: function: coupler - module: gdsfactory.components.coupler - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic dbr: function: dbr component_name: null @@ -56,25 +19,10 @@ settings: function: get_input_labels grating_coupler: function: gc_te1550 - info: null layer_label: - 10 - 0 optical_routing_type: 0 - post_process: null straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 with_loopback: false diff --git a/tests/test_components/test_pdk_settings_ebeam_dc_te1550_.yml b/tests/test_components/test_pdk_settings_ebeam_dc_te1550_.yml index 7b07e047..bc04f258 100644 --- a/tests/test_components/test_pdk_settings_ebeam_dc_te1550_.yml +++ b/tests/test_components/test_pdk_settings_ebeam_dc_te1550_.yml @@ -3,7 +3,7 @@ info: length: 10.186 min_bend_radius: 11.857 module: gdsfactory.components.coupler -name: coupler_17b65cbd +name: coupler settings: coupler_straight: function: coupler_straight @@ -13,10 +13,4 @@ settings: dx: 10.0 dy: 4.0 gap: 0.236 - info: null length: 20.0 - post_process: - function: add_pins_bbox_siepic - module: ubcpdk.tech - settings: - remove_layers: true diff --git a/tests/test_components/test_pdk_settings_mmi1x2_.yml b/tests/test_components/test_pdk_settings_mmi1x2_.yml index 850bb6e8..57995a7a 100644 --- a/tests/test_components/test_pdk_settings_mmi1x2_.yml +++ b/tests/test_components/test_pdk_settings_mmi1x2_.yml @@ -1,47 +1,12 @@ function: mmi1x2 info: {} module: gdsfactory.components.mmi1x2 -name: mmi1x2_4abc60df +name: mmi1x2 settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null + cross_section: xs_sc gap_mmi: 0.25 - info: null length_mmi: 5.5 length_taper: 10.0 - post_process: - function: add_pins_bbox_siepic taper: function: taper width: null diff --git a/tests/test_components/test_pdk_settings_mzi_.yml b/tests/test_components/test_pdk_settings_mzi_.yml index c0da023d..ba1f5c4d 100644 --- a/tests/test_components/test_pdk_settings_mzi_.yml +++ b/tests/test_components/test_pdk_settings_mzi_.yml @@ -1,7 +1,7 @@ function: mzi info: {} module: gdsfactory.components.mzi -name: mzi_0e264d4b +name: mzi_f5c6fc9f settings: add_electrical_ports_bot: true add_optical_ports_arms: false @@ -13,33 +13,19 @@ settings: cross_section_x_top: null delta_length: 10.0 extend_ports_straight_x: null - info: null length_x: 0.1 length_y: 2.0 + min_length: 0.01 mirror_bot: false nbends: 2 port_e0_combiner: o3 port_e0_splitter: o3 port_e1_combiner: o2 port_e1_splitter: o2 - post_process: null splitter: function: ebeam_y_1550 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 straight_x_bot: null straight_x_top: null straight_y: null diff --git a/tests/test_components/test_pdk_settings_mzi_heater_.yml b/tests/test_components/test_pdk_settings_mzi_heater_.yml index dd8dd650..3850fb5a 100644 --- a/tests/test_components/test_pdk_settings_mzi_heater_.yml +++ b/tests/test_components/test_pdk_settings_mzi_heater_.yml @@ -1,7 +1,7 @@ function: mzi info: {} module: gdsfactory.components.mzi -name: mzi_5a8609eb +name: mzi_a1fe9d55 settings: add_electrical_ports_bot: true add_optical_ports_arms: false @@ -13,33 +13,19 @@ settings: cross_section_x_top: null delta_length: 10.0 extend_ports_straight_x: null - info: null length_x: 200 length_y: 2.0 + min_length: 0.01 mirror_bot: false nbends: 2 port_e0_combiner: o3 port_e0_splitter: o3 port_e1_combiner: o2 port_e1_splitter: o2 - post_process: null splitter: function: ebeam_y_1550 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 straight_x_bot: null straight_x_top: straight_heater_metal straight_y: null diff --git a/tests/test_components/test_pdk_settings_pad_.yml b/tests/test_components/test_pdk_settings_pad_.yml index 85fd0d7c..a7786a50 100644 --- a/tests/test_components/test_pdk_settings_pad_.yml +++ b/tests/test_components/test_pdk_settings_pad_.yml @@ -9,27 +9,18 @@ info: xsize: 75 ysize: 75 module: gdsfactory.components.pad -name: pad_a56a8c7f +name: pad_0210fbc6 settings: bbox_layers: - - 13 - 0 bbox_offsets: - -1.8 - info: null layer: - 12 - 0 port_inclusion: 0 port_orientation: null - post_process: - function: add_pins_siepic - module: ubcpdk.tech - settings: - layer_pin: - - 1 - - 11 - port_type: placement size: - 75 - 75 diff --git a/tests/test_components/test_pdk_settings_pad_array_.yml b/tests/test_components/test_pdk_settings_pad_array_.yml index 73852c30..173e3b95 100644 --- a/tests/test_components/test_pdk_settings_pad_array_.yml +++ b/tests/test_components/test_pdk_settings_pad_array_.yml @@ -3,10 +3,9 @@ info: xsize: 75 ysize: 75 module: gdsfactory.components.pad -name: pad_array_2e24007e +name: pad_array_25dc0e38 settings: columns: 6 - info: null orientation: 270 pad: function: pad @@ -20,18 +19,9 @@ settings: layer: - 12 - 0 - post_process: - function: add_pins_siepic - module: ubcpdk.tech - settings: - layer_pin: - - 1 - - 11 - port_type: placement size: - 75 - 75 - post_process: null rows: 1 spacing: - 125 diff --git a/tests/test_components/test_pdk_settings_ring_double_.yml b/tests/test_components/test_pdk_settings_ring_double_.yml index d7a7d687..a9cae3ce 100644 --- a/tests/test_components/test_pdk_settings_ring_double_.yml +++ b/tests/test_components/test_pdk_settings_ring_double_.yml @@ -1,61 +1,16 @@ function: ring_double info: {} module: gdsfactory.components.ring_double -name: ring_double_b0e5609f +name: ring_double_a459ac5d settings: bend: function: bend_euler coupler_ring: function: coupler_ring - module: gdsfactory.components.coupler_ring - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 bbox_layers: null bbox_offsets: null components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 radius: 10.0 radius_min: 5.0 sections: @@ -74,9 +29,6 @@ settings: simplify: null width: 0.5 width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null gap: 0.2 gap_top: null length_x: 0.01 @@ -84,16 +36,3 @@ settings: radius: 10.0 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 diff --git a/tests/test_components/test_pdk_settings_ring_double_heater_.yml b/tests/test_components/test_pdk_settings_ring_double_heater_.yml index db86f3dd..43c6d386 100644 --- a/tests/test_components/test_pdk_settings_ring_double_heater_.yml +++ b/tests/test_components/test_pdk_settings_ring_double_heater_.yml @@ -1,62 +1,17 @@ function: ring_double_heater info: {} module: gdsfactory.components.ring_double_heater -name: ring_double_heater_30105b49 +name: ring_double_heater_dde86d0f settings: bend: function: bend_euler coupler_ring: function: coupler_ring - module: gdsfactory.components.coupler_ring - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic coupler_ring_top: null cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 bbox_layers: null bbox_offsets: null components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 radius: 10.0 radius_min: 5.0 sections: @@ -75,9 +30,6 @@ settings: simplify: null width: 0.5 width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null cross_section_heater: xs_heater_metal cross_section_waveguide_heater: xs_sc_heater_metal gap: 0.2 @@ -88,19 +40,6 @@ settings: radius: 10.0 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 straight_heater: function: straight via_stack: diff --git a/tests/test_components/test_pdk_settings_ring_single_.yml b/tests/test_components/test_pdk_settings_ring_single_.yml index 433cd454..5d481b98 100644 --- a/tests/test_components/test_pdk_settings_ring_single_.yml +++ b/tests/test_components/test_pdk_settings_ring_single_.yml @@ -1,7 +1,7 @@ function: ring_single info: {} module: gdsfactory.components.ring_single -name: ring_single_f7a07c6e +name: ring_single_382b19ee settings: bend: function: bend_euler_sc @@ -9,55 +9,10 @@ settings: function: bend_euler coupler_ring: function: coupler_ring - module: gdsfactory.components.coupler_ring - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 bbox_layers: null bbox_offsets: null components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 radius: 10.0 radius_min: 5.0 sections: @@ -76,9 +31,6 @@ settings: simplify: null width: 0.5 width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null gap: 0.2 length_x: 4.0 length_y: 0.6 @@ -86,16 +38,3 @@ settings: radius: 10.0 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 diff --git a/tests/test_components/test_pdk_settings_ring_single_heater_.yml b/tests/test_components/test_pdk_settings_ring_single_heater_.yml index 8297d403..c93dfb19 100644 --- a/tests/test_components/test_pdk_settings_ring_single_heater_.yml +++ b/tests/test_components/test_pdk_settings_ring_single_heater_.yml @@ -1,7 +1,7 @@ function: ring_single_heater info: {} module: gdsfactory.components.ring_single_heater -name: ring_single_heater_2c28c6d4 +name: ring_single_heater_cc91df46 settings: bend: function: bend_euler @@ -9,55 +9,10 @@ settings: function: bend_euler coupler_ring: function: coupler_ring - module: gdsfactory.components.coupler_ring - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 bbox_layers: null bbox_offsets: null components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 radius: 10.0 radius_min: 5.0 sections: @@ -76,9 +31,6 @@ settings: simplify: null width: 0.5 width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null cross_section_waveguide_heater: xs_sc_heater_metal gap: 0.2 length_x: 4.0 @@ -87,19 +39,6 @@ settings: radius: 10.0 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 via_stack: function: via_stack module: gdsfactory.components.via_stack diff --git a/tests/test_components/test_pdk_settings_ring_with_crossing_.yml b/tests/test_components/test_pdk_settings_ring_with_crossing_.yml index 89e46b33..f279fddd 100644 --- a/tests/test_components/test_pdk_settings_ring_with_crossing_.yml +++ b/tests/test_components/test_pdk_settings_ring_with_crossing_.yml @@ -1,7 +1,7 @@ function: ring_single_dut info: {} module: gdsfactory.components.ring_single_dut -name: ring_single_dut_ec96572d +name: ring_single_dut_26538df6 settings: bend: function: bend_euler_sc @@ -9,43 +9,6 @@ settings: function: ebeam_crossing4_2ports coupler: function: coupler_ring - module: gdsfactory.components.coupler_ring - settings: - cross_section: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic - auto_widen: false - auto_widen_minimum_length: 200.0 - bbox_layers: null - bbox_offsets: null - components_along_path: [] - end_straight_length: 0.01 - gap: 3.0 - info: {} - min_length: 0.01 - radius: 10.0 - radius_min: 5.0 - sections: - - hidden: false - insets: null - layer: WG - name: _default - offset: 0.0 - offset_function: null - port_names: - - o1 - - o2 - port_types: - - optical - - optical - simplify: null - width: 0.5 - width_function: null - start_straight_length: 0.01 - taper_length: 10.0 - width_wide: null - post_process: - function: add_pins_bbox_siepic cross_section: xs_sc gap: 0.2 length_x: 4 @@ -54,17 +17,4 @@ settings: radius: 5.0 straight: function: straight - module: gdsfactory.components.straight - settings: - cross_section: xs_sc - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 with_component: true diff --git a/tests/test_components/test_pdk_settings_straight_.yml b/tests/test_components/test_pdk_settings_straight_.yml index 9e8609e4..d4e24ff4 100644 --- a/tests/test_components/test_pdk_settings_straight_.yml +++ b/tests/test_components/test_pdk_settings_straight_.yml @@ -1,25 +1,14 @@ function: straight info: - length: 10.0 - route_info_length: 10.0 + length: 1.0 + route_info_length: 1.0 route_info_type: xs_sc - route_info_weight: 10.0 - route_info_xs_sc_length: 10.0 + route_info_weight: 1.0 + route_info_xs_sc_length: 1.0 width: 0.5 -module: gdsfactory.components.straight -name: straight_af6b139c +module: ubcpdk.components +name: straight settings: cross_section: xs_sc - info: null - length: 10.0 + length: 1.0 npoints: 2 - post_process: - - function: add_padding - module: gdsfactory.add_padding - settings: - bottom: 0.5 - default: 0 - layers: - - - 68 - - 0 - top: 0.5 diff --git a/tests/test_components/test_pdk_settings_straight_heater_metal_.yml b/tests/test_components/test_pdk_settings_straight_heater_metal_.yml index 61ecb18b..68c076ad 100644 --- a/tests/test_components/test_pdk_settings_straight_heater_metal_.yml +++ b/tests/test_components/test_pdk_settings_straight_heater_metal_.yml @@ -17,5 +17,7 @@ settings: ohms_per_square: null port_orientation1: null port_orientation2: null + straight: + function: straight via_stack: via_stack_heater_mtop with_undercut: false diff --git a/tests/test_components/test_pdk_settings_straight_one_pin_.yml b/tests/test_components/test_pdk_settings_straight_one_pin_.yml index 6d949f67..f9a37ae2 100644 --- a/tests/test_components/test_pdk_settings_straight_one_pin_.yml +++ b/tests/test_components/test_pdk_settings_straight_one_pin_.yml @@ -7,8 +7,6 @@ settings: function: cross_section module: gdsfactory.cross_section settings: - add_pins_function_module: ubcpdk.tech - add_pins_function_name: add_pins_siepic bbox_layers: null bbox_offsets: null radius_min: 5 diff --git a/tests/test_components/test_pdk_settings_taper_.yml b/tests/test_components/test_pdk_settings_taper_.yml index d85384db..d9457867 100644 --- a/tests/test_components/test_pdk_settings_taper_.yml +++ b/tests/test_components/test_pdk_settings_taper_.yml @@ -7,7 +7,6 @@ module: gdsfactory.components.taper name: taper settings: cross_section: xs_sc - info: null length: 10.0 port: null port_order_name: @@ -16,7 +15,6 @@ settings: port_order_types: - optical - optical - post_process: null width1: 0.5 width2: null with_two_ports: true diff --git a/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml b/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml index 88845eb7..620e593e 100644 --- a/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml +++ b/tests/test_components/test_pdk_settings_via_stack_heater_mtop_.yml @@ -12,7 +12,6 @@ module: gdsfactory.components.via_stack name: via_stack_627f28a4 settings: correct_size: true - info: null layer_offsets: null layer_port: null layers: @@ -20,7 +19,6 @@ settings: - 0 - - 12 - 0 - post_process: null size: - 10 - 10 diff --git a/tests/test_netlists.py b/tests/test_netlists.py new file mode 100644 index 00000000..a6d5b688 --- /dev/null +++ b/tests/test_netlists.py @@ -0,0 +1,56 @@ +from __future__ import annotations + +import gdsfactory as gf +import jsondiff +import pytest +from omegaconf import OmegaConf +from pytest_regressions.data_regression import DataRegressionFixture + +from ubcpdk import PDK + +cells = PDK.cells +skip_test = { + "via_stack_heater_mtop", + "add_pins_bbox_siepic_metal", + "add_pins_bbox_siepic", + "add_pins_siepic", + "add_pins_siepic_metal", + "add_pads", + "dbr", + "dbg", + "import_gds", + "pad_array", + "add_pads_dc", +} +cell_names = cells.keys() - skip_test + + +@pytest.mark.parametrize("component_type", cell_names) +def test_netlists( + component_type: str, + data_regression: DataRegressionFixture, + check: bool = True, + component_factory=cells, +) -> None: + """Write netlists for hierarchical circuits. + Checks that both netlists are the same jsondiff does a hierarchical diff. + Component -> netlist -> Component -> netlist + + Args: + component_type: component type. + data_regression: regression testing fixture. + check: whether to check the netlist. + component_factory: component factory. + + """ + c = component_factory[component_type]() + n = c.get_netlist() + if check: + data_regression.check(n) + + yaml_str = OmegaConf.to_yaml(n, sort_keys=True) + c2 = gf.read.from_yaml(yaml_str, name=c.name) + n2 = c2.get_netlist() + + d = jsondiff.diff(n, n2) + assert len(d) == 0, d diff --git a/tests/test_netlists/test_netlists_add_fiber_array_.yml b/tests/test_netlists/test_netlists_add_fiber_array_.yml new file mode 100644 index 00000000..c4e8aaa8 --- /dev/null +++ b/tests/test_netlists/test_netlists_add_fiber_array_.yml @@ -0,0 +1,56 @@ +connections: {} +instances: + add_fiber_array_1: + component: add_fiber_array + info: + length: 1.0 + route_info_length: 1.0 + route_info_type: xs_sc + route_info_weight: 1.0 + route_info_xs_sc_length: 1.0 + width: 0.5 + settings: + bend: + function: bend_euler_sc + component: + function: straight + component_name: null + cross_section: xs_sc + dev_id: null + fanout_length: 0.0 + gc_port_labels: null + gc_port_name: o1 + get_input_label_text_function: + function: get_input_label_text + get_input_labels_function: + function: get_input_labels + grating_coupler: + function: gc_te1550 + id_placement: center + id_placement_offset: + - 0 + - 0 + io_rotation: null + layer_label: + - 10 + - 0 + optical_routing_type: 0 + select_ports: + function: select_ports + module: gdsfactory.port + settings: + port_type: optical + straight: + function: straight + text: null + with_loopback: false +name: add_fiber_array_add_fiber_array +placements: + add_fiber_array_1: + mirror: 0 + rotation: 270 + x: 0.0 + y: 0.0 +ports: + o1: add_fiber_array_1,o1 + o2: add_fiber_array_1,o2 diff --git a/tests/test_netlists/test_netlists_add_fiber_array_pads_rf_.yml b/tests/test_netlists/test_netlists_add_fiber_array_pads_rf_.yml new file mode 100644 index 00000000..1bf19c27 --- /dev/null +++ b/tests/test_netlists/test_netlists_add_fiber_array_pads_rf_.yml @@ -0,0 +1,152 @@ +connections: {} +instances: + add_fiber_array_1: + component: add_fiber_array + info: {} + settings: + bend: + function: bend_euler_sc + component: + function: add_electrical_pads_top + module: gdsfactory.routing.add_electrical_pads_top + settings: + component: + function: ring_single_heater + module: gdsfactory.components.ring_single_heater + settings: + bend: + function: bend_euler + bend_coupler: + function: bend_euler + coupler_ring: + function: coupler_ring + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_waveguide_heater: xs_sc_heater_metal + gap: 0.2 + length_x: 4.0 + length_y: 0.6 + port_orientation: null + radius: 10.0 + straight: + function: straight + via_stack: + function: via_stack + module: gdsfactory.components.via_stack + settings: + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + vias: + - null + - null + via_stack_offset: + - 0 + - 0 + direction: top + layer: MTOP + orientation: 0 + pad_array: + function: pad_array + module: gdsfactory.components.pad + settings: + pad: + function: pad + module: gdsfactory.components.pad + settings: + bbox_layers: + - - 13 + - 0 + bbox_offsets: + - -1.8 + layer: + - 12 + - 0 + size: + - 75 + - 75 + spacing: + - 125 + - 125 + port_names: null + select_ports: + function: select_ports + module: gdsfactory.port + settings: + port_type: electrical + spacing: + - 0.0 + - 100.0 + component_name: null + cross_section: xs_sc + dev_id: null + fanout_length: 0.0 + gc_port_labels: null + gc_port_name: o1 + get_input_label_text_function: + function: get_input_label_text + get_input_labels_function: + function: get_input_labels + grating_coupler: + function: gc_te1550 + id_placement: center + id_placement_offset: + - 0 + - 0 + io_rotation: null + layer_label: + - 10 + - 0 + optical_routing_type: 0 + select_ports: + function: select_ports + module: gdsfactory.port + settings: + port_type: optical + straight: + function: straight + text: null + with_loopback: false +name: add_fiber_array_pads_rf +placements: + add_fiber_array_1: + mirror: 0 + rotation: 270 + x: 0.0 + y: 0.0 +ports: + elec-ring_single_heater_cc91df46-1: add_fiber_array_1,elec-ring_single_heater_cc91df46-1 + elec-ring_single_heater_cc91df46-2: add_fiber_array_1,elec-ring_single_heater_cc91df46-2 + elec-ring_single_heater_cc91df46-3: add_fiber_array_1,elec-ring_single_heater_cc91df46-3 + elec-ring_single_heater_cc91df46-4: add_fiber_array_1,elec-ring_single_heater_cc91df46-4 + elec-ring_single_heater_cc91df46-5: add_fiber_array_1,elec-ring_single_heater_cc91df46-5 + elec-ring_single_heater_cc91df46-6: add_fiber_array_1,elec-ring_single_heater_cc91df46-6 + elec-ring_single_heater_cc91df46-7: add_fiber_array_1,elec-ring_single_heater_cc91df46-7 + elec-ring_single_heater_cc91df46-8: add_fiber_array_1,elec-ring_single_heater_cc91df46-8 + o1: add_fiber_array_1,o1 + o2: add_fiber_array_1,o2 diff --git a/tests/test_netlists/test_netlists_add_pads_.yml b/tests/test_netlists/test_netlists_add_pads_.yml new file mode 100644 index 00000000..5ebac3a1 --- /dev/null +++ b/tests/test_netlists/test_netlists_add_pads_.yml @@ -0,0 +1,489 @@ +connections: {} +instances: + pad_array_1: + component: pad_array + info: + xsize: 75 + ysize: 75 + settings: + columns: 8 + orientation: 270 + pad: + function: pad + module: gdsfactory.components.pad + settings: + bbox_layers: + - - 13 + - 0 + bbox_offsets: + - -1.8 + layer: + - 12 + - 0 + size: + - 75 + - 75 + rows: 1 + spacing: + - 125 + - 125 + ring_single_heater_1: + component: ring_single_heater + info: {} + settings: + bend: + function: bend_euler + bend_coupler: + function: bend_euler + coupler_ring: + function: coupler_ring + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_waveguide_heater: xs_sc_heater_metal + gap: 0.2 + length_x: 4.0 + length_y: 0.6 + port_orientation: null + radius: 10.0 + straight: + function: straight + via_stack: + function: via_stack + module: gdsfactory.components.via_stack + settings: + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + vias: + - null + - null + via_stack_offset: + - 0 + - 0 + route_quad_1: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -14.0 + - 0.0 + layer: + - 12 + - 0 + name: l_e1 + orientation: 180.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -439.5 + - 160.05 + layer: + - 12 + - 0 + name: e11 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_2: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -9.0 + - 5.0 + layer: + - 12 + - 0 + name: l_e2 + orientation: 90.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -314.5 + - 160.05 + layer: + - 12 + - 0 + name: e12 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_3: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -9.0 + - -5.0 + layer: + - 12 + - 0 + name: l_e4 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -189.5 + - 160.05 + layer: + - 12 + - 0 + name: e13 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_4: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -4.0 + - 0.0 + layer: + - 12 + - 0 + name: l_e3 + orientation: 0.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -64.5 + - 160.05 + layer: + - 12 + - 0 + name: e14 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_5: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 0.0 + - 0.0 + layer: + - 12 + - 0 + name: r_e1 + orientation: 180.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 60.5 + - 160.05 + layer: + - 12 + - 0 + name: e15 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_6: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 5.0 + - 5.0 + layer: + - 12 + - 0 + name: r_e2 + orientation: 90.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 185.5 + - 160.05 + layer: + - 12 + - 0 + name: e16 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_7: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 5.0 + - -5.0 + layer: + - 12 + - 0 + name: r_e4 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 310.5 + - 160.05 + layer: + - 12 + - 0 + name: e17 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_8: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 10.0 + - 0.0 + layer: + - 12 + - 0 + name: r_e3 + orientation: 0.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 435.5 + - 160.05 + layer: + - 12 + - 0 + name: e18 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null +name: add_pads +placements: + pad_array_1: + mirror: 0 + rotation: 0 + x: -439.5 + y: 160.05 + ring_single_heater_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_2: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_3: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_4: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_5: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_6: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_7: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_8: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + elec-ring_single_heater_cc91df46-1: pad_array_1,e18 + elec-ring_single_heater_cc91df46-2: pad_array_1,e17 + elec-ring_single_heater_cc91df46-3: pad_array_1,e16 + elec-ring_single_heater_cc91df46-4: pad_array_1,e15 + elec-ring_single_heater_cc91df46-5: pad_array_1,e14 + elec-ring_single_heater_cc91df46-6: pad_array_1,e13 + elec-ring_single_heater_cc91df46-7: pad_array_1,e12 + elec-ring_single_heater_cc91df46-8: pad_array_1,e11 + o1: ring_single_heater_1,o1 + o2: ring_single_heater_1,o2 +warnings: + electrical: + unconnected_ports: + - message: 8 unconnected electrical ports! + ports: + - ring_single_heater_1,l_e1 + - ring_single_heater_1,l_e2 + - ring_single_heater_1,l_e3 + - ring_single_heater_1,l_e4 + - ring_single_heater_1,r_e1 + - ring_single_heater_1,r_e2 + - ring_single_heater_1,r_e3 + - ring_single_heater_1,r_e4 + values: + - - -14.0 + - 0.0 + - - -9.0 + - 5.0 + - - -4.0 + - 0.0 + - - -9.0 + - -5.0 + - - 0.0 + - 0.0 + - - 5.0 + - 5.0 + - - 10.0 + - 0.0 + - - 5.0 + - -5.0 + optical: + unconnected_ports: + - message: 16 unconnected optical ports! + ports: + - route_quad_1,e1 + - route_quad_1,e2 + - route_quad_2,e1 + - route_quad_2,e2 + - route_quad_3,e1 + - route_quad_3,e2 + - route_quad_4,e1 + - route_quad_4,e2 + - route_quad_5,e1 + - route_quad_5,e2 + - route_quad_6,e1 + - route_quad_6,e2 + - route_quad_7,e1 + - route_quad_7,e2 + - route_quad_8,e1 + - route_quad_8,e2 + values: + - - -14.0 + - 0.0 + - - -439.5 + - 160.05 + - - -9.0 + - 5.0 + - - -314.5 + - 160.05 + - - -9.0 + - -5.0 + - - -189.5 + - 160.05 + - - -4.0 + - 0.0 + - - -64.5 + - 160.05 + - - 0.0 + - 0.0 + - - 60.5 + - 160.05 + - - 5.0 + - 5.0 + - - 185.5 + - 160.05 + - - 5.0 + - -5.0 + - - 310.5 + - 160.05 + - - 10.0 + - 0.0 + - - 435.5 + - 160.05 diff --git a/tests/test_netlists/test_netlists_add_pads_rf_.yml b/tests/test_netlists/test_netlists_add_pads_rf_.yml new file mode 100644 index 00000000..d994d81d --- /dev/null +++ b/tests/test_netlists/test_netlists_add_pads_rf_.yml @@ -0,0 +1,489 @@ +connections: {} +instances: + pad_array_1: + component: pad_array + info: + xsize: 75 + ysize: 75 + settings: + columns: 8 + orientation: 270 + pad: + function: pad + module: gdsfactory.components.pad + settings: + bbox_layers: + - - 13 + - 0 + bbox_offsets: + - -1.8 + layer: + - 12 + - 0 + size: + - 75 + - 75 + rows: 1 + spacing: + - 125 + - 125 + ring_single_heater_1: + component: ring_single_heater + info: {} + settings: + bend: + function: bend_euler + bend_coupler: + function: bend_euler + coupler_ring: + function: coupler_ring + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_waveguide_heater: xs_sc_heater_metal + gap: 0.2 + length_x: 4.0 + length_y: 0.6 + port_orientation: null + radius: 10.0 + straight: + function: straight + via_stack: + function: via_stack + module: gdsfactory.components.via_stack + settings: + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + vias: + - null + - null + via_stack_offset: + - 0 + - 0 + route_quad_1: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -14.0 + - 0.0 + layer: + - 12 + - 0 + name: l_e1 + orientation: 180.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -439.5 + - 160.05 + layer: + - 12 + - 0 + name: e11 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_2: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -9.0 + - 5.0 + layer: + - 12 + - 0 + name: l_e2 + orientation: 90.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -314.5 + - 160.05 + layer: + - 12 + - 0 + name: e12 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_3: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -9.0 + - -5.0 + layer: + - 12 + - 0 + name: l_e4 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -189.5 + - 160.05 + layer: + - 12 + - 0 + name: e13 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_4: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - -4.0 + - 0.0 + layer: + - 12 + - 0 + name: l_e3 + orientation: 0.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - -64.5 + - 160.05 + layer: + - 12 + - 0 + name: e14 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_5: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 0.0 + - 0.0 + layer: + - 12 + - 0 + name: r_e1 + orientation: 180.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 60.5 + - 160.05 + layer: + - 12 + - 0 + name: e15 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_6: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 5.0 + - 5.0 + layer: + - 12 + - 0 + name: r_e2 + orientation: 90.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 185.5 + - 160.05 + layer: + - 12 + - 0 + name: e16 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_7: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 5.0 + - -5.0 + layer: + - 12 + - 0 + name: r_e4 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 310.5 + - 160.05 + layer: + - 12 + - 0 + name: e17 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null + route_quad_8: + component: route_quad + info: {} + settings: + layer: MTOP + manhattan_target_step: null + port1: + center: + - 10.0 + - 0.0 + layer: + - 12 + - 0 + name: r_e3 + orientation: 0.0 + port_type: electrical + shear_angle: null + width: 10.0 + port2: + center: + - 435.5 + - 160.05 + layer: + - 12 + - 0 + name: e18 + orientation: 270.0 + port_type: electrical + shear_angle: null + width: 75 + width1: null + width2: null +name: ring_single_heater_add_electrical_pads_top_984bbf2d +placements: + pad_array_1: + mirror: 0 + rotation: 0 + x: -439.5 + y: 160.05 + ring_single_heater_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_2: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_3: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_4: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_5: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_6: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_7: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + route_quad_8: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + elec-ring_single_heater_cc91df46-1: pad_array_1,e18 + elec-ring_single_heater_cc91df46-2: pad_array_1,e17 + elec-ring_single_heater_cc91df46-3: pad_array_1,e16 + elec-ring_single_heater_cc91df46-4: pad_array_1,e15 + elec-ring_single_heater_cc91df46-5: pad_array_1,e14 + elec-ring_single_heater_cc91df46-6: pad_array_1,e13 + elec-ring_single_heater_cc91df46-7: pad_array_1,e12 + elec-ring_single_heater_cc91df46-8: pad_array_1,e11 + o1: ring_single_heater_1,o1 + o2: ring_single_heater_1,o2 +warnings: + electrical: + unconnected_ports: + - message: 8 unconnected electrical ports! + ports: + - ring_single_heater_1,l_e1 + - ring_single_heater_1,l_e2 + - ring_single_heater_1,l_e3 + - ring_single_heater_1,l_e4 + - ring_single_heater_1,r_e1 + - ring_single_heater_1,r_e2 + - ring_single_heater_1,r_e3 + - ring_single_heater_1,r_e4 + values: + - - -14.0 + - 0.0 + - - -9.0 + - 5.0 + - - -4.0 + - 0.0 + - - -9.0 + - -5.0 + - - 0.0 + - 0.0 + - - 5.0 + - 5.0 + - - 10.0 + - 0.0 + - - 5.0 + - -5.0 + optical: + unconnected_ports: + - message: 16 unconnected optical ports! + ports: + - route_quad_1,e1 + - route_quad_1,e2 + - route_quad_2,e1 + - route_quad_2,e2 + - route_quad_3,e1 + - route_quad_3,e2 + - route_quad_4,e1 + - route_quad_4,e2 + - route_quad_5,e1 + - route_quad_5,e2 + - route_quad_6,e1 + - route_quad_6,e2 + - route_quad_7,e1 + - route_quad_7,e2 + - route_quad_8,e1 + - route_quad_8,e2 + values: + - - -14.0 + - 0.0 + - - -439.5 + - 160.05 + - - -9.0 + - 5.0 + - - -314.5 + - 160.05 + - - -9.0 + - -5.0 + - - -189.5 + - 160.05 + - - -4.0 + - 0.0 + - - -64.5 + - 160.05 + - - 0.0 + - 0.0 + - - 60.5 + - 160.05 + - - 5.0 + - 5.0 + - - 185.5 + - 160.05 + - - 5.0 + - -5.0 + - - 310.5 + - 160.05 + - - 10.0 + - 0.0 + - - 435.5 + - 160.05 diff --git a/tests/test_netlists/test_netlists_bend_.yml b/tests/test_netlists/test_netlists_bend_.yml new file mode 100644 index 00000000..171d3c42 --- /dev/null +++ b/tests/test_netlists/test_netlists_bend_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: bend_euler_sc +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_bend_euler180_sc_.yml b/tests/test_netlists/test_netlists_bend_euler180_sc_.yml new file mode 100644 index 00000000..6114b46d --- /dev/null +++ b/tests/test_netlists/test_netlists_bend_euler180_sc_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: bend_euler_sc_angle180 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_bend_euler_sc_.yml b/tests/test_netlists/test_netlists_bend_euler_sc_.yml new file mode 100644 index 00000000..171d3c42 --- /dev/null +++ b/tests/test_netlists/test_netlists_bend_euler_sc_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: bend_euler_sc +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_bend_s_.yml b/tests/test_netlists/test_netlists_bend_s_.yml new file mode 100644 index 00000000..907247aa --- /dev/null +++ b/tests/test_netlists/test_netlists_bend_s_.yml @@ -0,0 +1,35 @@ +connections: {} +instances: + bezier_1: + component: bezier + info: + end_angle: 0 + length: 11.206 + min_bend_radius: 13.012 + start_angle: 0 + settings: + bend_radius_error_type: null + control_points: + - - 0 + - 0 + - - 5.5 + - 0 + - - 5.5 + - 1.8 + - - 11.0 + - 1.8 + cross_section: xs_sc + end_angle: null + npoints: 99 + start_angle: null + with_manhattan_facing_angles: true +name: bend_s +placements: + bezier_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: bezier_1,o1 + o2: bezier_1,o2 diff --git a/tests/test_netlists/test_netlists_coupler_.yml b/tests/test_netlists/test_netlists_coupler_.yml new file mode 100644 index 00000000..79540eb5 --- /dev/null +++ b/tests/test_netlists/test_netlists_coupler_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: coupler +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_coupler_ring_.yml b/tests/test_netlists/test_netlists_coupler_ring_.yml new file mode 100644 index 00000000..c0570ace --- /dev/null +++ b/tests/test_netlists/test_netlists_coupler_ring_.yml @@ -0,0 +1,246 @@ +connections: + coupler90_1,o1: coupler_straight_1,o1 + coupler90_1,o2: coupler_straight_1,o2 + coupler90_1,o4: straight_1,o2 + coupler90_2,o1: coupler_straight_1,o4 + coupler90_2,o2: coupler_straight_1,o3 + coupler90_2,o4: straight_2,o1 +instances: + coupler90_1: + component: coupler90 + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_bend: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 5.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + gap: 0.2 + radius: 5.0 + straight: + function: straight + coupler90_2: + component: coupler90 + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_bend: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 5.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + gap: 0.2 + radius: 5.0 + straight: + function: straight + coupler_straight_1: + component: coupler_straight + info: {} + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + gap: 0.2 + length: 4.0 + straight: + function: straight + straight_1: + component: straight + info: + length: 3 + route_info_length: 3.0 + route_info_type: xs_sc + route_info_weight: 3.0 + route_info_xs_sc_length: 3.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 3 + npoints: 2 + straight_2: + component: straight + info: + length: 3 + route_info_length: 3.0 + route_info_type: xs_sc + route_info_weight: 3.0 + route_info_xs_sc_length: 3.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 3 + npoints: 2 +name: coupler_ring +placements: + coupler90_1: + mirror: true + rotation: 180 + x: -4.0 + y: 0.0 + coupler90_2: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + coupler_straight_1: + mirror: 0 + rotation: 0 + x: -4.0 + y: 0.0 + straight_1: + mirror: 0 + rotation: 0 + x: -12.0 + y: 0.0 + straight_2: + mirror: 0 + rotation: 0 + x: 5.0 + y: 0.0 +ports: + o1: straight_1,o1 + o2: coupler90_1,o3 + o3: coupler90_2,o3 + o4: straight_2,o2 diff --git a/tests/test_netlists/test_netlists_dbr_cavity_.yml b/tests/test_netlists/test_netlists_dbr_cavity_.yml new file mode 100644 index 00000000..12d6b47f --- /dev/null +++ b/tests/test_netlists/test_netlists_dbr_cavity_.yml @@ -0,0 +1,60 @@ +connections: + coupler_1,o2: dbr_1,o1 + coupler_1,o3: dbr_2,o1 +instances: + coupler_1: + component: coupler + info: + length: 10.19 + min_bend_radius: 11.744 + settings: + gap: 0.2 + length: 0.1 + dbr_1: + component: dbr + info: {} + settings: + cross_section: + function: cross_section + module: gdsfactory.cross_section + settings: + radius_min: 5 + dw: 0.1 + l1: 0.079406 + l2: 0.079406 + n: 100 + w0: 0.5 + dbr_2: + component: dbr + info: {} + settings: + cross_section: + function: cross_section + module: gdsfactory.cross_section + settings: + radius_min: 5 + dw: 0.1 + l1: 0.079406 + l2: 0.079406 + n: 100 + w0: 0.5 +name: dbr_cavity +placements: + coupler_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + dbr_1: + mirror: 0 + rotation: 180 + x: -10.079 + y: 2.35 + dbr_2: + mirror: 0 + rotation: 0 + x: 10.179 + y: 2.35 +ports: + o1: coupler_1,o1 + o2: coupler_1,o4 diff --git a/tests/test_netlists/test_netlists_dbr_cavity_te_.yml b/tests/test_netlists/test_netlists_dbr_cavity_te_.yml new file mode 100644 index 00000000..cf512432 --- /dev/null +++ b/tests/test_netlists/test_netlists_dbr_cavity_te_.yml @@ -0,0 +1,56 @@ +connections: {} +instances: + add_fiber_array_1: + component: add_fiber_array + info: {} + settings: + bend: + function: bend_euler_sc + component: + function: dbr_cavity + module: ubcpdk.components + settings: + coupler: + function: coupler + dbr: + function: dbr + component_name: null + cross_section: xs_sc + dev_id: null + fanout_length: 0.0 + gc_port_labels: null + gc_port_name: o1 + get_input_label_text_function: + function: get_input_label_text + get_input_labels_function: + function: get_input_labels + grating_coupler: + function: gc_te1550 + id_placement: center + id_placement_offset: + - 0 + - 0 + io_rotation: null + layer_label: + - 10 + - 0 + optical_routing_type: 0 + select_ports: + function: select_ports + module: gdsfactory.port + settings: + port_type: optical + straight: + function: straight + text: null + with_loopback: false +name: add_fiber_array_add_fiber_array_componentdbr_cavity +placements: + add_fiber_array_1: + mirror: 0 + rotation: 270 + x: 0.0 + y: 0.0 +ports: + o1: add_fiber_array_1,o1 + o2: add_fiber_array_1,o2 diff --git a/tests/test_netlists/test_netlists_ebeam_BondPad_.yml b/tests/test_netlists/test_netlists_ebeam_BondPad_.yml new file mode 100644 index 00000000..541b3606 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_BondPad_.yml @@ -0,0 +1,14 @@ +connections: {} +instances: + BondPad$1_1: + component: BondPad$1 + info: {} + settings: {} +name: ebeam_BondPad +placements: + BondPad$1_1: + mirror: 0 + rotation: 180 + x: 50.0 + y: 50.0 +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_adiabatic_te1550_.yml b/tests/test_netlists/test_netlists_ebeam_adiabatic_te1550_.yml new file mode 100644 index 00000000..bd0f31c0 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_adiabatic_te1550_.yml @@ -0,0 +1,14 @@ +connections: {} +instances: + Adiabatic3dB_TE_FullEtch_1: + component: Adiabatic3dB_TE_FullEtch + info: {} + settings: {} +name: ebeam_adiabatic_te1550 +placements: + Adiabatic3dB_TE_FullEtch_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_adiabatic_tm1550_.yml b/tests/test_netlists/test_netlists_ebeam_adiabatic_tm1550_.yml new file mode 100644 index 00000000..dbd72e5e --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_adiabatic_tm1550_.yml @@ -0,0 +1,14 @@ +connections: {} +instances: + Adiabatic3dB_TM_FullEtch_1: + component: Adiabatic3dB_TM_FullEtch + info: {} + settings: {} +name: ebeam_adiabatic_tm1550 +placements: + Adiabatic3dB_TM_FullEtch_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_bdc_te1550_.yml b/tests/test_netlists/test_netlists_ebeam_bdc_te1550_.yml new file mode 100644 index 00000000..69d57661 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_bdc_te1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_bdc_te1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_bdc_tm1550_.yml b/tests/test_netlists/test_netlists_ebeam_bdc_tm1550_.yml new file mode 100644 index 00000000..61f5b68c --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_bdc_tm1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_bdc_tm1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_crossing4_.yml b/tests/test_netlists/test_netlists_ebeam_crossing4_.yml new file mode 100644 index 00000000..839ef78f --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_crossing4_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_crossing4 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_crossing4_2ports_.yml b/tests/test_netlists/test_netlists_ebeam_crossing4_2ports_.yml new file mode 100644 index 00000000..a37fb35f --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_crossing4_2ports_.yml @@ -0,0 +1,66 @@ +connections: + ebeam_crossing4_1,o2: straight_one_pin_1,o1 + ebeam_crossing4_1,o4: straight_one_pin_2,o1 +instances: + ebeam_crossing4_1: + component: ebeam_crossing4 + info: + library: Design kits/ebeam + model: ebeam_crossing4 + settings: {} + straight_one_pin_1: + component: straight_one_pin + info: {} + settings: + cross_section: + function: cross_section + module: gdsfactory.cross_section + settings: + bbox_layers: null + bbox_offsets: null + radius_min: 5 + length: 1 + straight_one_pin_2: + component: straight_one_pin + info: {} + settings: + cross_section: + function: cross_section + module: gdsfactory.cross_section + settings: + bbox_layers: null + bbox_offsets: null + radius_min: 5 + length: 1 +name: ebeam_crossing4_2ports +placements: + ebeam_crossing4_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + straight_one_pin_1: + mirror: 0 + rotation: 90 + x: 0.0 + y: 4.8 + straight_one_pin_2: + mirror: 0 + rotation: 270 + x: 0.0 + y: -4.8 +ports: + o1: ebeam_crossing4_1,o1 + o4: ebeam_crossing4_1,o3 +warnings: + optical: + unconnected_ports: + - message: 2 unconnected optical ports! + ports: + - straight_one_pin_1,o2 + - straight_one_pin_2,o2 + values: + - - 0.0 + - 5.8 + - - -0.0 + - -5.8 diff --git a/tests/test_netlists/test_netlists_ebeam_dc_halfring_straight_.yml b/tests/test_netlists/test_netlists_ebeam_dc_halfring_straight_.yml new file mode 100644 index 00000000..01990fcc --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_dc_halfring_straight_.yml @@ -0,0 +1,21 @@ +connections: {} +instances: + coupler_ring_1: + component: coupler_ring + info: {} + settings: + gap: 0.2 + length_x: 4.0 + radius: 5.0 +name: ebeam_dc_halfring_straight +placements: + coupler_ring_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: coupler_ring_1,o1 + o2: coupler_ring_1,o2 + o3: coupler_ring_1,o3 + o4: coupler_ring_1,o4 diff --git a/tests/test_netlists/test_netlists_ebeam_dc_te1550_.yml b/tests/test_netlists/test_netlists_ebeam_dc_te1550_.yml new file mode 100644 index 00000000..79540eb5 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_dc_te1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: coupler +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_splitter_adiabatic_swg_te1550_.yml b/tests/test_netlists/test_netlists_ebeam_splitter_adiabatic_swg_te1550_.yml new file mode 100644 index 00000000..a7a7816f --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_splitter_adiabatic_swg_te1550_.yml @@ -0,0 +1,14 @@ +connections: {} +instances: + Han_SWGA3dB_1: + component: Han_SWGA3dB + info: {} + settings: {} +name: ebeam_splitter_adiabatic_swg_te1550 +placements: + Han_SWGA3dB_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1310_.yml b/tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1310_.yml new file mode 100644 index 00000000..798daa5c --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1310_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_splitter_swg_assist_te1310 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1550_.yml b/tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1550_.yml new file mode 100644 index 00000000..c10b5266 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_splitter_swg_assist_te1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_splitter_swg_assist_te1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_swg_edgecoupler_.yml b/tests/test_netlists/test_netlists_ebeam_swg_edgecoupler_.yml new file mode 100644 index 00000000..fe0256a6 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_swg_edgecoupler_.yml @@ -0,0 +1,14 @@ +connections: {} +instances: + EC_1: + component: EC + info: {} + settings: {} +name: ebeam_swg_edgecoupler +placements: + EC_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_terminator_te1310_.yml b/tests/test_netlists/test_netlists_ebeam_terminator_te1310_.yml new file mode 100644 index 00000000..3dd60240 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_terminator_te1310_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_terminator_te1310 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_terminator_te1550_.yml b/tests/test_netlists/test_netlists_ebeam_terminator_te1550_.yml new file mode 100644 index 00000000..e74c67a2 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_terminator_te1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_terminator_te1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_terminator_tm1550_.yml b/tests/test_netlists/test_netlists_ebeam_terminator_tm1550_.yml new file mode 100644 index 00000000..9b78a545 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_terminator_tm1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_terminator_tm1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_y_1550_.yml b/tests/test_netlists/test_netlists_ebeam_y_1550_.yml new file mode 100644 index 00000000..fe43e0a2 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_y_1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_y_1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_y_adiabatic_.yml b/tests/test_netlists/test_netlists_ebeam_y_adiabatic_.yml new file mode 100644 index 00000000..a148d846 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_y_adiabatic_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_y_adiabatic +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_y_adiabatic_1310_.yml b/tests/test_netlists/test_netlists_ebeam_y_adiabatic_1310_.yml new file mode 100644 index 00000000..dbde4db2 --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_y_adiabatic_1310_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: ebeam_y_adiabatic_1310 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ebeam_y_adiabatic_tapers_.yml b/tests/test_netlists/test_netlists_ebeam_y_adiabatic_tapers_.yml new file mode 100644 index 00000000..b2ee9bca --- /dev/null +++ b/tests/test_netlists/test_netlists_ebeam_y_adiabatic_tapers_.yml @@ -0,0 +1,95 @@ +connections: + import_gds_1,o1: taper_1,o2 + import_gds_1,o2: taper_2,o2 + import_gds_1,o3: taper_3,o2 +instances: + import_gds_1: + component: import_gds + info: + library: Design kits/ebeam + model: ebeam_y_adiabatic + settings: + gdspath: ebeam_y_adiabatic.gds + taper_1: + component: taper + info: + length: 10.0 + width1: 0.5 + width2: 0.45 + settings: + cross_section: xs_sc + length: 10.0 + port: null + port_order_name: + - o1 + - o2 + port_order_types: + - optical + - optical + width1: 0.5 + width2: 0.45 + with_two_ports: true + taper_2: + component: taper + info: + length: 10.0 + width1: 0.5 + width2: 0.45 + settings: + cross_section: xs_sc + length: 10.0 + port: null + port_order_name: + - o1 + - o2 + port_order_types: + - optical + - optical + width1: 0.5 + width2: 0.45 + with_two_ports: true + taper_3: + component: taper + info: + length: 10.0 + width1: 0.5 + width2: 0.45 + settings: + cross_section: xs_sc + length: 10.0 + port: null + port_order_name: + - o1 + - o2 + port_order_types: + - optical + - optical + width1: 0.5 + width2: 0.45 + with_two_ports: true +name: ebeam_y_adiabatic_tapers +placements: + import_gds_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + taper_1: + mirror: 0 + rotation: 0 + x: -9.95 + y: 0.0 + taper_2: + mirror: 0 + rotation: 180 + x: 60.05 + y: 1.25 + taper_3: + mirror: 0 + rotation: 180 + x: 60.05 + y: -1.25 +ports: + o1: taper_1,o1 + o2: taper_2,o1 + o3: taper_3,o1 diff --git a/tests/test_netlists/test_netlists_gc_te1310_.yml b/tests/test_netlists/test_netlists_gc_te1310_.yml new file mode 100644 index 00000000..e17e3b9a --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_te1310_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_te1310 + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_te1310.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_te1310 +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_gc_te1310_8deg_.yml b/tests/test_netlists/test_netlists_gc_te1310_8deg_.yml new file mode 100644 index 00000000..98aa4c0e --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_te1310_8deg_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_te1310_8deg + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_te1310_8deg.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_te1310_8deg +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_gc_te1310_broadband_.yml b/tests/test_netlists/test_netlists_gc_te1310_broadband_.yml new file mode 100644 index 00000000..73aee9e5 --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_te1310_broadband_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_te1310_broadband + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_te1310_broadband.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_te1310_broadband +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_gc_te1550_.yml b/tests/test_netlists/test_netlists_gc_te1550_.yml new file mode 100644 index 00000000..316de4e2 --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_te1550_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_te1550 + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_te1550.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_te1550 +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_gc_te1550_90nmSlab_.yml b/tests/test_netlists/test_netlists_gc_te1550_90nmSlab_.yml new file mode 100644 index 00000000..8c2b5979 --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_te1550_90nmSlab_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_te1550_90nmSlab + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_te1550_90nmSlab.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_te1550_90nmSlab +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_gc_te1550_broadband_.yml b/tests/test_netlists/test_netlists_gc_te1550_broadband_.yml new file mode 100644 index 00000000..a33c446d --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_te1550_broadband_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_te1550_broadband + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_te1550_broadband.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_te1550_broadband +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_gc_tm1550_.yml b/tests/test_netlists/test_netlists_gc_tm1550_.yml new file mode 100644 index 00000000..2e1bdd28 --- /dev/null +++ b/tests/test_netlists/test_netlists_gc_tm1550_.yml @@ -0,0 +1,28 @@ +connections: {} +instances: + mirror_1: + component: mirror + info: + library: Design kits/ebeam + model: ebeam_gc_tm1550 + settings: + component: + function: import_gds + module: ubcpdk.import_gds + settings: + gdspath: ebeam_gc_tm1550.gds + p1: + - 0 + - 1 + p2: + - 0 + - 0 +name: gc_tm1550 +placements: + mirror_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: mirror_1,o1 diff --git a/tests/test_netlists/test_netlists_metal_via_.yml b/tests/test_netlists/test_netlists_metal_via_.yml new file mode 100644 index 00000000..f36b9c3e --- /dev/null +++ b/tests/test_netlists/test_netlists_metal_via_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: metal_via +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_mmi1x2_.yml b/tests/test_netlists/test_netlists_mmi1x2_.yml new file mode 100644 index 00000000..e2c95eb5 --- /dev/null +++ b/tests/test_netlists/test_netlists_mmi1x2_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: mmi1x2 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_mzi_.yml b/tests/test_netlists/test_netlists_mzi_.yml new file mode 100644 index 00000000..325d62d8 --- /dev/null +++ b/tests/test_netlists/test_netlists_mzi_.yml @@ -0,0 +1,599 @@ +connections: + bend_euler_sc_1,o1: cp1,o3 + bend_euler_sc_1,o2: syl,o1 + bend_euler_sc_2,o1: syl,o2 + bend_euler_sc_2,o2: sxb,o1 + bend_euler_sc_3,o1: cp1,o2 + bend_euler_sc_3,o2: sytl,o1 + bend_euler_sc_4,o1: sxt,o1 + bend_euler_sc_4,o2: sytl,o2 + bend_euler_sc_5,o1: straight_5,o2 + bend_euler_sc_5,o2: straight_6,o1 + bend_euler_sc_6,o1: straight_6,o2 + bend_euler_sc_6,o2: straight_7,o1 + bend_euler_sc_7,o1: straight_8,o2 + bend_euler_sc_7,o2: straight_9,o1 + bend_euler_sc_8,o1: straight_9,o2 + bend_euler_sc_8,o2: straight_10,o1 + cp2,o2: straight_7,o2 + cp2,o3: straight_10,o2 + straight_5,o1: sxt,o2 + straight_8,o1: sxb,o2 +instances: + bend_euler_sc_1: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_2: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_3: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_4: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_5: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + bend_euler_sc_6: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + bend_euler_sc_7: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + bend_euler_sc_8: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cp1: + component: ebeam_y_1550 + info: + library: Design kits/ebeam + model: ebeam_y_1550 + settings: {} + cp2: + component: ebeam_y_1550 + info: + library: Design kits/ebeam + model: ebeam_y_1550 + settings: {} + straight_10: + component: straight + info: + length: 0.01 + route_info_length: 0.01 + route_info_type: xs_sc + route_info_weight: 0.01 + route_info_xs_sc_length: 0.01 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.01 + npoints: 2 + straight_5: + component: straight + info: + length: 0.015 + route_info_length: 0.015 + route_info_type: xs_sc + route_info_weight: 0.015 + route_info_xs_sc_length: 0.015 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.015 + npoints: 2 + straight_6: + component: straight + info: + length: 2.0 + route_info_length: 2.0 + route_info_type: xs_sc + route_info_weight: 2.0 + route_info_xs_sc_length: 2.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 2.0 + npoints: 2 + straight_7: + component: straight + info: + length: 0.01 + route_info_length: 0.01 + route_info_type: xs_sc + route_info_weight: 0.01 + route_info_xs_sc_length: 0.01 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.01 + npoints: 2 + straight_8: + component: straight + info: + length: 0.015 + route_info_length: 0.015 + route_info_type: xs_sc + route_info_weight: 0.015 + route_info_xs_sc_length: 0.015 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.015 + npoints: 2 + straight_9: + component: straight + info: + length: 7.0 + route_info_length: 7.0 + route_info_type: xs_sc + route_info_weight: 7.0 + route_info_xs_sc_length: 7.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 7.0 + npoints: 2 + sxb: + component: straight + info: + length: 0.1 + route_info_length: 0.1 + route_info_type: xs_sc + route_info_weight: 0.1 + route_info_xs_sc_length: 0.1 + width: 0.5 + settings: + cross_section: xs_sc + length: 0.1 + npoints: 2 + sxt: + component: straight + info: + length: 0.1 + route_info_length: 0.1 + route_info_type: xs_sc + route_info_weight: 0.1 + route_info_xs_sc_length: 0.1 + width: 0.5 + settings: + cross_section: xs_sc + length: 0.1 + npoints: 2 + syl: + component: straight + info: + length: 7.0 + route_info_length: 7.0 + route_info_type: xs_sc + route_info_weight: 7.0 + route_info_xs_sc_length: 7.0 + width: 0.5 + settings: + cross_section: xs_sc + length: 7.0 + npoints: 2 + sytl: + component: straight + info: + length: 2.0 + route_info_length: 2.0 + route_info_type: xs_sc + route_info_weight: 2.0 + route_info_xs_sc_length: 2.0 + width: 0.5 + settings: + cross_section: xs_sc + length: 2.0 + npoints: 2 +name: mzi_f5c6fc9f +placements: + bend_euler_sc_1: + mirror: true + rotation: 0 + x: 7.4 + y: -2.75 + bend_euler_sc_2: + mirror: 0 + rotation: 270 + x: 17.4 + y: -19.75 + bend_euler_sc_3: + mirror: 0 + rotation: 0 + x: 7.4 + y: 2.75 + bend_euler_sc_4: + mirror: 0 + rotation: 180 + x: 27.4 + y: 24.75 + bend_euler_sc_5: + mirror: true + rotation: 0 + x: 27.515 + y: 24.75 + bend_euler_sc_6: + mirror: 0 + rotation: 270 + x: 37.515 + y: 12.75 + bend_euler_sc_7: + mirror: 0 + rotation: 0 + x: 27.515 + y: -29.75 + bend_euler_sc_8: + mirror: true + rotation: 90 + x: 37.515 + y: -12.75 + cp1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + cp2: + mirror: true + rotation: 180 + x: 54.925 + y: 0.0 + straight_10: + mirror: 0 + rotation: 0 + x: 47.515 + y: -2.75 + straight_5: + mirror: 0 + rotation: 0 + x: 27.5 + y: 24.75 + straight_6: + mirror: 0 + rotation: 270 + x: 37.515 + y: 14.75 + straight_7: + mirror: 0 + rotation: 0 + x: 47.515 + y: 2.75 + straight_8: + mirror: 0 + rotation: 0 + x: 27.5 + y: -29.75 + straight_9: + mirror: 0 + rotation: 90 + x: 37.515 + y: -19.75 + sxb: + mirror: 0 + rotation: 0 + x: 27.4 + y: -29.75 + sxt: + mirror: 0 + rotation: 0 + x: 27.4 + y: 24.75 + syl: + mirror: 0 + rotation: 270 + x: 17.4 + y: -12.75 + sytl: + mirror: 0 + rotation: 90 + x: 17.4 + y: 12.75 +ports: + o1: cp1,o1 + o2: cp2,o1 diff --git a/tests/test_netlists/test_netlists_mzi_heater_.yml b/tests/test_netlists/test_netlists_mzi_heater_.yml new file mode 100644 index 00000000..b5c1db53 --- /dev/null +++ b/tests/test_netlists/test_netlists_mzi_heater_.yml @@ -0,0 +1,616 @@ +connections: + bend_euler_sc_1,o1: cp1,o3 + bend_euler_sc_1,o2: syl,o1 + bend_euler_sc_2,o1: syl,o2 + bend_euler_sc_2,o2: sxb,o1 + bend_euler_sc_3,o1: cp1,o2 + bend_euler_sc_3,o2: sytl,o1 + bend_euler_sc_4,o1: sxt,o1 + bend_euler_sc_4,o2: sytl,o2 + bend_euler_sc_5,o1: straight_4,o2 + bend_euler_sc_5,o2: straight_5,o1 + bend_euler_sc_6,o1: straight_5,o2 + bend_euler_sc_6,o2: straight_6,o1 + bend_euler_sc_7,o1: straight_7,o2 + bend_euler_sc_7,o2: straight_8,o1 + bend_euler_sc_8,o1: straight_8,o2 + bend_euler_sc_8,o2: straight_9,o1 + cp2,o2: straight_6,o2 + cp2,o3: straight_9,o2 + straight_4,o1: sxt,o2 + straight_7,o1: sxb,o2 +instances: + bend_euler_sc_1: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_2: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_3: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_4: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: xs_sc + bend_euler_sc_5: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + bend_euler_sc_6: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + bend_euler_sc_7: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + bend_euler_sc_8: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cp1: + component: ebeam_y_1550 + info: + library: Design kits/ebeam + model: ebeam_y_1550 + settings: {} + cp2: + component: ebeam_y_1550 + info: + library: Design kits/ebeam + model: ebeam_y_1550 + settings: {} + straight_4: + component: straight + info: + length: 0.015 + route_info_length: 0.015 + route_info_type: xs_sc + route_info_weight: 0.015 + route_info_xs_sc_length: 0.015 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.015 + npoints: 2 + straight_5: + component: straight + info: + length: 2.0 + route_info_length: 2.0 + route_info_type: xs_sc + route_info_weight: 2.0 + route_info_xs_sc_length: 2.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 2.0 + npoints: 2 + straight_6: + component: straight + info: + length: 0.01 + route_info_length: 0.01 + route_info_type: xs_sc + route_info_weight: 0.01 + route_info_xs_sc_length: 0.01 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.01 + npoints: 2 + straight_7: + component: straight + info: + length: 0.015 + route_info_length: 0.015 + route_info_type: xs_sc + route_info_weight: 0.015 + route_info_xs_sc_length: 0.015 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.015 + npoints: 2 + straight_8: + component: straight + info: + length: 7.0 + route_info_length: 7.0 + route_info_type: xs_sc + route_info_weight: 7.0 + route_info_xs_sc_length: 7.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 7.0 + npoints: 2 + straight_9: + component: straight + info: + length: 0.01 + route_info_length: 0.01 + route_info_type: xs_sc + route_info_weight: 0.01 + route_info_xs_sc_length: 0.01 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.01 + npoints: 2 + sxb: + component: straight + info: + length: 200 + route_info_length: 200.0 + route_info_type: xs_sc + route_info_weight: 200.0 + route_info_xs_sc_length: 200.0 + width: 0.5 + settings: + cross_section: xs_sc + length: 200 + npoints: 2 + sxt: + component: straight_heater_metal_undercut + info: + resistance: 0 + settings: + cross_section: xs_sc + cross_section_heater: xs_heater_metal + cross_section_heater_undercut: xs_sc_heater_metal_undercut + cross_section_waveguide_heater: xs_sc_heater_metal + heater_taper_length: 5.0 + length: 200 + length_straight: 0.1 + length_straight_input: 15.0 + length_undercut: 30.0 + length_undercut_spacing: 6.0 + ohms_per_square: null + port_orientation1: null + port_orientation2: null + straight: + function: straight + via_stack: via_stack_heater_mtop + with_undercut: false + syl: + component: straight + info: + length: 7.0 + route_info_length: 7.0 + route_info_type: xs_sc + route_info_weight: 7.0 + route_info_xs_sc_length: 7.0 + width: 0.5 + settings: + cross_section: xs_sc + length: 7.0 + npoints: 2 + sytl: + component: straight + info: + length: 2.0 + route_info_length: 2.0 + route_info_type: xs_sc + route_info_weight: 2.0 + route_info_xs_sc_length: 2.0 + width: 0.5 + settings: + cross_section: xs_sc + length: 2.0 + npoints: 2 +name: mzi_a1fe9d55 +placements: + bend_euler_sc_1: + mirror: true + rotation: 0 + x: 7.4 + y: -2.75 + bend_euler_sc_2: + mirror: 0 + rotation: 270 + x: 17.4 + y: -19.75 + bend_euler_sc_3: + mirror: 0 + rotation: 0 + x: 7.4 + y: 2.75 + bend_euler_sc_4: + mirror: 0 + rotation: 180 + x: 27.4 + y: 24.75 + bend_euler_sc_5: + mirror: true + rotation: 0 + x: 227.415 + y: 24.75 + bend_euler_sc_6: + mirror: 0 + rotation: 270 + x: 237.415 + y: 12.75 + bend_euler_sc_7: + mirror: 0 + rotation: 0 + x: 227.415 + y: -29.75 + bend_euler_sc_8: + mirror: true + rotation: 90 + x: 237.415 + y: -12.75 + cp1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + cp2: + mirror: true + rotation: 180 + x: 254.825 + y: 0.0 + straight_4: + mirror: 0 + rotation: 0 + x: 227.4 + y: 24.75 + straight_5: + mirror: 0 + rotation: 270 + x: 237.415 + y: 14.75 + straight_6: + mirror: 0 + rotation: 0 + x: 247.415 + y: 2.75 + straight_7: + mirror: 0 + rotation: 0 + x: 227.4 + y: -29.75 + straight_8: + mirror: 0 + rotation: 90 + x: 237.415 + y: -19.75 + straight_9: + mirror: 0 + rotation: 0 + x: 247.415 + y: -2.75 + sxb: + mirror: 0 + rotation: 0 + x: 27.4 + y: -29.75 + sxt: + mirror: 0 + rotation: 0 + x: 27.4 + y: 24.75 + syl: + mirror: 0 + rotation: 270 + x: 17.4 + y: -12.75 + sytl: + mirror: 0 + rotation: 90 + x: 17.4 + y: 12.75 +ports: + o1: cp1,o1 + o2: cp2,o1 + top_l_e1: sxt,l_e1 + top_l_e2: sxt,l_e2 + top_l_e3: sxt,l_e3 + top_l_e4: sxt,l_e4 + top_r_e1: sxt,r_e1 + top_r_e2: sxt,r_e2 + top_r_e3: sxt,r_e3 + top_r_e4: sxt,r_e4 diff --git a/tests/test_netlists/test_netlists_pad_.yml b/tests/test_netlists/test_netlists_pad_.yml new file mode 100644 index 00000000..237da850 --- /dev/null +++ b/tests/test_netlists/test_netlists_pad_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: pad_0210fbc6 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1310_.yml b/tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1310_.yml new file mode 100644 index 00000000..816858b4 --- /dev/null +++ b/tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1310_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: photonic_wirebond_surfacetaper_1310 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1550_.yml b/tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1550_.yml new file mode 100644 index 00000000..8583178b --- /dev/null +++ b/tests/test_netlists/test_netlists_photonic_wirebond_surfacetaper_1550_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: photonic_wirebond_surfacetaper_1550 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_ring_double_.yml b/tests/test_netlists/test_netlists_ring_double_.yml new file mode 100644 index 00000000..3c638a28 --- /dev/null +++ b/tests/test_netlists/test_netlists_ring_double_.yml @@ -0,0 +1,163 @@ +connections: + coupler_ring_1,o2: straight_1,o1 + coupler_ring_1,o3: straight_2,o1 + coupler_ring_2,o2: straight_2,o2 + coupler_ring_2,o3: straight_1,o2 +instances: + coupler_ring_1: + component: coupler_ring + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + gap: 0.2 + length_x: 0.01 + radius: 10.0 + coupler_ring_2: + component: coupler_ring + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + gap: 0.2 + length_x: 0.01 + radius: 10.0 + straight_1: + component: straight + info: + length: 0.01 + route_info_length: 0.01 + route_info_type: xs_sc + route_info_weight: 0.01 + route_info_xs_sc_length: 0.01 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.01 + npoints: 2 + straight_2: + component: straight + info: + length: 0.01 + route_info_length: 0.01 + route_info_type: xs_sc + route_info_weight: 0.01 + route_info_xs_sc_length: 0.01 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.01 + npoints: 2 +name: ring_double_a459ac5d +placements: + coupler_ring_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + coupler_ring_2: + mirror: 0 + rotation: 180 + x: -0.01 + y: 21.41 + straight_1: + mirror: 0 + rotation: 90 + x: -10.01 + y: 10.7 + straight_2: + mirror: 0 + rotation: 90 + x: 10.0 + y: 10.7 +ports: + o1: coupler_ring_1,o1 + o2: coupler_ring_1,o4 + o3: coupler_ring_2,o4 + o4: coupler_ring_2,o1 diff --git a/tests/test_netlists/test_netlists_ring_double_heater_.yml b/tests/test_netlists/test_netlists_ring_double_heater_.yml new file mode 100644 index 00000000..9cd81549 --- /dev/null +++ b/tests/test_netlists/test_netlists_ring_double_heater_.yml @@ -0,0 +1,233 @@ +connections: + coupler_ring_1,e2: straight_1,e1 + coupler_ring_1,e3: straight_2,e1 + coupler_ring_1,o2: straight_1,o1 + coupler_ring_1,o3: straight_2,o1 + coupler_ring_2,e1: straight_3,e1 + coupler_ring_2,e2: straight_2,e2 + coupler_ring_2,e3: straight_1,e2 + coupler_ring_2,e4: straight_3,e2 + coupler_ring_2,o2: straight_2,o2 + coupler_ring_2,o3: straight_1,o2 +instances: + coupler_ring_1: + component: coupler_ring + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_bend: xs_sc_heater_metal + gap: 0.2 + length_x: 1.0 + radius: 10.0 + coupler_ring_2: + component: coupler_ring + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_bend: xs_sc_heater_metal + gap: 0.2 + length_x: 1.0 + radius: 10.0 + straight_1: + component: straight + info: + length: 0.2 + route_info_length: 0.2 + route_info_type: xs_sc_heater_metal + route_info_weight: 0.2 + route_info_xs_sc_heater_metal_length: 0.2 + width: 0.5 + settings: + cross_section: xs_sc_heater_metal + length: 0.2 + npoints: 2 + straight_2: + component: straight + info: + length: 0.2 + route_info_length: 0.2 + route_info_type: xs_sc_heater_metal + route_info_weight: 0.2 + route_info_xs_sc_heater_metal_length: 0.2 + width: 0.5 + settings: + cross_section: xs_sc_heater_metal + length: 0.2 + npoints: 2 + straight_3: + component: straight + info: + length: 1.0 + route_info_length: 1.0 + route_info_type: xs_heater_metal + route_info_weight: 1.0 + route_info_xs_heater_metal_length: 1.0 + width: 4.0 + settings: + cross_section: xs_heater_metal + length: 1.0 + npoints: 2 + via_stack_1: + component: via_stack + info: + layer: + - 12 + - 0 + size: + - 10 + - 10 + xsize: 10 + ysize: 10 + settings: + correct_size: true + layer_offsets: null + layer_port: null + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + slot_horizontal: false + slot_vertical: false + vias: + - null + - null + via_stack_2: + component: via_stack + info: + layer: + - 12 + - 0 + size: + - 10 + - 10 + xsize: 10 + ysize: 10 + settings: + correct_size: true + layer_offsets: null + layer_port: null + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + slot_horizontal: false + slot_vertical: false + vias: + - null + - null +name: ring_double_heater_dde86d0f +placements: + coupler_ring_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + coupler_ring_2: + mirror: 0 + rotation: 180 + x: -1.0 + y: 21.6 + straight_1: + mirror: 0 + rotation: 90 + x: -11.0 + y: 10.7 + straight_2: + mirror: 0 + rotation: 90 + x: 10.0 + y: 10.7 + straight_3: + mirror: 0 + rotation: 0 + x: -1.0 + y: 20.9 + via_stack_1: + mirror: 0 + rotation: 0 + x: -7.0 + y: 0.0 + via_stack_2: + mirror: 0 + rotation: 0 + x: 6.0 + y: 0.0 +ports: + l_e1: via_stack_1,e1 + l_e2: via_stack_1,e2 + l_e3: via_stack_1,e3 + l_e4: via_stack_1,e4 + o1: coupler_ring_1,o1 + o2: coupler_ring_1,o4 + o3: coupler_ring_2,o4 + o4: coupler_ring_2,o1 + r_e1: via_stack_2,e1 + r_e2: via_stack_2,e2 + r_e3: via_stack_2,e3 + r_e4: via_stack_2,e4 +warnings: + electrical: + unconnected_ports: + - message: 2 unconnected electrical ports! + ports: + - coupler_ring_1,e4 + - coupler_ring_1,e1 + values: + - - -1.0 + - 0.7 + - - 0.0 + - 0.7 diff --git a/tests/test_netlists/test_netlists_ring_single_.yml b/tests/test_netlists/test_netlists_ring_single_.yml new file mode 100644 index 00000000..82b8c66f --- /dev/null +++ b/tests/test_netlists/test_netlists_ring_single_.yml @@ -0,0 +1,206 @@ +connections: + bend_euler_sc_1,o1: straight_3,o2 + bend_euler_sc_1,o2: straight_1,o2 + bend_euler_sc_2,o1: straight_2,o1 + bend_euler_sc_2,o2: straight_3,o1 + coupler_ring_1,o2: straight_1,o1 + coupler_ring_1,o3: straight_2,o2 +instances: + bend_euler_sc_1: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + radius: 10.0 + bend_euler_sc_2: + component: bend_euler_sc + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 16.637 + route_info_xs_sc_devrec_length: 16.637 + width: 0.5 + settings: + radius: 10.0 + coupler_ring_1: + component: coupler_ring + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + gap: 0.2 + length_x: 4.0 + radius: 10.0 + straight_1: + component: straight + info: + length: 0.6 + route_info_length: 0.6 + route_info_type: xs_sc + route_info_weight: 0.6 + route_info_xs_sc_length: 0.6 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.6 + npoints: 2 + straight_2: + component: straight + info: + length: 0.6 + route_info_length: 0.6 + route_info_type: xs_sc + route_info_weight: 0.6 + route_info_xs_sc_length: 0.6 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 0.6 + npoints: 2 + straight_3: + component: straight + info: + length: 4.0 + route_info_length: 4.0 + route_info_type: xs_sc + route_info_weight: 4.0 + route_info_xs_sc_length: 4.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 4.0 + npoints: 2 +name: ring_single_382b19ee +placements: + bend_euler_sc_1: + mirror: 0 + rotation: 180 + x: -4.0 + y: 21.3 + bend_euler_sc_2: + mirror: 0 + rotation: 90 + x: 10.0 + y: 11.3 + coupler_ring_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + straight_1: + mirror: 0 + rotation: 90 + x: -14.0 + y: 10.7 + straight_2: + mirror: 0 + rotation: 270 + x: 10.0 + y: 11.3 + straight_3: + mirror: 0 + rotation: 180 + x: 0.0 + y: 21.3 +ports: + o1: coupler_ring_1,o1 + o2: coupler_ring_1,o4 diff --git a/tests/test_netlists/test_netlists_ring_single_heater_.yml b/tests/test_netlists/test_netlists_ring_single_heater_.yml new file mode 100644 index 00000000..7e7e38a4 --- /dev/null +++ b/tests/test_netlists/test_netlists_ring_single_heater_.yml @@ -0,0 +1,248 @@ +connections: + bend_euler_1,e1: straight_3,e2 + bend_euler_1,e2: straight_1,e2 + bend_euler_1,o1: straight_3,o2 + bend_euler_1,o2: straight_1,o2 + bend_euler_2,e1: straight_2,e1 + bend_euler_2,e2: straight_3,e1 + bend_euler_2,o1: straight_2,o1 + bend_euler_2,o2: straight_3,o1 + coupler_ring_1,e2: straight_1,e1 + coupler_ring_1,e3: straight_2,e2 + coupler_ring_1,o2: straight_1,o1 + coupler_ring_1,o3: straight_2,o2 +instances: + bend_euler_1: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_heater_metal + route_info_weight: 16.637 + route_info_xs_sc_heater_metal_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc_heater_metal + direction: ccw + npoints: null + p: 0.5 + radius: 10.0 + with_arc_floorplan: true + bend_euler_2: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_heater_metal + route_info_weight: 16.637 + route_info_xs_sc_heater_metal_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc_heater_metal + direction: ccw + npoints: null + p: 0.5 + radius: 10.0 + with_arc_floorplan: true + coupler_ring_1: + component: coupler_ring + info: {} + settings: + bend: + function: bend_euler + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + cross_section_bend: xs_sc_heater_metal + gap: 0.2 + length_x: 4.0 + radius: 10.0 + straight_1: + component: straight + info: + length: 0.6 + route_info_length: 0.6 + route_info_type: xs_sc_heater_metal + route_info_weight: 0.6 + route_info_xs_sc_heater_metal_length: 0.6 + width: 0.5 + settings: + cross_section: xs_sc_heater_metal + length: 0.6 + npoints: 2 + straight_2: + component: straight + info: + length: 0.6 + route_info_length: 0.6 + route_info_type: xs_sc_heater_metal + route_info_weight: 0.6 + route_info_xs_sc_heater_metal_length: 0.6 + width: 0.5 + settings: + cross_section: xs_sc_heater_metal + length: 0.6 + npoints: 2 + straight_3: + component: straight + info: + length: 4.0 + route_info_length: 4.0 + route_info_type: xs_sc_heater_metal + route_info_weight: 4.0 + route_info_xs_sc_heater_metal_length: 4.0 + width: 0.5 + settings: + cross_section: xs_sc_heater_metal + length: 4.0 + npoints: 2 + via_stack_1: + component: via_stack + info: + layer: + - 12 + - 0 + size: + - 10 + - 10 + xsize: 10 + ysize: 10 + settings: + correct_size: true + layer_offsets: null + layer_port: null + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + slot_horizontal: false + slot_vertical: false + vias: + - null + - null + via_stack_2: + component: via_stack + info: + layer: + - 12 + - 0 + size: + - 10 + - 10 + xsize: 10 + ysize: 10 + settings: + correct_size: true + layer_offsets: null + layer_port: null + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + slot_horizontal: false + slot_vertical: false + vias: + - null + - null +name: ring_single_heater_cc91df46 +placements: + bend_euler_1: + mirror: 0 + rotation: 180 + x: -4.0 + y: 21.3 + bend_euler_2: + mirror: 0 + rotation: 90 + x: 10.0 + y: 11.3 + coupler_ring_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + straight_1: + mirror: 0 + rotation: 90 + x: -14.0 + y: 10.7 + straight_2: + mirror: 0 + rotation: 270 + x: 10.0 + y: 11.3 + straight_3: + mirror: 0 + rotation: 180 + x: 0.0 + y: 21.3 + via_stack_1: + mirror: 0 + rotation: 0 + x: -9.0 + y: 0.0 + via_stack_2: + mirror: 0 + rotation: 0 + x: 5.0 + y: 0.0 +ports: + l_e1: via_stack_1,e1 + l_e2: via_stack_1,e2 + l_e3: via_stack_1,e3 + l_e4: via_stack_1,e4 + o1: coupler_ring_1,o1 + o2: coupler_ring_1,o4 + r_e1: via_stack_2,e1 + r_e2: via_stack_2,e2 + r_e3: via_stack_2,e3 + r_e4: via_stack_2,e4 +warnings: + electrical: + unconnected_ports: + - message: 2 unconnected electrical ports! + ports: + - coupler_ring_1,e4 + - coupler_ring_1,e1 + values: + - - -4.0 + - 0.7 + - - 0.0 + - 0.7 diff --git a/tests/test_netlists/test_netlists_ring_with_crossing_.yml b/tests/test_netlists/test_netlists_ring_with_crossing_.yml new file mode 100644 index 00000000..085a96df --- /dev/null +++ b/tests/test_netlists/test_netlists_ring_with_crossing_.yml @@ -0,0 +1,113 @@ +connections: + bend_euler_sc_1,o1: straight_2,o1 + bend_euler_sc_1,o2: straight_1,o1 + bend_euler_sc_2,o1: ebeam_crossing4_2ports_1,o4 + bend_euler_sc_2,o2: straight_2,o2 + coupler_ring_1,o2: straight_1,o2 + coupler_ring_1,o3: ebeam_crossing4_2ports_1,o1 +instances: + bend_euler_sc_1: + component: bend_euler_sc + info: + dy: 5.0 + length: 8.318 + radius: 5.0 + radius_min: 3.53 + route_info_length: 8.318 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 8.318 + route_info_xs_sc_devrec_length: 8.318 + width: 0.5 + settings: + cross_section: xs_sc + radius: 5.0 + bend_euler_sc_2: + component: bend_euler_sc + info: + dy: 5.0 + length: 8.318 + radius: 5.0 + radius_min: 3.53 + route_info_length: 8.318 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc_devrec + route_info_weight: 8.318 + route_info_xs_sc_devrec_length: 8.318 + width: 0.5 + settings: + cross_section: xs_sc + radius: 5.0 + coupler_ring_1: + component: coupler_ring + info: {} + settings: + cross_section: xs_sc + gap: 0.2 + length_x: 4 + radius: 5.0 + ebeam_crossing4_2ports_1: + component: ebeam_crossing4_2ports + info: {} + settings: {} + straight_1: + component: straight + info: + length: 9.6 + route_info_length: 9.6 + route_info_type: xs_sc + route_info_weight: 9.6 + route_info_xs_sc_length: 9.6 + width: 0.5 + settings: + cross_section: xs_sc + length: 9.6 + npoints: 2 + straight_2: + component: straight + info: + length: 4 + route_info_length: 4.0 + route_info_type: xs_sc + route_info_weight: 4.0 + route_info_xs_sc_length: 4.0 + width: 0.5 + settings: + cross_section: xs_sc + length: 4 + npoints: 2 +name: ring_single_dut_26538df6 +placements: + bend_euler_sc_1: + mirror: 0 + rotation: 180 + x: -4.0 + y: 20.3 + bend_euler_sc_2: + mirror: 0 + rotation: 90 + x: 5.0 + y: 15.3 + coupler_ring_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + ebeam_crossing4_2ports_1: + mirror: 0 + rotation: 90 + x: 5.0 + y: 10.5 + straight_1: + mirror: 0 + rotation: 270 + x: -9.0 + y: 15.3 + straight_2: + mirror: 0 + rotation: 0 + x: -4.0 + y: 20.3 +ports: + o1: coupler_ring_1,o1 + o2: coupler_ring_1,o4 diff --git a/tests/test_netlists/test_netlists_spiral_.yml b/tests/test_netlists/test_netlists_spiral_.yml new file mode 100644 index 00000000..583b89e0 --- /dev/null +++ b/tests/test_netlists/test_netlists_spiral_.yml @@ -0,0 +1,3128 @@ +connections: + bend_euler_1,o1: straight_1,o2 + bend_euler_1,o2: straight_2,o1 + bend_euler_10,o1: straight_10,o2 + bend_euler_10,o2: straight_11,o1 + bend_euler_11,o1: straight_11,o2 + bend_euler_11,o2: straight_12,o1 + bend_euler_12,o1: straight_12,o2 + bend_euler_12,o2: straight_13,o1 + bend_euler_13,o1: straight_13,o2 + bend_euler_13,o2: straight_14,o1 + bend_euler_14,o1: straight_14,o2 + bend_euler_14,o2: straight_15,o1 + bend_euler_15,o1: straight_15,o2 + bend_euler_15,o2: straight_16,o1 + bend_euler_16,o1: straight_16,o2 + bend_euler_16,o2: straight_17,o1 + bend_euler_17,o1: straight_17,o2 + bend_euler_17,o2: straight_18,o1 + bend_euler_18,o1: straight_18,o2 + bend_euler_18,o2: straight_19,o1 + bend_euler_19,o1: straight_19,o2 + bend_euler_19,o2: straight_20,o1 + bend_euler_2,o1: straight_2,o2 + bend_euler_2,o2: straight_3,o1 + bend_euler_20,o1: straight_20,o2 + bend_euler_20,o2: straight_21,o1 + bend_euler_21,o1: straight_21,o2 + bend_euler_21,o2: straight_22,o1 + bend_euler_22,o1: straight_22,o2 + bend_euler_22,o2: straight_23,o1 + bend_euler_23,o1: straight_23,o2 + bend_euler_23,o2: straight_24,o1 + bend_euler_24,o1: straight_24,o2 + bend_euler_24,o2: straight_25,o1 + bend_euler_25,o1: straight_25,o2 + bend_euler_25,o2: straight_26,o1 + bend_euler_26,o1: straight_26,o2 + bend_euler_26,o2: straight_27,o1 + bend_euler_27,o1: straight_27,o2 + bend_euler_27,o2: straight_28,o1 + bend_euler_28,o1: straight_28,o2 + bend_euler_28,o2: straight_29,o1 + bend_euler_29,o1: straight_29,o2 + bend_euler_29,o2: straight_30,o1 + bend_euler_3,o1: straight_3,o2 + bend_euler_3,o2: straight_4,o1 + bend_euler_30,o1: straight_30,o2 + bend_euler_30,o2: straight_31,o1 + bend_euler_31,o1: straight_31,o2 + bend_euler_31,o2: straight_32,o1 + bend_euler_32,o1: straight_32,o2 + bend_euler_32,o2: straight_33,o1 + bend_euler_33,o1: straight_33,o2 + bend_euler_33,o2: straight_34,o1 + bend_euler_34,o1: straight_34,o2 + bend_euler_34,o2: straight_35,o1 + bend_euler_35,o1: straight_35,o2 + bend_euler_35,o2: straight_36,o1 + bend_euler_36,o1: straight_36,o2 + bend_euler_36,o2: straight_37,o1 + bend_euler_37,o1: straight_37,o2 + bend_euler_37,o2: straight_38,o1 + bend_euler_38,o1: straight_38,o2 + bend_euler_38,o2: straight_39,o1 + bend_euler_39,o1: straight_39,o2 + bend_euler_39,o2: straight_40,o1 + bend_euler_4,o1: straight_4,o2 + bend_euler_4,o2: straight_5,o1 + bend_euler_40,o1: straight_40,o2 + bend_euler_40,o2: straight_41,o1 + bend_euler_41,o1: straight_41,o2 + bend_euler_41,o2: straight_42,o1 + bend_euler_42,o1: straight_42,o2 + bend_euler_42,o2: straight_43,o1 + bend_euler_43,o1: straight_43,o2 + bend_euler_43,o2: straight_44,o1 + bend_euler_44,o1: straight_44,o2 + bend_euler_44,o2: straight_45,o1 + bend_euler_45,o1: straight_45,o2 + bend_euler_45,o2: straight_46,o1 + bend_euler_46,o1: straight_46,o2 + bend_euler_46,o2: straight_47,o1 + bend_euler_5,o1: straight_5,o2 + bend_euler_5,o2: straight_6,o1 + bend_euler_6,o1: straight_6,o2 + bend_euler_6,o2: straight_7,o1 + bend_euler_7,o1: straight_7,o2 + bend_euler_7,o2: straight_8,o1 + bend_euler_8,o1: straight_8,o2 + bend_euler_8,o2: straight_9,o1 + bend_euler_9,o1: straight_9,o2 + bend_euler_9,o2: straight_10,o1 +instances: + bend_euler_1: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_10: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_11: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_12: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_13: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_14: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_15: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_16: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_17: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_18: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_19: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_2: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_20: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_21: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_22: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_23: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_24: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_25: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_26: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_27: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_28: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_29: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_3: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_30: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_31: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_32: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_33: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_34: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_35: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_36: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_37: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_38: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_39: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_4: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_40: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_41: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_42: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_43: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_44: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_45: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_46: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_5: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_6: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_7: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_8: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + bend_euler_9: + component: bend_euler + info: + dy: 10.0 + length: 16.637 + radius: 10.0 + radius_min: 7.061 + route_info_length: 16.637 + route_info_n_bend_90: 1.0 + route_info_type: xs_sc + route_info_weight: 16.637 + route_info_xs_sc_length: 16.637 + width: 0.5 + settings: + angle: 90.0 + cross_section: xs_sc + direction: ccw + npoints: null + p: 0.5 + radius: null + with_arc_floorplan: true + straight_1: + component: straight + info: + length: 84.0 + route_info_length: 84.0 + route_info_type: xs_sc + route_info_weight: 84.0 + route_info_xs_sc_length: 84.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 84.0 + npoints: 2 + straight_10: + component: straight + info: + length: 369.0 + route_info_length: 369.0 + route_info_type: xs_sc + route_info_weight: 369.0 + route_info_xs_sc_length: 369.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 369.0 + npoints: 2 + straight_11: + component: straight + info: + length: 44.0 + route_info_length: 44.0 + route_info_type: xs_sc + route_info_weight: 44.0 + route_info_xs_sc_length: 44.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 44.0 + npoints: 2 + straight_12: + component: straight + info: + length: 363.0 + route_info_length: 363.0 + route_info_type: xs_sc + route_info_weight: 363.0 + route_info_xs_sc_length: 363.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 363.0 + npoints: 2 + straight_13: + component: straight + info: + length: 38.0 + route_info_length: 38.0 + route_info_type: xs_sc + route_info_weight: 38.0 + route_info_xs_sc_length: 38.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 38.0 + npoints: 2 + straight_14: + component: straight + info: + length: 357.0 + route_info_length: 357.0 + route_info_type: xs_sc + route_info_weight: 357.0 + route_info_xs_sc_length: 357.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 357.0 + npoints: 2 + straight_15: + component: straight + info: + length: 32.0 + route_info_length: 32.0 + route_info_type: xs_sc + route_info_weight: 32.0 + route_info_xs_sc_length: 32.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 32.0 + npoints: 2 + straight_16: + component: straight + info: + length: 351.0 + route_info_length: 351.0 + route_info_type: xs_sc + route_info_weight: 351.0 + route_info_xs_sc_length: 351.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 351.0 + npoints: 2 + straight_17: + component: straight + info: + length: 26.0 + route_info_length: 26.0 + route_info_type: xs_sc + route_info_weight: 26.0 + route_info_xs_sc_length: 26.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 26.0 + npoints: 2 + straight_18: + component: straight + info: + length: 345.0 + route_info_length: 345.0 + route_info_type: xs_sc + route_info_weight: 345.0 + route_info_xs_sc_length: 345.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 345.0 + npoints: 2 + straight_19: + component: straight + info: + length: 20.0 + route_info_length: 20.0 + route_info_type: xs_sc + route_info_weight: 20.0 + route_info_xs_sc_length: 20.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 20.0 + npoints: 2 + straight_2: + component: straight + info: + length: 393.0 + route_info_length: 393.0 + route_info_type: xs_sc + route_info_weight: 393.0 + route_info_xs_sc_length: 393.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 393.0 + npoints: 2 + straight_20: + component: straight + info: + length: 339.0 + route_info_length: 339.0 + route_info_type: xs_sc + route_info_weight: 339.0 + route_info_xs_sc_length: 339.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 339.0 + npoints: 2 + straight_21: + component: straight + info: + length: 14.0 + route_info_length: 14.0 + route_info_type: xs_sc + route_info_weight: 14.0 + route_info_xs_sc_length: 14.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 14.0 + npoints: 2 + straight_22: + component: straight + info: + length: 33.0 + route_info_length: 33.0 + route_info_type: xs_sc + route_info_weight: 33.0 + route_info_xs_sc_length: 33.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 33.0 + npoints: 2 + straight_23: + component: straight + info: + length: 8.0 + route_info_length: 8.0 + route_info_type: xs_sc + route_info_weight: 8.0 + route_info_xs_sc_length: 8.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 8.0 + npoints: 2 + straight_24: + component: straight + info: + length: 5.0 + route_info_length: 5.0 + route_info_type: xs_sc + route_info_weight: 5.0 + route_info_xs_sc_length: 5.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 5.0 + npoints: 2 + straight_25: + component: straight + info: + length: 5.0 + route_info_length: 5.0 + route_info_type: xs_sc + route_info_weight: 5.0 + route_info_xs_sc_length: 5.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 5.0 + npoints: 2 + straight_26: + component: straight + info: + length: 5.0 + route_info_length: 5.0 + route_info_type: xs_sc + route_info_weight: 5.0 + route_info_xs_sc_length: 5.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 5.0 + npoints: 2 + straight_27: + component: straight + info: + length: 8.0 + route_info_length: 8.0 + route_info_type: xs_sc + route_info_weight: 8.0 + route_info_xs_sc_length: 8.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 8.0 + npoints: 2 + straight_28: + component: straight + info: + length: 333.0 + route_info_length: 333.0 + route_info_type: xs_sc + route_info_weight: 333.0 + route_info_xs_sc_length: 333.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 333.0 + npoints: 2 + straight_29: + component: straight + info: + length: 14.0 + route_info_length: 14.0 + route_info_type: xs_sc + route_info_weight: 14.0 + route_info_xs_sc_length: 14.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 14.0 + npoints: 2 + straight_3: + component: straight + info: + length: 68.0 + route_info_length: 68.0 + route_info_type: xs_sc + route_info_weight: 68.0 + route_info_xs_sc_length: 68.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 68.0 + npoints: 2 + straight_30: + component: straight + info: + length: 339.0 + route_info_length: 339.0 + route_info_type: xs_sc + route_info_weight: 339.0 + route_info_xs_sc_length: 339.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 339.0 + npoints: 2 + straight_31: + component: straight + info: + length: 20.0 + route_info_length: 20.0 + route_info_type: xs_sc + route_info_weight: 20.0 + route_info_xs_sc_length: 20.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 20.0 + npoints: 2 + straight_32: + component: straight + info: + length: 345.0 + route_info_length: 345.0 + route_info_type: xs_sc + route_info_weight: 345.0 + route_info_xs_sc_length: 345.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 345.0 + npoints: 2 + straight_33: + component: straight + info: + length: 26.0 + route_info_length: 26.0 + route_info_type: xs_sc + route_info_weight: 26.0 + route_info_xs_sc_length: 26.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 26.0 + npoints: 2 + straight_34: + component: straight + info: + length: 351.0 + route_info_length: 351.0 + route_info_type: xs_sc + route_info_weight: 351.0 + route_info_xs_sc_length: 351.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 351.0 + npoints: 2 + straight_35: + component: straight + info: + length: 32.0 + route_info_length: 32.0 + route_info_type: xs_sc + route_info_weight: 32.0 + route_info_xs_sc_length: 32.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 32.0 + npoints: 2 + straight_36: + component: straight + info: + length: 357.0 + route_info_length: 357.0 + route_info_type: xs_sc + route_info_weight: 357.0 + route_info_xs_sc_length: 357.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 357.0 + npoints: 2 + straight_37: + component: straight + info: + length: 38.0 + route_info_length: 38.0 + route_info_type: xs_sc + route_info_weight: 38.0 + route_info_xs_sc_length: 38.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 38.0 + npoints: 2 + straight_38: + component: straight + info: + length: 363.0 + route_info_length: 363.0 + route_info_type: xs_sc + route_info_weight: 363.0 + route_info_xs_sc_length: 363.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 363.0 + npoints: 2 + straight_39: + component: straight + info: + length: 44.0 + route_info_length: 44.0 + route_info_type: xs_sc + route_info_weight: 44.0 + route_info_xs_sc_length: 44.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 44.0 + npoints: 2 + straight_4: + component: straight + info: + length: 387.0 + route_info_length: 387.0 + route_info_type: xs_sc + route_info_weight: 387.0 + route_info_xs_sc_length: 387.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 387.0 + npoints: 2 + straight_40: + component: straight + info: + length: 369.0 + route_info_length: 369.0 + route_info_type: xs_sc + route_info_weight: 369.0 + route_info_xs_sc_length: 369.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 369.0 + npoints: 2 + straight_41: + component: straight + info: + length: 50.0 + route_info_length: 50.0 + route_info_type: xs_sc + route_info_weight: 50.0 + route_info_xs_sc_length: 50.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 50.0 + npoints: 2 + straight_42: + component: straight + info: + length: 375.0 + route_info_length: 375.0 + route_info_type: xs_sc + route_info_weight: 375.0 + route_info_xs_sc_length: 375.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 375.0 + npoints: 2 + straight_43: + component: straight + info: + length: 56.0 + route_info_length: 56.0 + route_info_type: xs_sc + route_info_weight: 56.0 + route_info_xs_sc_length: 56.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 56.0 + npoints: 2 + straight_44: + component: straight + info: + length: 381.0 + route_info_length: 381.0 + route_info_type: xs_sc + route_info_weight: 381.0 + route_info_xs_sc_length: 381.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 381.0 + npoints: 2 + straight_45: + component: straight + info: + length: 62.0 + route_info_length: 62.0 + route_info_type: xs_sc + route_info_weight: 62.0 + route_info_xs_sc_length: 62.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 62.0 + npoints: 2 + straight_46: + component: straight + info: + length: 387.0 + route_info_length: 387.0 + route_info_type: xs_sc + route_info_weight: 387.0 + route_info_xs_sc_length: 387.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 387.0 + npoints: 2 + straight_47: + component: straight + info: + length: 78.0 + route_info_length: 78.0 + route_info_type: xs_sc + route_info_weight: 78.0 + route_info_xs_sc_length: 78.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 78.0 + npoints: 2 + straight_5: + component: straight + info: + length: 62.0 + route_info_length: 62.0 + route_info_type: xs_sc + route_info_weight: 62.0 + route_info_xs_sc_length: 62.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 62.0 + npoints: 2 + straight_6: + component: straight + info: + length: 381.0 + route_info_length: 381.0 + route_info_type: xs_sc + route_info_weight: 381.0 + route_info_xs_sc_length: 381.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 381.0 + npoints: 2 + straight_7: + component: straight + info: + length: 56.0 + route_info_length: 56.0 + route_info_type: xs_sc + route_info_weight: 56.0 + route_info_xs_sc_length: 56.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 56.0 + npoints: 2 + straight_8: + component: straight + info: + length: 375.0 + route_info_length: 375.0 + route_info_type: xs_sc + route_info_weight: 375.0 + route_info_xs_sc_length: 375.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 375.0 + npoints: 2 + straight_9: + component: straight + info: + length: 50.0 + route_info_length: 50.0 + route_info_type: xs_sc + route_info_weight: 50.0 + route_info_xs_sc_length: 50.0 + width: 0.5 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: 10.0 + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: WG + name: _default + offset: 0.0 + offset_function: null + port_names: + - o1 + - o2 + port_types: + - optical + - optical + simplify: null + width: 0.5 + width_function: null + length: 50.0 + npoints: 2 +name: spiral_external_io +placements: + bend_euler_1: + mirror: 0 + rotation: 90 + x: 386.0 + y: 38.0 + bend_euler_10: + mirror: 0 + rotation: 180 + x: -5.0 + y: 36.0 + bend_euler_11: + mirror: 0 + rotation: 270 + x: -15.0 + y: -18.0 + bend_euler_12: + mirror: 0 + rotation: 0 + x: 358.0 + y: -28.0 + bend_euler_13: + mirror: 0 + rotation: 90 + x: 368.0 + y: 20.0 + bend_euler_14: + mirror: 0 + rotation: 180 + x: 1.0 + y: 30.0 + bend_euler_15: + mirror: 0 + rotation: 270 + x: -9.0 + y: -12.0 + bend_euler_16: + mirror: 0 + rotation: 0 + x: 352.0 + y: -22.0 + bend_euler_17: + mirror: 0 + rotation: 90 + x: 362.0 + y: 14.0 + bend_euler_18: + mirror: 0 + rotation: 180 + x: 7.0 + y: 24.0 + bend_euler_19: + mirror: 0 + rotation: 270 + x: -3.0 + y: -6.0 + bend_euler_2: + mirror: 0 + rotation: 180 + x: -17.0 + y: 48.0 + bend_euler_20: + mirror: 0 + rotation: 0 + x: 346.0 + y: -16.0 + bend_euler_21: + mirror: 0 + rotation: 90 + x: 356.0 + y: 8.0 + bend_euler_22: + mirror: 0 + rotation: 180 + x: 313.0 + y: 18.0 + bend_euler_23: + mirror: 0 + rotation: 270 + x: 303.0 + y: 0.0 + bend_euler_24: + mirror: 0 + rotation: 0 + x: 318.0 + y: -10.0 + bend_euler_25: + mirror: true + rotation: 90 + x: 328.0 + y: 5.0 + bend_euler_26: + mirror: true + rotation: 0 + x: 343.0 + y: 15.0 + bend_euler_27: + mirror: true + rotation: 270 + x: 353.0 + y: -3.0 + bend_euler_28: + mirror: true + rotation: 180 + x: 10.0 + y: -13.0 + bend_euler_29: + mirror: true + rotation: 90 + x: 0.0 + y: 11.0 + bend_euler_3: + mirror: 0 + rotation: 270 + x: -27.0 + y: -30.0 + bend_euler_30: + mirror: true + rotation: 0 + x: 349.0 + y: 21.0 + bend_euler_31: + mirror: true + rotation: 270 + x: 359.0 + y: -9.0 + bend_euler_32: + mirror: true + rotation: 180 + x: 4.0 + y: -19.0 + bend_euler_33: + mirror: true + rotation: 90 + x: -6.0 + y: 17.0 + bend_euler_34: + mirror: true + rotation: 0 + x: 355.0 + y: 27.0 + bend_euler_35: + mirror: true + rotation: 270 + x: 365.0 + y: -15.0 + bend_euler_36: + mirror: true + rotation: 180 + x: -2.0 + y: -25.0 + bend_euler_37: + mirror: true + rotation: 90 + x: -12.0 + y: 23.0 + bend_euler_38: + mirror: true + rotation: 0 + x: 361.0 + y: 33.0 + bend_euler_39: + mirror: true + rotation: 270 + x: 371.0 + y: -21.0 + bend_euler_4: + mirror: 0 + rotation: 0 + x: 370.0 + y: -40.0 + bend_euler_40: + mirror: true + rotation: 180 + x: -8.0 + y: -31.0 + bend_euler_41: + mirror: true + rotation: 90 + x: -18.0 + y: 29.0 + bend_euler_42: + mirror: true + rotation: 0 + x: 367.0 + y: 39.0 + bend_euler_43: + mirror: true + rotation: 270 + x: 377.0 + y: -27.0 + bend_euler_44: + mirror: true + rotation: 180 + x: -14.0 + y: -37.0 + bend_euler_45: + mirror: true + rotation: 90 + x: -24.0 + y: 35.0 + bend_euler_46: + mirror: true + rotation: 0 + x: 373.0 + y: 45.0 + bend_euler_5: + mirror: 0 + rotation: 90 + x: 380.0 + y: 32.0 + bend_euler_6: + mirror: 0 + rotation: 180 + x: -11.0 + y: 42.0 + bend_euler_7: + mirror: 0 + rotation: 270 + x: -21.0 + y: -24.0 + bend_euler_8: + mirror: 0 + rotation: 0 + x: 364.0 + y: -34.0 + bend_euler_9: + mirror: 0 + rotation: 90 + x: 374.0 + y: 26.0 + straight_1: + mirror: 0 + rotation: 90 + x: 386.0 + y: -46.0 + straight_10: + mirror: 0 + rotation: 180 + x: 364.0 + y: 36.0 + straight_11: + mirror: 0 + rotation: 270 + x: -15.0 + y: 26.0 + straight_12: + mirror: 0 + rotation: 0 + x: -5.0 + y: -28.0 + straight_13: + mirror: 0 + rotation: 90 + x: 368.0 + y: -18.0 + straight_14: + mirror: 0 + rotation: 180 + x: 358.0 + y: 30.0 + straight_15: + mirror: 0 + rotation: 270 + x: -9.0 + y: 20.0 + straight_16: + mirror: 0 + rotation: 0 + x: 1.0 + y: -22.0 + straight_17: + mirror: 0 + rotation: 90 + x: 362.0 + y: -12.0 + straight_18: + mirror: 0 + rotation: 180 + x: 352.0 + y: 24.0 + straight_19: + mirror: 0 + rotation: 270 + x: -3.0 + y: 14.0 + straight_2: + mirror: 0 + rotation: 180 + x: 376.0 + y: 48.0 + straight_20: + mirror: 0 + rotation: 0 + x: 7.0 + y: -16.0 + straight_21: + mirror: 0 + rotation: 90 + x: 356.0 + y: -6.0 + straight_22: + mirror: 0 + rotation: 180 + x: 346.0 + y: 18.0 + straight_23: + mirror: 0 + rotation: 270 + x: 303.0 + y: 8.0 + straight_24: + mirror: 0 + rotation: 0 + x: 313.0 + y: -10.0 + straight_25: + mirror: 0 + rotation: 90 + x: 328.0 + y: 0.0 + straight_26: + mirror: 0 + rotation: 0 + x: 338.0 + y: 15.0 + straight_27: + mirror: 0 + rotation: 270 + x: 353.0 + y: 5.0 + straight_28: + mirror: 0 + rotation: 180 + x: 343.0 + y: -13.0 + straight_29: + mirror: 0 + rotation: 90 + x: 0.0 + y: -3.0 + straight_3: + mirror: 0 + rotation: 270 + x: -27.0 + y: 38.0 + straight_30: + mirror: 0 + rotation: 0 + x: 10.0 + y: 21.0 + straight_31: + mirror: 0 + rotation: 270 + x: 359.0 + y: 11.0 + straight_32: + mirror: 0 + rotation: 180 + x: 349.0 + y: -19.0 + straight_33: + mirror: 0 + rotation: 90 + x: -6.0 + y: -9.0 + straight_34: + mirror: 0 + rotation: 0 + x: 4.0 + y: 27.0 + straight_35: + mirror: 0 + rotation: 270 + x: 365.0 + y: 17.0 + straight_36: + mirror: 0 + rotation: 180 + x: 355.0 + y: -25.0 + straight_37: + mirror: 0 + rotation: 90 + x: -12.0 + y: -15.0 + straight_38: + mirror: 0 + rotation: 0 + x: -2.0 + y: 33.0 + straight_39: + mirror: 0 + rotation: 270 + x: 371.0 + y: 23.0 + straight_4: + mirror: 0 + rotation: 0 + x: -17.0 + y: -40.0 + straight_40: + mirror: 0 + rotation: 180 + x: 361.0 + y: -31.0 + straight_41: + mirror: 0 + rotation: 90 + x: -18.0 + y: -21.0 + straight_42: + mirror: 0 + rotation: 0 + x: -8.0 + y: 39.0 + straight_43: + mirror: 0 + rotation: 270 + x: 377.0 + y: 29.0 + straight_44: + mirror: 0 + rotation: 180 + x: 367.0 + y: -37.0 + straight_45: + mirror: 0 + rotation: 90 + x: -24.0 + y: -27.0 + straight_46: + mirror: 0 + rotation: 0 + x: -14.0 + y: 45.0 + straight_47: + mirror: 0 + rotation: 270 + x: 383.0 + y: 35.0 + straight_5: + mirror: 0 + rotation: 90 + x: 380.0 + y: -30.0 + straight_6: + mirror: 0 + rotation: 180 + x: 370.0 + y: 42.0 + straight_7: + mirror: 0 + rotation: 270 + x: -21.0 + y: 32.0 + straight_8: + mirror: 0 + rotation: 0 + x: -11.0 + y: -34.0 + straight_9: + mirror: 0 + rotation: 90 + x: 374.0 + y: -24.0 +ports: + o1: straight_47,o2 + o2: straight_1,o1 diff --git a/tests/test_netlists/test_netlists_straight_.yml b/tests/test_netlists/test_netlists_straight_.yml new file mode 100644 index 00000000..dc6aa4dc --- /dev/null +++ b/tests/test_netlists/test_netlists_straight_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: straight +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_straight_heater_metal_.yml b/tests/test_netlists/test_netlists_straight_heater_metal_.yml new file mode 100644 index 00000000..8f3009d0 --- /dev/null +++ b/tests/test_netlists/test_netlists_straight_heater_metal_.yml @@ -0,0 +1,244 @@ +connections: {} +instances: + component_sequence_1: + component: component_sequence + info: {} + settings: + port_name1: o1 + port_name2: o2 + ports_map: null + sequence: _-UHUHUHUHUHUHUHUH-_ + start_orientation: 0.0 + symbol_to_component: + '-': + - function: straight + module: ubcpdk.components + settings: + cross_section: xs_sc_heater_metal + length: 15.9 + npoints: 2 + - o1 + - o2 + H: + - function: straight + module: ubcpdk.components + settings: + cross_section: xs_sc_heater_metal + length: 6.0 + npoints: 2 + - o1 + - o2 + U: + - function: straight + module: ubcpdk.components + settings: + cross_section: xs_sc_heater_metal + length: 30.0 + npoints: 2 + - o1 + - o2 + _: + - function: straight + module: gdsfactory.components.straight + settings: + cross_section: xs_sc + length: 0.1 + npoints: 2 + - o1 + - o2 + taper_1: + component: taper + info: + length: 5.0 + width1: 10.0 + width2: 4.0 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: null + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: + - 11 + - 0 + name: _default + offset: 0.0 + offset_function: null + port_names: + - e1 + - e2 + port_types: + - electrical + - electrical + simplify: null + width: 4.0 + width_function: null + length: 5.0 + port: null + port_order_name: + - o1 + - o2 + port_order_types: + - optical + - optical + width1: 10.0 + width2: 4.0 + with_two_ports: true + taper_2: + component: taper + info: + length: 5.0 + width1: 10.0 + width2: 4.0 + settings: + cross_section: + bbox_layers: null + bbox_offsets: null + components_along_path: [] + radius: null + radius_min: 5.0 + sections: + - hidden: false + insets: null + layer: + - 11 + - 0 + name: _default + offset: 0.0 + offset_function: null + port_names: + - e1 + - e2 + port_types: + - electrical + - electrical + simplify: null + width: 4.0 + width_function: null + length: 5.0 + port: null + port_order_name: + - o1 + - o2 + port_order_types: + - optical + - optical + width1: 10.0 + width2: 4.0 + with_two_ports: true + via_stack_1: + component: via_stack + info: + layer: + - 12 + - 0 + size: + - 10 + - 10 + xsize: 10 + ysize: 10 + settings: + correct_size: true + layer_offsets: null + layer_port: null + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + slot_horizontal: false + slot_vertical: false + vias: + - null + - null + via_stack_2: + component: via_stack + info: + layer: + - 12 + - 0 + size: + - 10 + - 10 + xsize: 10 + ysize: 10 + settings: + correct_size: true + layer_offsets: null + layer_port: null + layers: + - - 11 + - 0 + - - 12 + - 0 + size: + - 10 + - 10 + slot_horizontal: false + slot_vertical: false + vias: + - null + - null +name: straight_heater_metal_undercut_with_undercutFalse +placements: + component_sequence_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 + taper_1: + mirror: 0 + rotation: 0 + x: -4.905 + y: 0.0 + taper_2: + mirror: 0 + rotation: 180 + x: 324.905 + y: 0.0 + via_stack_1: + mirror: 0 + rotation: 0 + x: -9.905 + y: 0.0 + via_stack_2: + mirror: 0 + rotation: 0 + x: 329.905 + y: 0.0 +ports: + l_e1: via_stack_1,e1 + l_e2: via_stack_1,e2 + l_e3: via_stack_1,e3 + l_e4: via_stack_1,e4 + o1: component_sequence_1,o1 + o2: component_sequence_1,o2 + r_e1: via_stack_2,e1 + r_e2: via_stack_2,e2 + r_e3: via_stack_2,e3 + r_e4: via_stack_2,e4 +warnings: + optical: + unconnected_ports: + - message: 4 unconnected optical ports! + ports: + - taper_1,o1 + - taper_1,o2 + - taper_2,o1 + - taper_2,o2 + values: + - - -4.905 + - 0.0 + - - 0.095 + - 0.0 + - - 324.905 + - 0.0 + - - 319.905 + - 0.0 diff --git a/tests/test_netlists/test_netlists_straight_one_pin_.yml b/tests/test_netlists/test_netlists_straight_one_pin_.yml new file mode 100644 index 00000000..3695803a --- /dev/null +++ b/tests/test_netlists/test_netlists_straight_one_pin_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: straight_one_pin +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_taper_.yml b/tests/test_netlists/test_netlists_taper_.yml new file mode 100644 index 00000000..472c9453 --- /dev/null +++ b/tests/test_netlists/test_netlists_taper_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: taper +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_terminator_short_.yml b/tests/test_netlists/test_netlists_terminator_short_.yml new file mode 100644 index 00000000..da838a2d --- /dev/null +++ b/tests/test_netlists/test_netlists_terminator_short_.yml @@ -0,0 +1,43 @@ +connections: {} +instances: + taper_1: + component: taper + info: + length: 10.0 + width1: 0.5 + width2: 0.5 + settings: + cross_section: + function: cross_section + module: gdsfactory.cross_section + settings: + radius_min: 5 + length: 10.0 + port: null + port_order_name: + - o1 + - o2 + port_order_types: + - optical + - optical + width1: 0.5 + width2: null + with_two_ports: true +name: terminator_short +placements: + taper_1: + mirror: 0 + rotation: 0 + x: 0.0 + y: 0.0 +ports: + o1: taper_1,o1 +warnings: + optical: + unconnected_ports: + - message: 1 unconnected optical ports! + ports: + - taper_1,o2 + values: + - - 10.0 + - 0.0 diff --git a/tests/test_netlists/test_netlists_thermal_phase_shifter0_.yml b/tests/test_netlists/test_netlists_thermal_phase_shifter0_.yml new file mode 100644 index 00000000..17efc2c8 --- /dev/null +++ b/tests/test_netlists/test_netlists_thermal_phase_shifter0_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: thermal_phase_shifter0 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_thermal_phase_shifter1_.yml b/tests/test_netlists/test_netlists_thermal_phase_shifter1_.yml new file mode 100644 index 00000000..dea5860b --- /dev/null +++ b/tests/test_netlists/test_netlists_thermal_phase_shifter1_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: thermal_phase_shifter1 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_thermal_phase_shifter2_.yml b/tests/test_netlists/test_netlists_thermal_phase_shifter2_.yml new file mode 100644 index 00000000..3d149414 --- /dev/null +++ b/tests/test_netlists/test_netlists_thermal_phase_shifter2_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: thermal_phase_shifter2 +placements: {} +ports: {} diff --git a/tests/test_netlists/test_netlists_thermal_phase_shifter3_.yml b/tests/test_netlists/test_netlists_thermal_phase_shifter3_.yml new file mode 100644 index 00000000..bff7b431 --- /dev/null +++ b/tests/test_netlists/test_netlists_thermal_phase_shifter3_.yml @@ -0,0 +1,5 @@ +connections: {} +instances: {} +name: thermal_phase_shifter3 +placements: {} +ports: {} diff --git a/ubcpdk/components.py b/ubcpdk/components.py index 725efeb4..dfd4c848 100644 --- a/ubcpdk/components.py +++ b/ubcpdk/components.py @@ -11,7 +11,6 @@ Label, LayerSpec, List, - Metadata, Optional, Port, Tuple, @@ -24,8 +23,6 @@ LAYER, LAYER_STACK, add_pins_bbox_siepic, - add_pins_bbox_siepic_remove_layers, - add_pins_siepic_metal, ) um = 1e-6 @@ -40,12 +37,15 @@ def bend_euler_sc(**kwargs) -> Component: bend_euler180_sc = partial(bend_euler_sc, angle=180) bend = bend_euler_sc -straight = partial( - gf.components.straight, - cross_section="xs_sc", - post_process=(tech.add_bbox_siepic_top_bot,), -) -straight_heater_metal = gf.c.straight_heater_metal + +@gf.cell(post_process=(tech.add_pins_bbox_siepic,)) +def straight(length: float = 1.0, npoints: int = 2, cross_section="xs_sc"): + return gf.components.straight( + length=length, npoints=npoints, cross_section=cross_section + ) + + +straight_heater_metal = partial(gf.c.straight_heater_metal, straight=straight) bend_s = partial( gf.components.bend_s, cross_section="xs_sc", @@ -494,8 +494,6 @@ def add_fiber_array( cross_section: CrossSectionSpec = "xs_sc", layer_label: LayerSpec = LAYER.TEXT, straight: ComponentSpec = straight, - post_process: Callable | list[Callable] | None = None, - info: Metadata | None = None, **kwargs, ) -> Component: """Returns component with grating couplers and labels on each port. @@ -515,8 +513,6 @@ def add_fiber_array( cross_section: spec. layer_label: for label. straight: straight component. - post_process: function to post process the component. - info: metadata. """ c = gf.Component() @@ -542,8 +538,6 @@ def add_fiber_array( c.add_ports(ref.ports) c.copy_child_info(component) - c.post_process(post_process) - c.info.update(info or {}) return c @@ -639,21 +633,19 @@ def dbr( return add_pins_bbox_siepic(c) -coupler = partial( - gf.components.coupler, - cross_section=tech.xs_sc_simple, - post_process=tech.add_pins_bbox_siepic, -) -coupler_ring = partial( - gf.components.coupler_ring, - cross_section=tech.xs_sc_simple, - post_process=tech.add_pins_bbox_siepic, -) -mmi1x2 = partial( - gf.components.mmi1x2, - cross_section=tech.xs_sc_simple, - post_process=tech.add_pins_bbox_siepic, -) +@gf.cell(post_process=(tech.add_pins_bbox_siepic,)) +def coupler(**kwargs) -> gf.Component: + return gf.components.coupler(**kwargs) + + +@gf.cell(post_process=(tech.add_pins_bbox_siepic,)) +def coupler_ring(**kwargs) -> gf.Component: + return gf.components.coupler_ring(**kwargs) + + +@gf.cell(post_process=(tech.add_pins_bbox_siepic,)) +def mmi1x2(**kwargs) -> gf.Component: + return gf.components.mmi1x2(**kwargs) @gf.cell @@ -752,7 +744,7 @@ def ebeam_dc_halfring_straight( ebeam_dc_te1550 = partial( - gf.components.coupler, post_process=add_pins_bbox_siepic_remove_layers + gf.components.coupler, ) taper = partial(gf.components.taper) spiral = partial(gf.components.spiral_external_io) @@ -773,7 +765,6 @@ def ebeam_dc_halfring_straight( layer=LAYER.M2_ROUTER, bbox_layers=(LAYER.PAD_OPEN,), bbox_offsets=(-1.8,), - post_process=add_pins_siepic_metal, ) @@ -820,14 +811,9 @@ def add_fiber_array_pads_rf( kwargs: for add_fiber_array. """ c0 = gf.get_component(component) - text = f"elec_{username}-{clean_name(c0.name)}_G" - add_label = partial(add_label_electrical, text=text) - rename_ports_and_add_label = gf.compose( - add_label, gf.port.auto_rename_ports_electrical - ) - c1 = add_pads_rf( - component=c0, post_process=rename_ports_and_add_label, orientation=orientation - ) + # text = f"elec_{username}-{clean_name(c0.name)}_G" + # add_label = partial(add_label_electrical, text=text) + c1 = add_pads_rf(component=c0, orientation=orientation) return add_fiber_array(component=c1, **kwargs) @@ -845,13 +831,13 @@ def add_pads( kwargs: for add_fiber_array. """ c0 = gf.get_component(component) - text = f"elec_{username}-{clean_name(c0.name)}_G" - add_label = partial(add_label_electrical, text=text) - return add_pads_rf(component=c, post_process=add_label, **kwargs) + # text = f"elec_{username}-{clean_name(c0.name)}_G" + # add_label = partial(add_label_electrical, text=text) + return add_pads_rf(component=c0, **kwargs) if __name__ == "__main__": - # c = mzi_heater() + # c = straight() # c = uc.ring_single_heater() # c = uc.add_fiber_array_pads_rf(c) @@ -867,11 +853,11 @@ def add_pads( # c = bend_euler() # c = mzi() # c = spiral() - # c = mzi_heater() + c = pad_array() # c = ring_double_heater() # c = ring_single_heater() - c = ebeam_y_1550() + # c = ebeam_y_1550() # c = ebeam_dc_halfring_straight() # c = ring_with_crossing() # c = ring_single() - c.show(show_ports=True) + c.show(show_ports=False) diff --git a/ubcpdk/import_gds.py b/ubcpdk/import_gds.py index 2f9a261e..d51dbbcf 100644 --- a/ubcpdk/import_gds.py +++ b/ubcpdk/import_gds.py @@ -167,13 +167,13 @@ def add_ports_from_siepic_pins( ) +@gf.cell(autoname=False, post_process=(add_ports_from_siepic_pins,)) def import_gds(gdspath, **kwargs): return gf.import_gds( gdspath, gdsdir=PATH.gds, library="Design kits/ebeam", model=gdspath.split(".")[0], - post_process=add_ports_from_siepic_pins, **kwargs, ) diff --git a/ubcpdk/tech.py b/ubcpdk/tech.py index 0afc07cb..ec2686e9 100644 --- a/ubcpdk/tech.py +++ b/ubcpdk/tech.py @@ -173,9 +173,6 @@ def add_pins_bbox_siepic( return c -add_pins_bbox_siepic_remove_layers = partial(add_pins_bbox_siepic, remove_layers=True) - - add_pins_bbox_siepic_metal = partial( add_pins_bbox_siepic, port_type="placement", layer_pin=LAYER.PORTE ) @@ -294,8 +291,6 @@ class Tech(BaseModel): ############################ cross_section = partial( gf.cross_section.cross_section, - add_pins_function_name="add_pins_siepic", - add_pins_function_module="ubcpdk.tech", radius_min=5, ) @@ -312,8 +307,6 @@ class Tech(BaseModel): layer_heater=LAYER.M1_HEATER, cladding_layers=cladding_layers_optical_siepic, cladding_offsets=cladding_offsets_optical_siepic, - add_pins_function_name="add_pins_siepic", - add_pins_function_module="ubcpdk.tech", ) strip_bbox = partial( @@ -330,9 +323,7 @@ class Tech(BaseModel): port_types=gf.cross_section.port_types_electrical, radius=None, ) -heater_metal = partial( - metal_routing, width=4, layer=LAYER.M1_HEATER, add_pins_function_name=None -) +heater_metal = partial(metal_routing, width=4, layer=LAYER.M1_HEATER) ############################ # Cross-sections