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_CLK5610AV_XXT48

-- ********************************************************************
-- * ispCLOCK5610AV BSDL Model                                        *
-- * File Version:      1.01                                          *
-- * File Date:         04/18/06                                      *
-- *                                                                  *
-- * Standard Test Access Port and Boundary-Scan Architecture         *
-- * VHDL Description File                                            *
-- *                                                                  *
-- * This BSDL file is created by ispBDF v4.0.0 according to:         *
-- * - IEEE 1149.1 2001 spec.                                         *
-- *                                                                  *
-- * This BSDL has been validated for syntax and semantics            *
-- * compliance to IEEE 1149.1 using:                                 *
-- * - Lattice BSDL Syntax Checker                                    *
-- * - Goepel BSDL Syntax Checker V3.0.1                              *
-- * - ASSET/Agilent BSDL Validation Service                          *
-- * - JTAG Technologies BSDL Syntax Checker                          *
-- *                                                                  *
-- * Copyright 2000 - 2006                                            *
-- * 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/18/06                                               *
-- *  - rcs: Corrected data register length.                          *	
-- *  - rcs: Updated header.                                          *	
-- * Rev 1.00: 04/13/06                                               *
-- *  - cwd: Initial version.                                         *
-- *                                                                  *
-- ********************************************************************

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

-- Generic Parameter Statement
generic (PHYSICAL_PIN_MAP : string := "TQFP_48");
-- Logical Port Description Statement
port (
      BANK_4B: out bit;
      BANK_4A: out bit;
      BANK_3B: out bit;
      BANK_3A: out bit;
      OEY: in bit;
      OEX: in bit;
      REFA_N: in bit;
      REFA_P: in bit;
      FBKA_N: in bit;
      FBKA_P: in 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;
      VCCA: linkage bit;
      VCCD: linkage bit_vector(0 to 1);
      VCCJ: linkage bit;
      REFVTT: linkage bit;
      GNDO0: linkage bit;
      GNDO1: linkage bit;
      GNDO2: linkage bit;
      GNDO3: linkage bit;
      GNDO4: linkage bit;
      GNDA: linkage bit;
      GNDD: linkage bit_vector(0 to 1);
      FBKVTT: linkage bit;
      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_CLK5610AV_XXT48 : entity is
"STD_1149_1_2001";

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

constant TQFP_48 : PIN_MAP_STRING :=

      "BANK_4B: 30,"&
      "BANK_4A: 31,"&
      "BANK_3B: 26,"&
      "BANK_3A: 27,"&
      "OEY: 22,"&
      "OEX: 21,"&
      "REFA_N: 19,"&
      "REFA_P: 18,"&
      "FBKA_N: 16,"&
      "FBKA_P: 15,"&
      "BANK_2B: 10,"&
      "BANK_2A: 11,"&
      "BANK_1B: 6,"&
      "BANK_1A: 7,"&
      "BANK_0B: 2,"&
      "BANK_0A: 3,"&
      "PLL_BYPASS: 47,"&
      "PS0: 44,"&
      "PS1: 43,"&
      "GOE: 42,"&
      "RESET: 41,"&
      "SGATE: 40,"&
      "LOCK: 34,"&
      "TDI: 39,"&
      "TCK: 38,"&
      "TMS: 37,"&
      "TDO: 35,"&
      "VCCO0: 1,"&
      "VCCO1: 5,"&
      "VCCO2: 9,"&
      "VCCO3: 25,"&
      "VCCO4: 29,"&
      "VCCA: 13,"&
      "VCCD: (24, 33), "&
      "VCCJ: 36,"&
      "REFVTT: 20,"&
      "GNDO0: 4,"&
      "GNDO1: 8,"&
      "GNDO2: 12,"&
      "GNDO3: 28,"&
      "GNDO4: 32,"&
      "GNDA: 14,"&
      "GNDD: (23, 48), "&
      "FBKVTT: 17,"&
      "TEST1: 46,"&
      "TEST2: 45";

-- Differential Cell Identification

attribute PORT_GROUPING of ispPAC_CLK5610AV_XXT48 : entity is
	"Differential_Voltage((REFA_P, REFA_N))," &
	"Differential_Voltage((FBKA_P, FBKA_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_CLK5610AV_XXT48 : entity is 8;
      attribute INSTRUCTION_OPCODE of ispPAC_CLK5610AV_XXT48 : 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_CLK5610AV_XXT48 : entity is
      "00011X01";

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

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

-- Register Access Description
      attribute REGISTER_ACCESS of ispPAC_CLK5610AV_XXT48 : 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[97]           (ISC_DATA_SHIFT),"&
      "ISC_PDATA[97]          (ISC_PROGRAM, "&
      "                       ISC_READ)";

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

      --num cell  port  function  safe  [ccell  disval  rslt]
      "55 (BC_1,       *, INTERNAL, 0          ),"&
      "54 (BC_1,       *, INTERNAL, 0          ),"&
      "53 (BC_1,       *, INTERNAL, 0          ),"&
      "52 (BC_1,       *, INTERNAL, 0          ),"&
      "51 (BC_1,       *, INTERNAL, 0          ),"&
      "50 (BC_1,       *, INTERNAL, 0          ),"&
      "49 (BC_1,       *, INTERNAL, 0          ),"&
      "48 (BC_1,       *, INTERNAL, 0          ),"&
      "47 (BC_1, BANK_4B,  OUTPUT3, X, 46, 0, Z),"&
      "46 (BC_1,       *,  CONTROL, 0          ),"&
      "45 (BC_1, BANK_4A,  OUTPUT3, X, 44, 0, Z),"&
      "44 (BC_1,       *,  CONTROL, 0          ),"&
      "43 (BC_1,       *, INTERNAL, 0          ),"&
      "42 (BC_1,       *, INTERNAL, 0          ),"&
      "41 (BC_1,       *, INTERNAL, 0          ),"&
      "40 (BC_1,       *, INTERNAL, 0          ),"&
      "39 (BC_1, BANK_3B,  OUTPUT3, X, 38, 0, Z),"&
      "38 (BC_1,       *,  CONTROL, 0          ),"&
      "37 (BC_1, BANK_3A,  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,       *, INTERNAL, 0          ),"&
      "32 (BC_2,       *, INTERNAL, 0          ),"&
      "31 (BC_2,  REFA_P,    INPUT, X          ),"&
      "30 (BC_2,       *, INTERNAL, 0          ),"&
      "29 (BC_2,       *, INTERNAL, 0          ),"&
      "28 (BC_2,  FBKA_P,    INPUT, X          ),"&
      "27 (BC_1, BANK_2B,  OUTPUT3, X, 26, 0, Z),"&
      "26 (BC_1,       *,  CONTROL, 0          ),"&
      "25 (BC_1, BANK_2A,  OUTPUT3, X, 24, 0, Z),"&
      "24 (BC_1,       *,  CONTROL, 0          ),"&
      "23 (BC_1,       *, INTERNAL, 0          ),"&
      "22 (BC_1,       *, INTERNAL, 0          ),"&
      "21 (BC_1,       *, INTERNAL, 0          ),"&
      "20 (BC_1,       *, INTERNAL, 0          ),"&
      "19 (BC_1, BANK_1B,  OUTPUT3, X, 18, 0, Z),"&
      "18 (BC_1,       *,  CONTROL, 0          ),"&
      "17 (BC_1, BANK_1A,  OUTPUT3, X, 16, 0, Z),"&
      "16 (BC_1,       *,  CONTROL, 0          ),"&
      "15 (BC_1,       *, INTERNAL, 0          ),"&
      "14 (BC_1,       *, INTERNAL, 0          ),"&
      "13 (BC_1,       *, INTERNAL, 0          ),"&
      "12 (BC_1,       *, INTERNAL, 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_CLK5610AV_XXT48;