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


-- *********************************************************************
-- *                                                                   *
-- * ispLSI2032E 48 pin TQFP BSDL Model                                *
-- * copyright 1996-1999, Lattice Semiconductor Corporation            *
-- * IEEE 1149.1b-1994                                                 *
-- * Standard Test Access Port and Boundary-Scan Architecture          *
-- * VHDL Description File                                             *
-- *                                                                   *
-- * Date:              Jul 15 1999                                    *
-- * File Version:      v2.0-00                                        *
-- *                                                                   *
-- * This BSDL file has been syntaxed checked with:                    *
-- * - Teradyne VICTORY                                                *
-- * - Assett Intertech                                                *
-- *                                                                   *
-- *********************************************************************
-- *                                                                   *
-- * E2CMOS, GAL, ispGAL, pDS, pLSI, Silicon Forest and UltraMOS are   *
-- * registered trademarks of Lattice Semiconductor Corporation        *
-- *                                                                   *
-- * Generic Array Logic, ISP, ispCODE, ispDOWNLOAD, ispGDS, ispLSI    *
-- * ispSTREAM, Latch-Lock, pDS+ and RFT are trademarks of Lattice     *
-- * Semiconductor Corporation.                                        *
-- *                                                                   *
-- *********************************************************************
-- *                                                                   *
-- *                           IMPORTANT                               *
-- *                                                                   *
-- * This device does not include a BSCAN register and does not        *
-- * directly support pin continuing testing.  The BSDL file is        *
-- * is provided to define the devices in a scan chain where the       *
-- * Instruction Register and Bypass isntruction must be known         *
-- *                                                                   *
-- *********************************************************************

   -- The Overall Structute of the Entity Description

   entity ispLSI2032E is

   -- Generic Parameter Statement

   generic (PHYSICAL_PIN_MAP : string := "TQFP_48");

   -- Logical Port Description Statement

   port ( TDI: in bit;                                   -- JTAG input pin
          TMS: in bit;                                   -- JTAG input pin
          TCK: in bit;                                   -- JTAG input pin
          TDO: out bit;                                  -- JTAG output pin
          ispEN: linkage bit;                            -- ispEN pin
          RESET: linkage bit;                            -- Active low RESET pin
          GOE: linkage bit;                              -- Global Output Enable
          Clk: linkage bit;                              -- Clock input pin
          BIp: linkage bit_vector (0 to 31);             -- Bi-Directional pins
          VCC: linkage bit_vector (0 to 3);              -- VCC pins
          GND: linkage bit_vector (0 to 3)               -- GND pins
          );

   -- Version Control

   use STD_1149_1_1994.all;                              -- 1149.1-1994 attributes

   -- Component Conformance Statement

   attribute COMPONENT_CONFORMANCE of ispLSI2032E : entity is
   "STD_1149_1_1993";

   -- Device Pacakge Pin Mapping

   attribute PIN_MAP of ispLSI2032E : entity is PHYSICAL_PIN_MAP;

   constant TQFP_48: PIN_MAP_STRING:=

   "TDI:8," &                                            -- JTAG (TDI) input pin
   "TMS:32," &                                           -- JTAG (TMS) input pin
   "TCK:29," &                                           -- JTAG (TCK) input pin
   "TDO:19," &                                           -- JTAG (TDO) output pin
   "RESET:31," &                                         -- RESET input pin
   "ispEN:7," &                                          -- ispEN control pin
   "GOE:43," &                                           -- Global OE pin
   "Clk:5," &                                            -- Clock pin
   "BIp:(    9,   10,   11,   13,   14,   15,   16,  " & -- I/O pins
   "        17,   20,   21,   22,   23,   25,   26,  " & -- I/O pins
   "        27,   28,   33,   34,   35,   37,   38,  " & -- I/O pins
   "        39,   40,   41,   44,   45,   46,   47,  " & -- I/O pins
   "         1,    2,    3,    4),                   " & -- I/O pins
   "VCC:(    6,   30,   24,   48),                   " & -- VCC pins
   "GND:(   12,   18,   36,   42)                    " ; -- GND pins

   -- Scan Port Identification

   attribute TAP_SCAN_CLOCK of TCK : Signal is (5.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 ispLSI2032E : entity is 5;
   attribute INSTRUCTION_OPCODE of ispLSI2032E : entity is

      "BYPASS      (11111), " &
      "SAMPLE      (11100), " &
      "EXTEST      (00000), " &
      "IDCODE      (10110), " &
      "USERCODE    (10111), " &
      "HIGHZ       (11000), " &
      "ADDSHFT     (00001), " &
      "DATASHFT    (00010), " &
      "UBE         (10000), " &
      "PRGM        (00111), " &
      "VFY         (10010), " &
      "PRGMSC      (01001), " &
      "PRIVATE     (00011,00100,00101,00110,01000,01010, " &
                   "01011,01100,01110,01111,10001,10011, " &
                   "10100,10101,11001,11010,11011,11101, " &
                   "11110)" ;

   attribute INSTRUCTION_CAPTURE of ispLSI2032E : entity is "11001";
   attribute INSTRUCTION_PRIVATE of ispLSI2032E : entity is "PRIVATE";

   -- IDCODE Defintion

   attribute IDCODE_REGISTER of ispLSI2032E: entity is
   "0000" &                                       -- version 
   "0000010100101100" &                           -- part number (052C)
   "00000100001" &                                -- manufacturer's identity 
   "1" ;                                          -- required by 1149.1

   -- USERCODE Defintion

   attribute USERCODE_REGISTER of ispLSI2032E: entity is
   "11111111111111111111111111111111";

   -- Register Access Description

   attribute REGISTER_ACCESS of ispLSI2032E : entity is
      "BOUNDARY        (SAMPLE), " &
      "BYPASS          (BYPASS), " &
      "ADDREG[102]     (ADDSHFT), " &
      "DATAREG[80]     (DATASHFT), " &
      "UBEREG[1]       (UBE), " &
      "PRGREG[102]     (PRGM), " &
      "VFYREG[80]      (VFY), " &
      "SECREG[1]       (PRGMSC) " ;

   -- **********************************************************************
   -- Boundary Scan Register Description, Cell 0 is the closest to TDO      
   -- **********************************************************************

   attribute BOUNDARY_LENGTH of ispLSI2032E : entity is   1;
   attribute BOUNDARY_REGISTER of ispLSI2032E : entity is 

   -- num   cell    port        function  safe  [ccell  disval  rslt] 
    "   0  (BC_1,   *,          internal, x) ";

 attribute DESIGN_WARNING of ispLSI2032E : entity is
 "The ispLSI2032E 48 pin TQFP device includes a TAP controller to "&
 "perform ISP programming.  This device does not include Boundary Scan "&
 "Cells and does not support BSCAN test.  The BSDL file includes the "&
 "SAMPLE/PRELOAD and EXTEST instructions so this device may be included "&
 "in the SCAN chain, if these instructions are executed the Bypass "&
 "register is selected.";

end ispLSI2032E;