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

-- Advanced Micro Devices MACH221 100 Pin PQFP/TQFP BSDL description
--
-- Version 1.1, 4/27/1998: Remove HIGHZ JTAG instruction. jkb
--
-- Written By: PLD Apps
-- Date      : January 08, 1997
-- Version   : 1.0
-- 03/31/2000 (jkb): updated Copyright comments.

-- ****************************************************************
-- *  Copyright 1999, 2000 Lattice/Vantis Corporation             * 
-- *  995 Stewart Dr. Sunnyvale, Ca 94088                         *
-- *  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.                                    *
-- ****************************************************************
-- *  Lattice/Vantis makes no warranty for the use of this        *
-- *  product and assumes no responsibility for any errors which  *
-- *  may appear within.  Neither does it make a commitment to    *
-- *  update this information.                                    *
-- ****************************************************************
-- *  This is the template BSDL file to be used for the purpose   *
-- *  of verifying the part's compliance with the IEEE standard   *
-- *  1149.1-1990.                                                *
-- ****************************************************************
--
--  This file has NOT yet been verified by:
--     Teradyne VICTORY v 2.10
--         - Syntax Check using BSA
--         - Test vector generation using BSA
--
--     Hewlett-Packard Boundary-Scan Software
--         - Syntax Check
--
--     Genrad Boundary-Scan Software
--         - Syntax Check
--         - Physical Verification
--
-- ****************************************************************

entity AMD_MACH221i is

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

	port (
              DED_IN       : in    bit_vector(0 to  7); --  Clocks/Inputs
              IO           : inout bit_vector(0 to 47); --  I/O pins

              TCK, TMS, TDI: in  bit;                   --  JTAG inputs
              TDO          : out bit;                   --  JTAG outputs

              NC           : linkage bit_vector(0 to 15);
              VCC          : linkage bit_vector(0 to  7);
              GND          : linkage bit_vector(0 to 15)
	     );

	use STD_1149_1_1990.all;  -- get JTAG definitions and attributes

        attribute PIN_MAP of AMD_MACH221i : entity is PHYSICAL_PIN_MAP;

	constant PQFP_100pin :  PIN_MAP_STRING :=
                "DED_IN:(4,13,18,26,54,63,68,76),     " &  --  Clk/Inp Pins
                "IO:( 93, 94, 95, 96, 97, 99,         " &  --  I/O A
                "       6, 8,  9, 10, 11, 12,         " &  --  I/O B
                "     19, 20, 21, 22, 23, 25,         " &  --  I/O C
                "     32, 34, 35, 36, 37, 38,         " &  --  I/O D
                "     43, 44, 45, 46, 47, 49,         " &  --  I/O E
                "     56, 58, 59, 60, 61, 62,         " &  --  I/O F
                "     69, 70, 71, 72, 73, 75,         " &  --  I/O G
                "     82, 84, 85, 86, 87, 88),        " &  --  I/O H
		" TDI:3, TMS:53, TCK:28, TDO:78,      " &  --  JTAG

                "NC :( 5, 7,24,27,31,33,48,50,        " &
                "     55,57,74,77,81,83,98,100),      " &  --  No Connects
                "VCC:(14,15,39,42,64,65,89,92),       " &  --  POWER
                "GND:( 1, 2,16,17,29,30,40,41,        " &
                "     51,52,66,67,79,80,90,91)        ";   --  GROUND PINS

		-- END OF PIN DEFINITION

	constant TQFP_100pin :  PIN_MAP_STRING :=
                "DED_IN:(2,11,15,23,52,61,64,72),     " &  -- Clk/Inp Pins
                "IO:( 90, 91, 92, 93, 94, 96,         " &  --  I/O A
                "      4,  6,  7,  8,  9, 10,         " &  --  I/O B
                "     16, 17, 18, 19, 20, 22,         " &  --  I/O C
                "     29, 31, 32, 33, 34, 35,         " &  --  I/O D
                "     41, 42, 43, 44, 45, 47,         " &  --  I/O E
                "     54, 56, 57, 58, 59, 60,         " &  --  I/O F
                "     65, 66, 67, 68, 69, 71,         " &  --  I/O G
                "     78, 80, 81, 82, 83, 84),        " &  --  I/O H
		" TDI:1, TMS:51, TCK:25, TDO:74,      " &  --  JTAG

                "NC :( 3, 5,21,24,28,30,36,46,        " &
                "     48,53,55,70,73,76,77,79,        " &
                "     85,95,97,98),                   " &  --  No Connect
                "VCC:(12,37,40,62,86,89),             " &  --  POWER
                "GND:(13,14,26,27,38,39,49,50,        " &
                "     63,75,87,88,99,100)             ";   --  GROUND PINS

		-- END OF PIN DEFINITION

	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 (20.0e6, BOTH);

--  Instruction register definitions

        attribute INSTRUCTION_LENGTH of AMD_MACH221i : entity is 6;
        attribute INSTRUCTION_OPCODE of AMD_MACH221i : entity is
		"BYPASS	(111111)," &
		"EXTEST	(000000)," &
		"SAMPLE	(000010)," &
		"IDCODE	(000001)," &
		"PRIVATE (000101,000110,000111,001000,000011,000100," &
			 "001110,001101,001111,010001,110000,100101," &
			 "100110,100111,101110,110011,110010)";

        attribute INSTRUCTION_CAPTURE of AMD_MACH221i : entity is "000001";
        attribute INSTRUCTION_PRIVATE of AMD_MACH221i : entity is "PRIVATE";

        attribute IDCODE_REGISTER of AMD_MACH221i : entity is
		"0000" &                            -- version number
                "0111000010101000" &                -- part identification
		"00000000001" &                     -- company code
		"1";                                -- mandatory 1

        attribute REGISTER_ACCESS of AMD_MACH221i : entity is
                "BYPASS (BYPASS)," &
		"BOUNDARY (EXTEST,SAMPLE)";           

-- **************************************************************
-- *    BOUNDARY SCAN CELL REGISTER DESCRIPTION                 *
-- *    MACH2xx-ISP parts do not have boundary scan cells.      *
-- **************************************************************
	
        attribute BOUNDARY_CELLS of AMD_MACH221i  : entity is "BC_3";
        attribute BOUNDARY_LENGTH of AMD_MACH221i : entity is 1;

        attribute BOUNDARY_REGISTER of AMD_MACH221i: entity is

		"0 (BC_3,  *, INTERNAL, X)";

end AMD_MACH221i;