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: LPC820

-- *************************************(C) COPYRIGHT 2014 NXP Semiconductors  *************************************************
-- File Name: LPC82xMx01FHI33_rev1A_v0.0.txt
-- Version: V00
-- Date: 07/08/2014
-- Description: Boundary Scan Description Language (BSDL) file for the NXP Semiconductors  Microcontrollers
-- ********************************************************************************************************************************************
-- BSDL file that is described herein is for illustrative purposes only which provides customers to perform boundary 
-- scan on the LPC products.  This file is supplied "AS IS" without any warranties of any kind.NXP Semiconductors 
-- assumes no responsibility or liability for the use of the file, conveys no license or rights under any patent, copyright, 
-- mask work right, or any other intellectual property rights in or to any products. NXP Semiconductors reserves the 
-- right to make changes in the file without notification. NXP Semiconductors also makes no representation or warranty 
-- that such application will be suitable for the specified use without further testing or modification.

-- Permission to use, copy, modify, and distribute this file is hereby granted, under NXP Semiconductors' without fee, 
-- provided that it is used in conjunction with NXP Semiconductors microcontrollers.  This copyright, permission, and 
-- disclaimer notice must appear in all copies of this file.
-- ********************************************************************************************************************************************
-- 
-- pins not part of boundary scan are listed as type 'linkage'

entity LPC820 is

generic (PHYSICAL_PIN_MAP : string := "HVQFN33");

port (
  PIO0_12                                       : inout      bit;  -- 
  RESET_PIO0_5                                  : in         bit;  -- 
  PIO0_4_ADC11_WAKEUP_TRST                      : in         bit;  -- 
  PIO0_28_WKTCLKIN                              : inout      bit;  -- 
  SWCLK_PIO0_3_TCK                              : in         bit;  -- 
  SWDIO_PIO0_2_TMS                              : in         bit;  -- 
  PIO0_11_I2C0_SDA                              : inout      bit;  -- 
  PIO0_10_I2C0_SCL                              : inout      bit;  -- 
  PIO0_16                                       : inout      bit;  -- 
  PIO0_27                                       : inout      bit;  -- 
  PIO0_26                                       : inout      bit;  -- 
  PIO0_25                                       : inout      bit;  -- 
  PIO0_24                                       : inout      bit;  -- 
  PIO0_15                                       : inout      bit;  -- 
  PIO0_1_ACMP_I2_CLKIN_TDI                      : in         bit;  -- 
  PIO0_9_XTALOUT                                : inout      bit;  -- 
  PIO0_8_XTALIN                                 : inout      bit;  -- 
  VDD                                           : linkage    bit;  -- 
  VREFN                                         : linkage    bit;  -- 
  VREFP                                         : linkage    bit;  -- 
  PIO0_7_ADC0                                   : inout      bit;  -- 
  PIO0_6_ADC1_VDDCMP                            : inout      bit;  -- 
  PIO0_0_ACMP_I1_TDO                            : out        bit;  -- 
  PIO0_14_ADC2_ACMP_I3                          : inout      bit;  -- 
  PIO0_23_ADC3_ACMO_I4                          : inout      bit;  -- 
  PIO0_22_ADC4                                  : inout      bit;  -- 
  PIO0_21_ADC5                                  : inout      bit;  -- 
  PIO0_20_ADC6                                  : inout      bit;  -- 
  PIO0_19_ADC7                                  : inout      bit;  -- 
  PIO0_18_ADC8                                  : inout      bit;  -- 
  PIO0_17_ADC9                                  : inout      bit;  -- 
  PIO0_13_ADC10                                 : inout      bit   --  
);

use STD_1149_1_2001.all;

attribute COMPONENT_CONFORMANCE of LPC820 : entity is "std_1149_1_2001";

attribute PIN_MAP               of LPC820 : entity is PHYSICAL_PIN_MAP;

constant HVQFN33 : PIN_MAP_STRING :=
  "PIO0_12                                              :     2," &
  "RESET_PIO0_5                                         :     3," &
  "PIO0_4_ADC11_WAKEUP_TRST                             :     4," &
  "PIO0_28_WKTCLKIN                                     :     5," &
  "SWCLK_PIO0_3_TCK                                     :     6," &
  "SWDIO_PIO0_2_TMS                                     :     7," &
  "PIO0_11_I2C0_SDA                                     :     8," &
  "PIO0_10_I2C0_SCL                                     :     9," &
  "PIO0_16                                              :    10," &
  "PIO0_27                                              :    11," &
  "PIO0_26                                              :    12," &
  "PIO0_25                                              :    13," &
  "PIO0_24                                              :    14," &
  "PIO0_15                                              :    15," &
  "PIO0_1_ACMP_I2_CLKIN_TDI                             :    16," &
  "PIO0_9_XTALOUT                                       :    17," &
  "PIO0_8_XTALIN                                        :    18," &
  "VDD                                                  :    19," &
  "VREFN                                                :    20," &
  "VREFP                                                :    21," &
  "PIO0_7_ADC0                                          :    22," &
  "PIO0_6_ADC1_VDDCMP                                   :    23," &
  "PIO0_0_ACMP_I1_TDO                                   :    24," &
  "PIO0_14_ADC2_ACMP_I3                                 :    25," &
  "PIO0_23_ADC3_ACMO_I4                                 :    26," &
  "PIO0_22_ADC4                                         :    27," &
  "PIO0_21_ADC5                                         :    28," &
  "PIO0_20_ADC6                                         :    29," &
  "PIO0_19_ADC7                                         :    30," &
  "PIO0_18_ADC8                                         :    31," &
  "PIO0_17_ADC9                                         :    32," &
  "PIO0_13_ADC10                                        :     1";


-- *********************************************************************
-- *                       IEEE 1149.1 TAP PORTS                       *
-- *********************************************************************
-- This section specifies the TAP ports. For the TAP TCK port, the
--  parameters in the brackets are: 
--        First Field : Maximum  TCK frequency.
--        Second Field: Allowable states where TCK may be stopped.

    attribute    TAP_SCAN_CLOCK   of SWCLK_PIO0_3_TCK                : signal  is (10.00e+06,BOTH);
    attribute    TAP_SCAN_IN      of PIO0_1_ACMP_I2_CLKIN_TDI        : signal  is true;
    attribute    TAP_SCAN_MODE    of SWDIO_PIO0_2_TMS                : signal  is true;
    attribute    TAP_SCAN_OUT     of PIO0_0_ACMP_I1_TDO              : signal  is true;
    attribute    TAP_SCAN_RESET   of PIO0_4_ADC11_WAKEUP_TRST        : signal  is true;

-- Specifies the compliance enable patterns for the design. It lists a set of  
-- design ports and the values that they should be set to, in order to enable  
-- compliance to IEEE Std 1149.1

   attribute COMPLIANCE_PATTERNS of LPC820: entity is 
        "(RESET_PIO0_5) (0)";

-- *********************************************************************
-- *                   INSTRUCTIONS AND REGISTER ACCESS                *
-- *********************************************************************

    attribute INSTRUCTION_LENGTH of LPC820 : entity is 5;
    attribute INSTRUCTION_OPCODE of LPC820 : entity is   
        "extest     (00000)," &
        "sample     (00001)," &
        "preload    (00001)," &
        "highz      (00010)," &
        "clamp      (00011)," &
        "idcode     (00100)," &
        "resrvd     (00101, 00110, 00111, 01000, 01001, 01010, 01011, 01100)," &
        "bypass     (11111)";
    attribute INSTRUCTION_CAPTURE of LPC820 : entity is "00001";
    attribute INSTRUCTION_PRIVATE of LPC820 : entity is "resrvd";

    attribute IDCODE_REGISTER     of LPC820 : entity is 
        "0001"                 &    -- Version Number 
        "0000000000000000"     &    -- Part Number  LPC82x
        "00000010101"          &    -- Manufacturer ID 
        "1";                        -- Required by IEEE 

    attribute REGISTER_ACCESS     of LPC820 : entity is 
        "BOUNDARY  (extest, sample, preload), " & 
        "DEVICE_ID (idcode), " & 
        "BYPASS    (highz, clamp, bypass)";

-- *********************************************************************
-- *                    BOUNDARY SCAN CELL INFORMATION                 *
-- *********************************************************************
    attribute BOUNDARY_LENGTH   of LPC820 : entity is 69;
    attribute BOUNDARY_REGISTER of LPC820 : entity is 
-- #     cell    name                                              function  safe    control disable disable
--       type                                                                bit     signal   value  result
   " 68   (BC_4,  PIO0_9_XTALOUT                                    , INPUT,     X                         ),"&
   " 67   (BC_1,  PIO0_9_XTALOUT                                    , OUTPUT3,   X,      66,     0,      Z ),"&
   " 66   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 65   (BC_4,  PIO0_8_XTALIN                                     , INPUT,     X                         ),"&
   " 64   (BC_1,  PIO0_8_XTALIN                                     , OUTPUT3,   X,      63,     0,      Z ),"&
   " 63   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 62   (BC_4,  PIO0_7_ADC0                                       , INPUT,     X                         ),"&
   " 61   (BC_1,  PIO0_7_ADC0                                       , OUTPUT3,   X,      60,     0,      Z ),"&
   " 60   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 59   (BC_4,  PIO0_6_ADC1_VDDCMP                                , INPUT,     X                         ),"&
   " 58   (BC_1,  PIO0_6_ADC1_VDDCMP                                , OUTPUT3,   X,      57,     0,      Z ),"&
   " 57   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 56   (BC_4,  PIO0_14_ADC2_ACMP_I3                              , INPUT,     X                         ),"&
   " 55   (BC_1,  PIO0_14_ADC2_ACMP_I3                              , OUTPUT3,   X,      54,     0,      Z ),"&
   " 54   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 53   (BC_4,  PIO0_23_ADC3_ACMO_I4                              , INPUT,     X                         ),"&
   " 52   (BC_1,  PIO0_23_ADC3_ACMO_I4                              , OUTPUT3,   X,      51,     0,      Z ),"&
   " 51   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 50   (BC_4,  PIO0_22_ADC4                                      , INPUT,     X                         ),"&
   " 49   (BC_1,  PIO0_22_ADC4                                      , OUTPUT3,   X,      48,     0,      Z ),"&
   " 48   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 47   (BC_4,  PIO0_21_ADC5                                      , INPUT,     X                         ),"&
   " 46   (BC_1,  PIO0_21_ADC5                                      , OUTPUT3,   X,      45,     0,      Z ),"&
   " 45   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 44   (BC_4,  PIO0_20_ADC6                                      , INPUT,     X                         ),"&
   " 43   (BC_1,  PIO0_20_ADC6                                      , OUTPUT3,   X,      42,     0,      Z ),"&
   " 42   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 41   (BC_4,  PIO0_19_ADC7                                      , INPUT,     X                         ),"&
   " 40   (BC_1,  PIO0_19_ADC7                                      , OUTPUT3,   X,      39,     0,      Z ),"&
   " 39   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 38   (BC_4,  PIO0_18_ADC8                                      , INPUT,     X                         ),"&
   " 37   (BC_1,  PIO0_18_ADC8                                      , OUTPUT3,   X,      36,     0,      Z ),"&
   " 36   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 35   (BC_4,  PIO0_17_ADC9                                      , INPUT,     X                         ),"&
   " 34   (BC_1,  PIO0_17_ADC9                                      , OUTPUT3,   X,      33,     0,      Z ),"&
   " 33   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 32   (BC_4,  PIO0_13_ADC10                                     , INPUT,     X                         ),"&
   " 31   (BC_1,  PIO0_13_ADC10                                     , OUTPUT3,   X,      30,     0,      Z ),"&
   " 30   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 29   (BC_4,  PIO0_12                                           , INPUT,     X                         ),"&
   " 28   (BC_1,  PIO0_12                                           , OUTPUT3,   X,      27,     0,      Z ),"&
   " 27   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 26   (BC_4,  PIO0_28_WKTCLKIN                                  , INPUT,     X                         ),"&
   " 25   (BC_1,  PIO0_28_WKTCLKIN                                  , OUTPUT3,   X,      24,     0,      Z ),"&
   " 24   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 23   (BC_4,  PIO0_11_I2C0_SDA                                  , INPUT,     X                         ),"&
   " 22   (BC_1,  PIO0_11_I2C0_SDA                                  , OUTPUT3,   X,      21,     0,  WEAK1 ),"&
   " 21   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 20   (BC_4,  PIO0_10_I2C0_SCL                                  , INPUT,     X                         ),"&
   " 19   (BC_1,  PIO0_10_I2C0_SCL                                  , OUTPUT3,   X,      18,     0,  WEAK1 ),"&
   " 18   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 17   (BC_4,  PIO0_16                                           , INPUT,     X                         ),"&
   " 16   (BC_1,  PIO0_16                                           , OUTPUT3,   X,      15,     0,      Z ),"&
   " 15   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 14   (BC_4,  PIO0_27                                           , INPUT,     X                         ),"&
   " 13   (BC_1,  PIO0_27                                           , OUTPUT3,   X,      12,     0,      Z ),"&
   " 12   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   " 11   (BC_4,  PIO0_26                                           , INPUT,     X                         ),"&
   " 10   (BC_1,  PIO0_26                                           , OUTPUT3,   X,       9,     0,      Z ),"&
   "  9   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   "  8   (BC_4,  PIO0_25                                           , INPUT,     X                         ),"&
   "  7   (BC_1,  PIO0_25                                           , OUTPUT3,   X,       6,     0,      Z ),"&
   "  6   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   "  5   (BC_4,  PIO0_24                                           , INPUT,     X                         ),"&
   "  4   (BC_1,  PIO0_24                                           , OUTPUT3,   X,       3,     0,      Z ),"&
   "  3   (BC_1,  *                                                 , CONTROL,   0                         ),"&
   "  2   (BC_4,  PIO0_15                                           , INPUT,     X                         ),"&
   "  1   (BC_1,  PIO0_15                                           , OUTPUT3,   X,       0,     0,      Z ),"&
   "  0   (BC_1,  *                                                 , CONTROL,   0                         )";
end LPC820;