summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-12-20 06:49:03 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2008-12-20 06:49:03 (GMT)
commit8bbdd3453e4218b9f5ef20f0195ccb24bf9f197f (patch)
treed767e7284df3bd51d35e47c90c77b9ab0cace7a5
parent4af27c40a2e4f31f37b939d4c7dccb02d46722cd (diff)
downloadpinlist-8bbdd3453e4218b9f5ef20f0195ccb24bf9f197f.zip
pinlist-8bbdd3453e4218b9f5ef20f0195ccb24bf9f197f.tar.gz
pinlist-8bbdd3453e4218b9f5ef20f0195ccb24bf9f197f.tar.bz2
pinlist-8bbdd3453e4218b9f5ef20f0195ccb24bf9f197f.tar.xz
Use array notation whereever appropriate
If we can make it an array, do so. It makes the code saner.
-rw-r--r--de1.pins156
1 files changed, 78 insertions, 78 deletions
diff --git a/de1.pins b/de1.pins
index 225e004..6462635 100644
--- a/de1.pins
+++ b/de1.pins
@@ -1,75 +1,75 @@
-a13 gpio_0[0]
-b13 gpio_0[1]
-a14 gpio_0[2]
-b14 gpio_0[3]
-a15 gpio_0[4]
-b15 gpio_0[5]
-a16 gpio_0[6]
-b16 gpio_0[7]
-a17 gpio_0[8]
-b17 gpio_0[9]
-a18 gpio_0[10]
-b18 gpio_0[11]
-a19 gpio_0[12]
-b19 gpio_0[13]
-a20 gpio_0[14]
-b20 gpio_0[15]
-c21 gpio_0[16]
-c22 gpio_0[17]
-d21 gpio_0[18]
-d22 gpio_0[19]
-e21 gpio_0[20]
-e22 gpio_0[21]
-f21 gpio_0[22]
-f22 gpio_0[23]
-g21 gpio_0[24]
-g22 gpio_0[25]
-j21 gpio_0[26]
-j22 gpio_0[27]
-k21 gpio_0[28]
-k22 gpio_0[29]
-j19 gpio_0[30]
-j20 gpio_0[31]
-j18 gpio_0[32]
-k20 gpio_0[33]
-l19 gpio_0[34]
-l18 gpio_0[35]
-h12 gpio_1[0]
-h13 gpio_1[1]
-h14 gpio_1[2]
-g15 gpio_1[3]
-e14 gpio_1[4]
-e15 gpio_1[5]
-f15 gpio_1[6]
-g16 gpio_1[7]
-f12 gpio_1[8]
-f13 gpio_1[9]
-c14 gpio_1[10]
-d14 gpio_1[11]
-d15 gpio_1[12]
-d16 gpio_1[13]
-c17 gpio_1[14]
-c18 gpio_1[15]
-c19 gpio_1[16]
-c20 gpio_1[17]
-d19 gpio_1[18]
-d20 gpio_1[19]
-e20 gpio_1[20]
-f20 gpio_1[21]
-e19 gpio_1[22]
-e18 gpio_1[23]
-g20 gpio_1[24]
-g18 gpio_1[25]
-g17 gpio_1[26]
-h17 gpio_1[27]
-j15 gpio_1[28]
-h18 gpio_1[29]
-n22 gpio_1[30]
-n21 gpio_1[31]
-p15 gpio_1[32]
-n15 gpio_1[33]
-p17 gpio_1[34]
-p18 gpio_1[35]
+a13 gpio[0][0]
+b13 gpio[0][1]
+a14 gpio[0][2]
+b14 gpio[0][3]
+a15 gpio[0][4]
+b15 gpio[0][5]
+a16 gpio[0][6]
+b16 gpio[0][7]
+a17 gpio[0][8]
+b17 gpio[0][9]
+a18 gpio[0][10]
+b18 gpio[0][11]
+a19 gpio[0][12]
+b19 gpio[0][13]
+a20 gpio[0][14]
+b20 gpio[0][15]
+c21 gpio[0][16]
+c22 gpio[0][17]
+d21 gpio[0][18]
+d22 gpio[0][19]
+e21 gpio[0][20]
+e22 gpio[0][21]
+f21 gpio[0][22]
+f22 gpio[0][23]
+g21 gpio[0][24]
+g22 gpio[0][25]
+j21 gpio[0][26]
+j22 gpio[0][27]
+k21 gpio[0][28]
+k22 gpio[0][29]
+j19 gpio[0][30]
+j20 gpio[0][31]
+j18 gpio[0][32]
+k20 gpio[0][33]
+l19 gpio[0][34]
+l18 gpio[0][35]
+h12 gpio[1][0]
+h13 gpio[1][1]
+h14 gpio[1][2]
+g15 gpio[1][3]
+e14 gpio[1][4]
+e15 gpio[1][5]
+f15 gpio[1][6]
+g16 gpio[1][7]
+f12 gpio[1][8]
+f13 gpio[1][9]
+c14 gpio[1][10]
+d14 gpio[1][11]
+d15 gpio[1][12]
+d16 gpio[1][13]
+c17 gpio[1][14]
+c18 gpio[1][15]
+c19 gpio[1][16]
+c20 gpio[1][17]
+d19 gpio[1][18]
+d20 gpio[1][19]
+e20 gpio[1][20]
+f20 gpio[1][21]
+e19 gpio[1][22]
+e18 gpio[1][23]
+g20 gpio[1][24]
+g18 gpio[1][25]
+g17 gpio[1][26]
+h17 gpio[1][27]
+j15 gpio[1][28]
+h18 gpio[1][29]
+n22 gpio[1][30]
+n21 gpio[1][31]
+p15 gpio[1][32]
+n15 gpio[1][33]
+p17 gpio[1][34]
+p18 gpio[1][35]
l22 sw[0]
l21 sw[1]
m22 sw[2]
@@ -178,8 +178,8 @@ p3 dram_a[8]
n4 dram_a[9]
w3 dram_a[10]
n6 dram_a[11]
-u3 dram_ba_0
-v4 dram_ba_1
+u3 dram_ba[0]
+v4 dram_ba[1]
t3 dram_cas_n
n3 dram_cke
u4 dram_clk
@@ -200,9 +200,9 @@ r1 dram_dq[12]
r2 dram_dq[13]
t1 dram_dq[14]
t2 dram_dq[15]
-r7 dram_ldqm
+r7 dram_dqm[0]
t5 dram_ras_n
-m5 dram_udqm
+m5 dram_dqm[1]
r8 dram_we_n
ab20 fl_a[0]
aa14 fl_a[1]
@@ -272,8 +272,8 @@ r9 sram_dq[12]
w8 sram_dq[13]
v8 sram_dq[14]
u8 sram_dq[15]
-y7 sram_lb_n
+y7 sram_be_n[0]
t8 sram_oe_n
-w7 sram_ub_n
+w7 sram_be_n[1]
aa10 sram_we_n