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

-- ********************************************************************
-- * LC4032ZC BSDL Model                                              *
-- * File Version:      1.01                                          *
-- * File Date:         08/21/03                                      *
-- *                                                                  *
-- * Standard Test Access Port and Boundary-Scan Architecture         *
-- * VHDL Description File                                            *
-- *                                                                  *
-- * This BSDL file is created by ispBDF v3.1 according to:           *
-- * - IEEE 1149.1 1994 spec.                                         *
-- *                                                                  *
-- * This BSDL file has been syntax checked with:                     *
-- * - Lattice BSDL Syntax Checker                                    *
-- * - Goepel BSDL Syntax Checker                                     *
-- * - Agilent BSDL Syntax Checker                                    *
-- *                                                                  *
-- *  Copyright 2000 - 2003 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: 08/21/03                                               *
-- *  - rcs: Changed entity from LC4032ZC_XXU56 to LC4032ZC_XXM56.    *
-- * Rev 1.00: 08/15/03                                               *
-- *  - rcs: Initial release.                                         *
-- *                                                                  *
-- ********************************************************************

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

-- Generic Parameter Statement
generic (PHYSICAL_PIN_MAP : string := "csBGA_56");
-- Logical Port Description Statement
port (
      NC: linkage bit_vector(0 to 7);              --No Connect Pins
      TDI: in bit;
      IOA5: inout bit;
      IOA6: inout bit;
      IOA7: inout bit;
      GND0: linkage bit;
      VCCO0: linkage bit;
      IOA8: inout bit;
      IOA9: inout bit;
      IOA10: inout bit;
      IOA11: inout bit;
      TCK: in bit;
      VCC: linkage bit_vector(0 to 1);
      GND: linkage bit_vector(0 to 1);
      IOA12: inout bit;
      IOA13: inout bit;
      IOA14: inout bit;
      IOA15: inout bit;
      CLK1: in bit;
      CLK2: in bit;
      IOB0: inout bit;
      IOB1: inout bit;
      IOB2: inout bit;
      IOB3: inout bit;
      IOB4: inout bit;
      TMS: in bit;
      IOB5: inout bit;
      IOB6: inout bit;
      IOB7: inout bit;
      GND1: linkage bit;
      VCCO1: linkage bit;
      IOB8: inout bit;
      IOB9: inout bit;
      IOB10: inout bit;
      IOB11: inout bit;
      TDO: out bit;
      IOB12: inout bit;
      IOB13: inout bit;
      IOB14: inout bit;
      IOB15: inout bit;
      CLK3: in bit;
      CLK0: in bit;
      IOA0: inout bit;
      IOA1: inout bit;
      IOA2: inout bit;
      IOA3: inout bit;
      IOA4: inout bit
);

-- Version Control
use STD_1149_1_1994.all;              -- 1149.1-1994 attributes

-- Component Conformance Statement
attribute COMPONENT_CONFORMANCE of LC4032ZC_XXM56 : entity is
"STD_1149_1_1993";

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

constant csBGA_56 : PIN_MAP_STRING :=

      "NC: (A8, B10, E1, E3, F8, F10, "&          --No Connect
      "      J1, K3), "&          --No Connect
      "TDI: B1,"&
      "IOA5: C3,"&
      "IOA6: C1,"&
      "IOA7: D1,"&
      "GND0: D3,"&
      "VCCO0: F3,"&
      "IOA8: F1,"&
      "IOA9: G3,"&
      "IOA10: G1,"&
      "IOA11: H1,"&
      "TCK: K1,"&
      "VCC: (K2, A9), "&
      "GND: (H3, C8), "&
      "IOA12: K4,"&
      "IOA13: H4,"&
      "IOA14: H5,"&
      "IOA15: K5,"&
      "CLK1: H6,"&
      "CLK2: K6,"&
      "IOB0: H7,"&
      "IOB1: K7,"&
      "IOB2: K8,"&
      "IOB3: K9,"&
      "IOB4: K10,"&
      "TMS: J10,"&
      "IOB5: H8,"&
      "IOB6: H10,"&
      "IOB7: G10,"&
      "GND1: G8,"&
      "VCCO1: E8,"&
      "IOB8: E10,"&
      "IOB9: D8,"&
      "IOB10: D10,"&
      "IOB11: C10,"&
      "TDO: A10,"&
      "IOB12: A7,"&
      "IOB13: C7,"&
      "IOB14: C6,"&
      "IOB15: A6,"&
      "CLK3: C5,"&
      "CLK0: A5,"&
      "IOA0: C4,"&
      "IOA1: A4,"&
      "IOA2: A3,"&
      "IOA3: A2,"&
      "IOA4: A1";

-- 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 LC4032ZC_XXM56 : entity is 8;
      attribute INSTRUCTION_OPCODE of LC4032ZC_XXM56 : entity is

-- 1149.1 instructions
      "BYPASS                            (11111111),"&
      "SAMPLE                            (00011100),"&
      "EXTEST                            (00000000),"&
      "IDCODE                            (00010110),"&
      "USERCODE                          (00010111),"&
      "HIGHZ                             (00011000),"&
      "CLAMP                             (00100000),"&
-- ISC instructions
      "ISC_ENABLE                        (00010101),"&
      "ISC_DISABLE                       (00011110),"&
      "ISC_NOOP                          (00110000),"&
      "ISC_ADDRESS_SHIFT                 (00000001),"&
      "ISC_DATA_SHIFT                    (00000010),"&
      "ISC_ERASE                         (00000011),"&
      "ISC_DISCHARGE                     (00010100),"&
      "ISC_PROGRAM_INCR                  (00100111),"&
      "ISC_READ_INCR                     (00101010),"&
      "ISC_PROGRAM_SECURITY              (00001001),"&
      "ISC_PROGRAM_DONE                  (00101111),"&
      "ISC_ERASE_DONE                    (00100100),"&
      "ISC_PROGRAM_USERCODE              (00011010),"&
      "LSC_ADDRESS_INIT                  (00100001)";

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

-- IDCODE Definition
      attribute IDCODE_REGISTER of LC4032ZC_XXM56 : entity is
      "0001"&          -- version number
      "0001100000000100"&          -- part identification
      "00000100001"&          -- company code
      "1";          -- mandatory

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

-- Register Access Description
      attribute REGISTER_ACCESS of LC4032ZC_XXM56 : entity is
      "BYPASS                  (BYPASS, "&
      "                        HIGHZ, "&
      "                        CLAMP),"&
      "BOUNDARY                (SAMPLE, "&
      "                        EXTEST),"&
      "DEVICE_ID               (IDCODE, "&
      "                        USERCODE, "&
      "                        ISC_PROGRAM_USERCODE),"&
      "ISC_DEFAULT[1]          (ISC_ENABLE, "&
      "                        ISC_DISABLE, "&
      "                        ISC_NOOP, "&
      "                        ISC_ERASE, "&
      "                        ISC_DISCHARGE, "&
      "                        ISC_PROGRAM_SECURITY, "&
      "                        ISC_PROGRAM_DONE, "&
      "                        ISC_ERASE_DONE, "&
      "                        LSC_ADDRESS_INIT),"&
      "ISC_ADDRESS[100]        (ISC_ADDRESS_SHIFT),"&
      "ISC_DATA[172]           (ISC_DATA_SHIFT, "&
      "                        ISC_PROGRAM_INCR, "&
      "                        ISC_READ_INCR)";

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

      --num cell  port  function  safe  [ccell  disval  rslt]
      "67 (BC_2, CLK0, INPUT, X           ),"&
      "66 (BC_7, IOA0, BIDIR, X, 65, 0, Z),"&
      "65 (BC_2,    *, CONTROL, 0           ),"&
      "64 (BC_7, IOA1, BIDIR, X, 63, 0, Z),"&
      "63 (BC_2,    *, CONTROL, 0           ),"&
      "62 (BC_7, IOA2, BIDIR, X, 61, 0, Z),"&
      "61 (BC_2,    *, CONTROL, 0           ),"&
      "60 (BC_7, IOA3, BIDIR, X, 59, 0, Z),"&
      "59 (BC_2,    *, CONTROL, 0           ),"&
      "58 (BC_7, IOA4, BIDIR, X, 57, 0, Z),"&
      "57 (BC_2,    *, CONTROL, 0           ),"&
      "56 (BC_7, IOA5, BIDIR, X, 55, 0, Z),"&
      "55 (BC_2,    *, CONTROL, 0           ),"&
      "54 (BC_7, IOA6, BIDIR, X, 53, 0, Z),"&
      "53 (BC_2,    *, CONTROL, 0           ),"&
      "52 (BC_7, IOA7, BIDIR, X, 51, 0, Z),"&
      "51 (BC_2,    *, CONTROL, 0           ),"&
      "50 (BC_7, IOA8, BIDIR, X, 49, 0, Z),"&
      "49 (BC_2,    *, CONTROL, 0           ),"&
      "48 (BC_7, IOA9, BIDIR, X, 47, 0, Z),"&
      "47 (BC_2,    *, CONTROL, 0           ),"&
      "46 (BC_7, IOA10, BIDIR, X, 45, 0, Z),"&
      "45 (BC_2,    *, CONTROL, 0           ),"&
      "44 (BC_7, IOA11, BIDIR, X, 43, 0, Z),"&
      "43 (BC_2,    *, CONTROL, 0           ),"&
      "42 (BC_7, IOA12, BIDIR, X, 41, 0, Z),"&
      "41 (BC_2,    *, CONTROL, 0           ),"&
      "40 (BC_7, IOA13, BIDIR, X, 39, 0, Z),"&
      "39 (BC_2,    *, CONTROL, 0           ),"&
      "38 (BC_7, IOA14, BIDIR, X, 37, 0, Z),"&
      "37 (BC_2,    *, CONTROL, 0           ),"&
      "36 (BC_7, IOA15, BIDIR, X, 35, 0, Z),"&
      "35 (BC_2,    *, CONTROL, 0           ),"&
      "34 (BC_2, CLK1, INPUT, X           ),"&
      "33 (BC_2, CLK2, INPUT, X           ),"&
      "32 (BC_7, IOB0, BIDIR, X, 31, 0, Z),"&
      "31 (BC_2,    *, CONTROL, 0           ),"&
      "30 (BC_7, IOB1, BIDIR, X, 29, 0, Z),"&
      "29 (BC_2,    *, CONTROL, 0           ),"&
      "28 (BC_7, IOB2, BIDIR, X, 27, 0, Z),"&
      "27 (BC_2,    *, CONTROL, 0           ),"&
      "26 (BC_7, IOB3, BIDIR, X, 25, 0, Z),"&
      "25 (BC_2,    *, CONTROL, 0           ),"&
      "24 (BC_7, IOB4, BIDIR, X, 23, 0, Z),"&
      "23 (BC_2,    *, CONTROL, 0           ),"&
      "22 (BC_7, IOB5, BIDIR, X, 21, 0, Z),"&
      "21 (BC_2,    *, CONTROL, 0           ),"&
      "20 (BC_7, IOB6, BIDIR, X, 19, 0, Z),"&
      "19 (BC_2,    *, CONTROL, 0           ),"&
      "18 (BC_7, IOB7, BIDIR, X, 17, 0, Z),"&
      "17 (BC_2,    *, CONTROL, 0           ),"&
      "16 (BC_7, IOB8, BIDIR, X, 15, 0, Z),"&
      "15 (BC_2,    *, CONTROL, 0           ),"&
      "14 (BC_7, IOB9, BIDIR, X, 13, 0, Z),"&
      "13 (BC_2,    *, CONTROL, 0           ),"&
      "12 (BC_7, IOB10, BIDIR, X, 11, 0, Z),"&
      "11 (BC_2,    *, CONTROL, 0           ),"&
      "10 (BC_7, IOB11, BIDIR, X, 9, 0, Z),"&
      "9 (BC_2,    *, CONTROL, 0           ),"&
      "8 (BC_7, IOB12, BIDIR, X, 7, 0, Z),"&
      "7 (BC_2,    *, CONTROL, 0           ),"&
      "6 (BC_7, IOB13, BIDIR, X, 5, 0, Z),"&
      "5 (BC_2,    *, CONTROL, 0           ),"&
      "4 (BC_7, IOB14, BIDIR, X, 3, 0, Z),"&
      "3 (BC_2,    *, CONTROL, 0           ),"&
      "2 (BC_7, IOB15, BIDIR, X, 1, 0, Z),"&
      "1 (BC_2,    *, CONTROL, 0           ),"&
      "0 (BC_2, CLK3, INPUT, X           )";

end LC4032ZC_XXM56;