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

-----------------------------------------------------------------------
-- File:	USB5532B.BSD
-- Created:	2012/06/27
-- Modified:	2014/12/10
-- Version:	1.0
--
-- BSDL description for USB5532B in 64-pin QFN package
--
-- Copyright 2012 SMSC - All rights reserved.
--
-- SMSC makes no warranty for the use of this file and its contents
-- are subject to change without notice.
--
-- Notes:
-- Some port names differ from the datasheet pinout to conform to
-- BSDL syntax.
--
-- History:

-----------------------------------------------------------------------

-- ************************************************************************
-- *                     ENTITY DEFINITION WITH PORTS                     *
-- ************************************************************************

entity USB5532B is 
   generic (PHYSICAL_PIN_MAP : string := "QFN64");

   port (
      --I/O Pins
      USB2DP_DN1        : linkage   bit;
      USB2DM_DN1        : linkage   bit;
      USB3DP_TXDN1      : linkage   bit;
      USB3DM_TXDN1      : linkage   bit;
      USB3DP_RXDN1      : linkage   bit;
      USB3DM_RXDN1      : linkage   bit;
      USB2DP_DN2        : linkage   bit;
      USB2DM_DN2        : linkage   bit;
      USB3DP_TXDN2      : linkage   bit;
      USB3DM_TXDN2      : linkage   bit;
      USB3DP_RXDN2      : linkage   bit;
      USB3DM_RXDN2      : linkage   bit;
      GPIO11            : inout     bit;
      GPIO10            : inout     bit;
      PRT_CTL2          : inout     bit;
      PRT_CTL1          : inout     bit;
      SM_DAT            : inout     bit;
      SM_CLK            : inout     bit;
      SPI_CE_N          : inout     bit;
      SPI_CLK           : inout     bit;
      SPI_DO            : inout     bit;
      SPI_DI            : inout     bit;
      TDO               : out       bit;
      TDI               : in        bit;
      TRST              : in        bit;
      TCK               : in        bit;
      TMS               : in        bit;
      VBUS              : inout     bit;
      TEST              : in        bit;
      RESET_N           : in        bit;
      USB2DP_UP         : linkage   bit;
      USB2DM_UP         : linkage   bit;
      USB3DP_TXUP       : linkage   bit;
      USB3DM_TXUP       : linkage   bit;
      USB3DP_RXUP       : linkage   bit;
      USB3DM_RXUP       : linkage   bit;
      ATEST             : linkage   bit;
      XTALOUT           : linkage   bit;
      XTALIN            : linkage   bit;
      RBIAS             : linkage   bit;

      --Power Pins
      VDD12             : linkage bit_vector( 1 to 8 );
      VDD33             : linkage bit_vector( 1 to 4 );

      --No-Connect pins
      NC                : linkage bit_vector( 1 to 12 )
   );

   use STD_1149_1_2001.all;
   use LVS_BSCAN_CELLS.all;

   attribute COMPONENT_CONFORMANCE of USB5532B: entity is "STD_1149_1_2001";

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

   attribute PIN_MAP of USB5532B : entity is PHYSICAL_PIN_MAP;
   constant QFN64 : PIN_MAP_STRING :=
      --I/O Pins
      "USB2DP_DN1      :  1, " &
      "USB2DM_DN1      :  2, " &
      "USB3DP_TXDN1    :  3, " &
      "USB3DM_TXDN1    :  4, " &
      "USB3DP_RXDN1    :  6, " &
      "USB3DM_RXDN1    :  7, " &
      "USB2DP_DN2      :  9, " &
      "USB2DM_DN2      : 10, " &
      "USB3DP_TXDN2    : 11, " &
      "USB3DM_TXDN2    : 12, " &
      "USB3DP_RXDN2    : 14, " &
      "USB3DM_RXDN2    : 15, " &
      "GPIO11          : 32, " &
      "GPIO10          : 33, " &
      "PRT_CTL2        : 35, " &
      "PRT_CTL1        : 36, " &
      "SM_DAT          : 37, " &
      "SM_CLK          : 38, " &
      "SPI_CE_N        : 39, " &
      "SPI_CLK         : 40, " &
      "SPI_DO          : 41, " &
      "SPI_DI          : 42, " &
      "TDO             : 43, " &
      "TDI             : 44, " &
      "TRST            : 45, " &
      "TCK             : 46, " &
      "TMS             : 47, " &
      "VBUS            : 48, " &
      "TEST            : 49, " &
      "RESET_N         : 50, " &
      "USB2DP_UP       : 53, " &
      "USB2DM_UP       : 54, " &
      "USB3DP_TXUP     : 55, " &
      "USB3DM_TXUP     : 56, " &
      "USB3DP_RXUP     : 58, " &
      "USB3DM_RXUP     : 59, " &
      "ATEST           : 60, " &
      "XTALOUT         : 61, " &
      "XTALIN          : 62, " &
      "RBIAS           : 64, " &

      --Power Pins
      "VDD12           : ( 5, 8, 13, 21, 28, 31, 51, 57 )," &
      "VDD33           : ( 16, 34, 52, 63 )," &

      --No-Connect pins
      "NC              : ( 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30 ) ";

   -- ************************************************************************
   -- *                       IEEE 1149.1 TAP PORTS                          *
   -- ************************************************************************

   attribute TAP_SCAN_RESET of TRST    : signal is true;
   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.0e6, BOTH);

   attribute COMPLIANCE_PATTERNS of USB5532B : entity is
     "(TEST)" &
     "(1)";

   attribute INSTRUCTION_LENGTH of USB5532B: entity is 28;

   attribute INSTRUCTION_OPCODE of USB5532B: entity is
      "IDCODE       (1111111111111111111111111110)," &
      "BYPASS       (0000000000000000000000000000, 1111111111111111111111111111)," &
      "EXTEST       (1111111111111111111111101000)," &
      "SAMPLE       (1111111111111111111111111000)," &
      "PRELOAD      (1111111111111111111111111000)," &
      "HIGHZ        (1111111111111111111111001111)," &
      "CLAMP        (1111111111111111111111101111) " ;

   attribute INSTRUCTION_CAPTURE of USB5532B: entity is "XXXXXXXXXXXXXXXXXXXXXXXXXX01";

   attribute IDCODE_REGISTER of USB5532B: entity is
      "0000"             & -- version
      "0000000010100001" & -- part number
      "01000100010"      & -- manufacturer's identity
      "1";                   -- required by 1149.1

   attribute REGISTER_ACCESS of USB5532B: entity is
      "BOUNDARY     ( SAMPLE, PRELOAD )," &
      "BYPASS       ( HIGHZ, CLAMP, BYPASS ) " ;

   -- ************************************************************************
   -- *                    BOUNDARY SCAN CELL INFORMATION                    *
   -- ************************************************************************

    attribute BOUNDARY_LENGTH of USB5532B: entity is 28;

    attribute BOUNDARY_REGISTER of USB5532B: entity is 
    -- num  cell         port               function       safe     [ccell disval  rslt]
    "  27   (BC_2       , *                , internal     , 1   )                          ,"&
    "  26   (LV_BC_7    , *                , internal     , X   )                          ,"&
    "  25   (BC_2       , *                , internal     , 1   )                          ,"&
    "  24   (LV_BC_7    , *                , internal     , X   )                          ,"&
    "  23   (BC_2       , *                , control      , 1   )                          ,"&
    "  22   (LV_BC_7    , GPIO11           , bidir        , X    ,   23     , 1     , Z   ),"&
    "  21   (BC_2       , *                , control      , 1   )                          ,"&
    "  20   (LV_BC_7    , GPIO10           , bidir        , X    ,   21     , 1     , Z   ),"&
    "  19   (BC_2       , *                , control      , 1   )                          ,"&
    "  18   (LV_BC_7    , PRT_CTL2         , bidir        , X    ,   19     , 1     , Z   ),"&
    "  17   (BC_2       , *                , control      , 1   )                          ,"&
    "  16   (LV_BC_7    , PRT_CTL1         , bidir        , X    ,   17     , 1     , Z   ),"&
    "  15   (BC_2       , *                , control      , 1   )                          ,"&
    "  14   (LV_BC_7    , SM_DAT           , bidir        , X    ,   15     , 1     , Z   ),"&
    "  13   (BC_2       , *                , control      , 1   )                          ,"&
    "  12   (LV_BC_7    , SM_CLK           , bidir        , X    ,   13     , 1     , Z   ),"&
    "  11   (BC_2       , *                , control      , 1   )                          ,"&
    "  10   (LV_BC_7    , SPI_CE_N         , bidir        , X    ,   11     , 1     , Z   ),"&
    "  9    (BC_2       , *                , control      , 1   )                          ,"&
    "  8    (LV_BC_7    , SPI_CLK          , bidir        , X    ,   9      , 1     , Z   ),"&
    "  7    (BC_2       , *                , control      , 1   )                          ,"&
    "  6    (LV_BC_7    , SPI_DO           , bidir        , X    ,   7      , 1     , Z   ),"&
    "  5    (BC_2       , *                , control      , 1   )                          ,"&
    "  4    (LV_BC_7    , SPI_DI           , bidir        , X    ,   5      , 1     , Z   ),"&
    "  3    (BC_2       , *                , internal     , X   )                          ,"&
    "  2    (BC_2       , RESET_N          , input        , X   )                          ,"&
    "  1    (BC_2       , *                , control      , 1   )                          ,"&
    "  0    (LV_BC_7    , VBUS            , bidir        , X    ,   1      , 1     , Z   ) ";

   -- ************************************************************************
   -- *                            DESIGN WARNING                            *
   -- ************************************************************************

   attribute DESIGN_WARNING of USB5532B : entity is
      "1. Besides the compliance pattern, an additional pattern is required to select the TAP" &
      "   controller associated with Boundary Scan operation.  At the point of the compliance" &
      "   pattern application (ie TEST pin is driven 1), the following pins must be driven to" &
      "   specific states for 10 micro seconds. RESET_N is driven low, and PRT_CTL2 is driven" &
      "   high-z and PRT_CTL1 is driven high-z. Note that both PRT_CTL2 and PRT_CTL1 pins have" &
      "   internal pulldown that will resolve the lines connected to them to 0.  After 10 uSec," &
      "   boundary scan operation is enabled.  RESET_N and PRT_CTL2/1 pins should be released to" &
      "   participate with boundary scan testing.";

end USB5532B;