Version 0 of Xilinx demo board pin names extractor

Updated 2005-03-04 21:35:03

Theo Verelst

It might not be something all tclers are into, but it is certainly in direct line of the origin of the tool command language and its graphical extension Tk.

Everybody who owns the Xilinx [L1 ] / Diligent CoolrunnerII demo board (which is fairly cheap if you're into digital hardware) will know the pin mapping problem: the digital circuit design program allows names for external pins, and the pin assignment tool lets you map those names to one of the 144 pins of the coolrunner Complex Programmable Logic Device chip, and then you need the Diligent [L2 ] datasheet of the demo Printed Circuit Board to figure out how all these pins are connected to 3 40 pin interface connectors, to connect you wires to.

Completely doable job, but with 120 pins, things get tedious late at night, so there is a perfect job for tcl and tk (and I used BWise, but that's not really necessary here, I just used the main canvas). I started by clipping the conversion table from the board datasheet (PDF) file, and pasted it into the bwise text window (opened by using 'open_text' in the console), which is widget .tt.t :


Table 1. XC2-XL board expansion connector pinouts A connector (J3) B connector (J4) C connector (J5) D connector (J6) Pin Signal CR2 pin Pin Signal CR2 pin Pin Signal XC95 pin Pin Signal CR2 pin

1 GND - 1 GND - 1 GND - 1 GND - 2 VU - 2 VU - 2 VU - 2 VU - 3 VDD33 - 3 VDD33 - 3 VDD33 - 3 VDD33 - 4 A4 43 4 B4/GSR 143 4 C4/LD3 44 4 D4 91 5 A5 42 5 B5 142 5 C5 43 5 L5 88 6 A6 41 6 B6 140 6 C6 42 6 D6 87 7 A7 39 7 B7 139 7 C7 41 7 D7 86 8 A8 40 8 B8 138 8 C8 40 8 D8 85 9 XCCLK 38 9 B9 137 9 C9 39 9 D9 83 10 A10 34 10 B10 136 10 C10 38 10 D10 82 11 A11 35 11 B11 135 11 C11 37 11 D11 81 12 A12 33 12 B12 134 12 C12 36 12 D12 80 13 A13 32 13 B13 133 13 C13 34 13 D13 79 14 A14 31 14 B14 132 14 C14/GSR 33 14 D14 78 15 A15 30 15 B15 131 15 C15 32 15 D15 77 16 A16 28 16 B16 130 16 C16 31 16 D16 76 17 A17 26 17 B17 129 17 C17 30 17 D17 75 18 A18 25 18 B18 128 18 C18 29 18 D18 74 19 A19 24 19 B19 126 19 C19 28 19 D19 71 20 A20 23 20 B20 125 20 C20 27 20 D20 70 21 A21 22 21 B21 124 21 C21 23 21 D21 69 22 A22 21 22 B22 121 22 C22 22 22 D22 68 23 A23 20 23 B23 120 23 C23 21 23 D23 66 24 A24 19 24 B24 119 24 C24 20 24 D24 64 25 A25 18 25 B25 118 25 C25 19 25 D25 61 26 A26 17 26 B26 117 26 C26 7 26 D26 60 27 A27 16 27 B27 116 27 C27 27 D27 59 28 A28 15 28 B28 115 28 C28 28 D28 58 29 A29 14 29 B29 114 29 C29 29 D29 57 30 A30 13 30 B30 113 30 C30 3 30 D30 56 31 A31 12 31 B31 112 31 C31 2 31 D31 54 32 A32 11 32 B32 111 32 XLCLK 1 32 D32 53 33 A33 10 33 B33 110 33 C33 18 33 D33 52 34 A34 9 34 B34 107 34 C34 16 34 D34 51 35 A35 7 35 B35 106 35 C35 14 35 D35 50 36 A36 6 36 B36 105 36 C36 13 36 D36 49 37 A37 5 37 B37 104 37 C37 12 37 D37 48 38 A38 4 38 B38 103 38 C38 8 38 D38 46 39 A39 3 39 B39 102 39 C39 6 39 D39 45 40 A40 2 40 B40 101 40 C40 5 40 D40 44


http://82.168.209.239/Wiki/xilcondump1.jpg