-- Copyright (C) 1998-2005 Altera Corporation -- -- File Name : EPM240T100.BSD -- Device : EPM240T100 -- Package : 100-Pin Thin Quad Flat Pack -- BSDL Version : 1.11 -- BSDL Status : Final -- Date Created : 11/17/2005 -- Created by : Altera BSDL Generation Program Ver. 1.23 -- Verification : Software syntax checked on: -- Agilent Technologies 3070 BSDL Compiler -- ASSET ScanWorks ver. 3.1.1 -- Corelis ScanPlus TPG ver. 4.04 -- Genrad BSDL syntax checker ver. 4.01, a component -- of Scan Pathfinder(tm) and BasicSCAN(tm) -- GOEPEL Electronics' CASCON-GALAXY(R) ver. 4.03a -- JTAG Technologies BSDL Converter ver. 3.2 -- -- Documentation : MAX II Family Datasheet -- MAX II Handbook Chapter: IEEE 1149.1 (JTAG) -- Boundary Scan Testing in MAX II Devices -- -- ********************************************************************* -- * IMPORTANT NOTICE * -- ********************************************************************* -- -- Altera, MAX II and EPM240 are trademarks of Altera -- Corporation. Altera products, marketed under trademarks, are -- protected under numerous US and foreign patents and pending -- applications, maskwork rights, and copyrights. Altera warrants -- performance of its semiconductor products to current specifications -- in accordance with Altera's standard warranty, but reserves the -- right to make changes to any products and services at any time -- without notice. Altera assumes no responsibility or liability -- arising out of the application or use of any information, product, -- or service described herein except as expressly agreed to in -- writing by Altera Corporation. Altera customers are advised to -- obtain the latest version of device specifications before relying -- on any published information and before placing orders for products -- or services. -- -- ********************************************************************* -- * ENTITY DEFINITION WITH PORTS * -- ********************************************************************* entity EPM240T100 is generic (PHYSICAL_PIN_MAP : string := "TQFP100"); port ( --I/O Pins IO2 , IO3 , IO4 , IO5 , IO6 , IO7 , IO8 , IO12 , IO14 , IO15 , IO16 , IO17 , IO18 , IO19 , IO20 , IO21 , IO26 , IO27 , IO28 , IO29 , IO30 , IO33 , IO34 , IO35 , IO36 , IO37 , IO38 , IO39 , IO40 , IO41 , IO42 , IO43 , IO44 , IO47 , IO48 , IO49 , IO50 , IO51 , IO52 , IO53 , IO54 , IO55 , IO56 , IO57 , IO58 , IO61 , IO62 , IO64 , IO66 , IO67 , IO68 , IO69 , IO70 , IO71 , IO72 , IO73 , IO74 , IO75 , IO76 , IO77 , IO78 , IO81 , IO82 , IO83 , IO84 , IO85 , IO86 , IO87 , IO88 , IO89 , IO90 , IO91 , IO92 , IO95 , IO96 , IO97 , IO98 , IO99 , IO100 , IO1 : inout bit; --JTAG Ports TCK , TMS , TDI : in bit; TDO : out bit; --Power Pins VCC : linkage bit_vector (1 to 8); --Ground Pins GND : linkage bit_vector (1 to 8) ); use STD_1149_1_1994.all; attribute COMPONENT_CONFORMANCE of EPM240T100 : entity is "STD_1149_1_1993"; -- ********************************************************************* -- * PIN MAPPING * -- ********************************************************************* attribute PIN_MAP of EPM240T100 : entity is PHYSICAL_PIN_MAP; constant TQFP100 : PIN_MAP_STRING := --I/O Pins "IO2 : 2 , IO3 : 3 , IO4 : 4 , IO5 : 5 , "& "IO6 : 6 , IO7 : 7 , IO8 : 8 , IO12 : 12 , "& "IO14 : 14 , IO15 : 15 , IO16 : 16 , IO17 : 17 , "& "IO18 : 18 , IO19 : 19 , IO20 : 20 , IO21 : 21 , "& "IO26 : 26 , IO27 : 27 , IO28 : 28 , IO29 : 29 , "& "IO30 : 30 , IO33 : 33 , IO34 : 34 , IO35 : 35 , "& "IO36 : 36 , IO37 : 37 , IO38 : 38 , IO39 : 39 , "& "IO40 : 40 , IO41 : 41 , IO42 : 42 , IO43 : 43 , "& "IO44 : 44 , IO47 : 47 , IO48 : 48 , IO49 : 49 , "& "IO50 : 50 , IO51 : 51 , IO52 : 52 , IO53 : 53 , "& "IO54 : 54 , IO55 : 55 , IO56 : 56 , IO57 : 57 , "& "IO58 : 58 , IO61 : 61 , IO62 : 62 , IO64 : 64 , "& "IO66 : 66 , IO67 : 67 , IO68 : 68 , IO69 : 69 , "& "IO70 : 70 , IO71 : 71 , IO72 : 72 , IO73 : 73 , "& "IO74 : 74 , IO75 : 75 , IO76 : 76 , IO77 : 77 , "& "IO78 : 78 , IO81 : 81 , IO82 : 82 , IO83 : 83 , "& "IO84 : 84 , IO85 : 85 , IO86 : 86 , IO87 : 87 , "& "IO88 : 88 , IO89 : 89 , IO90 : 90 , IO91 : 91 , "& "IO92 : 92 , IO95 : 95 , IO96 : 96 , IO97 : 97 , "& "IO98 : 98 , IO99 : 99 , IO100 : 100 , IO1 : 1 , "& --JTAG ports "TCK : 24 , TMS : 22 , TDI : 23 , TDO : 25 , "& --Power Pins "VCC : (9 , 13 , 31 , 45 , 59 , 63 , 80 , 94 ), "& --Ground Pins "GND : (10 , 11 , 32 , 46 , 60 , 65 , 79 , 93 )"; -- ********************************************************************* -- * IEEE 1149.1 TAP PORTS * -- ********************************************************************* attribute TAP_SCAN_IN of TDI : signal is true; attribute TAP_SCAN_MODE of TMS : signal is true; attribute TAP_SCAN_OUT of TDO : signal is true; attribute TAP_SCAN_CLOCK of TCK : signal is (10.00e6,BOTH); -- ********************************************************************* -- * INSTRUCTIONS AND REGISTER ACCESS * -- ********************************************************************* attribute INSTRUCTION_LENGTH of EPM240T100 : entity is 10; attribute INSTRUCTION_OPCODE of EPM240T100 : entity is "BYPASS (1111111111), "& "EXTEST (0000001111), "& "SAMPLE (0000000101), "& "IDCODE (0000000110), "& "USERCODE (0000000111), "& "CLAMP (0000001010), "& "HIGHZ (0000001011)"; attribute INSTRUCTION_CAPTURE of EPM240T100 : entity is "0101010X01"; attribute IDCODE_REGISTER of EPM240T100 : entity is "0000"& --4-bit Version "0010000010100001"& --16-bit Part Number (hex 20A1) "00001101110"& --11-bit Manufacturer's Identity "1"; --Mandatory LSB attribute USERCODE_REGISTER of EPM240T100 : entity is "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; --All 32 bits are programmable attribute REGISTER_ACCESS of EPM240T100 : entity is "DEVICE_ID (IDCODE)"; -- ********************************************************************* -- * BOUNDARY SCAN CELL INFORMATION * -- ********************************************************************* attribute BOUNDARY_LENGTH of EPM240T100 : entity is 240; attribute BOUNDARY_REGISTER of EPM240T100 : entity is --BSC group 0 for I/O pin 21 "0 (BC_4, IO21, input, X)," & "1 (BC_1, *, control, 1)," & "2 (BC_1, IO21, output3, X, 1, 1, Z)," & --BSC group 1 for I/O pin 20 "3 (BC_4, IO20, input, X)," & "4 (BC_1, *, control, 1)," & "5 (BC_1, IO20, output3, X, 4, 1, Z)," & --BSC group 2 for I/O pin 19 "6 (BC_4, IO19, input, X)," & "7 (BC_1, *, control, 1)," & "8 (BC_1, IO19, output3, X, 7, 1, Z)," & --BSC group 3 for I/O pin 18 "9 (BC_4, IO18, input, X)," & "10 (BC_1, *, control, 1)," & "11 (BC_1, IO18, output3, X, 10, 1, Z)," & --BSC group 4 for I/O pin 17 "12 (BC_4, IO17, input, X)," & "13 (BC_1, *, control, 1)," & "14 (BC_1, IO17, output3, X, 13, 1, Z)," & --BSC group 5 for I/O pin 16 "15 (BC_4, IO16, input, X)," & "16 (BC_1, *, control, 1)," & "17 (BC_1, IO16, output3, X, 16, 1, Z)," & --BSC group 6 for I/O pin 15 "18 (BC_4, IO15, input, X)," & "19 (BC_1, *, control, 1)," & "20 (BC_1, IO15, output3, X, 19, 1, Z)," & --BSC group 7 for I/O pin 14 "21 (BC_4, IO14, input, X)," & "22 (BC_1, *, control, 1)," & "23 (BC_1, IO14, output3, X, 22, 1, Z)," & --BSC group 8 for I/O pin 12 "24 (BC_4, IO12, input, X)," & "25 (BC_1, *, control, 1)," & "26 (BC_1, IO12, output3, X, 25, 1, Z)," & --BSC group 9 for I/O pin 8 "27 (BC_4, IO8, input, X)," & "28 (BC_1, *, control, 1)," & "29 (BC_1, IO8, output3, X, 28, 1, Z)," & --BSC group 10 for I/O pin 7 "30 (BC_4, IO7, input, X)," & "31 (BC_1, *, control, 1)," & "32 (BC_1, IO7, output3, X, 31, 1, Z)," & --BSC group 11 for I/O pin 6 "33 (BC_4, IO6, input, X)," & "34 (BC_1, *, control, 1)," & "35 (BC_1, IO6, output3, X, 34, 1, Z)," & --BSC group 12 for I/O pin 5 "36 (BC_4, IO5, input, X)," & "37 (BC_1, *, control, 1)," & "38 (BC_1, IO5, output3, X, 37, 1, Z)," & --BSC group 13 for I/O pin 4 "39 (BC_4, IO4, input, X)," & "40 (BC_1, *, control, 1)," & "41 (BC_1, IO4, output3, X, 40, 1, Z)," & --BSC group 14 for I/O pin 3 "42 (BC_4, IO3, input, X)," & "43 (BC_1, *, control, 1)," & "44 (BC_1, IO3, output3, X, 43, 1, Z)," & --BSC group 15 for I/O pin 2 "45 (BC_4, IO2, input, X)," & "46 (BC_1, *, control, 1)," & "47 (BC_1, IO2, output3, X, 46, 1, Z)," & --BSC group 16 for I/O pin 1 "48 (BC_4, IO1, input, X)," & "49 (BC_1, *, control, 1)," & "50 (BC_1, IO1, output3, X, 49, 1, Z)," & --BSC group 17 for I/O pin 100 "51 (BC_4, IO100, input, X)," & "52 (BC_1, *, control, 1)," & "53 (BC_1, IO100, output3, X, 52, 1, Z)," & --BSC group 18 for I/O pin 99 "54 (BC_4, IO99, input, X)," & "55 (BC_1, *, control, 1)," & "56 (BC_1, IO99, output3, X, 55, 1, Z)," & --BSC group 19 for I/O pin 98 "57 (BC_4, IO98, input, X)," & "58 (BC_1, *, control, 1)," & "59 (BC_1, IO98, output3, X, 58, 1, Z)," & --BSC group 20 for I/O pin 97 "60 (BC_4, IO97, input, X)," & "61 (BC_1, *, control, 1)," & "62 (BC_1, IO97, output3, X, 61, 1, Z)," & --BSC group 21 for I/O pin 96 "63 (BC_4, IO96, input, X)," & "64 (BC_1, *, control, 1)," & "65 (BC_1, IO96, output3, X, 64, 1, Z)," & --BSC group 22 for I/O pin 95 "66 (BC_4, IO95, input, X)," & "67 (BC_1, *, control, 1)," & "68 (BC_1, IO95, output3, X, 67, 1, Z)," & --BSC group 23 for I/O pin 92 "69 (BC_4, IO92, input, X)," & "70 (BC_1, *, control, 1)," & "71 (BC_1, IO92, output3, X, 70, 1, Z)," & --BSC group 24 for I/O pin 91 "72 (BC_4, IO91, input, X)," & "73 (BC_1, *, control, 1)," & "74 (BC_1, IO91, output3, X, 73, 1, Z)," & --BSC group 25 for I/O pin 90 "75 (BC_4, IO90, input, X)," & "76 (BC_1, *, control, 1)," & "77 (BC_1, IO90, output3, X, 76, 1, Z)," & --BSC group 26 for I/O pin 89 "78 (BC_4, IO89, input, X)," & "79 (BC_1, *, control, 1)," & "80 (BC_1, IO89, output3, X, 79, 1, Z)," & --BSC group 27 for I/O pin 88 "81 (BC_4, IO88, input, X)," & "82 (BC_1, *, control, 1)," & "83 (BC_1, IO88, output3, X, 82, 1, Z)," & --BSC group 28 for I/O pin 87 "84 (BC_4, IO87, input, X)," & "85 (BC_1, *, control, 1)," & "86 (BC_1, IO87, output3, X, 85, 1, Z)," & --BSC group 29 for I/O pin 86 "87 (BC_4, IO86, input, X)," & "88 (BC_1, *, control, 1)," & "89 (BC_1, IO86, output3, X, 88, 1, Z)," & --BSC group 30 for I/O pin 85 "90 (BC_4, IO85, input, X)," & "91 (BC_1, *, control, 1)," & "92 (BC_1, IO85, output3, X, 91, 1, Z)," & --BSC group 31 for I/O pin 84 "93 (BC_4, IO84, input, X)," & "94 (BC_1, *, control, 1)," & "95 (BC_1, IO84, output3, X, 94, 1, Z)," & --BSC group 32 for I/O pin 83 "96 (BC_4, IO83, input, X)," & "97 (BC_1, *, control, 1)," & "98 (BC_1, IO83, output3, X, 97, 1, Z)," & --BSC group 33 for I/O pin 82 "99 (BC_4, IO82, input, X)," & "100 (BC_1, *, control, 1)," & "101 (BC_1, IO82, output3, X, 100, 1, Z)," & --BSC group 34 for I/O pin 81 "102 (BC_4, IO81, input, X)," & "103 (BC_1, *, control, 1)," & "104 (BC_1, IO81, output3, X, 103, 1, Z)," & --BSC group 35 for I/O pin 78 "105 (BC_4, IO78, input, X)," & "106 (BC_1, *, control, 1)," & "107 (BC_1, IO78, output3, X, 106, 1, Z)," & --BSC group 36 for I/O pin 77 "108 (BC_4, IO77, input, X)," & "109 (BC_1, *, control, 1)," & "110 (BC_1, IO77, output3, X, 109, 1, Z)," & --BSC group 37 for I/O pin 76 "111 (BC_4, IO76, input, X)," & "112 (BC_1, *, control, 1)," & "113 (BC_1, IO76, output3, X, 112, 1, Z)," & --BSC group 38 for I/O pin 75 "114 (BC_4, IO75, input, X)," & "115 (BC_1, *, control, 1)," & "116 (BC_1, IO75, output3, X, 115, 1, Z)," & --BSC group 39 for I/O pin 74 "117 (BC_4, IO74, input, X)," & "118 (BC_1, *, control, 1)," & "119 (BC_1, IO74, output3, X, 118, 1, Z)," & --BSC group 40 for I/O pin 73 "120 (BC_4, IO73, input, X)," & "121 (BC_1, *, control, 1)," & "122 (BC_1, IO73, output3, X, 121, 1, Z)," & --BSC group 41 for I/O pin 72 "123 (BC_4, IO72, input, X)," & "124 (BC_1, *, control, 1)," & "125 (BC_1, IO72, output3, X, 124, 1, Z)," & --BSC group 42 for I/O pin 71 "126 (BC_4, IO71, input, X)," & "127 (BC_1, *, control, 1)," & "128 (BC_1, IO71, output3, X, 127, 1, Z)," & --BSC group 43 for I/O pin 70 "129 (BC_4, IO70, input, X)," & "130 (BC_1, *, control, 1)," & "131 (BC_1, IO70, output3, X, 130, 1, Z)," & --BSC group 44 for I/O pin 69 "132 (BC_4, IO69, input, X)," & "133 (BC_1, *, control, 1)," & "134 (BC_1, IO69, output3, X, 133, 1, Z)," & --BSC group 45 for I/O pin 68 "135 (BC_4, IO68, input, X)," & "136 (BC_1, *, control, 1)," & "137 (BC_1, IO68, output3, X, 136, 1, Z)," & --BSC group 46 for I/O pin 67 "138 (BC_4, IO67, input, X)," & "139 (BC_1, *, control, 1)," & "140 (BC_1, IO67, output3, X, 139, 1, Z)," & --BSC group 47 for I/O pin 66 "141 (BC_4, IO66, input, X)," & "142 (BC_1, *, control, 1)," & "143 (BC_1, IO66, output3, X, 142, 1, Z)," & --BSC group 48 for I/O pin 64 "144 (BC_4, IO64, input, X)," & "145 (BC_1, *, control, 1)," & "146 (BC_1, IO64, output3, X, 145, 1, Z)," & --BSC group 49 for I/O pin 62 "147 (BC_4, IO62, input, X)," & "148 (BC_1, *, control, 1)," & "149 (BC_1, IO62, output3, X, 148, 1, Z)," & --BSC group 50 for I/O pin 61 "150 (BC_4, IO61, input, X)," & "151 (BC_1, *, control, 1)," & "152 (BC_1, IO61, output3, X, 151, 1, Z)," & --BSC group 51 for I/O pin 58 "153 (BC_4, IO58, input, X)," & "154 (BC_1, *, control, 1)," & "155 (BC_1, IO58, output3, X, 154, 1, Z)," & --BSC group 52 for I/O pin 57 "156 (BC_4, IO57, input, X)," & "157 (BC_1, *, control, 1)," & "158 (BC_1, IO57, output3, X, 157, 1, Z)," & --BSC group 53 for I/O pin 56 "159 (BC_4, IO56, input, X)," & "160 (BC_1, *, control, 1)," & "161 (BC_1, IO56, output3, X, 160, 1, Z)," & --BSC group 54 for I/O pin 55 "162 (BC_4, IO55, input, X)," & "163 (BC_1, *, control, 1)," & "164 (BC_1, IO55, output3, X, 163, 1, Z)," & --BSC group 55 for I/O pin 54 "165 (BC_4, IO54, input, X)," & "166 (BC_1, *, control, 1)," & "167 (BC_1, IO54, output3, X, 166, 1, Z)," & --BSC group 56 for I/O pin 53 "168 (BC_4, IO53, input, X)," & "169 (BC_1, *, control, 1)," & "170 (BC_1, IO53, output3, X, 169, 1, Z)," & --BSC group 57 for I/O pin 52 "171 (BC_4, IO52, input, X)," & "172 (BC_1, *, control, 1)," & "173 (BC_1, IO52, output3, X, 172, 1, Z)," & --BSC group 58 for I/O pin 51 "174 (BC_4, IO51, input, X)," & "175 (BC_1, *, control, 1)," & "176 (BC_1, IO51, output3, X, 175, 1, Z)," & --BSC group 59 for I/O pin 50 "177 (BC_4, IO50, input, X)," & "178 (BC_1, *, control, 1)," & "179 (BC_1, IO50, output3, X, 178, 1, Z)," & --BSC group 60 for I/O pin 49 "180 (BC_4, IO49, input, X)," & "181 (BC_1, *, control, 1)," & "182 (BC_1, IO49, output3, X, 181, 1, Z)," & --BSC group 61 for I/O pin 48 "183 (BC_4, IO48, input, X)," & "184 (BC_1, *, control, 1)," & "185 (BC_1, IO48, output3, X, 184, 1, Z)," & --BSC group 62 for I/O pin 47 "186 (BC_4, IO47, input, X)," & "187 (BC_1, *, control, 1)," & "188 (BC_1, IO47, output3, X, 187, 1, Z)," & --BSC group 63 for I/O pin 44 "189 (BC_4, IO44, input, X)," & "190 (BC_1, *, control, 1)," & "191 (BC_1, IO44, output3, X, 190, 1, Z)," & --BSC group 64 for I/O pin 43 "192 (BC_4, IO43, input, X)," & "193 (BC_1, *, control, 1)," & "194 (BC_1, IO43, output3, X, 193, 1, Z)," & --BSC group 65 for I/O pin 42 "195 (BC_4, IO42, input, X)," & "196 (BC_1, *, control, 1)," & "197 (BC_1, IO42, output3, X, 196, 1, Z)," & --BSC group 66 for I/O pin 41 "198 (BC_4, IO41, input, X)," & "199 (BC_1, *, control, 1)," & "200 (BC_1, IO41, output3, X, 199, 1, Z)," & --BSC group 67 for I/O pin 40 "201 (BC_4, IO40, input, X)," & "202 (BC_1, *, control, 1)," & "203 (BC_1, IO40, output3, X, 202, 1, Z)," & --BSC group 68 for I/O pin 39 "204 (BC_4, IO39, input, X)," & "205 (BC_1, *, control, 1)," & "206 (BC_1, IO39, output3, X, 205, 1, Z)," & --BSC group 69 for I/O pin 38 "207 (BC_4, IO38, input, X)," & "208 (BC_1, *, control, 1)," & "209 (BC_1, IO38, output3, X, 208, 1, Z)," & --BSC group 70 for I/O pin 37 "210 (BC_4, IO37, input, X)," & "211 (BC_1, *, control, 1)," & "212 (BC_1, IO37, output3, X, 211, 1, Z)," & --BSC group 71 for I/O pin 36 "213 (BC_4, IO36, input, X)," & "214 (BC_1, *, control, 1)," & "215 (BC_1, IO36, output3, X, 214, 1, Z)," & --BSC group 72 for I/O pin 35 "216 (BC_4, IO35, input, X)," & "217 (BC_1, *, control, 1)," & "218 (BC_1, IO35, output3, X, 217, 1, Z)," & --BSC group 73 for I/O pin 34 "219 (BC_4, IO34, input, X)," & "220 (BC_1, *, control, 1)," & "221 (BC_1, IO34, output3, X, 220, 1, Z)," & --BSC group 74 for I/O pin 33 "222 (BC_4, IO33, input, X)," & "223 (BC_1, *, control, 1)," & "224 (BC_1, IO33, output3, X, 223, 1, Z)," & --BSC group 75 for I/O pin 30 "225 (BC_4, IO30, input, X)," & "226 (BC_1, *, control, 1)," & "227 (BC_1, IO30, output3, X, 226, 1, Z)," & --BSC group 76 for I/O pin 29 "228 (BC_4, IO29, input, X)," & "229 (BC_1, *, control, 1)," & "230 (BC_1, IO29, output3, X, 229, 1, Z)," & --BSC group 77 for I/O pin 28 "231 (BC_4, IO28, input, X)," & "232 (BC_1, *, control, 1)," & "233 (BC_1, IO28, output3, X, 232, 1, Z)," & --BSC group 78 for I/O pin 27 "234 (BC_4, IO27, input, X)," & "235 (BC_1, *, control, 1)," & "236 (BC_1, IO27, output3, X, 235, 1, Z)," & --BSC group 79 for I/O pin 26 "237 (BC_4, IO26, input, X)," & "238 (BC_1, *, control, 1)," & "239 (BC_1, IO26, output3, X, 238, 1, Z)" ; end EPM240T100;