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

-- ********************************************************************
-- * LC4064V BSDL Model                                               *
-- * File Version:      1.03                                          *
-- * File Date:         06/19/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.03: 06/19/03                                               *
-- *  - rcs: Removed INTEST instruction.                              *
-- * Rev 1.02: 02/20/03                                               *
-- *  - rcs: Changed CLK's to BC_2.                                   *
-- * Rev 1.01: 10/10/02                                               *
-- *  - rcs: Regenerated using ispBDF V3.0.                           *
-- *  - rcs: Changed I/O names to match data sheet.                   *
-- *  - rcs: Added INTEST support.                                    *
-- *  - rcs: Changed BC_4's to BC_1's.                                *
-- * Rev 1.00: 02/06/02                                               *
-- *  - Initial version                                               *
-- *                                                                  *
-- ********************************************************************

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

-- Generic Parameter Statement
generic (PHYSICAL_PIN_MAP : string := "TQFP_48");
-- Logical Port Description Statement
port (
      TDI: in bit;
      IOA10: inout bit;
      IOA12: inout bit;
      IOA14: inout bit;
      GNDO0: linkage bit;
      VCCO0: linkage bit;
      IOB0: inout bit;
      IOB2: inout bit;
      IOB4: inout bit;
      IOB6: inout bit;
      TCK: in bit;
      VCC: linkage bit_vector(0 to 1);
      GND: linkage bit_vector(0 to 1);
      IOB8: inout bit;
      IOB10: inout bit;
      IOB12: inout bit;
      IOB14: inout bit;
      CLK1: in bit;
      CLK2: in bit;
      IOC0: inout bit;
      IOC2: inout bit;
      IOC4: inout bit;
      IOC6: inout bit;
      IOC8: inout bit;
      TMS: in bit;
      IOC10: inout bit;
      IOC12: inout bit;
      IOC14: inout bit;
      GNDO1: linkage bit;
      VCCO1: linkage bit;
      IOD0: inout bit;
      IOD2: inout bit;
      IOD4: inout bit;
      IOD6: inout bit;
      TDO: out bit;
      IOD8: inout bit;
      IOD10: inout bit;
      IOD12: inout bit;
      IOD14: inout bit;
      CLK3: in bit;
      CLK0: in bit;
      IOA0: inout bit;
      IOA2: inout bit;
      IOA4: inout bit;
      IOA6: inout bit;
      IOA8: inout bit
);

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

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

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

constant TQFP_48 : PIN_MAP_STRING :=

      "TDI: 1,"&                      
      "IOA10: 2,"&                      
      "IOA12: 3,"&                      
      "IOA14: 4,"&                      
      "GNDO0: 5,"&                      
      "VCCO0: 6,"&                      
      "IOB0: 7,"&                      
      "IOB2: 8,"&                      
      "IOB4: 9,"&                      
      "IOB6: 10,"&                      
      "TCK: 11,"&                      
      "VCC: (12, 36), "&          
      "GND: (13, 37), "&          
      "IOB8: 14,"&                      
      "IOB10: 15,"&                      
      "IOB12: 16,"&                      
      "IOB14: 17,"&                      
      "CLK1: 18,"&                      
      "CLK2: 19,"&                      
      "IOC0: 20,"&                      
      "IOC2: 21,"&                      
      "IOC4: 22,"&                      
      "IOC6: 23,"&                      
      "IOC8: 24,"&                      
      "TMS: 25,"&                      
      "IOC10: 26,"&                      
      "IOC12: 27,"&                      
      "IOC14: 28,"&                      
      "GNDO1: 29,"&                      
      "VCCO1: 30,"&                      
      "IOD0: 31,"&                      
      "IOD2: 32,"&                      
      "IOD4: 33,"&                      
      "IOD6: 34,"&                      
      "TDO: 35,"&                      
      "IOD8: 38,"&                      
      "IOD10: 39,"&                      
      "IOD12: 40,"&                      
      "IOD14: 41,"&                      
      "CLK3: 42,"&                      
      "CLK0: 43,"&                      
      "IOA0: 44,"&                      
      "IOA2: 45,"&                      
      "IOA4: 46,"&                      
      "IOA6: 47,"&                      
      "IOA8: 48";                       

-- 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 LC4064V_XXT48 : entity is 8;
      attribute INSTRUCTION_OPCODE of LC4064V_XXT48 : 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 LC4064V_XXT48 : entity is
      "00011X01";

-- IDCODE Definition
      attribute IDCODE_REGISTER of LC4064V_XXT48 : entity is
      "XXXX"&          -- version number
      "0001100000001001"&          -- part identification
      "00000100001"&          -- company code
      "1";          -- mandatory

-- IDCODE Definition
      attribute USERCODE_REGISTER of LC4064V_XXT48 : entity is
      "11111111111111111111111111111111";

-- Register Access Description
      attribute REGISTER_ACCESS of LC4064V_XXT48 : 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[95]        (ISC_ADDRESS_SHIFT),"&
      "ISC_DATA[352]          (ISC_DATA_SHIFT, "&
      "                       ISC_PROGRAM_INCR, "&
      "                       ISC_READ_INCR)";

-- *****************************************************************
-- Boundary Scan Register Description, Cell 0 is the closest to TDO
-- *****************************************************************
      attribute BOUNDARY_LENGTH of LC4064V_XXT48 : entity is 68;
      attribute BOUNDARY_REGISTER of LC4064V_XXT48 : 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, IOA2, BIDIR, X, 63, 0, Z),"&
      "63 (BC_2,    *, CONTROL, 0           ),"&
      "62 (BC_7, IOA4, BIDIR, X, 61, 0, Z),"&
      "61 (BC_2,    *, CONTROL, 0           ),"&
      "60 (BC_7, IOA6, BIDIR, X, 59, 0, Z),"&
      "59 (BC_2,    *, CONTROL, 0           ),"&
      "58 (BC_7, IOA8, BIDIR, X, 57, 0, Z),"&
      "57 (BC_2,    *, CONTROL, 0           ),"&
      "56 (BC_7, IOA10, BIDIR, X, 55, 0, Z),"&
      "55 (BC_2,    *, CONTROL, 0           ),"&
      "54 (BC_7, IOA12, BIDIR, X, 53, 0, Z),"&
      "53 (BC_2,    *, CONTROL, 0           ),"&
      "52 (BC_7, IOA14, BIDIR, X, 51, 0, Z),"&
      "51 (BC_2,    *, CONTROL, 0           ),"&
      "50 (BC_7, IOB0, BIDIR, X, 49, 0, Z),"&
      "49 (BC_2,    *, CONTROL, 0           ),"&
      "48 (BC_7, IOB2, BIDIR, X, 47, 0, Z),"&
      "47 (BC_2,    *, CONTROL, 0           ),"&
      "46 (BC_7, IOB4, BIDIR, X, 45, 0, Z),"&
      "45 (BC_2,    *, CONTROL, 0           ),"&
      "44 (BC_7, IOB6, BIDIR, X, 43, 0, Z),"&
      "43 (BC_2,    *, CONTROL, 0           ),"&
      "42 (BC_7, IOB8, BIDIR, X, 41, 0, Z),"&
      "41 (BC_2,    *, CONTROL, 0           ),"&
      "40 (BC_7, IOB10, BIDIR, X, 39, 0, Z),"&
      "39 (BC_2,    *, CONTROL, 0           ),"&
      "38 (BC_7, IOB12, BIDIR, X, 37, 0, Z),"&
      "37 (BC_2,    *, CONTROL, 0           ),"&
      "36 (BC_7, IOB14, 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, IOC0, BIDIR, X, 31, 0, Z),"&
      "31 (BC_2,    *, CONTROL, 0           ),"&
      "30 (BC_7, IOC2, BIDIR, X, 29, 0, Z),"&
      "29 (BC_2,    *, CONTROL, 0           ),"&
      "28 (BC_7, IOC4, BIDIR, X, 27, 0, Z),"&
      "27 (BC_2,    *, CONTROL, 0           ),"&
      "26 (BC_7, IOC6, BIDIR, X, 25, 0, Z),"&
      "25 (BC_2,    *, CONTROL, 0           ),"&
      "24 (BC_7, IOC8, BIDIR, X, 23, 0, Z),"&
      "23 (BC_2,    *, CONTROL, 0           ),"&
      "22 (BC_7, IOC10, BIDIR, X, 21, 0, Z),"&
      "21 (BC_2,    *, CONTROL, 0           ),"&
      "20 (BC_7, IOC12, BIDIR, X, 19, 0, Z),"&
      "19 (BC_2,    *, CONTROL, 0           ),"&
      "18 (BC_7, IOC14, BIDIR, X, 17, 0, Z),"&
      "17 (BC_2,    *, CONTROL, 0           ),"&
      "16 (BC_7, IOD0, BIDIR, X, 15, 0, Z),"&
      "15 (BC_2,    *, CONTROL, 0           ),"&
      "14 (BC_7, IOD2, BIDIR, X, 13, 0, Z),"&
      "13 (BC_2,    *, CONTROL, 0           ),"&
      "12 (BC_7, IOD4, BIDIR, X, 11, 0, Z),"&
      "11 (BC_2,    *, CONTROL, 0           ),"&
      "10 (BC_7, IOD6, BIDIR, X, 9, 0, Z),"&
      "9 (BC_2,    *, CONTROL, 0           ),"&
      "8 (BC_7, IOD8, BIDIR, X, 7, 0, Z),"&
      "7 (BC_2,    *, CONTROL, 0           ),"&
      "6 (BC_7, IOD10, BIDIR, X, 5, 0, Z),"&
      "5 (BC_2,    *, CONTROL, 0           ),"&
      "4 (BC_7, IOD12, BIDIR, X, 3, 0, Z),"&
      "3 (BC_2,    *, CONTROL, 0           ),"&
      "2 (BC_7, IOD14, BIDIR, X, 1, 0, Z),"&
      "1 (BC_2,    *, CONTROL, 0           ),"&
      "0 (BC_2, CLK3, INPUT, X           )";

end LC4064V_XXT48;