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_CLK5620AV_XXT100

-- ********************************************************************
-- * ispCLOCK5620AV 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 1532 2001 spec.                                           *
-- * - 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.          *
-- *                                                                  *
-- * This file contains additional information that may cause a BSDL  *
-- * parser to reject or error if your parser does not contain the    *
-- * 1532 library. BSDL files without ISC extensions are available    *
-- * on the Lattice website at www.latticesemi.com.                   *
-- *                                                                  *
-- * For Further assistance, please contact Tech Support at           *
-- *       1-800-LATTICE or techsupport@latticesemi.com               *
-- ********************************************************************
-- *                                                                  *
-- *                          REVISION HISTORY                        *
-- *                                                                  *
-- * Rev 1.01: 04/18/06                                               *
-- *  - jao: Updated the 1532 Device IDCODE.                          *	
-- *  - rcs: Corrected data and address register lengths.             *	
-- *  - rcs: Updated header.                                          *	
-- * Rev 1.00: 04/13/06                                               *
-- *  - cwd: Initial version.                                         *
-- *                                                                  *
-- ********************************************************************

-- The Overall Structure of the Entity Description
entity ispPAC_CLK5620AV_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;
      FBSEL: in bit;
      FBKB_P: in bit;
      FBKB_N: in bit;
      FBKA_N: in bit;
      FBKA_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;
      FBKVTT: 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;
      GNDO5: linkage bit;
      GNDO6: linkage bit;
      GNDO7: linkage bit;
      GNDO8: linkage bit;
      GNDO9: linkage bit;
      GNDA: linkage bit;
      GNDD: linkage bit_vector(0 to 1);
      TEST1: linkage bit;
      TEST2: linkage bit
);

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

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

-- Device Package Pin Mapping
attribute PIN_MAP of ispPAC_CLK5620AV_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,"&
      "FBSEL: 37,"&
      "FBKB_P: 36,"&
      "FBKB_N: 35,"&
      "FBKA_N: 33,"&
      "FBKA_P: 32,"&
      "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,"&
      "FBKVTT: 34,"&
      "VCCD: (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), "&
      "TEST1: 91,"&
      "TEST2: 90";

-- Differential Cell Identification

attribute PORT_GROUPING of ispPAC_CLK5620AV_XXT100 : entity is
    "Differential_Voltage((REFA_P, REFA_N))," &
    "Differential_Voltage((REFB_P, REFB_N))," &
    "Differential_Voltage((FBKA_P, FBKA_N))," &
    "Differential_Voltage((FBKB_P, FBKB_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_CLK5620AV_XXT100 : entity is 8;
      attribute INSTRUCTION_OPCODE of ispPAC_CLK5620AV_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_CLK5620AV_XXT100 : entity is
      "00011X01";

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

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

-- Register Access Description
      attribute REGISTER_ACCESS of ispPAC_CLK5620AV_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[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_CLK5620AV_XXT100 : entity is 56;
      attribute BOUNDARY_REGISTER of ispPAC_CLK5620AV_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,   FBSEL,    INPUT, X          ),"&
      "29 (BC_2,  FBKB_P,    INPUT, X          ),"&
      "28 (BC_2,  FBKA_P,    INPUT, X          ),"&
      "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          )";

-- ****************************************************
-- *       IEEE 1532 EXTENSION INFORMATION            *
-- ****************************************************
attribute ISC_PIN_BEHAVIOR of ispPAC_CLK5620AV_XXT100 : entity is 
  "CLAMP";

attribute ISC_STATUS of ispPAC_CLK5620AV_XXT100 : entity is
     "Not Implemented";

attribute ISC_BLANK_USERCODE of ispPAC_CLK5620AV_XXT100 : entity is
    "11111111111111111111111111111111";

attribute ISC_FLOW of ispPAC_CLK5620AV_XXT100 : entity is

  "flow_verify(idcode) "&
    "initialize "&
      "(IDCODE        WAIT TCK 1 32:00167043*FFFFFFFF), "&

  "flow_enable "&
    "initialize "&
      "(ISC_ENABLE    WAIT TCK 5, 20.0e-3), "&

  "flow_erase "&
    "initialize "&
      "(ISC_ERASE     WAIT TCK 5, 200.0e-3) "&
      "(ISC_DISCHARGE WAIT TCK 5, 200.0e-3), "&

  "flow_preload "&
    "initialize "&
      "(SAMPLE 56:0 WAIT TCK 1), "&

  "flow_program(array) "&
    "initialize "&
      "(ISC_ADDRESS_INIT   WAIT TCK 1) "&
    "repeat 10"&
      "(ISC_PROGRAM 97:? WAIT TCK 5, 40.0e-3), "&

  "flow_verify(array) "&
    "initialize "&
      "(ISC_ADDRESS_SHIFT 10:$addr=200 "&
      " WAIT TCK 1) "&
    "repeat 10"&
      "(ISC_READ  WAIT TCK 5, 1.0e-3 97:?:CRC), "&

  "flow_read(array) "&
    "initialize "&
      "(ISC_ADDRESS_SHIFT 10:$addr=200 "&
      " WAIT TCK 1) "&
    "repeat 10"&
      "(ISC_READ  WAIT TCK 5, 1.0e-3 97:!:CRC), "&

  "flow_program(usercode) "&
    "initialize "&
      "(USERCODE 32:? WAIT TCK 1) "&
      "(LSC_PROGRAM_USERCODE WAIT TCK 5, 40.0e-3), "&

  "flow_verify(usercode) "&
    "initialize "&
      "(USERCODE WAIT TCK 1 32:?), "&

  "flow_read(usercode) "&
    "initialize "&
      "(USERCODE WAIT TCK 1 32:!), "&

  "flow_program_security "&
    "initialize "&
      "(ISC_PROGRAM_SECURITY  WAIT TCK 5, 50.0e-3), "&

  "flow_disable "&
    "initialize "&
      "(ISC_DISABLE      WAIT TCK 5, 200.0e-3), "&

  "flow_program_done "&
    "initialize "&
      "(ISC_PROGRAM_DONE WAIT TCK 5, 50.0e-3)";

attribute ISC_PROCEDURE of ispPAC_CLK5620AV_XXT100 : entity is
  "proc_verify(idcode)     = (flow_verify(idcode)), "&
  "proc_enable             = (flow_enable), "&
  "proc_disable            = (flow_disable), "&
  "proc_program(array)     = (flow_program(array)), "&
  "proc_verify(array)      = (flow_verify(array)), "&
  "proc_erase              = (flow_erase), "&
  "proc_read(array)        = (flow_read(array)), "&
  "proc_program(usercode)  = (flow_program(usercode)), "&
  "proc_verify(usercode)   = (flow_verify(usercode)), "&
  "proc_read(usercode)     = (flow_read(usercode)), "&
  "proc_program_done       = (flow_program_done), "&
  "proc_error_exit         = (flow_disable), "&
  "proc_preload            = (flow_preload), "&
  "proc_program(security)  = (flow_program_security)";

attribute ISC_ACTION of ispPAC_CLK5620AV_XXT100 : entity is
  "erase          = ( proc_verify(idcode) recommended, "&
                     "proc_preload recommended, "&
                     "proc_enable, "&
                     "proc_erase, "&
                     "proc_disable), "&
  "program        = ( proc_verify(idcode) recommended, "&
                     "proc_preload recommended, "&
                     "proc_enable, "&
                     "proc_erase, "&
                     "proc_program(array), "&
                     "proc_program(usercode) proprietary, "&
                     "proc_verify(array), "&
                     "proc_verify(usercode), "&
                     "proc_program(security) optional, "&
                     "proc_program_done, "&
                     "proc_disable), "&
  "verify         = ( proc_verify(idcode) recommended, "&
                     "proc_preload recommended, "&
                     "proc_enable, "&
                     "proc_verify(array), "&
                     "proc_verify(usercode), "&
                     "proc_disable), "&
  "read           = ( proc_verify(idcode) recommended, "&
                     "proc_preload recommended, "&
                     "proc_enable, "&
                     "proc_read(array) proprietary, "&
                     "proc_read(usercode), "&
                     "proc_disable), "&
  "verify_idcode  = ( proc_verify(idcode)), "&
  "secure         = ( proc_verify(idcode) recommended, "&
                     "proc_preload recommended, "&
                     "proc_enable, "&
                     "proc_program(security), "&
                     "proc_disable)";
end ispPAC_CLK5620AV_XXT100;