-------------------------------------------------------------------------
-- --
-- Copyright Microchip Technology Inc. 2006. 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�s 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: dsPIC33FJ128GP708.bsd
-- File Revision: Revision: 1.1
-- Date created: Date: Monday, July 10, 2006
-- Device: dsPIC33FJ128GP708
-- rev A2
-- Package: 80 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(PIN49) and RC15(PIN50).
-- ***********************************************************************
-- * PORT DEFINITIONS *
-- ***********************************************************************
entity dsPIC33FJ128GP708 is
generic (PHYSICAL_PIN_MAP : string := "TQFP80");
port (
TCK : in bit ;
TDI : in bit ;
TDO : out bit ;
TMS : in bit ;
AVDD : linkage bit ;
AVSS : linkage bit ;
MCLR : inout bit ;
RA2 : inout bit ;
RA3 : inout bit ;
RA6 : inout bit ;
RA7 : inout bit ;
RA9 : inout bit ;
RA10 : inout bit ;
RB0 : inout bit ;
RB1 : 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 ;
RB10 : inout bit ;
RB11 : inout bit ;
RB14 : inout bit ;
RB15 : inout bit ;
RC1 : inout bit ;
RC2 : inout bit ;
RC3 : inout bit ;
RC4 : inout bit ;
RC12 : inout bit ;
RC13 : inout bit ;
RC14 : inout bit ;
RC15 : inout bit ;
RD0 : inout bit ;
RD1 : inout bit ;
RD2 : inout bit ;
RD3 : inout bit ;
RD4 : inout bit ;
RD5 : inout bit ;
RD6 : inout bit ;
RD7 : inout bit ;
RD8 : inout bit ;
RD9 : inout bit ;
RD10 : inout bit ;
RD11 : inout bit ;
RD12 : inout bit ;
RD13 : inout bit ;
RD14 : inout bit ;
RD15 : inout bit ;
RF0 : inout bit ;
RF1 : inout bit ;
RF2 : inout bit ;
RF3 : inout bit ;
RF4 : inout bit ;
RF5 : inout bit ;
RF6 : inout bit ;
RF7 : inout bit ;
RF8 : inout bit ;
RG0 : inout bit ;
RG1 : inout bit ;
RG2 : inout bit ;
RG3 : inout bit ;
RG6 : inout bit ;
RG7 : inout bit ;
RG8 : inout bit ;
RG9 : inout bit ;
RG12 : inout bit ;
RG13 : inout bit ;
RG14 : inout bit ;
RG15 : inout bit ;
VDD1 : linkage bit ;
VDD2 : linkage bit ;
VDD3 : linkage bit ;
VDDCORE : linkage bit ;
VREG : linkage bit ;
VSS1 : linkage bit ;
VSS2 : linkage bit ;
VSS3 : linkage bit
);
use STD_1149_1_2001.all;
attribute COMPONENT_CONFORMANCE of dsPIC33FJ128GP708 : entity is "STD_1149_1_2001";
-- *********************************************************************
-- * PIN MAPPING *
-- *********************************************************************
attribute PIN_MAP of dsPIC33FJ128GP708 : entity is PHYSICAL_PIN_MAP;
constant TQFP80 : PIN_MAP_STRING :=
--I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,"&
" RG12: 79 ,"&
" RG13: 80 " ;
-- *********************************************************************
-- * 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 dsPIC33FJ128GP708 : entity is 4;
attribute INSTRUCTION_OPCODE of dsPIC33FJ128GP708 : entity is
"BYPASS (1111), "&
"EXTEST (0011), "&
"SAMPLE (0001), "&
"PRELOAD (0001), "&
"IDCODE (0010), "&
"MCHP_CMD (1000)," &
"MCHP_SCAN (0111)," &
"HIGHZ (0100)";
attribute INSTRUCTION_CAPTURE of dsPIC33FJ128GP708 : entity is "0001";
attribute IDCODE_REGISTER of dsPIC33FJ128GP708 : entity is
"0000" & -- Version
"xxxxxxxxxxxxxxxx" & -- Part Number
"00000101001" & -- Manufacturer ID
"1"; -- Required by IEEE std 1149.1-2001
attribute REGISTER_ACCESS of dsPIC33FJ128GP708 : entity is
"BOUNDARY (PRELOAD,SAMPLE,EXTEST),"&
"BYPASS (BYPASS,HIGHZ),"&
"MCHP_CMD[4] (MCHP_CMD,MCHP_SCAN),"&
"DEVICE_ID (IDCODE)";
-- *********************************************************************
-- * BOUNDARY SCAN CELL INFORMATION *
-- *********************************************************************
attribute BOUNDARY_LENGTH of dsPIC33FJ128GP708 : entity is 198;
attribute BOUNDARY_REGISTER of dsPIC33FJ128GP708 : entity is
--BSC group 0 for I/O pin 49
" 0 ( BC_1 , RC12, input, X)," &
" 1 ( BC_1 , *, control, 0)," &
" 2 ( BC_1 , RC12, output3, X, 1, 0, Z)," &
--BSC group 1 for I/O pin 50
" 3 ( BC_1 , RC15, input, X)," &
" 4 ( BC_1 , *, control, 0)," &
" 5 ( BC_1 , RC15, output3, X, 4, 0, Z)," &
--BSC group 2 for I/O pin 52
" 6 ( BC_1 , RA2, input, X)," &
" 7 ( BC_1 , *, control, 0)," &
" 8 ( BC_1 , RA2, output3, X, 7, 0, Z)," &
--BSC group 3 for I/O pin 53
" 9 ( BC_1 , RA3, input, X)," &
" 10 ( BC_1 , *, control, 0)," &
" 11 ( BC_1 , RA3, output3, X, 10, 0, Z)," &
--BSC group 4 for I/O pin 54
" 12 ( BC_1 , RD8, input, X)," &
" 13 ( BC_1 , *, control, 0)," &
" 14 ( BC_1 , RD8, output3, X, 13, 0, Z)," &
--BSC group 5 for I/O pin 55
" 15 ( BC_1 , RD9, input, X), " &
" 16 ( BC_1 , *, control, 0)," &
" 17 ( BC_1 , RD9, output3, X, 16, 0, Z)," &
--BSC group 6 for I/O pin 56
" 18 ( BC_1 , RD10, input, X)," &
" 19 ( BC_1 , *, control, 0)," &
" 20 ( BC_1 , RD10, output3, X, 19, 0, Z)," &
--BSC group 7 for I/O pin 57
" 21 ( BC_1 , RD11, input, X)," &
" 22 ( BC_1 , *, control, 0)," &
" 23 ( BC_1 , RD11, output3, X, 22, 0, Z)," &
--BSC group 8 for I/O pin 58
" 24 ( BC_1 , RD0, input, X)," &
" 25 ( BC_1 , *, control, 0)," &
" 26 ( BC_1 , RD0, output3, X, 25, 0, Z)," &
--BSC group 9 for I/O pin 59
" 27 ( BC_1 , RC13, input, X)," &
" 28 ( BC_1 , *, control, 0)," &
" 29 ( BC_1 , RC13, output3, X, 28, 0, Z)," &
--BSC group 10 for I/O pin 60
" 30 ( BC_1 , RC14, input, X)," &
" 31 ( BC_1 , *, control, 0)," &
" 32 ( BC_1 , RC14, output3, X, 31, 0, Z)," &
--BSC group 11 for I/O pin 61
" 33 ( BC_1 , RD1, input, X)," &
" 34 ( BC_1 , *, control, 0)," &
" 35 ( BC_1 , RD1, output3, X, 34, 0, Z)," &
--BSC group 12 for I/O pin 62
" 36 ( BC_1 , RD2, input, X)," &
" 37 ( BC_1 , *, control, 0)," &
" 38 ( BC_1 , RD2, output3, X, 37, 0, Z)," &
--BSC group 13 for I/O pin 63
" 39 ( BC_1 , RD3, input, X)," &
" 40 ( BC_1 , *, control, 0)," &
" 41 ( BC_1 , RD3, output3, X, 40, 0, Z)," &
--BSC group 14 for I/O pin 64
" 42 ( BC_1 , RD12, input, X)," &
" 43 ( BC_1 , *, control, 0)," &
" 44 ( BC_1 , RD12, output3, X, 43, 0, Z)," &
--BSC group 15 for I/O pin 65
" 45 ( BC_1 , RD13, input, X)," &
" 46 ( BC_1 , *, control, 0)," &
" 47 ( BC_1 , RD13, output3, X, 46, 0, Z)," &
--BSC group 16 for I/O pin 66
" 48 ( BC_1 , RD4, input, X), " &
" 49 ( BC_1 , *, control, 0)," &
" 50 ( BC_1 , RD4, output3, X, 49, 0, Z)," &
--BSC group 17 for I/O pin 67
" 51 ( BC_1 , RD5, input, X)," &
" 52 ( BC_1 , *, control, 0)," &
" 53 ( BC_1 , RD5, output3, X, 52, 0, Z)," &
--BSC group 18 for I/O pin 68
" 54 ( BC_1 , RD6, input, X)," &
" 55 ( BC_1 , *, control, 0)," &
" 56 ( BC_1 , RD6, output3, X, 55, 0, Z)," &
--BSC group 19 for I/O pin 69
" 57 ( BC_1 , RD7, input, X)," &
" 58 ( BC_1 , *, control, 0)," &
" 59 ( BC_1 , RD7, output3, X, 58, 0, Z)," &
--BSC group 20 for I/O pin 72
" 60 ( BC_1 , RF0, input, X)," &
" 61 ( BC_1 , *, control, 0)," &
" 62 ( BC_1 , RF0, output3, X, 61, 0, Z)," &
--BSC group 21 for I/O pin 73
" 63 ( BC_1 , RF1, input, X)," &
" 64 ( BC_1 , *, control, 0)," &
" 65 ( BC_1 , RF1, output3, X, 64, 0, Z)," &
--BSC group 22 for I/O pin 74
" 66 ( BC_1 , RG1, input, X)," &
" 67 ( BC_1 , *, control, 0)," &
" 68 ( BC_1 , RG1, output3, X, 67, 0, Z)," &
--BSC group 23 for I/O pin 75
" 69 ( BC_1 , RG0, input, X)," &
" 70 ( BC_1 , *, control, 0)," &
" 71 ( BC_1 , RG0, output3, X, 70, 0, Z)," &
--BSC group 24 for I/O pin 76
" 72 ( BC_1 , RA6, input, X)," &
" 73 ( BC_1 , *, control, 0)," &
" 74 ( BC_1 , RA6, output3, X, 73, 0, Z)," &
--BSC group 25 for I/O pin 77
" 75 ( BC_1 , RA7, input, X)," &
" 76 ( BC_1 , *, control, 0)," &
" 77 ( BC_1 , RA7, output3, X, 76, 0, Z)," &
--BSC group 26 for I/O pin 78
" 78 ( BC_1 , RG14, input, X)," &
" 79 ( BC_1 , *, control, 0)," &
" 80 ( BC_1 , RG14, output3, X, 79, 0, Z)," &
--BSC group 27 for I/O pin 79
" 81 ( BC_1 , RG12, input, X), " &
" 82 ( BC_1 , *, control, 0)," &
" 83 ( BC_1 , RG12, output3, X, 82, 0, Z)," &
--BSC group 28 for I/O pin 80
" 84 ( BC_1 , RG13, input, X)," &
" 85 ( BC_1 , *, control, 0)," &
" 86 ( BC_1 , RG13, output3, X, 85, 0, Z)," &
--BSC group 29 for I/O pin 1
" 87 ( BC_1 , RG15, input, X)," &
" 88 ( BC_1 , *, control, 0)," &
" 89 ( BC_1 , RG15, output3, X, 88, 0, Z)," &
--BSC group 30 for I/O pin 2
" 90 ( BC_1 , RC1, input, X)," &
" 91 ( BC_1 , *, control, 0)," &
" 92 ( BC_1 , RC1, output3, X, 91, 0, Z)," &
--BSC group 31 for I/O pin 3
" 93 ( BC_1 , RC2, input, X)," &
" 94 ( BC_1 , *, control, 0)," &
" 95 ( BC_1 , RC2, output3, X, 94, 0, Z)," &
--BSC group 32 for I/O pin 4
" 96 ( BC_1 , RC3, input, X)," &
" 97 ( BC_1 , *, control, 0)," &
" 98 ( BC_1 , RC3, output3, X, 97, 0, Z)," &
--BSC group 33 for I/O pin 5
" 99 ( BC_1 , RC4, input, X)," &
" 100 ( BC_1 , *, control, 0)," &
" 101 ( BC_1 , RC4, output3, X, 100, 0, Z)," &
--BSC group 34 for I/O pin 6
" 102 ( BC_1 , RG6, input, X)," &
" 103 ( BC_1 , *, control, 0)," &
" 104 ( BC_1 , RG6, output3, X, 103, 0, Z)," &
--BSC group 35 for I/O pin 7
" 105 ( BC_1 , RG7, input, X)," &
" 106 ( BC_1 , *, control, 0)," &
" 107 ( BC_1 , RG7, output3, X, 106, 0, Z)," &
--BSC group 36 for I/O pin 8
" 108 ( BC_1 , RG8, input, X)," &
" 109 ( BC_1 , *, control, 0)," &
" 110 ( BC_1 , RG8, output3, X, 109, 0, Z)," &
--BSC group 37 for I/O pin 9
" 111 ( BC_1 , MCLR, input, X)," &
" 112 ( BC_1 , *, control, 0)," &
" 113 ( BC_1 , MCLR, output3, X, 112, 0, Z)," &
--BSC group 38 for I/O pin 10
" 114 ( BC_1 , RG9, input, X), " &
" 115 ( BC_1 , *, control, 0)," &
" 116 ( BC_1 , RG9, output3, X, 115, 0, Z)," &
--BSC group 39 for I/O pin 15
" 117 ( BC_1 , RB5, input, X)," &
" 118 ( BC_1 , *, control, 0)," &
" 119 ( BC_1 , RB5, output3, X, 118, 0, Z)," &
--BSC group 40 for I/O pin 16
" 120 ( BC_1 , RB4, input, X)," &
" 121 ( BC_1 , *, control, 0)," &
" 122 ( BC_1 , RB4, output3, X, 121, 0, Z)," &
--BSC group 41 for I/O pin 17
" 123 ( BC_1 , RB3, input, X)," &
" 124 ( BC_1 , *, control, 0)," &
" 125 ( BC_1 , RB3, output3, X, 124, 0, Z)," &
--BSC group 42 for I/O pin 18
" 126 ( BC_1 , RB2, input, X)," &
" 127 ( BC_1 , *, control, 0)," &
" 128 ( BC_1 , RB2, output3, X, 127, 0, Z)," &
--BSC group 43 for I/O pin 19
" 129 ( BC_1 , RB1, input, X)," &
" 130 ( BC_1 , *, control, 0)," &
" 131 ( BC_1 , RB1, output3, X, 130, 0, Z)," &
--BSC group 44 for I/O pin 20
" 132 ( BC_1 , RB0, input, X)," &
" 133 ( BC_1 , *, control, 0)," &
" 134 ( BC_1 , RB0, output3, X, 133, 0, Z)," &
--BSC group 45 for I/O pin 21
" 135 ( BC_1 , RB6, input, X)," &
" 136 ( BC_1 , *, control, 0)," &
" 137 ( BC_1 , RB6, output3, X, 136, 0, Z)," &
--BSC group 46 for I/O pin 22
" 138 ( BC_1 , RB7, input, X)," &
" 139 ( BC_1 , *, control, 0)," &
" 140 ( BC_1 , RB7, output3, X, 139, 0, Z)," &
--BSC group 47 for I/O pin 23
" 141 ( BC_1 , RA9, input, X), " &
" 142 ( BC_1 , *, control, 0)," &
" 143 ( BC_1 , RA9, output3, X, 142, 0, Z)," &
--BSC group 48 for I/O pin 24
" 144 ( BC_1 , RA10, input, X)," &
" 145 ( BC_1 , *, control, 0)," &
" 146 ( BC_1 , RA10, output3, X, 145, 0, Z)," &
--BSC group 49 for I/O pin 27
" 147 ( BC_1 , RB8, input, X)," &
" 148 ( BC_1 , *, control, 0)," &
" 149 ( BC_1 , RB8, output3, X, 148, 0, Z)," &
--BSC group 50 for I/O pin 28
" 150 ( BC_1 , RB9, input, X)," &
" 151 ( BC_1 , *, control, 0)," &
" 152 ( BC_1 , RB9, output3, X, 151, 0, Z)," &
--BSC group 51 for I/O pin 29
" 153 ( BC_1 , RB10, input, X)," &
" 154 ( BC_1 , *, control, 0)," &
" 155 ( BC_1 , RB10, output3, X, 154, 0, Z)," &
--BSC group 52 for I/O pin 30
" 156 ( BC_1 , RB11, input, X)," &
" 157 ( BC_1 , *, control, 0)," &
" 158 ( BC_1 , RB11, output3, X, 157, 0, Z)," &
--BSC group 53 for I/O pin 35
" 159 ( BC_1 , RB14, input, X)," &
" 160 ( BC_1 , *, control, 0)," &
" 161 ( BC_1 , RB14, output3, X, 160, 0, Z)," &
--BSC group 54 for I/O pin 36
" 162 ( BC_1 , RB15, input, X)," &
" 163 ( BC_1 , *, control, 0)," &
" 164 ( BC_1 , RB15, output3, X, 163, 0, Z)," &
--BSC group 55 for I/O pin 37
" 165 ( BC_1 , RD14, input, X)," &
" 166 ( BC_1 , *, control, 0)," &
" 167 ( BC_1 , RD14, output3, X, 166, 0, Z)," &
--BSC group 56 for I/O pin 38
" 168 ( BC_1 , RD15, input, X), " &
" 169 ( BC_1 , *, control, 0)," &
" 170 ( BC_1 , RD15, output3, X, 169, 0, Z)," &
--BSC group 57 for I/O pin 39
" 171 ( BC_1 , RF4, input, X)," &
" 172 ( BC_1 , *, control, 0)," &
" 173 ( BC_1 , RF4, output3, X, 172, 0, Z)," &
--BSC group 58 for I/O pin 40
" 174 ( BC_1 , RF5, input, X)," &
" 175 ( BC_1 , *, control, 0)," &
" 176 ( BC_1 , RF5, output3, X, 175, 0, Z)," &
--BSC group 59 for I/O pin 41
" 177 ( BC_1 , RF3, input, X)," &
" 178 ( BC_1 , *, control, 0)," &
" 179 ( BC_1 , RF3, output3, X, 178, 0, Z)," &
--BSC group 60 for I/O pin 42
" 180 ( BC_1 , RF2, input, X)," &
" 181 ( BC_1 , *, control, 0)," &
" 182 ( BC_1 , RF2, output3, X, 181, 0, Z)," &
--BSC group 61 for I/O pin 43
" 183 ( BC_1 , RF8, input, X)," &
" 184 ( BC_1 , *, control, 0)," &
" 185 ( BC_1 , RF8, output3, X, 184, 0, Z)," &
--BSC group 62 for I/O pin 44
" 186 ( BC_1 , RF7, input, X)," &
" 187 ( BC_1 , *, control, 0)," &
" 188 ( BC_1 , RF7, output3, X, 187, 0, Z)," &
--BSC group 63 for I/O pin 45
" 189 ( BC_1 , RF6, input, X)," &
" 190 ( BC_1 , *, control, 0)," &
" 191 ( BC_1 , RF6, output3, X, 190, 0, Z)," &
--BSC group 64 for I/O pin 46
" 192 ( BC_1 , RG3, input, X)," &
" 193 ( BC_1 , *, control, 0)," &
" 194 ( BC_1 , RG3, output3, X, 193, 0, Z)," &
--BSC group 65 for I/O pin 47
" 195 ( BC_1 , RG2, input, X)," &
" 196 ( BC_1 , *, control, 0)," &
" 197 ( BC_1 , RG2, output3, X, 196, 0, Z)" ;
end dsPIC33FJ128GP708;