Files
mxpic_forge/_test_.py
T
2026-05-17 11:58:41 +08:00

20 lines
735 B
Python

import mxpic as mx
import nazca as nd
import numpy as np
w_teeth_SiN = 0.5*np.ones(30)
gap_teeth_SiN = 0.5*np.ones(30)
w_teeth_Si = 0.45*np.ones(30)
gap_teeth_Si = 0.45*np.ones(30)
tapeout = mx.foundries.Silterra.EOM1_2ML_CU()
GC = mx.grating_couplers.GC_SiN_Si_Dual_Layer(name="test",
w_teeth_SiN=w_teeth_SiN,gap_teeth_SiN=gap_teeth_SiN,
w_teeth_Si=w_teeth_Si,gap_teeth_Si=gap_teeth_Si,
layer_Si_teeth="WG_HM",layer_Si_slab="WG_HIGHRIB",
layer_SiN_etch="SiN_Rib_WG",layer_SiN_slab="WG_N")
nd.export_gds(topcells=GC.cell,filename="..\\test.gds")