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

	-- ********************************************************************
-- * ispCLOCK5520V BSDL Model                                         *
-- * File Version:      1.01                                          *
-- * File Date:         04/04/05                                      *
-- *                                                                  *
-- * Standard Test Access Port and Boundary-Scan Architecture         *
-- * VHDL Description File                                            *
-- *                                                                  *
-- * This BSDL file is created by ispBDF v3.3.0 according to:         *
-- * - IEEE 1149.1 2001 spec.                                         *
-- *                                                                  *
-- * This BSDL file has been syntax checked with:                     *
-- * - Lattice BSDL Syntax Checker                                    *
-- * - Agilent BSDL Syntax Checker                                    *
-- * - JTAG Technologies BSDL Syntax Checker                          *
-- * - Goepel BSDL Syntax Checker V3.0.1                              *
-- *                                                                  *
-- * Copyright 2000 - 2005                                            *
-- * Lattice Semiconductor Corporation                                *
-- * 5555 NE Moore Ct.                                                *
-- * Hillsboro, OR 97124                                              *
-- *                                                                  *
-- * All rights reserved.  No part of this program or publication     *
-- * may be reproduced, transmitted, transcribed, stored in a         *
-- * retrieval system, or translated into any language or             *
-- * computer language, in any form or by any means without this      *
-- * notice appearing within.                                         *
-- ********************************************************************
-- *                                                                  *
-- *                           IMPORTANT                              *
-- *                                                                  *
-- * The following is a BSDL file that tests all of the I/O pins      *
-- * as bidirectional pins.  The functionality of the BSCAN register  *
-- * for this device is independent of the pattern programmed         *
-- * into the device.  An additional programming step is not          *
-- * required to configure the I/O pins prior to BSCAN test.          *
-- *                                                                  *
-- * For Further assistance, please contact Tech Support at           *
-- *       1-800-LATTICE or techsupport@latticesemi.com               *
-- ********************************************************************
-- *                                                                  *
-- *                          REVISION HISTORY                        *
-- *                                                                  *
-- * Rev 1.01: 04/04/05                                               *
-- *  - rcs: Updated entity name.                                     *
-- *  - rcs: Changed LSC_PROGRAM_INCR to ISC_PROGRAM.                 *
-- *  - rcs: Changed LSC_READ_INCR to ISC_READ.                       *
-- *  - rcs: Changed ISC_PROGRAM_USERCODE to LSC_PROGRAM_USERCODE.    *
-- * Rev 1.00: 07/29/04                                               *
-- *  - rcs: Initial version.                                         *
-- *                                                                  *
-- ********************************************************************

-- The Overall Structure of the Entity Description
entity ispPAC_CLK5520V_XXT100 is

-- Generic Parameter Statement
generic (PHYSICAL_PIN_MAP : string := "TQFP_100");
-- Logical Port Description Statement
port (
      NC: linkage bit_vector(0 to 25);              --No Connect Pins
      BANK_9B: out bit;
      BANK_9A: out bit;
      BANK_8B: out bit;
      BANK_8A: out bit;
      BANK_7B: out bit;
      BANK_7A: out bit;
      BANK_6B: out bit;
      BANK_6A: out bit;
      BANK_5B: out bit;
      BANK_5A: out bit;
      OEY: in bit;
      OEX: in bit;
      REFSEL: in bit;
      REFB_P: in bit;
      REFB_N: in bit;
      REFA_N: in bit;
      REFA_P: in bit;
      BANK_4B: out bit;
      BANK_4A: out bit;
      BANK_3B: out bit;
      BANK_3A: out bit;
      BANK_2B: out bit;
      BANK_2A: out bit;
      BANK_1B: out bit;
      BANK_1A: out bit;
      BANK_0B: out bit;
      BANK_0A: out bit;
      PLL_BYPASS: in bit;
      PS0: in bit;
      PS1: in bit;
      GOE: in bit;
      RESET: in bit;
      SGATE: in bit;
      LOCK: out bit;
      TDI: in bit;
      TCK: in bit;
      TMS: in bit;
      TDO: out bit;
      VCCO0: linkage bit;
      VCCO1: linkage bit;
      VCCO2: linkage bit;
      VCCO3: linkage bit;
      VCCO4: linkage bit;
      VCCO5: linkage bit;
      VCCO6: linkage bit;
      VCCO7: linkage bit;
      VCCO8: linkage bit;
      VCCO9: linkage bit;
      VCCA: linkage bit;
      VCCD: linkage bit_vector(0 to 2);
      VCCJ: linkage bit;
      REFVTT: linkage bit;
      GNDO0: linkage bit;
      GNDO1: linkage bit;
      GNDO2: linkage bit;
      GNDO3: linkage bit;
      GNDO4: linkage bit;
      GNDO5: linkage bit;
      GNDO6: linkage bit;
      GNDO7: linkage bit;
      GNDO8: linkage bit;
      GNDO9: linkage bit;
      GNDA: linkage bit;
      GNDD: linkage bit_vector(0 to 6);
      TEST1: linkage bit;
      TEST2: linkage bit
);

-- Version Control
use STD_1149_1_2001.all;              -- 1149.1-2001 attributes

-- Component Conformance Statement
attribute COMPONENT_CONFORMANCE of ispPAC_CLK5520V_XXT100 : entity is
"STD_1149_1_2001";

-- Device Package Pin Mapping
attribute PIN_MAP of ispPAC_CLK5520V_XXT100 : entity is PHYSICAL_PIN_MAP;

constant TQFP_100 : PIN_MAP_STRING :=

      "NC: (80, 81, 95, 96, 1, 2, "&          --No Connect
      "      23, 24, 25, 26, 27, 28, "&          --No Connect
      "      29, 48, 49, 50, 75, 76, "&          --No Connect
      "      77, 78, 79, 94, 97, 98, "&          --No Connect
      "      99, 100), "&          --No Connect
      "BANK_9B: 68,"&
      "BANK_9A: 69,"&
      "BANK_8B: 64,"&
      "BANK_8A: 65,"&
      "BANK_7B: 60,"&
      "BANK_7A: 61,"&
      "BANK_6B: 56,"&
      "BANK_6A: 57,"&
      "BANK_5B: 52,"&
      "BANK_5A: 53,"&
      "OEY: 45,"&
      "OEX: 44,"&
      "REFSEL: 43,"&
      "REFB_P: 42,"&
      "REFB_N: 41,"&
      "REFA_N: 39,"&
      "REFA_P: 38,"&
      "BANK_4B: 20,"&
      "BANK_4A: 21,"&
      "BANK_3B: 16,"&
      "BANK_3A: 17,"&
      "BANK_2B: 12,"&
      "BANK_2A: 13,"&
      "BANK_1B: 8,"&
      "BANK_1A: 9,"&
      "BANK_0B: 4,"&
      "BANK_0A: 5,"&
      "PLL_BYPASS: 92,"&
      "PS0: 89,"&
      "PS1: 88,"&
      "GOE: 87,"&
      "RESET: 86,"&
      "SGATE: 85,"&
      "LOCK: 72,"&
      "TDI: 84,"&
      "TCK: 83,"&
      "TMS: 82,"&
      "TDO: 73,"&
      "VCCO0: 3,"&
      "VCCO1: 7,"&
      "VCCO2: 11,"&
      "VCCO3: 15,"&
      "VCCO4: 19,"&
      "VCCO5: 51,"&
      "VCCO6: 55,"&
      "VCCO7: 59,"&
      "VCCO8: 63,"&
      "VCCO9: 67,"&
      "VCCA: 30,"&
      "VCCD: (34, 47, 71), "&
      "VCCJ: 74,"&
      "REFVTT: 40,"&
      "GNDO0: 6,"&
      "GNDO1: 10,"&
      "GNDO2: 14,"&
      "GNDO3: 18,"&
      "GNDO4: 22,"&
      "GNDO5: 54,"&
      "GNDO6: 58,"&
      "GNDO7: 62,"&
      "GNDO8: 66,"&
      "GNDO9: 70,"&
      "GNDA: 31,"&
      "GNDD: (46, 93, 37, 36, 35, 33, 32), "&
      "TEST1: 91,"&
      "TEST2: 90";

-- Differential Cell Identification

attribute PORT_GROUPING of ispPAC_CLK5520V_XXT100 : entity is
	"Differential_Voltage((REFA_P, REFA_N))," &
    "Differential_Voltage((REFB_P, REFB_N))";

-- Scan Port Identification

      attribute TAP_SCAN_CLOCK of TCK : Signal is (25.0e6, BOTH);
      attribute TAP_SCAN_IN of TDI : Signal is True;
      attribute TAP_SCAN_OUT of TDO : Signal is True;
      attribute TAP_SCAN_MODE of TMS : Signal is True;

-- Instruction Register Description

      attribute INSTRUCTION_LENGTH of ispPAC_CLK5520V_XXT100 : entity is 8;
      attribute INSTRUCTION_OPCODE of ispPAC_CLK5520V_XXT100 : entity is

-- 1149.1 instructions
      "BYPASS                            (11111111),"&
      "PRELOAD                           (00011100),"&
      "SAMPLE                            (00011100),"&
      "EXTEST                            (00000000),"&
      "INTEST                            (00101100),"&
      "IDCODE                            (00010110),"&
      "USERCODE                          (00010111),"&
      "HIGHZ                             (00011000),"&
      "CLAMP                             (00100000),"&
-- ISC instructions
      "ISC_ENABLE                        (00010101),"&
      "ISC_DISABLE                       (00011110),"&
      "ISC_NOOP                          (00110000),"&
      "ISC_ADDRESS_SHIFT                 (00000001),"&
      "ISC_ADDRESS_INIT                  (00100001),"&
      "ISC_DATA_SHIFT                    (00000010),"&
      "ISC_ERASE                         (00000011),"&
      "ISC_DISCHARGE                     (00010100),"&
      "ISC_PROGRAM_SECURITY              (00001001),"&
      "ISC_PROGRAM_DONE                  (00101111),"&
      "ISC_ERASE_DONE                    (00100100),"&
      "LSC_PROGRAM_USERCODE              (00011010),"&
      "ISC_PROGRAM                       (00100111),"&
      "ISC_READ                          (00101010),"&
      "LSC_USER_LOGIC_RESET              (00100010)";

      attribute INSTRUCTION_CAPTURE of ispPAC_CLK5520V_XXT100 : entity is
      "00011X01";

-- IDCODE Definition
      attribute IDCODE_REGISTER of ispPAC_CLK5520V_XXT100 : entity is
      "0000"&          -- version number
      "0000000101010000"&          -- part identification
      "00000100001"&          -- company code
      "1";          -- mandatory

-- USERCODE Definition
      attribute USERCODE_REGISTER of ispPAC_CLK5520V_XXT100 : entity is
      "11111111111111111111111111111111";

-- Register Access Description
      attribute REGISTER_ACCESS of ispPAC_CLK5520V_XXT100 : entity is
      "BYPASS                 (BYPASS, "&
      "                       HIGHZ, "&
      "                       CLAMP),"&
      "BOUNDARY               (PRELOAD, "&
      "                       SAMPLE, "&
      "                       EXTEST, "&
      "                       INTEST),"&
      "DEVICE_ID              (IDCODE, "&
      "                       USERCODE, "&
      "                       LSC_PROGRAM_USERCODE),"&
      "ISC_DEFAULT[1]         (ISC_ENABLE, "&
      "                       ISC_DISABLE, "&
      "                       ISC_NOOP, "&
      "                       ISC_ADDRESS_INIT, "&
      "                       ISC_ERASE, "&
      "                       ISC_DISCHARGE, "&
      "                       ISC_PROGRAM_SECURITY, "&
      "                       ISC_PROGRAM_DONE, "&
      "                       ISC_ERASE_DONE, "&
      "                       LSC_USER_LOGIC_RESET),"&
      "ISC_ADDRESS[10]        (ISC_ADDRESS_SHIFT),"&
      "ISC_DATA[89]           (ISC_DATA_SHIFT),"&
      "ISC_PDATA[89]          (ISC_PROGRAM, "&
      "                       ISC_READ)";

-- *****************************************************************
-- Boundary Scan Register Description, Cell 0 is the closest to TDO
-- *****************************************************************
      attribute BOUNDARY_LENGTH of ispPAC_CLK5520V_XXT100 : entity is 56;
      attribute BOUNDARY_REGISTER of ispPAC_CLK5520V_XXT100 : entity is

      --num cell  port  function  safe  [ccell  disval  rslt]
      "55 (BC_1, BANK_9B,  OUTPUT3, X, 54, 0, Z),"&
      "54 (BC_1,       *,  CONTROL, 0          ),"&
      "53 (BC_1, BANK_9A,  OUTPUT3, X, 52, 0, Z),"&
      "52 (BC_1,       *,  CONTROL, 0          ),"&
      "51 (BC_1, BANK_8B,  OUTPUT3, X, 50, 0, Z),"&
      "50 (BC_1,       *,  CONTROL, 0          ),"&
      "49 (BC_1, BANK_8A,  OUTPUT3, X, 48, 0, Z),"&
      "48 (BC_1,       *,  CONTROL, 0          ),"&
      "47 (BC_1, BANK_7B,  OUTPUT3, X, 46, 0, Z),"&
      "46 (BC_1,       *,  CONTROL, 0          ),"&
      "45 (BC_1, BANK_7A,  OUTPUT3, X, 44, 0, Z),"&
      "44 (BC_1,       *,  CONTROL, 0          ),"&
      "43 (BC_1, BANK_6B,  OUTPUT3, X, 42, 0, Z),"&
      "42 (BC_1,       *,  CONTROL, 0          ),"&
      "41 (BC_1, BANK_6A,  OUTPUT3, X, 40, 0, Z),"&
      "40 (BC_1,       *,  CONTROL, 0          ),"&
      "39 (BC_1, BANK_5B,  OUTPUT3, X, 38, 0, Z),"&
      "38 (BC_1,       *,  CONTROL, 0          ),"&
      "37 (BC_1, BANK_5A,  OUTPUT3, X, 36, 0, Z),"&
      "36 (BC_1,       *,  CONTROL, 0          ),"&
      "35 (BC_2,     OEY,    INPUT, X          ),"&
      "34 (BC_2,     OEX,    INPUT, X          ),"&
      "33 (BC_2,  REFSEL,    INPUT, X          ),"&
      "32 (BC_2,  REFB_P,    INPUT, X          ),"&
      "31 (BC_2,  REFA_P,    INPUT, X          ),"&
      "30 (BC_2,       *, INTERNAL, 0          ),"&
      "29 (BC_2,       *, INTERNAL, 0          ),"&
      "28 (BC_2,       *, INTERNAL, 0          ),"&
      "27 (BC_1, BANK_4B,  OUTPUT3, X, 26, 0, Z),"&
      "26 (BC_1,       *,  CONTROL, 0          ),"&
      "25 (BC_1, BANK_4A,  OUTPUT3, X, 24, 0, Z),"&
      "24 (BC_1,       *,  CONTROL, 0          ),"&
      "23 (BC_1, BANK_3B,  OUTPUT3, X, 22, 0, Z),"&
      "22 (BC_1,       *,  CONTROL, 0          ),"&
      "21 (BC_1, BANK_3A,  OUTPUT3, X, 20, 0, Z),"&
      "20 (BC_1,       *,  CONTROL, 0          ),"&
      "19 (BC_1, BANK_2B,  OUTPUT3, X, 18, 0, Z),"&
      "18 (BC_1,       *,  CONTROL, 0          ),"&
      "17 (BC_1, BANK_2A,  OUTPUT3, X, 16, 0, Z),"&
      "16 (BC_1,       *,  CONTROL, 0          ),"&
      "15 (BC_1, BANK_1B,  OUTPUT3, X, 14, 0, Z),"&
      "14 (BC_1,       *,  CONTROL, 0          ),"&
      "13 (BC_1, BANK_1A,  OUTPUT3, X, 12, 0, Z),"&
      "12 (BC_1,       *,  CONTROL, 0          ),"&
      "11 (BC_1, BANK_0B,  OUTPUT3, X, 10, 0, Z),"&
      "10 (BC_1,       *,  CONTROL, 0          ),"&
      "9  (BC_1, BANK_0A,  OUTPUT3, X,  8, 0, Z),"&
      "8  (BC_1,       *,  CONTROL, 0          ),"&
      "7  (BC_2, PLL_BYPASS, INPUT, X          ),"&
      "6  (BC_2,     PS0,    INPUT, X          ),"&
      "5  (BC_2,     PS1,    INPUT, X          ),"&
      "4  (BC_2,     GOE,    INPUT, X          ),"&
      "3  (BC_2,   RESET,    INPUT, X          ),"&
      "2  (BC_2,   SGATE,    INPUT, X          ),"&
      "1  (BC_1,    LOCK,  OUTPUT3, X,  0, 0, Z),"&
      "0  (BC_1,       *,  CONTROL, 0          )";

end ispPAC_CLK5520V_XXT100;