Root/sie_fs/usr/local/share/urjtag/lattice/lc4032v-tqfp48/lc4032v-tqfp48

1#
2# $Id: lc4032v-tqfp48 619 2004-11-16 21:51:27Z telka $
3#
4# JTAG declarations for Lattice LC4032V (48-pin TQFP)
5# Copyright (C) 2002 ETC s.r.o.
6#
7# This program is free software; you can redistribute it and/or
8# modify it under the terms of the GNU General Public License
9# as published by the Free Software Foundation; either version 2
10# of the License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20# 02111-1307, USA.
21#
22# Written by Marcel Telka <marcel@telka.sk>, 2002.
23#
24
25signal IOA0 44
26signal IOA1 45
27signal IOA2 46
28signal IOA3 47
29signal IOA4 48
30signal IOA5 2
31signal IOA6 3
32signal IOA7 4
33signal IOA8 7
34signal IOA9 8
35signal IOA10 9
36signal IOA11 10
37signal IOA12 14
38signal IOA13 15
39signal IOA14 16
40signal IOA15 17
41signal IOB0 20
42signal IOB1 21
43signal IOB2 22
44signal IOB3 23
45signal IOB4 24
46signal IOB5 26
47signal IOB6 27
48signal IOB7 28
49signal IOB8 31
50signal IOB9 32
51signal IOB10 33
52signal IOB11 34
53signal IOB12 38
54signal IOB13 39
55signal IOB14 40
56signal IOB15 41
57signal CLK0 43
58signal CLK1 18
59signal CLK2 19
60signal CLK3 42
61signal TDI 1
62signal TCK 11
63signal TMS 25
64signal TDO 35
65signal GND0 5
66signal GND1 29
67signal GND 13 37
68signal VCCO0 6
69signal VCCO1 30
70signal VCC 12 36
71
72
73# mandatory data registers
74register BSR 68 # Boundary Scan Register
75register BR 1 # Bypass Register
76
77# optional data registers
78register DIR 32 # Device Identification Register
79
80instruction length 8
81
82# mandatory instructions
83instruction EXTEST 00000000 BSR
84instruction SAMPLE/PRELOAD 00011100 BSR
85instruction BYPASS 11111111 BR
86
87# optional instructions
88instruction IDCODE 00010110 DIR
89instruction USERCODE 00010111 DIR
90instruction HIGHZ 00011000 BR
91instruction CLAMP 00100000 BR
92
93# ISC instructions
94#instruction ISC_ENABLE 00010101
95#instruction ISC_DISABLE 00011110
96#instruction ISC_NOOP 00110000
97#instruction ISC_ADDRESS_SHIFT 00000001
98#instruction ISC_DATA_SHIFT 00000010
99#instruction ISC_ERASE 00000011
100#instruction ISC_DISCHARGE 00010100
101#instruction ISC_PROGRAM_INCR 00100111
102#instruction ISC_READ_INCR 00101010
103#instruction ISC_PROGRAM_SECURITY 00001001
104#instruction ISC_PROGRAM_DONE 00101111
105#instruction ISC_ERASE_DONE 00100100
106#instruction ISC_PROGRAM_USERCODE 00011010
107#instruction LSC_ADDRESS_INIT 00100001
108
109
110# Boundary Scan Register bit definition
111
112bit 67 I ? CLK0
113bit 66 B ? IOA0 65 0 Z
114bit 65 C 0 IOA0
115bit 64 B ? IOA1 63 0 Z
116bit 63 C 0 IOA1
117bit 62 B ? IOA2 61 0 Z
118bit 61 C 0 IOA2
119bit 60 B ? IOA3 59 0 Z
120bit 59 C 0 IOA3
121bit 58 B ? IOA4 57 0 Z
122bit 57 C 0 IOA4
123bit 56 B ? IOA5 55 0 Z
124bit 55 C 0 IOA5
125bit 54 B ? IOA6 53 0 Z
126bit 53 C 0 IOA6
127bit 52 B ? IOA7 51 0 Z
128bit 51 C 0 IOA7
129bit 50 B ? IOA8 49 0 Z
130bit 49 C 0 IOA8
131bit 48 B ? IOA9 47 0 Z
132bit 47 C 0 IOA9
133bit 46 B ? IOA10 45 0 Z
134bit 45 C 0 IOA10
135bit 44 B ? IOA11 43 0 Z
136bit 43 C 0 IOA11
137bit 42 B ? IOA12 41 0 Z
138bit 41 C 0 IOA12
139bit 40 B ? IOA13 39 0 Z
140bit 39 C 0 IOA13
141bit 38 B ? IOA14 37 0 Z
142bit 37 C 0 IOA14
143bit 36 B ? IOA15 35 0 Z
144bit 35 C 0 IOA15
145bit 34 I ? CLK1
146bit 33 I ? CLK2
147bit 32 B ? IOB0 31 0 Z
148bit 31 C 0 IOB0
149bit 30 B ? IOB1 29 0 Z
150bit 29 C 0 IOB1
151bit 28 B ? IOB2 27 0 Z
152bit 27 C 0 IOB2
153bit 26 B ? IOB3 25 0 Z
154bit 25 C 0 IOB3
155bit 24 B ? IOB4 23 0 Z
156bit 23 C 0 IOB4
157bit 22 B ? IOB5 21 0 Z
158bit 21 C 0 IOB5
159bit 20 B ? IOB6 19 0 Z
160bit 19 C 0 IOB6
161bit 18 B ? IOB7 17 0 Z
162bit 17 C 0 IOB7
163bit 16 B ? IOB8 15 0 Z
164bit 15 C 0 IOB8
165bit 14 B ? IOB9 13 0 Z
166bit 13 C 0 IOB9
167bit 12 B ? IOB10 11 0 Z
168bit 11 C 0 IOB10
169bit 10 B ? IOB11 9 0 Z
170bit 9 C 0 IOB11
171bit 8 B ? IOB12 7 0 Z
172bit 7 C 0 IOB12
173bit 6 B ? IOB13 5 0 Z
174bit 5 C 0 IOB13
175bit 4 B ? IOB14 3 0 Z
176bit 3 C 0 IOB14
177bit 2 B ? IOB15 1 0 Z
178bit 1 C 0 IOB15
179bit 0 I ? CLK3
180

Archive Download this file

Branches:
master



interactive