BSDL Files Library for JTAG

The only free public library that contains thousands of BSDL (Boundary Scan Description Language) models to use with BScan/JTAG tools

BSDL model: DSPIC33EP128MC504

----------------------------------------------------------------------------------
--
--   � 2014 Microchip Technology Inc. and its subsidiaries.  You may use this
--   software and any derivatives exclusively with Microchip products.
--
--   THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS".  NO WARRANTIES, WHETHER
--   EXPRESSED, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED
--   WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR
--   PURPOSE, OR ITS INTERACTION WITH MICROCHIP PRODUCTS, COMBINATION WITH ANY OTHER
--   PRODUCTS, OR USE IN ANY APPLICATION.
--
--   IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
--   INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
--   WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS
--   BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE.  TO THE
--   FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY
--   WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT
--   YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
--
--   MICROCHIP PROVIDES THIS SOFTWARE CONDITIONALLY UPON YOUR ACCEPTANCE OF THESE TERMS.
--
----------------------------------------------------------------------------------


-- BSDL file
                             
-- File Name:     dsPIC33EP128MC504.bsd  44 pin
-- File Revision: Revision: 1.0
-- Date created:  Date: Tuesday, August 12, 2014 

-- Device:        dsPIC33EP128MC504
--                rev Ax
-- Package:       44 pin TQFP & QFN & VTLA & UQFN


-- 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 RA2(Pin 30) and RA3(Pin 31).

--       JTAG Pins:  Device Pin:
--       TMS		     1
--       TDO                12
--       TDI                13
--       TCK                44


-- ***********************************************************************
-- *                             PORT DEFINITIONS                        *
-- ***********************************************************************

entity dsPIC33EP128MC504 is
  generic (PHYSICAL_PIN_MAP : string := "VTLA44");

port (

-- JTAG Pins
 TCK	: in	  bit ; 
 TDI	: in      bit ; 
 TDO	: out 	  bit ; 
 TMS	: in 	  bit ;
 
 MCLR   : inout   bit ;

-- Port A Pins
 RA0    : inout   bit ;
 RA1    : inout   bit ;
 RA2    : inout   bit ;
 RA3    : inout   bit ;
 RA4    : inout   bit ;
 RA8    : inout   bit ;
 RA9    : inout   bit ;

-- Port B Pins
 RB0    : inout   bit ;
 RB1    : inout   bit ;
 RB2    : inout   bit ;
 RB3    : inout   bit ;
 RB4    : inout   bit ;
 RB5    : inout   bit ;
 RB6    : inout   bit ;
 RB7    : inout   bit ;
 RB10   : inout   bit ;
 RB11   : inout   bit ;
 RB12   : inout   bit ;
 RB13   : inout   bit ;
 RB14   : inout   bit ;
 RB15   : inout   bit ;

-- Port C Pins
 RC0    : inout   bit ;
 RC1    : inout   bit ;
 RC2    : inout   bit ;
 RC3    : inout   bit ;
 RC4    : inout   bit ;
 RC5    : inout   bit ;
 RC6    : inout   bit ;
 RC7    : inout   bit ;
 RC8    : inout   bit ;
 RC9    : inout   bit ;

-- Power Pins

 VDD1   : linkage bit ; 
 VDD2   : linkage bit ;
 AVDD	: linkage bit ;

 VSS1   : linkage bit ;
 VSS2   : linkage bit ; 
 VSS3   : linkage bit ;
 
 AVSS   : linkage bit ; 

 VCAP   : linkage bit  

 
);
use STD_1149_1_2001.all;

attribute COMPONENT_CONFORMANCE of dsPIC33EP128MC504 : entity is "STD_1149_1_2001";

-- *********************************************************************
-- *                             PIN MAPPING                           *
-- *********************************************************************

attribute PIN_MAP of dsPIC33EP128MC504 : entity is PHYSICAL_PIN_MAP;
constant VTLA44 : PIN_MAP_STRING :=

-- I/O Pins

-- Port Pin   Pin #      
-- --------   -----

-- Side '1'


" TMS:		1	,"&
" RC6:		2	,"&
" RC7:          3       ,"&
" RC8:		4	,"&
" RC9:		5	,"&
" VSS1:		6	,"&
" VCAP:		7	,"&
" RB10:		8	,"& 
" RB11:		9	,"&
" RB12:		10	,"&
" RB13:		11	,"&

-- Side '2'

" TDO:		12	,"&
" TDI:		13	,"&
" RB14:		14	,"&
" RB15:		15	,"&
" AVSS:		16	,"&
" AVDD:		17	,"&
" MCLR:   	18	,"&
" RA0:      	19      ,"& 
" RA1:          20      ,"&
" RB0:          21      ,"&
" RB1:          22      ,"& 

-- Side '3'
" RB2:          23      ,"&
" RB3:          24      ,"& 
" RC0:          25      ,"&
" RC1:          26      ,"&
" RC2:          27      ,"&
" VDD1:         28      ,"&
" VSS2:         29      ,"&
" RA2:          30      ,"&
" RA3:          31      ,"&
" RA8:          32      ,"&
" RB4:          33      ,"&

-- Side '4
" RA4:          34      ,"&
" RA9:          35      ,"&
" RC3:          36      ,"&
" RC4:          37      ,"&
" RC5:          38      ,"&
" VSS3:         39      ,"&
" VDD2:         40      ,"&
" RB5:          41      ,"&
" RB6:          42      ,"&
" RB7:          43      ,"&
" TCK:		44	";



-- *********************************************************************
-- *                       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 dsPIC33EP128MC504 : entity is 4;
attribute INSTRUCTION_OPCODE of dsPIC33EP128MC504 : entity is
  "BYPASS            (1111), "&
  "EXTEST            (0011), "&
  "SAMPLE            (0001), "&
  "PRELOAD           (0001), "&
  "IDCODE            (0010), "&
  "MCHP_CMD          (1000)," &
  "MCHP_SCAN 	     (0111)," &
  "HIGHZ             (0100)";


attribute INSTRUCTION_CAPTURE of dsPIC33EP128MC504 : entity is "0001";


attribute IDCODE_REGISTER of dsPIC33EP128MC504 : entity is
 "xxxx"               &   -- Version
 "xxxxxxxxxxxxxxxx"   &   -- Part number
 "00000101001"        &   -- Manufacturer ID
 "1";                     -- Required by IEEE std 1149.1-2001 
 
 
attribute REGISTER_ACCESS of dsPIC33EP128MC504 : 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 dsPIC33EP128MC504 : entity is 96;
attribute BOUNDARY_REGISTER of dsPIC33EP128MC504 : entity is


--BSC group 0 for I/O pin 14
" 0   ( BC_1 , RB14, input, X)," &
" 1   ( BC_1 , *,  control, 0)," &
" 2   ( BC_1 , RB14, output3, X, 1, 0, Z)," &

--BSC group 1 for I/O pin 15
" 3   ( BC_1 , RB15, input, X)," &
" 4   ( BC_1 , *,  control, 0)," &
" 5   ( BC_1 , RB15, output3, X, 4, 0, Z)," &

--BSC group 2 for I/O pin 18
" 6   ( BC_1 , MCLR, input, X)," &
" 7   ( BC_1 , *,  control, 0)," &
" 8   ( BC_1 , MCLR, output3, X, 7, 0, Z)," &

--BSC group 3 for I/O pin 19
" 9   ( BC_1 , RA0, input, X)," &
" 10  ( BC_1 , *,  control, 0)," &
" 11  ( BC_1 , RA0, output3, X, 10, 0, Z)," &

--BSC group 4 for I/O pin 20
" 12  ( BC_1 , RA1, input, X), " &
" 13  ( BC_1 , *,  control, 0)," &
" 14  ( BC_1 , RA1, output3, X, 13, 0, Z)," &

--BSC group 5 for I/O pin 21
" 15  ( BC_1 , RB0, input, X), " &
" 16  ( BC_1 , *,  control, 0)," &
" 17  ( BC_1 , RB0, output3, X, 16, 0, Z)," &

--BSC group 6 for I/O pin 22
" 18  ( BC_1 , RB1, input, X), " &
" 19  ( BC_1 , *,  control, 0)," &
" 20  ( BC_1 , RB1, output3, X, 19, 0, Z)," &

--BSC group 7 for I/O pin 23
" 21  ( BC_1 , RB2, input, X), " &
" 22  ( BC_1 , *,  control, 0)," &
" 23  ( BC_1 , RB2, output3, X, 22, 0, Z)," &

--BSC group 8 for I/O pin 24
" 24  ( BC_1 , RB3, input, X), " &
" 25  ( BC_1 , *,  control, 0)," &
" 26  ( BC_1 , RB3, output3, X, 25, 0, Z)," &

--BSC group 9 for I/O pin 25
" 27  ( BC_1 , RC0, input, X), " &
" 28  ( BC_1 , *,  control, 0)," &
" 29  ( BC_1 , RC0, output3, X, 28, 0, Z)," &

--BSC group 10 for I/O pin 26
" 30  ( BC_1 , RC1, input, X), " &
" 31  ( BC_1 , *,  control, 0)," &
" 32  ( BC_1 , RC1, output3, X, 31, 0, Z)," &

--BSC group 11 for I/O pin 27
" 33  ( BC_1 , RC2, input, X), " &
" 34  ( BC_1 , *,  control, 0)," &
" 35  ( BC_1 , RC2, output3, X, 34, 0, Z)," &

--BSC group 12 for I/O pin 30
" 36  ( BC_1 , RA2, input, X), " &
" 37  ( BC_1 , *,  control, 0)," &
" 38  ( BC_1 , RA2, output3, X, 37, 0, Z)," &

--BSC group 13 for I/O pin 31
" 39  ( BC_1 , RA3, input, X), " &
" 40  ( BC_1 , *,  control, 0)," &
" 41  ( BC_1 , RA3, output3, X, 40, 0, Z)," &

--BSC group 14 for I/O pin 32
" 42  ( BC_1 , RA8, input, X), " &
" 43  ( BC_1 , *,  control, 0)," &
" 44  ( BC_1 , RA8, output3, X, 43, 0, Z)," &

--BSC group 15 for I/O pin 33
" 45  ( BC_1 , RB4, input, X), " &
" 46  ( BC_1 , *,  control, 0)," &
" 47  ( BC_1 , RB4, output3, X, 46, 0, Z)," &

--BSC group 16 for I/O pin 34
" 48  ( BC_1 , RA4, input, X), " &
" 49  ( BC_1 , *,  control, 0)," &
" 50  ( BC_1 , RA4, output3, X, 49, 0, Z)," &

--BSC group 17 for I/O pin 35
" 51  ( BC_1 , RA9, input, X), " &
" 52  ( BC_1 , *,  control, 0)," &
" 53  ( BC_1 , RA9, output3, X, 52, 0, Z)," &

--BSC group 18 for I/O pin 36
" 54  ( BC_1 , RC3, input, X), " &
" 55  ( BC_1 , *,  control, 0)," &
" 56  ( BC_1 , RC3, output3, X, 55, 0, Z)," &

--BSC group 19 for I/O pin 37
" 57  ( BC_1 , RC4, input, X), " &
" 58  ( BC_1 , *,  control, 0)," &
" 59  ( BC_1 , RC4, output3, X, 58, 0, Z)," &

--BSC group 20 for I/O pin 38
" 60  ( BC_1 , RC5, input, X), " &
" 61  ( BC_1 , *,  control, 0)," &
" 62  ( BC_1 , RC5, output3, X, 61, 0, Z)," &

--BSC group 21 for I/O pin 41
" 63  ( BC_1 , RB5, input, X), " &
" 64  ( BC_1 , *,  control, 0)," &
" 65  ( BC_1 , RB5, output3, X, 64, 0, Z)," &

--BSC group 22 for I/O pin 42
" 66  ( BC_1 , RB6, input, X), " &
" 67  ( BC_1 , *,  control, 0)," &
" 68  ( BC_1 , RB6, output3, X, 67, 0, Z)," &

--BSC group 23 for I/O pin 43
" 69  ( BC_1 , RB7, input, X), " &
" 70  ( BC_1 , *,  control, 0)," &
" 71  ( BC_1 , RB7, output3, X, 70, 0, Z)," &

--BSC group 24 for I/O pin 2
" 72  ( BC_1 , RC6, input, X), " &
" 73  ( BC_1 , *,  control, 0)," &
" 74  ( BC_1 , RC6, output3, X, 73, 0, Z)," &

--BSC group 25 for I/O pin 3
" 75  ( BC_1 , RC7, input, X), " &
" 76  ( BC_1 , *,  control, 0)," &
" 77  ( BC_1 , RC7, output3, X, 76, 0, Z)," &

--BSC group 26 for I/O pin 4
" 78  ( BC_1 , RC8, input, X), " &
" 79  ( BC_1 , *,  control, 0)," &
" 80  ( BC_1 , RC8, output3, X, 79, 0, Z)," &

--BSC group 27 for I/O pin 5
" 81  ( BC_1 , RC9, input, X), " &
" 82  ( BC_1 , *,  control, 0)," &
" 83  ( BC_1 , RC9, output3, X, 82, 0, Z)," &

--BSC group 28 for I/O pin 8
" 84  ( BC_1 , RB10, input, X), " &
" 85  ( BC_1 , *,  control, 0)," &
" 86  ( BC_1 , RB10, output3, X, 85, 0, Z)," &

--BSC group 29 for I/O pin 9
" 87  ( BC_1 , RB11, input, X), " &
" 88  ( BC_1 , *,  control, 0)," &
" 89  ( BC_1 , RB11, output3, X, 88, 0, Z)," &

--BSC group 30 for I/O pin 10
" 90  ( BC_1 , RB12, input, X), " &
" 91  ( BC_1 , *,  control, 0)," &
" 92  ( BC_1 , RB12, output3, X, 91, 0, Z)," &

--BSC group 31 for I/O pin 11
" 93  ( BC_1 , RB13, input, X), " &
" 94  ( BC_1 , *,  control, 0)," &
" 95  ( BC_1 , RB13, output3, X, 94, 0, Z)"; 


end dsPIC33EP128MC504;