-- ********************************************************************
-- * LC4064B BSDL Model *
-- * File Version: 1.04 *
-- * File Date: 06/10/05 *
-- * *
-- * Standard Test Access Port and Boundary-Scan Architecture *
-- * VHDL Description File *
-- * *
-- * This BSDL file is created by ispBDF v4.0.0 according to: *
-- * - IEEE 1149.1 2001 spec. *
-- * *
-- * IEEE 1149.1 compliance and syntax verified by: *
-- * - Lattice BSDL Syntax Checker *
-- * - Agilent BSDL Syntax Checker *
-- * - JTAG Technologies BSDL Verifier *
-- * - Goepel BSDL Syntax Checker V3.0.1 *
-- * *
-- * Copyright 2000 - 2005 *
-- * 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.04: 06/10/05 *
-- * - rcs: Corrected pin 17. Changed from CLK1 to CLK2. *
-- * - rcs: Updated Version Control to STD_1149_1_2001.all. *
-- * - rcs: Updated COMPONENT_CONFORMANCE to STD_1149_1_2001. *
-- * - rcs: Added INSTRUCTION_OPCODE PRELOAD. *
-- * - rcs: Changed ISC_PROGRAM_INC to ISC_PROGRAM, and it's *
-- * REGISTER_ACCESS to ISC_PDATA. *
-- * - rcs: Changed ISC_READ_INC to ISC_READ, and it's *
-- * REGISTER_ACCESS to ISC_PDATA. *
-- * - rcs: Changed LSC_ADDRESS_INIT to ISC_ADDRESS_INIT. *
-- * - rcs: Added PRIVATE instruction. *
-- * 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 LC4064B_XXT44 is
-- Generic Parameter Statement
generic (PHYSICAL_PIN_MAP : string := "TQFP_44");
-- 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;
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;
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;
TDO: out bit;
IOD8: inout bit;
IOD10: inout bit;
IOD12: inout bit;
IOD14: inout 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_2001.all; -- 1149.1-2001 attributes
-- Component Conformance Statement
attribute COMPONENT_CONFORMANCE of LC4064B_XXT44 : entity is
"STD_1149_1_2001";
-- Device Package Pin Mapping
attribute PIN_MAP of LC4064B_XXT44 : entity is PHYSICAL_PIN_MAP;
constant TQFP_44 : PIN_MAP_STRING :=
"TDI: 1,"&
"IOA10: 2,"&
"IOA12: 3,"&
"IOA14: 4,"&
"GNDO0: 5,"&
"VCCO0: 6,"&
"IOB0: 7,"&
"IOB2: 8,"&
"IOB4: 9,"&
"TCK: 10,"&
"VCC: (11, 33), "&
"GND: (12, 34), "&
"IOB8: 13,"&
"IOB10: 14,"&
"IOB12: 15,"&
"IOB14: 16,"&
"CLK2: 17,"&
"IOC0: 18,"&
"IOC2: 19,"&
"IOC4: 20,"&
"IOC6: 21,"&
"IOC8: 22,"&
"TMS: 23,"&
"IOC10: 24,"&
"IOC12: 25,"&
"IOC14: 26,"&
"GNDO1: 27,"&
"VCCO1: 28,"&
"IOD0: 29,"&
"IOD2: 30,"&
"IOD4: 31,"&
"TDO: 32,"&
"IOD8: 35,"&
"IOD10: 36,"&
"IOD12: 37,"&
"IOD14: 38,"&
"CLK0: 39,"&
"IOA0: 40,"&
"IOA2: 41,"&
"IOA4: 42,"&
"IOA6: 43,"&
"IOA8: 44";
-- 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 LC4064B_XXT44 : entity is 8;
attribute INSTRUCTION_OPCODE of LC4064B_XXT44 : entity is
-- 1149.1 instructions
"BYPASS (11111111),"&
"SAMPLE (00011100),"&
"PRELOAD (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 (00100111),"&
"ISC_READ (00101010),"&
"ISC_PROGRAM_SECURITY (00001001),"&
"ISC_PROGRAM_DONE (00101111),"&
"ISC_ERASE_DONE (00100100),"&
"ISC_PROGRAM_USERCODE (00011010),"&
"ISC_ADDRESS_INIT (00100001),"&
-- PRIVATE instructions
"PRIVATE (00101100)";
attribute INSTRUCTION_CAPTURE of LC4064B_XXT44 : entity is
"00011X01";
attribute INSTRUCTION_PRIVATE of LC4064B_XXT44 : entity is
"PRIVATE";
-- IDCODE Definition
attribute IDCODE_REGISTER of LC4064B_XXT44 : entity is
"XXXX"& -- version number
"0001100000001001"& -- part identification
"00000100001"& -- company code
"1"; -- mandatory
-- USERCODE Definition
attribute USERCODE_REGISTER of LC4064B_XXT44 : entity is
"11111111111111111111111111111111";
-- Register Access Description
attribute REGISTER_ACCESS of LC4064B_XXT44 : entity is
"BYPASS (BYPASS, "&
" HIGHZ, "&
" CLAMP),"&
"BOUNDARY (SAMPLE, "&
" PRELOAD, "&
" 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, "&
" ISC_ADDRESS_INIT),"&
"ISC_ADDRESS[95] (ISC_ADDRESS_SHIFT),"&
"ISC_DATA[352] (ISC_DATA_SHIFT),"&
"ISC_PDATA[352] (ISC_PROGRAM, "&
" ISC_READ)";
-- *****************************************************************
-- Boundary Scan Register Description, Cell 0 is the closest to TDO
-- *****************************************************************
attribute BOUNDARY_LENGTH of LC4064B_XXT44 : entity is 68;
attribute BOUNDARY_REGISTER of LC4064B_XXT44 : 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_2, *, INTERNAL, 0 ),"&
"43 (BC_2, *, INTERNAL, 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, *, INTERNAL, 0 ),"&
"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_2, *, INTERNAL, 0 ),"&
"9 (BC_2, *, INTERNAL, 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, *, INTERNAL, 0 )";
end LC4064B_XXT44;