案例分享:周期阵列填充函数:ArrayFillTraceWindow
所有代码如下:
from si_fab import all as pdk import ipkiss3.all as i3 total_length = 250 reference = i3.LayoutCell().Layout( elements=[i3.Rectangle(layer=i3.TECH.PPLAYER.V12, box_size=(5, 5))] ) windows = [ i3.PathTraceWindow(layer=i3.TECH.PPLAYER.M1, start_offset=-10, end_offset=10), i3.ArrayFillTraceWindow( start_offset=-10, end_offset=10, reference=reference, pitch=(10, 10) ), ] wg_t = i3.ElectricalWindowWireTemplate() wg_t.Layout(windows=windows) mod = i3.ElectricalWire(trace_template=wg_t) mod.Layout(shape=[(0, 0), (total_length, 0)]).visualize()