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

-- ********************************************************************
-- * LCMXO2_256ZE BSDL Model                                              *
-- *                                                                  *
-- * File Version:      1.00                                          *
-- * File Date:         10/28/2010                                    *
-- *                                                                  *
-- * Standard Test Access Port and Boundary-Scan Architecture         *
-- * VHDL Description File                                            *
-- *                                                                  *
-- * This BSDL file is created by genBSDL V2.1 according to:          *
-- * - IEEE Standard 1149.1-2001                                      *
-- *                                                                  *
-- * Generated with:                                                  *
-- * - PKT Rev:  1.21                                                 *
-- * - BSR Rev:  1.8                                                 *
-- * - OPCODE Rev:  1.5                                               *
-- *                                                                  *
-- * This BSDL has been validated for syntax and semantics            *
-- * compliance to IEEE 1149.1 using:                                 *
-- * - Lattice BSDL Syntax Checker                                    *
-- * - Goepel BSDL Syntax Checker V3.1.2                              *
-- * - ASSET/Agilent BSDL Validation Service                          *
-- *                                                                  *
-- *  Copyright 2000 - 2010                                           *
-- *  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 bi-directional pins. The functionality of the BSCAN register  *
-- * for this device is dependent of the pattern programmed into the  *
-- * device. If the device is configured to use LVDS pairs or VREF    *
-- * signals, an application specific BSDL file is required.          *
-- *                                                                  *
-- * For Further assistance, please contact Tech Support at           *
-- *       1-800-LATTICE or techsupport@latticesemi.com               *
-- ********************************************************************
-- *                                                                  *
-- *                          REVISION HISTORY                        *
-- * Rev 1.00: 10/28/2010                                             *
-- *  - advanced version.                                          *
-- *                                                                  *
-- ********************************************************************
entity LCMXO2_256ZE_XXTG100 is 

	generic (PHYSICAL_PIN_MAP : string := "tqfp100");
		port (
	                PL2A  :  inout bit;
	                PL2B  :  inout bit;
	                PL2C  :  inout bit;
	                PL2D  :  inout bit;
	                PL3A  :  inout bit;
	                PL3B  :  inout bit;
	                PL3C  :  inout bit;
	                PL3D  :  inout bit;
	                PL5A  :  inout bit;
	                PL5B  :  inout bit;
	                PL5C  :  inout bit;
	                PL5D  :  inout bit;
	                PL6A  :  inout bit;
	                PL6B  :  inout bit;
	                PB2A  :  inout bit;
	                PB2B  :  inout bit;
	                PB2C  :  inout bit;
	                PB2D  :  inout bit;
	                PB4A  :  inout bit;
	                PB4B  :  inout bit;
	                PB4C  :  inout bit;
	                PB4D  :  inout bit;
	                PB7A  :  inout bit;
	                PB7B  :  inout bit;
	                PB7C  :  inout bit;
	                PB7D  :  inout bit;
	                PB9A  :  inout bit;
	                PB9B  :  inout bit;
	                PR6D  :  inout bit;
	                PR6C  :  inout bit;
	                PR6B  :  inout bit;
	                PR6A  :  inout bit;
	                PR5D  :  inout bit;
	                PR5C  :  inout bit;
	                PR5B  :  inout bit;
	                PR5A  :  inout bit;
	                PR3D  :  inout bit;
	                PR3C  :  inout bit;
	                PR3B  :  inout bit;
	                PR3A  :  inout bit;
	                PR2B  :  inout bit;
	                PR2A  :  inout bit;
	                PT9D  :  inout bit;
	                PT9C  :  inout bit;
	                PT9B  :  inout bit;
	                PT9A  :  inout bit;
	                PT8D  :  inout bit;
	                PT8C  :  inout bit;
	                PT8B  :  inout bit;
	                PT8A  :  inout bit;
	                VCCP  :  linkage bit;
	                 TMS  :  in bit;
	                 TCK  :  in bit;
	                 TDI  :  in bit;
	                 TDO  :  out bit;
	                PT6B  :  inout bit;
	                PT6A  :  inout bit;
	                 GND  :  linkage bit_vector (1 to 8);
	                  NC  :  linkage bit_vector (1 to 24);
	                 VCC  :  linkage bit_vector (1 to 2);
	              VCCIO0  :  linkage bit_vector (1 to 2);
	              VCCIO1  :  linkage bit_vector (1 to 2);
	              VCCIO2  :  linkage bit_vector (1 to 2);
	              VCCIO3  :  linkage bit_vector (1 to 3));
-- Version Control
	use STD_1149_1_2001.all;	-- 1149.1-2001 attributes

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

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

	constant tqfp100 : PIN_MAP_STRING :=
		"        PL2A:    1, " &
		"        PL2B:    2, " &
		"        PL2C:    3, " & --secfnc PCLKT3_2 
		"        PL2D:    4, " & --secfnc PCLKC3_2 
		"        PL3A:    7, " &
		"        PL3B:    8, " &
		"        PL3C:   12, " & --secfnc PCLKT3_1 
		"        PL3D:   13, " & --secfnc PCLKC3_1 
		"        PL5A:   16, " &
		"        PL5B:   17, " &
		"        PL5C:   20, " & --secfnc PCLKT3_0 
		"        PL5D:   21, " & --secfnc PCLKC3_0 
		"        PL6A:   24, " &
		"        PL6B:   25, " &
		"        PB2A:   27, " & --secfnc CSSPIN_MD4_TDOB 
		"        PB2B:   28, " &
		"        PB2C:   31, " & --secfnc MCLK_CCLK 
		"        PB2D:   32, " & --secfnc SO_SPISO_IO1_MD1_TDIL 
		"        PB4A:   34, " & --secfnc PCLKT2_0_INTEST_OVER 
		"        PB4B:   35, " & --secfnc PCLKC2_0 
		"        PB4C:   38, " & --secfnc PCLKT2_1_INTEST_OVER 
		"        PB4D:   39, " & --secfnc PCLKC2_1 
		"        PB7A:   40, " &
		"        PB7B:   41, " &
		"        PB7C:   42, " &
		"        PB7D:   43, " &
		"        PB9A:   48, " & --secfnc SN_MD5_SCAN_SHFT_ENB_TDIB 
		"        PB9B:   49, " & --secfnc SI_SISPI_IO0_MD0_TDOR 
		"        PR6D:   51, " &
		"        PR6C:   52, " &
		"        PR6B:   53, " &
		"        PR6A:   54, " &
		"        PR5D:   57, " &
		"        PR5C:   58, " &
		"        PR5B:   62, " & --secfnc PCLKC1_0 
		"        PR5A:   63, " & --secfnc PCLKT1_0 
		"        PR3D:   66, " &
		"        PR3C:   67, " &
		"        PR3B:   70, " &
		"        PR3A:   71, " &
		"        PR2B:   74, " &
		"        PR2A:   75, " &
		"        PT9D:   76, " & --secfnc DONE 
		"        PT9C:   77, " & --secfnc INITN 
		"        PT9B:   81, " & --secfnc PROGRAMN 
		"        PT9A:   82, " & --secfnc JTAGENB_MD6_TDIR 
		"        PT8D:   85, " & --secfnc SDA_IO3_MD3_ATB_FORCE_PCLKC0_0_TDOT 
		"        PT8C:   86, " & --secfnc SCL_IO2_MD2_ATB_SENSE_PCLKT0_0 
		"        PT8B:   87, " & --secfnc PCLKC0_1 
		"        PT8A:   88, " & --secfnc PCLKT0_1 
		"        VCCP:   89, " &
		"         TMS:   90, " & --secfnc TMS 
		"         TCK:   91, " & --secfnc TCK_TEST_CLK 
		"         TDI:   94, " & --secfnc TDI_MD7 
		"         TDO:   95, " & --secfnc TDO 
		"        PT6B:   98, " &
		"        PT6A:   99, " &
		"         GND: (   6, " & 
		"                22, " & 
		"                33, " & 
		"                44, " & 
		"                56, " & 
		"                72, " & 
		"                79, " & 
		"                92), " & 
		"          NC: (   9, " & 
		"                10, " & 
		"                14, " & 
		"                15, " & 
		"                18, " & 
		"                19, " & 
		"                29, " & 
		"                30, " & 
		"                36, " & 
		"                37, " & 
		"                45, " & 
		"                47, " & 
		"                59, " & 
		"                60, " & 
		"                61, " & 
		"                64, " & 
		"                65, " & 
		"                68, " & 
		"                69, " & 
		"                78, " & 
		"                83, " & 
		"                84, " & 
		"                96, " & 
		"                97), " & 
		"         VCC: (  50, " & 
		"               100), " & 
		"      VCCIO0: (  80, " & 
		"                93), " & 
		"      VCCIO1: (  55, " & 
		"                73), " & 
		"      VCCIO2: (  26, " & 
		"                46), " & 
		"      VCCIO3: (   5, " & 
		"                11, " & 
		"                23)";

-- End of pin mapping

-- Grouped port mapping and definition
--	attribute PORT_GROUPING of LCMXO2_256ZE_XXTG100 : entity is
--		"DIFFERENTIAL_CURRENT ( " &
--		"(PB2A, PB2B)," &
--		"(PB2C, PB2D)," &
--		"(PB4A, PB4B)," &
--		"(PB4C, PB4D)," &
--		"(PB7A, PB7B)," &
--		"(PB7C, PB7D)," &
--		"(PB9A, PB9B)," &
--		"(PL2A, PL2B)," &
--		"(PL2C, PL2D)," &
--		"(PL3A, PL3B)," &
--		"(PL3C, PL3D)," &
--		"(PL5A, PL5B)," &
--		"(PL5C, PL5D)," &
--		"(PL6A, PL6B)," &
--		"(PR2A, PR2B)," &
--		"(PR3A, PR3B)," &
--		"(PR3C, PR3D)," &
--		"(PR5A, PR5B)," &
--		"(PR5C, PR5D)," &
--		"(PR6A, PR6B)," &
--		"(PR6C, PR6D)," &
--		"(PT6A, PT6B)," &
--		"(PT6C, TDI)," &
--		"(PT7A, TMS)," &
--		"(PT8A, PT8B)," &
--		"(PT8C, PT8D)," &
--		"(PT9A, PT9B)," &
--		"(PT9C, PT9D)," &
-- End of grouped port mapping

-- TAP definition and characteristics
	attribute TAP_SCAN_IN   of TDI : signal is true;
	attribute TAP_SCAN_MODE of TMS : signal is true;
	attribute TAP_SCAN_OUT  of TDO : signal is true;
	attribute TAP_SCAN_CLOCK of TCK : signal is (25.0e6, BOTH);

-- Instruction register description
	attribute INSTRUCTION_LENGTH of LCMXO2_256ZE_XXTG100 : entity is 8;
	attribute INSTRUCTION_OPCODE of LCMXO2_256ZE_XXTG100 : entity is
		"              IDCODE		(11100000)," &
		"          ISC_ENABLE		(11000110)," &
		"    ISC_PROGRAM_DONE		(01011110)," &
		" LSC_PROGRAM_SECPLUS		(11001111)," &
		"ISC_PROGRAM_USERCODE		(11000010)," &
		"ISC_PROGRAM_SECURITY		(11001110)," &
		"         ISC_PROGRAM		(01100111)," &
		"        LSC_ENABLE_X		(01110100)," &
		"              BYPASS		(11111111)," &
		"      ISC_DATA_SHIFT		(00001010)," &
		"       ISC_DISCHARGE		(00010100)," &
		"            USERCODE		(11000000)," &
		"      ISC_ERASE_DONE		(00100100)," &
		"               CLAMP		(01111000)," &
		"   ISC_ADDRESS_SHIFT		(01000010)," &
		"             PRELOAD		(00011100)," &
		"            ISC_READ		(10000000)," &
		"         ISC_DISABLE		(00100110)," &
		"           ISC_ERASE		(00001110)," &
		"            ISC_NOOP		(00110000)," &
		"              SAMPLE		(00011100)," &
		"               HIGHZ		(00011000)," &
		"              EXTEST		(00010101)," &
		"PRIVATE	(00000010, 00111010, 00110010, 10111010, " &
			"11011100, 11110001, 00101100, 11010000, " &
			"11110110, 11110100, 10010110, 10110010, " &
			"01000110, 11011000, 10111000, 10011101, " &
			"10100010, 11111010, 01110010, 10001111, " &
			"01110000, 11110111, 00101110, 11010110, " &
			"00111011, 00010110, 11110011, 10011100, " &
			"11101000, 01101010, 00111110, 01111101, " &
			"10010000, 11010001, 11010111, 00101101, " &
			"11011101, 11001010, 00111000, 01100000, " &
			"11110010, 11111000, 10000010, 00111001, " &
			"00100010, 11011110, 00111100, 11010100, " &
			"11110000, 10011111, 11010001, 00010001, " &
			"11010101, 01101001, 01110011, 11100111, " &
			"10100100, 11011111, 00011001, 11011010, " &
			"00110011, 11111001, 10110100, 10110000, " &
			"01111010, 10110110, 11001011, 01111001, " &
			"11100100, 00100000, 11011100, 10111100, " &
			"11001001, 10011110, 11010000, 11111011, " &
			"11010011, 01000111)";

  attribute INSTRUCTION_CAPTURE of LCMXO2_256ZE_XXTG100 : entity is 
                                  "XXXXXX01";
  attribute INSTRUCTION_PRIVATE of LCMXO2_256ZE_XXTG100 : entity is 
                                  "PRIVATE";

--IDCODE and USERCODE register definition
	attribute IDCODE_REGISTER of LCMXO2_256ZE_XXTG100 : entity is
		"0000" &	--Version number
		"0001001010110000" &	--Device specific number
		"000001000011";	--Company code

	attribute USERCODE_REGISTER of LCMXO2_256ZE_XXTG100 : entity is
		"11111111111111111111111111111111";

	attribute REGISTER_ACCESS of LCMXO2_256ZE_XXTG100 : entity is
		"ISC_ADDRESS[186]		(ISC_ADDRESS_SHIFT), " &
		"ISC_SECTOR[8]		(ISC_ERASE), " &
		"ISC_DEFAULT[1]		(ISC_DISABLE, " &
		"			 ISC_NOOP, " &
		"			 ISC_DISCHARGE, " &
		"			 ISC_PROGRAM_DONE, " &
		"			 ISC_ERASE_DONE, " &
		"			 ISC_PROGRAM_SECURITY, " &
		"			 LSC_PROGRAM_SECPLUS), " &
		"BYPASS		(CLAMP, " &
		"			 HIGHZ, " &
		"			 BYPASS), " &
		"ISC_DATA[504]		(ISC_DATA_SHIFT), " &
		"ISC_CONFIG[8]		(ISC_ENABLE, " &
		"			 LSC_ENABLE_X), " &
		"ISC_PDATA[504]		(ISC_PROGRAM, " &
		"			 ISC_READ), " &
		"BOUNDARY		(EXTEST, " &
		"			 PRELOAD, " &
		"			 SAMPLE), " &
		"DEVICE_ID		(IDCODE, " &
		"			 USERCODE, " &
		"			 ISC_PROGRAM_USERCODE)"; 

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

		"103 (BC_7, PT6A, bidir, X, 102, 1, Z), " &
		"102 (BC_2, *, control, 1), " &
		"101 (BC_7, PT6B, bidir, X, 100, 1, Z), " &
		"100 (BC_2, *, control, 1), " &
		"99 (BC_7, PT8A, bidir, X, 98, 1, Z), " &
		"98 (BC_2, *, control, 1), " &
		"97 (BC_7, PT8B, bidir, X, 96, 1, Z), " &
		"96 (BC_2, *, control, 1), " &
		"95 (BC_7, PT8C, bidir, X, 94, 1, Z), " &
		"94 (BC_2, *, control, 1), " &
		"93 (BC_7, PT8D, bidir, X, 92, 1, Z), " &
		"92 (BC_2, *, control, 1), " &
		"91 (BC_7, PT9A, bidir, X, 90, 1, Z), " &
		"90 (BC_2, *, control, 1), " &
		"89 (BC_7, PT9B, bidir, X, 88, 1, Z), " &
		"88 (BC_2, *, control, 1), " &
		"87 (BC_7, PT9C, bidir, X, 86, 1, Z), " &
		"86 (BC_2, *, control, 1), " &
		"85 (BC_7, PT9D, bidir, X, 84, 1, Z), " &
		"84 (BC_2, *, control, 1), " &
		"83 (BC_7, PR2A, bidir, X, 82, 1, Z), " &
		"82 (BC_2, *, control, 1), " &
		"81 (BC_7, PR2B, bidir, X, 80, 1, Z), " &
		"80 (BC_2, *, control, 1), " &
		"79 (BC_7, PR3A, bidir, X, 78, 1, Z), " &
		"78 (BC_2, *, control, 1), " &
		"77 (BC_7, PR3B, bidir, X, 76, 1, Z), " &
		"76 (BC_2, *, control, 1), " &
		"75 (BC_7, PR3C, bidir, X, 74, 1, Z), " &
		"74 (BC_2, *, control, 1), " &
		"73 (BC_7, PR3D, bidir, X, 72, 1, Z), " &
		"72 (BC_2, *, control, 1), " &
		"71 (BC_7, PR5A, bidir, X, 70, 1, Z), " &
		"70 (BC_2, *, control, 1), " &
		"69 (BC_7, PR5B, bidir, X, 68, 1, Z), " &
		"68 (BC_2, *, control, 1), " &
		"67 (BC_7, PR5C, bidir, X, 66, 1, Z), " &
		"66 (BC_2, *, control, 1), " &
		"65 (BC_7, PR5D, bidir, X, 64, 1, Z), " &
		"64 (BC_2, *, control, 1), " &
		"63 (BC_7, PR6A, bidir, X, 62, 1, Z), " &
		"62 (BC_2, *, control, 1), " &
		"61 (BC_7, PR6B, bidir, X, 60, 1, Z), " &
		"60 (BC_2, *, control, 1), " &
		"59 (BC_7, PR6C, bidir, X, 58, 1, Z), " &
		"58 (BC_2, *, control, 1), " &
		"57 (BC_7, PR6D, bidir, X, 56, 1, Z), " &
		"56 (BC_2, *, control, 1), " &
		"55 (BC_7, PB9B, bidir, X, 54, 1, Z), " &
		"54 (BC_2, *, control, 1), " &
		"53 (BC_7, PB9A, bidir, X, 52, 1, Z), " &
		"52 (BC_2, *, control, 1), " &
		"51 (BC_7, PB7D, bidir, X, 50, 1, Z), " &
		"50 (BC_2, *, control, 1), " &
		"49 (BC_7, PB7C, bidir, X, 48, 1, Z), " &
		"48 (BC_2, *, control, 1), " &
		"47 (BC_7, PB7B, bidir, X, 46, 1, Z), " &
		"46 (BC_2, *, control, 1), " &
		"45 (BC_7, PB7A, bidir, X, 44, 1, Z), " &
		"44 (BC_2, *, control, 1), " &
		"43 (BC_7, PB4D, bidir, X, 42, 1, Z), " &
		"42 (BC_2, *, control, 1), " &
		"41 (BC_7, PB4C, bidir, X, 40, 1, Z), " &
		"40 (BC_2, *, control, 1), " &
		"39 (BC_7, PB4B, bidir, X, 38, 1, Z), " &
		"38 (BC_2, *, control, 1), " &
		"37 (BC_7, PB4A, bidir, X, 36, 1, Z), " &
		"36 (BC_2, *, control, 1), " &
		"35 (BC_7, PB2D, bidir, X, 34, 1, Z), " &
		"34 (BC_2, *, control, 1), " &
		"33 (BC_7, PB2C, bidir, X, 32, 1, Z), " &
		"32 (BC_2, *, control, 1), " &
		"31 (BC_7, PB2B, bidir, X, 30, 1, Z), " &
		"30 (BC_2, *, control, 1), " &
		"29 (BC_7, PB2A, bidir, X, 28, 1, Z), " &
		"28 (BC_2, *, control, 1), " &
		"27 (BC_7, PL6B, bidir, X, 26, 1, Z), " &
		"26 (BC_2, *, control, 1), " &
		"25 (BC_7, PL6A, bidir, X, 24, 1, Z), " &
		"24 (BC_2, *, control, 1), " &
		"23 (BC_7, PL5D, bidir, X, 22, 1, Z), " &
		"22 (BC_2, *, control, 1), " &
		"21 (BC_7, PL5C, bidir, X, 20, 1, Z), " &
		"20 (BC_2, *, control, 1), " &
		"19 (BC_7, PL5B, bidir, X, 18, 1, Z), " &
		"18 (BC_2, *, control, 1), " &
		"17 (BC_7, PL5A, bidir, X, 16, 1, Z), " &
		"16 (BC_2, *, control, 1), " &
		"15 (BC_7, PL3D, bidir, X, 14, 1, Z), " &
		"14 (BC_2, *, control, 1), " &
		"13 (BC_7, PL3C, bidir, X, 12, 1, Z), " &
		"12 (BC_2, *, control, 1), " &
		"11 (BC_7, PL3B, bidir, X, 10, 1, Z), " &
		"10 (BC_2, *, control, 1), " &
		"9 (BC_7, PL3A, bidir, X, 8, 1, Z), " &
		"8 (BC_2, *, control, 1), " &
		"7 (BC_7, PL2D, bidir, X, 6, 1, Z), " &
		"6 (BC_2, *, control, 1), " &
		"5 (BC_7, PL2C, bidir, X, 4, 1, Z), " &
		"4 (BC_2, *, control, 1), " &
		"3 (BC_7, PL2B, bidir, X, 2, 1, Z), " &
		"2 (BC_2, *, control, 1), " &
		"1 (BC_7, PL2A, bidir, X, 0, 1, Z), " &
		"0 (BC_2, *, control, 1)";

end LCMXO2_256ZE_XXTG100;