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_XXMG132 latest version

-- ********************************************************************
-- * LCMXO2_256ZE BSDL Model                                              *
-- *                                                                  *
-- * File Version:      1.03                                          *
-- * File Date:         11/22/2012                                    *
-- *                                                                  *
-- * 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.37                                                 *
-- * - BSR Rev:  1.9                                                 *
-- * - OPCODE Rev:  1.6                                               *
-- *                                                                  *
-- * 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                          *
-- * - Intellitech BSDL Syntax Checker                                *
-- *                                                                  *
-- *  Copyright 2000 - 2012                                           *
-- *  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.          *
-- * If any IOs are configured as output only, the device needs to be *
-- * erase and re-program to bi-directional pin or use power cycle to *
-- * reset to default state. Otherwise 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.01: 11/22/2012                                             *
-- *  - final version.                                          *
-- *                                                                  *
-- ********************************************************************
entity LCMXO2_256ZE_XXMG132 is 

	generic (PHYSICAL_PIN_MAP : string := "csbga132");
		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;
	                 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 58);
	                 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 2));
-- Version Control
	use STD_1149_1_2001.all;	-- 1149.1-2001 attributes

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

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

	constant csbga132 : PIN_MAP_STRING :=
		"        PL2A:   C1, " &
		"        PL2B:   C3, " &
		"        PL2C:   C2, " & --secfnc PCLKT3_2 
		"        PL2D:   D1, " & --secfnc PCLKC3_2 
		"        PL3A:   E1, " &
		"        PL3B:   E2, " &
		"        PL3C:   G3, " & --secfnc PCLKT3_1 
		"        PL3D:   H2, " & --secfnc PCLKC3_1 
		"        PL5A:   J1, " &
		"        PL5B:   J2, " &
		"        PL5C:   K1, " & --secfnc PCLKT3_0 
		"        PL5D:   K3, " & --secfnc PCLKC3_0 
		"        PL6A:   M1, " &
		"        PL6B:   M2, " &
		"        PB2A:   P3, " & --secfnc CSSPIN_MD4_TDOB 
		"        PB2B:   M3, " &
		"        PB2C:   M4, " & --secfnc MCLK_CCLK 
		"        PB2D:   N4, " & --secfnc SO_SPISO_IO1_MD1_TDIL 
		"        PB4A:   N6, " & --secfnc PCLKT2_0_INTEST_OVER 
		"        PB4B:   P6, " & --secfnc PCLKC2_0 
		"        PB4C:   M7, " & --secfnc PCLKT2_1_INTEST_OVER 
		"        PB4D:   N8, " & --secfnc PCLKC2_1 
		"        PB7A:   P8, " &
		"        PB7B:   M8, " &
		"        PB7C:   M9, " &
		"        PB7D:  N10, " &
		"        PB9A:  N12, " & --secfnc SN_MD5_SCAN_SHFT_ENB_TDIB 
		"        PB9B:  P13, " & --secfnc SI_SISPI_IO0_MD0_TDOR 
		"        PR6D:  N14, " &
		"        PR6C:  N13, " &
		"        PR6B:  M13, " &
		"        PR6A:  L14, " &
		"        PR5D:  K14, " &
		"        PR5C:  K13, " &
		"        PR5B:  H12, " & --secfnc PCLKC1_0 
		"        PR5A:  G13, " & --secfnc PCLKT1_0 
		"        PR3D:  F14, " &
		"        PR3C:  F13, " &
		"        PR3B:  E14, " &
		"        PR3A:  E12, " &
		"        PR2B:  C13, " &
		"        PR2A:  B14, " &
		"        PT9D:  A13, " & --secfnc DONE 
		"        PT9C:  B13, " & --secfnc INITN 
		"        PT9B:  C10, " & --secfnc PROGRAMN 
		"        PT9A:   B9, " & --secfnc JTAGENB_MD6_TDIR 
		"        PT8D:   B8, " & --secfnc SDA_IO3_MD3_ATB_FORCE_PCLKC0_0_TDOT 
		"        PT8C:   C8, " & --secfnc SCL_IO2_MD2_ATB_SENSE_PCLKT0_0 
		"        PT8B:   B7, " & --secfnc PCLKC0_1 
		"        PT8A:   A7, " & --secfnc PCLKT0_1 
		"         TMS:   A6, " & --secfnc TMS 
		"         TCK:   B6, " & --secfnc TCK_TEST_CLK 
		"         TDI:   B4, " & --secfnc TDI_MD7 
		"         TDO:   A4, " & --secfnc TDO 
		"        PT6B:   B3, " &
		"        PT6A:   A2, " &
		"         GND: (  D2, " & 
		"                L2, " & 
		"                P5, " & 
		"               P10, " & 
		"               L13, " & 
		"               D13, " & 
		"               B11, " & 
		"                A5), " & 
		"          NC: (  B1, " & 
		"                B2, " & 
		"                G1, " & 
		"                E3, " & 
		"                F2, " & 
		"                F1, " & 
		"                F3, " & 
		"                G2, " & 
		"                H1, " & 
		"                H3, " & 
		"                N1, " & 
		"                J3, " & 
		"                K2, " & 
		"                L3, " & 
		"                P2, " & 
		"                N2, " & 
		"                N3, " & 
		"                P4, " & 
		"                N5, " & 
		"                M5, " & 
		"                M6, " & 
		"                P7, " & 
		"                N7, " & 
		"                P9, " & 
		"                N9, " & 
		"               M10, " & 
		"               P11, " & 
		"               M11, " & 
		"               P12, " & 
		"               M14, " & 
		"               M12, " & 
		"               K12, " & 
		"               J13, " & 
		"               J14, " & 
		"               J12, " & 
		"               H14, " & 
		"               H13, " & 
		"               G14, " & 
		"               G12, " & 
		"               A14, " & 
		"               F12, " & 
		"               E13, " & 
		"               D12, " & 
		"               C14, " & 
		"               A12, " & 
		"               C12, " & 
		"               B12, " & 
		"               A11, " & 
		"               C11, " & 
		"               A10, " & 
		"                A9, " & 
		"                C9, " & 
		"                A8, " & 
		"                C6, " & 
		"                B5, " & 
		"                C4, " & 
		"                A3, " & 
		"                C7), " & 
		"         VCC: ( P14, " & 
		"                A1), " & 
		"      VCCIO0: ( B10, " & 
		"                C5), " & 
		"      VCCIO1: ( L12, " & 
		"               D14), " & 
		"      VCCIO2: (  P1, " & 
		"               N11), " & 
		"      VCCIO3: (  D3, " & 
		"                L1)";

-- End of pin mapping

-- Grouped port mapping and definition
--	attribute PORT_GROUPING of LCMXO2_256ZE_XXMG132 : 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_XXMG132 : entity is 8;
	attribute INSTRUCTION_OPCODE of LCMXO2_256ZE_XXMG132 : 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, 00010001, 11010101, " &
			"01101001, 01110011, 11100111, 10100100, " &
			"11011111, 00011001, 11011010, 00110011, " &
			"11111001, 10110100, 10110000, 01111010, " &
			"10110110, 11001011, 01111001, 11100100, " &
			"00100000, 10111100, 11001001, 10011110, " &
			"11111011, 11010011, 01000111)";

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

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

	attribute USERCODE_REGISTER of LCMXO2_256ZE_XXMG132 : entity is
		"11111111111111111111111111111111";

	attribute REGISTER_ACCESS of LCMXO2_256ZE_XXMG132 : 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_XXMG132 : entity is 104;
	attribute BOUNDARY_REGISTER of LCMXO2_256ZE_XXMG132 : 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_XXMG132;