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

-- ***** COPYRIGHT (C) 2017 NXP Semiconductor, Inc. All Rights Reserved. *******
--
--    Boundary Scan Description Language (BSDL) File
--    Generated by Viper version: 2011.11.30 at: Wed Jul 18 13:14:45 2012
--
--    Device:       K12 50MHz in a 48LQFP package
--    Package Type: K12_48LQFP
--    Version:	    1.0
--    Date:         09/13/2017
--
-- THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
-- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-- IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
-- IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-- THE POSSIBILITY OF SUCH DAMAGE.

entity K12D is
	 generic (PHYSICAL_PIN_MAP : string := "K12D_48LQFP");

-- PORT DESCRIPTION TERMS
-- in      = input only
-- out     = three-state output (0, Z, 1)
-- buffer  = two-state output (0, 1)
-- inout   = bidirectional
-- linkage = OTHER (vdd, vss, analog)
--
-- bit        = single pin
-- bit_vector = group of pins with suffix 0 to n

	port (
	                   PTA0:        in   bit;
	                   PTA1:        in   bit;
	                  PTA18:     inout   bit;
	                  PTA19:     inout   bit;
	                   PTA2:       out   bit;
	                   PTA3:        in   bit;
	                   PTA4:     inout   bit;
	                   PTB0:     inout   bit;
	                   PTB1:     inout   bit;
	                  PTB16:     inout   bit;
	                  PTB17:     inout   bit;
	                   PTB2:     inout   bit;
	                   PTB3:     inout   bit;
	                   PTC0:     inout   bit;
	                   PTC1:     inout   bit;
	                   PTC2:     inout   bit;
	                   PTC3:     inout   bit;
	                   PTC4:     inout   bit;
	                   PTC5:     inout   bit;
	                   PTC6:     inout   bit;
	                   PTC7:     inout   bit;
	                   PTD0:     inout   bit;
	                   PTD1:     inout   bit;
	                   PTD2:     inout   bit;
	                   PTD3:     inout   bit;
	                   PTD4:     inout   bit;
	                   PTD5:     inout   bit;
	                   PTD6:     inout   bit;
	                   PTD7:     inout   bit;
	                  PTE16:     inout   bit;
	                  PTE17:     inout   bit;
	                  PTE18:     inout   bit;
	                  PTE19:     inout   bit;
	                 RESETB:     inout   bit;
	                ADC0DM0:   linkage   bit;
	                ADC0DP0:   linkage   bit;
	                EXTAL32:   linkage   bit;
	                   VBAT:   linkage   bit;
	                    VDD:   linkage   bit_vector(0 to 1);
	                   VDDA:   linkage   bit;
	                  VREFH:   linkage   bit;
	                  VREFL:   linkage   bit;
	VREFOUT_CMP1IN5_CMP0IN5:   linkage   bit;
	                    VSS:   linkage   bit_vector(0 to 1);
	                   VSSA:   linkage   bit;
	                 XTAL32:   linkage   bit);

	use STD_1149_1_2001.all;

	attribute COMPONENT_CONFORMANCE of K12D: entity is "STD_1149_1_2001";

	attribute PIN_MAP of K12D: entity is PHYSICAL_PIN_MAP;

	constant K12D_48LQFP :PIN_MAP_STRING :=

	                   "PTA0:      17," &
	                   "PTA1:      18," &
	                  "PTA18:      24," &
	                  "PTA19:      25," &
	                   "PTA2:      19," &
	                   "PTA3:      20," &
	                   "PTA4:      21," &
	                   "PTB0:      27," &
	                   "PTB1:      28," &
	                  "PTB16:      31," &
	                  "PTB17:      32," &
	                   "PTB2:      29," &
	                   "PTB3:      30," &
	                   "PTC0:      33," &
	                   "PTC1:      34," &
	                   "PTC2:      35," &
	                   "PTC3:      36," &
	                   "PTC4:      37," &
	                   "PTC5:      38," &
	                   "PTC6:      39," &
	                   "PTC7:      40," &
	                   "PTD0:      41," &
	                   "PTD1:      42," &
	                   "PTD2:      43," &
	                   "PTD3:      44," &
	                   "PTD4:      45," &
	                   "PTD5:      46," &
	                   "PTD6:      47," &
	                   "PTD7:      48," &
	                  "PTE16:      3," &
	                  "PTE17:      4," &
	                  "PTE18:      5," &
	                  "PTE19:      6," &
	                 "RESETB:      26," &
	                "ADC0DM0:      8," &
	                "ADC0DP0:      7," &
	                "EXTAL32:      15," &
	                   "VBAT:      16," &
	                    "VDD:      (1, 22)," &
	                   "VDDA:      9," &
	                  "VREFH:      10," &
	                  "VREFL:      11," &
	"VREFOUT_CMP1IN5_CMP0IN5:      13," &
	                    "VSS:      (2, 23)," &
	                   "VSSA:      12," &
	                 "XTAL32:      14" ;

	attribute TAP_SCAN_OUT of PTA2 : signal is true;
	attribute TAP_SCAN_CLOCK of PTA0 : signal is (2.00e+07,BOTH);
	attribute TAP_SCAN_MODE of PTA3 : signal is true;
	attribute TAP_SCAN_IN of PTA1 : signal is true;



	attribute INSTRUCTION_LENGTH of K12D: entity is 4;


	attribute INSTRUCTION_OPCODE of K12D: entity is
		"BYPASS  (1111)," &
		"CLAMP  (1100)," &
		"EXTEST  (0100)," &
		"HIGHZ  (1001)," &
		"IDCODE  (0000)," &
		"PRELOAD  (0010)," &
		"SAMPLE  (0011)," &
		"EZPORT  (1101)," &
		"JTAGDP_ABORT  (1000)," &
		"JTAGDP_APACC  (1011)," &
		"JTAGDP_DPACC  (1010)," &
		"ARM_IDCODE  (1110)";


	attribute INSTRUCTION_CAPTURE of K12D: entity is	"xx01";

	attribute INSTRUCTION_PRIVATE of K12D: entity is
		"EZPORT," &
		"JTAGDP_ABORT," &
		"JTAGDP_APACC," &
		"JTAGDP_DPACC," &
		"ARM_IDCODE";

--	By default the ARM JTAG controller's ARM_IDCODE is selected. The
--	information below describes the ARM_IDCODE for the ARM JTAG 
--	that is returned if you execute the ARM_IDCODE instruction
--	(IR = 1110).
--
	attribute IDCODE_REGISTER of K12D: entity is
		"0100" & -- Version (Cortex M4)
		"1011101000000000" & -- Part Number (ARM Cortex M)
		"01000111011" & -- Manufacturer Identity (ARM)
		"1"; -- IEEE 1149.1 Requirement
		
--	The information below describes the IDCODE value for SOC JTAG
--	that is returned if you execute the IDCODE instruction
--	(IR = 0000).
--
--		attribute IDCODE_REGISTER of K12D: entity is
--		"0000"  & -- Version
--		"1011001000000100"  & -- Part Number
--		"00000001110"  & -- Manufacturer Identity
--		"1";  -- IEEE 1149.1 Requirement

	attribute REGISTER_ACCESS of K12D: entity is
		"BYPASS (BYPASS)," &
		"DEVICE_ID (IDCODE)";

	attribute BOUNDARY_LENGTH of K12D: entity is 112;

	attribute BOUNDARY_REGISTER of K12D: entity is

-- BSR DESCRIPTION TERMS
-- cell type = BC_0 - BC_99
-- port  = port name
-- function
--     input    = input only
--     bidir    = bidirectional
--     output2  = two state ouput
--     output3  = three state ouput
--     control  = control cell
--     controlr = control cell
--     internal = placeholder cell
-- safe  = value that turns off drivers in control cells
-- ccell = controlling cell number for I/O direction
-- dsval = disabling (input) value
-- rslt  = result if disabled (input = Z)
--
-- num cell   port/*                   function  safe  [ccell  dis  rslt] 
"   0  (BC_1, *,                       internal, X)                       ," &
"   1  (BC_1, *,                       internal, X)                       ," &
"   2  (BC_1, *,                       internal, X)                       ," &
"   3  (BC_1, *,                       internal, X)                       ," &
"   4  (BC_1, *,                       internal, X)                       ," &
"   5  (BC_1, *,                       internal, X)                       ," &
"   6  (BC_1, *,                       internal, X)                       ," &
"   7  (BC_1, *,                       internal, X)                       ," &
"   8  (BC_1, *,                       internal, X)                       ," &
"   9  (BC_1, *,                       internal, X)                       ," &
"  10  (BC_1, *,                       internal, X)                       ," &
"  11  (BC_1, *,                       internal, X)                       ," &
"  12  (BC_2, *,                       control,  1)                       ," &
"  13  (BC_8, PTE16,                   bidir,    X,    12,     1,   Z)    ," &
"  14  (BC_2, *,                       control,  1)                       ," &
"  15  (BC_8, PTE17,                   bidir,    X,    14,     1,   Z)    ," &
"  16  (BC_2, *,                       control,  1)                       ," &
"  17  (BC_8, PTE18,                   bidir,    X,    16,     1,   Z)    ," &
"  18  (BC_2, *,                       control,  1)                       ," &
"  19  (BC_8, PTE19,                   bidir,    X,    18,     1,   Z)    ," &
"  20  (BC_2, *,                       control,  1)                       ," &
"  21  (BC_8, PTA4,                    bidir,    X,    20,     1,   Z)    ," &
"  22  (BC_1, *,                       internal, X)                       ," &
"  23  (BC_1, *,                       internal, X)                       ," &
"  24  (BC_1, *,                       internal, X)                       ," &
"  25  (BC_1, *,                       internal, X)                       ," &
"  26  (BC_1, *,                       internal, X)                       ," &
"  27  (BC_1, *,                       internal, X)                       ," &
"  28  (BC_1, *,                       internal, X)                       ," &
"  29  (BC_1, *,                       internal, X)                       ," &
"  30  (BC_1, *,                       internal, X)                       ," &
"  31  (BC_1, *,                       internal, X)                       ," &
"  32  (BC_1, *,                       internal, X)                       ," &
"  33  (BC_1, *,                       internal, X)                       ," &
"  34  (BC_2, *,                       control,  1)                       ," &
"  35  (BC_8, PTA18,                   bidir,    X,    34,     1,   Z)    ," &
"  36  (BC_2, *,                       control,  1)                       ," &
"  37  (BC_8, PTA19,                   bidir,    X,    36,     1,   Z)    ," &
"  38  (BC_2, *,                       control,  1)                       ," &
"  39  (BC_8, RESETB,                  bidir,    X,    38,     1,   Z)    ," &
"  40  (BC_2, *,                       control,  1)                       ," &
"  41  (BC_8, PTB0,                    bidir,    X,    40,     1,   Z)    ," &
"  42  (BC_2, *,                       control,  1)                       ," &
"  43  (BC_8, PTB1,                    bidir,    X,    42,     1,   Z)    ," &
"  44  (BC_2, *,                       control,  1)                       ," &
"  45  (BC_8, PTB2,                    bidir,    X,    44,     1,   Z)    ," &
"  46  (BC_2, *,                       control,  1)                       ," &
"  47  (BC_8, PTB3,                    bidir,    X,    46,     1,   Z)    ," &
"  48  (BC_1, *,                       internal, X)                       ," &
"  49  (BC_1, *,                       internal, X)                       ," &
"  50  (BC_1, *,                       internal, X)                       ," &
"  51  (BC_1, *,                       internal, X)                       ," &
"  52  (BC_1, *,                       internal, X)                       ," &
"  53  (BC_1, *,                       internal, X)                       ," &
"  54  (BC_1, *,                       internal, X)                       ," &
"  55  (BC_1, *,                       internal, X)                       ," &
"  56  (BC_2, *,                       control,  1)                       ," &
"  57  (BC_8, PTB16,                   bidir,    X,    56,     1,   Z)    ," &
"  58  (BC_2, *,                       control,  1)                       ," &
"  59  (BC_8, PTB17,                   bidir,    X,    58,     1,   Z)    ," &
"  60  (BC_1, *,                       internal, X)                       ," &
"  61  (BC_1, *,                       internal, X)                       ," &
"  62  (BC_1, *,                       internal, X)                       ," &
"  63  (BC_1, *,                       internal, X)                       ," &
"  64  (BC_2, *,                       control,  1)                       ," &
"  65  (BC_8, PTC0,                    bidir,    X,    64,     1,   Z)    ," &
"  66  (BC_2, *,                       control,  1)                       ," &
"  67  (BC_8, PTC1,                    bidir,    X,    66,     1,   Z)    ," &
"  68  (BC_2, *,                       control,  1)                       ," &
"  69  (BC_8, PTC2,                    bidir,    X,    68,     1,   Z)    ," &
"  70  (BC_2, *,                       control,  1)                       ," &
"  71  (BC_8, PTC3,                    bidir,    X,    70,     1,   Z)    ," &
"  72  (BC_2, *,                       control,  1)                       ," &
"  73  (BC_8, PTC4,                    bidir,    X,    72,     1,   Z)    ," &
"  74  (BC_2, *,                       control,  1)                       ," &
"  75  (BC_8, PTC5,                    bidir,    X,    74,     1,   Z)    ," &
"  76  (BC_2, *,                       control,  1)                       ," &
"  77  (BC_8, PTC6,                    bidir,    X,    76,     1,   Z)    ," &
"  78  (BC_2, *,                       control,  1)                       ," &
"  79  (BC_8, PTC7,                    bidir,    X,    78,     1,   Z)    ," &
"  80  (BC_1, *,                       internal, X)                       ," &
"  81  (BC_1, *,                       internal, X)                       ," &
"  82  (BC_1, *,                       internal, X)                       ," &
"  83  (BC_1, *,                       internal, X)                       ," &
"  84  (BC_1, *,                       internal, X)                       ," &
"  85  (BC_1, *,                       internal, X)                       ," &
"  86  (BC_1, *,                       internal, X)                       ," &
"  87  (BC_1, *,                       internal, X)                       ," &
"  88  (BC_1, *,                       internal, X)                       ," &
"  89  (BC_1, *,                       internal, X)                       ," &
"  90  (BC_1, *,                       internal, X)                       ," &
"  91  (BC_1, *,                       internal, X)                       ," &
"  92  (BC_1, *,                       internal, X)                       ," &
"  93  (BC_1, *,                       internal, X)                       ," &
"  94  (BC_1, *,                       internal, X)                       ," &
"  95  (BC_1, *,                       internal, X)                       ," &
"  96  (BC_2, *,                       control,  1)                       ," &
"  97  (BC_8, PTD0,                    bidir,    X,    96,     1,   Z)    ," &
"  98  (BC_2, *,                       control,  1)                       ," &
"  99  (BC_8, PTD1,                    bidir,    X,    98,     1,   Z)    ," &
" 100  (BC_2, *,                       control,  1)                       ," &
" 101  (BC_8, PTD2,                    bidir,    X,    100,    1,   Z)    ," &
" 102  (BC_2, *,                       control,  1)                       ," &
" 103  (BC_8, PTD3,                    bidir,    X,    102,    1,   Z)    ," &
" 104  (BC_2, *,                       control,  1)                       ," &
" 105  (BC_8, PTD4,                    bidir,    X,    104,    1,   Z)    ," &
" 106  (BC_2, *,                       control,  1)                       ," &
" 107  (BC_8, PTD5,                    bidir,    X,    106,    1,   Z)    ," &
" 108  (BC_2, *,                       control,  1)                       ," &
" 109  (BC_8, PTD6,                    bidir,    X,    108,    1,   Z)    ," &
" 110  (BC_2, *,                       control,  1)                       ," &
" 111  (BC_8, PTD7,                    bidir,    X,    110,    1,   Z)    ";
end K12D;