summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2009-12-04 14:21:48 +0100
committerGuillaume Seguin <guillaume@segu.in>2009-12-04 14:21:48 +0100
commit2f815c013e0d26d4b6fd64764488fb9fb5709067 (patch)
treee586092bdd2043d051da1ee3bf2b755f5e04c75e
parent09072bf8b3b415ab286e230055f9f5b2d86edc3a (diff)
downloadsysdigit-2f815c013e0d26d4b6fd64764488fb9fb5709067.tar.gz
sysdigit-2f815c013e0d26d4b6fd64764488fb9fb5709067.tar.bz2
Update scriptsHEADallinmain
-rw-r--r--circuitbuilder/scripts/add-n-components2
-rw-r--r--circuitbuilder/scripts/link-n-to-one4
-rw-r--r--circuitbuilder/scripts/link-one-gate-to-n-gates6
-rw-r--r--circuitbuilder/scripts/link-one-to-one2
4 files changed, 7 insertions, 7 deletions
diff --git a/circuitbuilder/scripts/add-n-components b/circuitbuilder/scripts/add-n-components
index c3e92d0..46ad669 100644
--- a/circuitbuilder/scripts/add-n-components
+++ b/circuitbuilder/scripts/add-n-components
@@ -1,4 +1,4 @@
-n = 16
+n = 32
comp = "Output"
component_class = builder.get_component_class(comp)
for i in range(n):
diff --git a/circuitbuilder/scripts/link-n-to-one b/circuitbuilder/scripts/link-n-to-one
index 46a93d0..d15ee50 100644
--- a/circuitbuilder/scripts/link-n-to-one
+++ b/circuitbuilder/scripts/link-n-to-one
@@ -1,5 +1,5 @@
-n = 16
+n = 32
i0 = 1
-n0 = 33
+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)
diff --git a/circuitbuilder/scripts/link-one-gate-to-n-gates b/circuitbuilder/scripts/link-one-gate-to-n-gates
index e4fe299..d7fd51c 100644
--- a/circuitbuilder/scripts/link-one-gate-to-n-gates
+++ b/circuitbuilder/scripts/link-one-gate-to-n-gates
@@ -1,5 +1,5 @@
-n = 16
-i0 = 17
-n0 = 18
+n = 32
+i0 = 33
+n0 = 1
for i in range(n):
builder.add_link(builder.get_component("g%d"%i0), i+1, builder.get_component("g%d"%(n0+i)), 1)
diff --git a/circuitbuilder/scripts/link-one-to-one b/circuitbuilder/scripts/link-one-to-one
index dd1d593..8bef26f 100644
--- a/circuitbuilder/scripts/link-one-to-one
+++ b/circuitbuilder/scripts/link-one-to-one
@@ -1,5 +1,5 @@
i0 = 1
-i1 = 32
+i1 = 33
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)