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