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