summaryrefslogtreecommitdiff
path: root/circuitbuilder/scripts/link-one-to-one
diff options
context:
space:
mode:
Diffstat (limited to 'circuitbuilder/scripts/link-one-to-one')
-rw-r--r--circuitbuilder/scripts/link-one-to-one5
1 files changed, 5 insertions, 0 deletions
diff --git a/circuitbuilder/scripts/link-one-to-one b/circuitbuilder/scripts/link-one-to-one
new file mode 100644
index 0000000..dd1d593
--- /dev/null
+++ b/circuitbuilder/scripts/link-one-to-one
@@ -0,0 +1,5 @@
+i0 = 1
+i1 = 32
+n = 32
+for i in range(n):
+ builder.add_link(builder.get_component("g%d"%(i+i0)), 1, builder.get_component("g%d"%(i+i1)), 1)