summaryrefslogtreecommitdiff
path: root/circuitbuilder/scripts/link-n-to-one
blob: d15ee50ea5304cb69169645886f6fb2606c2e822 (plain)
1
2
3
4
5
n = 32
i0 = 1
n0 = 38
for i in range(n):
    builder.add_link(builder.get_component("g%d"%(i0+i)), 1, builder.get_component("g%d"%(n0)), 1+i)