-------------------------------------------------------------------------
-- --
-- Copyright Microchip Technology Inc. 2008. All rights reserved. --
-- --
-- --
-- IMPORTANT NOTICE --
-- --
-- --
-- Software License Agreement --
-- --
-- The software supplied herewith by Microchip Technology Incorporated --
-- (the Company) for its PICmicro Microcontroller is intended and --
-- supplied to you, the Company customer, for use solely and --
-- exclusively on Microchip PICmicro Microcontroller products. The --
-- software is owned by the Company and/or its supplier, and is --
-- protected under applicable copyright laws. All rights are reserved. --
-- Any use in violation of the foregoing restrictions may subject the --
-- user to criminal sanctions under applicable laws, as well as to --
-- civil liability for the breach of the terms and conditions of this --
-- license. --
-- --
-- THIS SOFTWARE IS PROVIDED IN AN AS IS CONDITION. NO WARRANTIES, --
-- WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED --
-- TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A --
-- PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, --
-- IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR --
-- CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. --
-------------------------------------------------------------------------
-- BSDL file
-- File Name: PIC32MX320F128L.bsdl
-- File Revision: Revision: 1.1
-- Date created: Date: Tuesday, April 08, 2008
-- Support:
-- Device: PIC32MX320F128L
-- rev 0001
-- Package: 100 pin TQFP
-- Notes:
-- 1. The behavior of the Oscillator Boundary Scan cells are dependant
-- on the Oscillator Fuse settings, and therefore caution must be used
-- when controlling the the BSC's on RC12(PIN63) and RC15(PIN64).
-- ***********************************************************************
-- * PORT DEFINITIONS *
-- ***********************************************************************
entity PIC32MX320F128L is
generic(PHYSICAL_PIN_MAP : string := "TQFP100");
port (
RB0 : inout bit;
RB1 : inout bit;
RB10 : inout bit;
RB11 : inout bit;
RB12 : inout bit;
RB13 : inout bit;
RB14 : inout bit;
RB15 : inout bit;
RB2 : inout bit;
RB3 : inout bit;
RB4 : inout bit;
RB5 : inout bit;
RB6 : inout bit;
RB7 : inout bit;
RB8 : inout bit;
RB9 : inout bit;
RD8 : inout bit;
RD9 : inout bit;
RD10 : inout bit;
RD11 : inout bit;
RD12 : inout bit;
RD0 : inout bit;
RD1 : inout bit;
RD2 : inout bit;
RD3 : inout bit;
RD4 : inout bit;
VREG : linkage bit;
RG2 : inout bit;
RG3 : inout bit;
RE8 : inout bit;
RE9 : inout bit;
RA14 : inout bit;
RA15 : inout bit;
MCLR : in bit;
RC12 : inout bit;
RC15 : inout bit;
RA2 : inout bit;
RA3 : inout bit;
RA6 : inout bit;
RA7 : inout bit;
RD13 : inout bit;
RD14 : inout bit;
RD15 : inout bit;
RD6 : inout bit;
RD7 : inout bit;
RF0 : inout bit;
RF1 : inout bit;
RG0 : inout bit;
RG1 : inout bit;
RG12 : inout bit;
RG13 : inout bit;
RG14 : inout bit;
RG15 : inout bit;
RE0 : inout bit;
RE1 : inout bit;
RE2 : inout bit;
RE3 : inout bit;
RE4 : inout bit;
RE5 : inout bit;
RE6 : inout bit;
RE7 : inout bit;
RD5 : inout bit;
RF6 : inout bit;
RG6 : inout bit;
RF7 : inout bit;
RG7 : inout bit;
RF8 : inout bit;
RG8 : inout bit;
RC13 : inout bit;
RC14 : inout bit;
RG9 : inout bit;
RC1 : inout bit;
RC2 : inout bit;
RC3 : inout bit;
RC4 : inout bit;
RF2 : inout bit;
RF3 : inout bit;
RF12 : inout bit;
RF13 : inout bit;
RF4 : inout bit;
RF5 : inout bit;
RA9 : inout bit;
RA10 : inout bit;
TDI : in bit;
TMS : in bit;
TCK : in bit;
TDO : out bit;
VSS1 : linkage bit;
VSS2 : linkage bit;
VSS3 : linkage bit;
VSS4 : linkage bit;
VSS5 : linkage bit;
AVSS : linkage bit;
VDDCORE : linkage bit;
AVDD : linkage bit;
VDD1 : linkage bit;
VDD2 : linkage bit;
VDD3 : linkage bit;
VDD4 : linkage bit;
VDD5 : linkage bit
);
use STD_1149_1_2001.all; -- Get IEEE 1149.1-2001 attributes and definitions
attribute COMPONENT_CONFORMANCE of PIC32MX320F128L : entity is "STD_1149_1_2001";
attribute PIN_MAP of PIC32MX320F128L : entity is PHYSICAL_PIN_MAP;
constant TQFP100 : PIN_MAP_STRING :=
" RG15 : 1 ," &
" VDD1 : 2 ," &
" RE5 : 3 ," &
" RE6 : 4 ," &
" RE7 : 5 ," &
" RC1 : 6 ," &
" RC2 : 7 ," &
" RC3 : 8 ," &
" RC4 : 9 ," &
" RG6 : 10 ," &
" RG7 : 11 ," &
" RG8 : 12 ," &
" MCLR : 13 ," &
" RG9 : 14 ," &
" VSS2 : 15 ," &
" VDD2 : 16 ," &
" TMS : 17 ," &
" RE8 : 18 ," &
" RE9 : 19 ," &
" RB5 : 20 ," &
" RB4 : 21 ," &
" RB3 : 22 ," &
" RB2 : 23 ," &
" RB1 : 24 ," &
" RB0 : 25 ," &
" RB6 : 26 ," &
" RB7 : 27 ," &
" RA9 : 28 ," &
" RA10 : 29 ," &
" AVDD : 30 ," &
" AVSS : 31 ," &
" RB8 : 32 ," &
" RB9 : 33 ," &
" RB10 : 34 ," &
" RB11 : 35 ," &
" VSS3 : 36 ," &
" VDD3 : 37 ," &
" TCK : 38 ," &
" RF13 : 39 ," &
" RF12 : 40 ," &
" RB12 : 41 ," &
" RB13 : 42 ," &
" RB14 : 43 ," &
" RB15 : 44 ," &
" VSS4 : 45 ," &
" VDD4 : 46 ," &
" RD14 : 47 ," &
" RD15 : 48 ," &
" RF4 : 49 ," &
" RF5 : 50 ," &
" RF3 : 51 ," &
" RF2 : 52 ," &
" RF8 : 53 ," &
" RF7 : 54 ," &
" RF6 : 55 ," &
" RG3 : 56 ," &
" RG2 : 57 ," &
" RA2 : 58 ," &
" RA3 : 59 ," &
" TDI : 60 ," &
" TDO : 61 ," &
" VDD5 : 62 ," &
" RC12 : 63 ," &
" RC15 : 64 ," &
" VSS5 : 65 ," &
" RA14 : 66 ," &
" RA15 : 67 ," &
" RD8 : 68 ," &
" RD9 : 69 ," &
" RD10 : 70 ," &
" RD11 : 71 ," &
" RD0 : 72 ," &
" RC13 : 73 ," &
" RC14 : 74 ," &
" VSS1 : 75 ," &
" RD1 : 76 ," &
" RD2 : 77 ," &
" RD3 : 78 ," &
" RD12 : 79 ," &
" RD13 : 80 ," &
" RD4 : 81 ," &
" RD5 : 82 ," &
" RD6 : 83 ," &
" RD7 : 84 ," &
" VDDCORE : 85 ," &
" VREG : 86 ," &
" RF0 : 87 ," &
" RF1 : 88 ," &
" RG1 : 89 ," &
" RG0 : 90 ," &
" RA6 : 91 ," &
" RA7 : 92 ," &
" RE0 : 93 ," &
" RE1 : 94 ," &
" RG14 : 95 ," &
" RG12 : 96 ," &
" RG13 : 97 ," &
" RE2 : 98 ," &
" RE3 : 99 ," &
" RE4 : 100 ";
-- *********************************************************************
-- * 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.00e+06,BOTH);
-- *********************************************************************
-- * INSTRUCTIONS AND REGISTER ACCESS *
-- *********************************************************************
attribute INSTRUCTION_LENGTH of PIC32MX320F128L : entity is 5;
attribute INSTRUCTION_OPCODE of PIC32MX320F128L : entity is
"extest (00110)," &
"bypass (11111)," &
"sample (00010)," &
"preload (00010)," &
"highz (00000)," &
"idcode (00001)," &
"swtap_chip (00100)," &
"swtap (00101)," &
"mchp_cmd (00111)," &
"mchp_scan (01000)" ;
attribute INSTRUCTION_CAPTURE of PIC32MX320F128L : entity is "00001";
attribute IDCODE_REGISTER of PIC32MX320F128L : entity is
"0001" & -- Version Number
"0000100100101010" & -- Part Number
"00000101001" & -- Manufacturer ID
"1"; -- Required by IEEE
attribute REGISTER_ACCESS of PIC32MX320F128L : entity is
"BOUNDARY (extest, sample, preload), " &
"DEVICE_ID (idcode), " &
"BYPASS (bypass, highz, swtap_chip, swtap), " &
"MCHP_CMD_REG[8] (mchp_cmd), " &
"MCHP_SCAN_REG[8] (mchp_scan) " ;
-- *********************************************************************
-- * BOUNDARY SCAN CELL INFORMATION *
-- *********************************************************************
attribute BOUNDARY_LENGTH of PIC32MX320F128L : entity is 244;
attribute BOUNDARY_REGISTER of PIC32MX320F128L : entity is
--- num cell port function safe [ccell disval rslt]
"0 ( BC_4, RE4, input, X)," &
"1 ( BC_1, RE4, output3, X, 2, 0, Z)," &
"2 ( BC_2, *, control, 1)," &
"3 ( BC_4, RE3, input, X)," &
"4 ( BC_1, RE3, output3, X, 5, 0, Z)," &
"5 ( BC_2, *, control, 1)," &
"6 ( BC_4, RE2, input, X)," &
"7 ( BC_1, RE2, output3, X, 8, 0, Z)," &
"8 ( BC_2, *, control, 1)," &
"9 ( BC_4, RG13, input, X)," &
"10 ( BC_1, RG13, output3, X, 11, 0, Z)," &
"11 ( BC_2, *, control, 1)," &
"12 ( BC_4, RG12, input, X)," &
"13 ( BC_1, RG12, output3, X, 14, 0, Z)," &
"14 ( BC_2, *, control, 1)," &
"15 ( BC_4, RG14, input, X)," &
"16 ( BC_1, RG14, output3, X, 17, 0, Z)," &
"17 ( BC_2, *, control, 1)," &
"18 ( BC_4, RE1, input, X)," &
"19 ( BC_1, RE1, output3, X, 20, 0, Z)," &
"20 ( BC_2, *, control, 1)," &
"21 ( BC_4, RE0, input, X)," &
"22 ( BC_1, RE0, output3, X, 23, 0, Z)," &
"23 ( BC_2, *, control, 1)," &
"24 ( BC_4, RA7, input, X)," &
"25 ( BC_1, RA7, output3, X, 26, 0, Z)," &
"26 ( BC_2, *, control, 1)," &
"27 ( BC_4, RA6, input, X)," &
"28 ( BC_1, RA6, output3, X, 29, 0, Z)," &
"29 ( BC_2, *, control, 1)," &
"30 ( BC_4, RG0, input, X)," &
"31 ( BC_1, RG0, output3, X, 32, 0, Z)," &
"32 ( BC_2, *, control, 1)," &
"33 ( BC_4, RG1, input, X)," &
"34 ( BC_1, RG1, output3, X, 35, 0, Z)," &
"35 ( BC_2, *, control, 1)," &
"36 ( BC_4, RF1, input, X)," &
"37 ( BC_1, RF1, output3, X, 38, 0, Z)," &
"38 ( BC_2, *, control, 1)," &
"39 ( BC_4, RF0, input, X)," &
"40 ( BC_1, RF0, output3, X, 41, 0, Z)," &
"41 ( BC_2, *, control, 1)," &
"42 ( BC_4, RD7, input, X)," &
"43 ( BC_1, RD7, output3, X, 44, 0, Z)," &
"44 ( BC_2, *, control, 1)," &
"45 ( BC_4, RD6, input, X)," &
"46 ( BC_1, RD6, output3, X, 47, 0, Z)," &
"47 ( BC_2, *, control, 1)," &
"48 ( BC_4, RD5, input, X)," &
"49 ( BC_1, RD5, output3, X, 50, 0, Z)," &
"50 ( BC_2, *, control, 1)," &
"51 ( BC_4, RD4, input, X)," &
"52 ( BC_1, RD4, output3, X, 53, 0, Z)," &
"53 ( BC_2, *, control, 1)," &
"54 ( BC_4, RD13, input, X)," &
"55 ( BC_1, RD13, output3, X, 56, 0, Z)," &
"56 ( BC_2, *, control, 1)," &
"57 ( BC_4, RD12, input, X)," &
"58 ( BC_1, RD12, output3, X, 59, 0, Z)," &
"59 ( BC_2, *, control, 1)," &
"60 ( BC_4, RD3, input, X)," &
"61 ( BC_1, RD3, output3, X, 62, 0, Z)," &
"62 ( BC_2, *, control, 1)," &
"63 ( BC_4, RD2, input, X)," &
"64 ( BC_1, RD2, output3, X, 65, 0, Z)," &
"65 ( BC_2, *, control, 1)," &
"66 ( BC_4, RD1, input, X)," &
"67 ( BC_1, RD1, output3, X, 68, 0, Z)," &
"68 ( BC_2, *, control, 1)," &
"69 ( BC_4, RC14, input, X)," &
"70 ( BC_1, RC14, output3, X, 71, 0, Z)," &
"71 ( BC_2, *, control, 1)," &
"72 ( BC_4, RC13, input, X)," &
"73 ( BC_1, RC13, output3, X, 74, 0, Z)," &
"74 ( BC_2, *, control, 1)," &
"75 ( BC_4, RD0, input, X)," &
"76 ( BC_1, RD0, output3, X, 77, 0, Z)," &
"77 ( BC_2, *, control, 1)," &
"78 ( BC_4, RD11, input, X)," &
"79 ( BC_1, RD11, output3, X, 80, 0, Z)," &
"80 ( BC_2, *, control, 1)," &
"81 ( BC_4, RD10, input, X)," &
"82 ( BC_1, RD10, output3, X, 83, 0, Z)," &
"83 ( BC_2, *, control, 1)," &
"84 ( BC_4, RD9, input, X)," &
"85 ( BC_1, RD9, output3, X, 86, 0, Z)," &
"86 ( BC_2, *, control, 1)," &
"87 ( BC_4, RD8, input, X)," &
"88 ( BC_1, RD8, output3, X, 89, 0, Z)," &
"89 ( BC_2, *, control, 1)," &
"90 ( BC_4, RA15, input, X)," &
"91 ( BC_1, RA15, output3, X, 92, 0, Z)," &
"92 ( BC_2, *, control, 1)," &
"93 ( BC_4, RA14, input, X)," &
"94 ( BC_1, RA14, output3, X, 95, 0, Z)," &
"95 ( BC_2, *, control, 1)," &
"96 ( BC_4, RC15, input, X)," &
"97 ( BC_1, RC15, output3, X, 98, 0, Z)," &
"98 ( BC_2, *, control, 1)," &
"99 ( BC_4, RC12, input, X)," &
"100 ( BC_1, RC12, output3, X, 101, 0, Z)," &
"101 ( BC_2, *, control, 1)," &
"102 ( BC_4, RA3, input, X)," &
"103 ( BC_1, RA3, output3, X, 104, 0, Z)," &
"104 ( BC_2, *, control, 1)," &
"105 ( BC_4, RA2, input, X)," &
"106 ( BC_1, RA2, output3, X, 107, 0, Z)," &
"107 ( BC_2, *, control, 1)," &
"108 ( BC_4, RG2, input, X)," &
"109 ( BC_1, RG2, output3, X, 110, 0, Z)," &
"110 ( BC_2, *, control, 1)," &
"111 ( BC_4, RG3, input, X)," &
"112 ( BC_1, RG3, output3, X, 113, 0, Z)," &
"113 ( BC_2, *, control, 1)," &
"114 ( BC_4, RF6, input, X)," &
"115 ( BC_1, RF6, output3, X, 116, 0, Z)," &
"116 ( BC_2, *, control, 1)," &
"117 ( BC_4, RF7, input, X)," &
"118 ( BC_1, RF7, output3, X, 119, 0, Z)," &
"119 ( BC_2, *, control, 1)," &
"120 ( BC_4, RF8, input, X)," &
"121 ( BC_1, RF8, output3, X, 122, 0, Z)," &
"122 ( BC_2, *, control, 1)," &
"123 ( BC_4, RF2, input, X)," &
"124 ( BC_1, RF2, output3, X, 125, 0, Z)," &
"125 ( BC_2, *, control, 1)," &
"126 ( BC_4, RF3, input, X)," &
"127 ( BC_1, RF3, output3, X, 128, 0, Z)," &
"128 ( BC_2, *, control, 1)," &
"129 ( BC_4, RF5, input, X)," &
"130 ( BC_1, RF5, output3, X, 131, 0, Z)," &
"131 ( BC_2, *, control, 1)," &
"132 ( BC_4, RF4, input, X)," &
"133 ( BC_1, RF4, output3, X, 134, 0, Z)," &
"134 ( BC_2, *, control, 1)," &
"135 ( BC_4, RD15, input, X)," &
"136 ( BC_1, RD15, output3, X, 137, 0, Z)," &
"137 ( BC_2, *, control, 1)," &
"138 ( BC_4, RD14, input, X)," &
"139 ( BC_1, RD14, output3, X, 140, 0, Z)," &
"140 ( BC_2, *, control, 1)," &
"141 ( BC_4, RB15, input, X)," &
"142 ( BC_1, RB15, output3, X, 143, 0, Z)," &
"143 ( BC_2, *, control, 1)," &
"144 ( BC_4, RB14, input, X)," &
"145 ( BC_1, RB14, output3, X, 146, 0, Z)," &
"146 ( BC_2, *, control, 1)," &
"147 ( BC_4, RB13, input, X)," &
"148 ( BC_1, RB13, output3, X, 149, 0, Z)," &
"149 ( BC_2, *, control, 1)," &
"150 ( BC_4, RB12, input, X)," &
"151 ( BC_1, RB12, output3, X, 152, 0, Z)," &
"152 ( BC_2, *, control, 1)," &
"153 ( BC_4, RF12, input, X)," &
"154 ( BC_1, RF12, output3, X, 155, 0, Z)," &
"155 ( BC_2, *, control, 1)," &
"156 ( BC_4, RF13, input, X)," &
"157 ( BC_1, RF13, output3, X, 158, 0, Z)," &
"158 ( BC_2, *, control, 1)," &
"159 ( BC_4, RB11, input, X)," &
"160 ( BC_1, RB11, output3, X, 161, 0, Z)," &
"161 ( BC_2, *, control, 1)," &
"162 ( BC_4, RB10, input, X)," &
"163 ( BC_1, RB10, output3, X, 164, 0, Z)," &
"164 ( BC_2, *, control, 1)," &
"165 ( BC_4, RB9, input, X)," &
"166 ( BC_1, RB9, output3, X, 167, 0, Z)," &
"167 ( BC_2, *, control, 1)," &
"168 ( BC_4, RB8, input, X)," &
"169 ( BC_1, RB8, output3, X, 170, 0, Z)," &
"170 ( BC_2, *, control, 1)," &
"171 ( BC_4, RA10, input, X)," &
"172 ( BC_1, RA10, output3, X, 173, 0, Z)," &
"173 ( BC_2, *, control, 1)," &
"174 ( BC_4, RA9, input, X)," &
"175 ( BC_1, RA9, output3, X, 176, 0, Z)," &
"176 ( BC_2, *, control, 1)," &
"177 ( BC_4, RB7, input, X)," &
"178 ( BC_1, RB7, output3, X, 179, 0, Z)," &
"179 ( BC_2, *, control, 1)," &
"180 ( BC_4, RB6, input, X)," &
"181 ( BC_1, RB6, output3, X, 182, 0, Z)," &
"182 ( BC_2, *, control, 1)," &
"183 ( BC_4, RB0, input, X)," &
"184 ( BC_1, RB0, output3, X, 185, 0, Z)," &
"185 ( BC_2, *, control, 1)," &
"186 ( BC_4, RB1, input, X)," &
"187 ( BC_1, RB1, output3, X, 188, 0, Z)," &
"188 ( BC_2, *, control, 1)," &
"189 ( BC_4, RB2, input, X)," &
"190 ( BC_1, RB2, output3, X, 191, 0, Z)," &
"191 ( BC_2, *, control, 1)," &
"192 ( BC_4, RB3, input, X)," &
"193 ( BC_1, RB3, output3, X, 194, 0, Z)," &
"194 ( BC_2, *, control, 1)," &
"195 ( BC_4, RB4, input, X)," &
"196 ( BC_1, RB4, output3, X, 197, 0, Z)," &
"197 ( BC_2, *, control, 1)," &
"198 ( BC_4, RB5, input, X)," &
"199 ( BC_1, RB5, output3, X, 200, 0, Z)," &
"200 ( BC_2, *, control, 1)," &
"201 ( BC_4, RE9, input, X)," &
"202 ( BC_1, RE9, output3, X, 203, 0, Z)," &
"203 ( BC_2, *, control, 1)," &
"204 ( BC_4, RE8, input, X)," &
"205 ( BC_1, RE8, output3, X, 206, 0, Z)," &
"206 ( BC_2, *, control, 1)," &
"207 ( BC_4, RG9, input, X)," &
"208 ( BC_1, RG9, output3, X, 209, 0, Z)," &
"209 ( BC_2, *, control, 1)," &
"210 ( BC_4, MCLR, input, X)," &
"211 ( BC_4, RG8, input, X)," &
"212 ( BC_1, RG8, output3, X, 213, 0, Z)," &
"213 ( BC_2, *, control, 1)," &
"214 ( BC_4, RG7, input, X)," &
"215 ( BC_1, RG7, output3, X, 216, 0, Z)," &
"216 ( BC_2, *, control, 1)," &
"217 ( BC_4, RG6, input, X)," &
"218 ( BC_1, RG6, output3, X, 219, 0, Z)," &
"219 ( BC_2, *, control, 1)," &
"220 ( BC_4, RC4, input, X)," &
"221 ( BC_1, RC4, output3, X, 222, 0, Z)," &
"222 ( BC_2, *, control, 1)," &
"223 ( BC_4, RC3, input, X)," &
"224 ( BC_1, RC3, output3, X, 225, 0, Z)," &
"225 ( BC_2, *, control, 1)," &
"226 ( BC_4, RC2, input, X)," &
"227 ( BC_1, RC2, output3, X, 228, 0, Z)," &
"228 ( BC_2, *, control, 1)," &
"229 ( BC_4, RC1, input, X)," &
"230 ( BC_1, RC1, output3, X, 231, 0, Z)," &
"231 ( BC_2, *, control, 1)," &
"232 ( BC_4, RE7, input, X)," &
"233 ( BC_1, RE7, output3, X, 234, 0, Z)," &
"234 ( BC_2, *, control, 1)," &
"235 ( BC_4, RE6, input, X)," &
"236 ( BC_1, RE6, output3, X, 237, 0, Z)," &
"237 ( BC_2, *, control, 1)," &
"238 ( BC_4, RE5, input, X)," &
"239 ( BC_1, RE5, output3, X, 240, 0, Z)," &
"240 ( BC_2, *, control, 1)," &
"241 ( BC_4, RG15, input, X)," &
"242 ( BC_1, RG15, output3, X, 243, 0, Z)," &
"243 ( BC_2, *, control, 1)";
end PIC32MX320F128L;