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

------------------------------------------------------------------------
-- A T M E L   A R M   M I C R O C O N T R O L L E R S                --
------------------------------------------------------------------------
-- BSDL file
--
-- File Name:     sam3s2a_lqfp48.bsdl
-- File Revision: 2.1
-- Date: 	  Wed Jan 13 15:46:46 2010

-- Created by:    Atmel Corporation
-- File Status:   Released
--
-- Device:        sam3s2a
-- Package:       lqfp48
--
-- Visit http://www.atmel.com for a updated list of BSDL files.
--
------------------------------------------------------------------------
-- Syntax and Semantics are checked against the IEEE 1149.1 standard. --
-- The logical functioning of the standard Boundary-Scan instructions --
-- and of the associated bypass, idcode and boundary-scan register    --
-- described in this BSDL file has been verified against its related  --
-- silicon by JTAG Technologies B.V.                                  --
------------------------------------------------------------------------
------------------------------------------------------------------------
--                       IMPORTANT NOTICE                             --
--                                                                    --
--   Copyright 2005 Atmel Corporation. All Rights Reserved.           --
--                                                                    --
--   Atmel assumes no responsibility or liability arising out         --
--   this application or use of any information described herein      --
--   except as expressly agreed to in writing by Atmel Corporation.   --
--                                                                    --
-- ------------------------------------------------------------------ --
-- http://www.asset-intertech.com/bsdl_service                        --
--Your job has completed. Please review the information below for the results.
--Job Status: 	Pass
 	 
--File Name: 	sam3s2a_lqfp48.bsdl
--Timestamp: 	Sunday, February 13, 2011 8:53 PM
 	 
--Results: 	Entity name: SAM3S2A
--IEEE Std 1149.1-2001 (Version 2.0)
--Packaging option selected is LQFP48.
--Inputs = 0
--Outputs = 0
--Bidirectionals = 25
--Instruction Reg Length = 3
--Boundary Reg Length = 142

--BSDL compilation of 424 lines completed without errors.


-- *****************************************************************************


 entity sam3s2a is
   
-- This section identifies the default device package selected.
   
   generic (PHYSICAL_PIN_MAP: string:= "lqfp48");
   
-- This section declares all the ports in the design.
   
   port ( 
          TDI                    : in       bit;
          TMS                    : in       bit;
          TCK                    : in       bit;
          NRST                   : in       bit;
          PA0                    : inout    bit;
          PA10                   : linkage    bit;
          PA11                   : inout    bit;
          PA12                   : inout    bit;
          PA13                   : inout    bit;
          PA14                   : inout    bit;
          PA15                   : inout    bit;
          PA16                   : inout    bit;
          PA17                   : inout    bit;
          PA18                   : inout    bit;
          PA19                   : inout    bit;
          PA1                    : inout    bit;
          PA20                   : inout    bit;
          PA2                    : inout    bit;
          PA3                    : inout    bit;
          PA4                    : inout    bit;
          PA5                    : inout    bit;
          PA6                    : inout    bit;
          PA9                    : inout    bit;
          PB0                    : inout    bit;
          PB1                    : inout    bit;
          PB10                   : inout    bit;
          PB11                   : inout    bit;
          PB12                   : inout    bit;
          PB2                    : inout    bit;
          PB3                    : inout    bit;
          TDO                    : out      bit;
          JTAGSEL                : in       bit;
          PA7                    : linkage  bit;
          PA8                    : linkage  bit;
          PB8                    : linkage  bit;
          PB9                    : linkage  bit;
          TST                   : in       bit
           );
   
   use STD_1149_1_2001.all;
   
   attribute COMPONENT_CONFORMANCE of sam3s2a : entity is "STD_1149_1_2001";
   
   attribute PIN_MAP of sam3s2a: entity is PHYSICAL_PIN_MAP;
   
-- This section specifies the pin map for each port. This information is 
-- extracted from the port-to-pin map file that was read in using the 
-- "read_pin_map" command.
   
     constant lqfp48: PIN_MAP_STRING := 
  "TDI                  : 25," &
        "TMS                  : 39," &
        "TCK                  : 40," &
        "NRST                 : 29," &
        "PA0                  : 36," &
        "PA10                 : 21," &
        "PA11                 : 20," &
        "PA12                 : 19," &
        "PA13                 : 17," &
        "PA14                 : 16," &
        "PA15                 : 15," &
        "PA16                 : 14," &
        "PA17                 : 9," &
        "PA18                 : 10," &
        "PA19                 : 11," &
        "PA1                  : 35," &
        "PA20                 : 12," &
        "PA2                  : 32," &
        "PA3                  : 31," &
        "PA4                  : 28," &
        "PA5                  : 27," &
        "PA6                  : 26," &
        "PA9                  : 22," &
        "PB0                  : 3," &
        "PB1                  : 4," &
        "PB10                 : 43," &
        "PB11                 : 44," &
        "PB12                 : 42," &
        "PB2                  : 5," &
        "PB3                  : 6," &
        "TDO                  : 37," &
        "JTAGSEL              : 38," &
        "PA7                  : 24," &
        "PA8                  : 23," &
        "PB8                  : 45," &
        "PB9                  : 46," &
        "TST                  : 30";
   
-- This section specifies the TAP ports. For the TAP TCK port, the parameters in 
-- the brackets are:
--        First Field : Maximum  TCK frequency.
--        Second Field: Allowable states TCK may be stopped in.
   
   attribute TAP_SCAN_CLOCK of TCK : signal is (1.000000e+06, BOTH);
   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_RESET of NRST: signal is true;
   
-- Specifies the compliance enable patterns for the design. It lists a set of 
-- design ports and the values that they should be set to, in order to enable 
-- compliance to IEEE Std 1149.1
   
   attribute COMPLIANCE_PATTERNS of sam3s2a: entity is 
        "(JTAGSEL, TST) (10)";
   
-- Specifies the number of bits in the instruction register.
   
   attribute INSTRUCTION_LENGTH of sam3s2a: entity is 3;
   
-- Specifies the boundary-scan instructions implemented in the design and their 
-- opcodes.
   
   attribute INSTRUCTION_OPCODE of sam3s2a: entity is 
     "BYPASS (111, 101, 110)," &
     "EXTEST (000)," &
     "SAMPLE (100)," &
     "PRELOAD (100)," &
     "USER1  (010)," &
     "HIGHZ  (001)," &
     "IDCODE (011)";
   
-- Specifies the bit pattern that is loaded into the instruction register when 
-- the TAP controller passes through the Capture-IR state. The standard mandates 
-- that the two LSBs must be "01". The remaining bits are design specific.
   
   attribute INSTRUCTION_CAPTURE of sam3s2a: entity is "001";
   
-- Specifies the bit pattern that is loaded into the DEVICE_ID register during 
-- the IDCODE instruction when the TAP controller passes through the Capture-DR 
-- state.
   
   attribute IDCODE_REGISTER of sam3s2a: entity is 
     "0000" &                  
 -- 4-bit version number
     "0101101100101101" &      
 -- 16-bit part number
     "00000011111" &           
 -- 11-bit identity of the manufacturer
     "1";                      
 -- Required by IEEE Std 1149.1
   
-- This section specifies the TST data register placed between TDI and TDO for 
-- each implemented instruction.
   
   attribute REGISTER_ACCESS of sam3s2a: entity is 
        "BYPASS    (BYPASS, HIGHZ)," &
        "BOUNDARY  (EXTEST, SAMPLE, USER1)," &
        "DEVICE_ID (IDCODE)";
   
-- Specifies the length of the boundary scan register.
   
   attribute BOUNDARY_LENGTH of sam3s2a: entity is 142;
   
-- The following list specifies the characteristics of each cell in the boundary 
-- scan register from TDI to TDO. The following is a description of the label 
-- fields:
--      num     : Is the cell number.
--      cell    : Is the cell type as defined by the standard.
--      port    : Is the design port name. Control cells do not have a port 
--                name.
--      function: Is the function of the cell as defined by the standard. Is one 
--                of input, output2, output3, bidir, control or controlr.
--      safe    : Specifies the value that the BSR cell should be loaded with 
--                for safe operation when the software might otherwise choose a 
--                random value.
--      ccell   : The control cell number. Specifies the control cell that 
--                drives the output enable for this port.
--      disval  : Specifies the value that is loaded into the control cell to 
--                disable the output enable for the corresponding port.
--      rslt    : Resulting state. Shows the state of the driver when it is 
--                disabled.
   
   attribute BOUNDARY_REGISTER of sam3s2a: entity is 
--     
--    num   cell   port                    function      safe  [ccell  disval  
--    rslt]
--     
     "141  (BC_1,  *,                      control,      " &
     "1),                        " &
     "140  (BC_7,  PA16,                 bidir,        X,    141,    " &
     "1,      Z),  " &
     "139 (BC_0,  *,       internal,     X),   " &
     "138 (BC_0,  *,       internal,     X),   " &
     "137  (BC_1,  *,                      control,      " &
     "1),                        " &
     "136  (BC_7,  PA15,                 bidir,        X,    137,    " &
     "1,      Z),  " &
     "135  (BC_1,  *,                      control,      " &
     "1),                        " &
     "134  (BC_7,  PA14,                 bidir,        X,    135,    " &
     "1,      Z),  " &
     "133 (BC_0,  *,       internal,     X),    " &
     "132 (BC_0,  *,       internal,     X),    " &
     "131  (BC_1,  *,                      control,      " &
     "1),                        " &
     "130  (BC_7,  PA13,                 bidir,        X,    131,    " &
     "1,      Z),  " &
     "129  (BC_0,  *,       internal,     X),                        " &
     "128  (BC_0,  *,       internal,     X),  " &
     "127 (BC_0,  *,       internal,     X),    " &
     "126 (BC_0,  *,       internal,     X),    " &
     "125 (BC_0,  *,       internal,     X),     " &
     "124 (BC_0,  *,       internal,     X),     " &
     "123  (BC_0,  *,       internal,     X),                        " &
     "122  (BC_0,  *,       internal,     X),  " &
     "121  (BC_0,  *,       internal,     X),                        " &
     "120  (BC_0,  *,       internal,     X),  " &
     "119  (BC_0,  *,       internal,     X),    " &
     "118  (BC_0,  *,       internal,     X),    " &
     "117  (BC_1,  *,                      control,      " &
     "1),                        " &
     "116  (BC_7,  PA12,                 bidir,        X,    117,    " &
     "1,      Z),  " &
     "115  (BC_1,  *,                      control,      " &
     "1),                        " &
     "114  (BC_7,  PA11,                 bidir,        X,    115,    " &
     "1,      Z),  " &
     "113  (BC_0,  *,       internal,     X),    " &
     "112  (BC_0,  *,       internal,     X),    " &
     "111  (BC_0,  *,       internal,     X),    " & 
     "110  (BC_0,  *,       internal,     X),    " & 
     "109  (BC_1,  *,                      control,      " &
     "1),                        " &
     "108  (BC_7,  PA9,                  bidir,        X,    109,    " &
     "1,      Z),  " &
     "107 (BC_0,  *,       internal,     X),      " &
     "106 (BC_0,  *,       internal,     X),      " &
     "105  (BC_1,  *,                      control,      " &
     "1),                        " &
     "104  (BC_7,  PA6,                  bidir,        X,    105,    " &
     "1,      Z),  " &
     "103  (BC_1,  *,                      control,      " &
     "1),                        " &
     "102  (BC_7,  PA5,                  bidir,        X,    103,    " &
     "1,      Z),  " &
     "101 (BC_0,  *,       internal,     X),    " &
     "100 (BC_0,  *,       internal,     X),    " &
     "99   (BC_1,  *,                      control,      " &
     "1),                        " &
     "98   (BC_7,  PA4,                  bidir,        X,    99,     " &
     "1,      Z),  " &
     "97   (BC_0,  *,       internal,     X),                        " &
     "96   (BC_0,  *,       internal,     X),  " &
     "95   (BC_0,  *,       internal,     X),      " &
     "94   (BC_0,  *,       internal,     X),      " &
     "93   (BC_0,  *,       internal,     X),                        " &
     "92   (BC_0,  *,       internal,     X),  " &
     "91   (BC_0,  *,       internal,     X),     " &
     "90   (BC_0,  *,       internal,     X),     " &
     "89   (BC_0,  *,       internal,     X),                        " &
     "88   (BC_0,  *,       internal,     X),  " &
     "87   (BC_0,  *,       internal,     X),                        " &
     "86   (BC_0,  *,       internal,     X),  " &
     "85   (BC_0,  *,       internal,     X),     " &
     "84   (BC_0,  *,       internal,     X),     " &
     "83   (BC_1,  *,                      control,      " &
     "1),                        " &
     "82   (BC_7,  PA3,                  bidir,        X,    83,     " &
     "1,      Z),  " &
     "81   (BC_1,  *,                      control,      " &
     "1),                        " &
     "80   (BC_7,  PA2,                  bidir,        X,    81,     " &
     "1,      Z),  " &
     "79   (BC_0,  *,       internal,     X),     " &
     "78   (BC_0,  *,       internal,     X),     " &
     "77   (BC_0,  *,       internal,     X),    " &
     "76   (BC_0,  *,       internal,     X),    " &
     "75   (BC_1,  *,                      control,      " &
     "1),                        " &
     "74   (BC_7,  PA1,                  bidir,        X,    75,     " &
     "1,      Z),  " &
     "73   (BC_0,  *,       internal,     X),     " &
     "72   (BC_0,  *,       internal,     X),     " &
     "71   (BC_1,  *,                      control,      " &
     "1),                        " &
     "70   (BC_7,  PA0,                  bidir,        X,    71,     " &
     "1,      Z),  " &
     "69   (BC_0,  *,       internal,     X), " &
     "68   (BC_0,  *,       internal,     X), " &
     "67   (BC_0,  *,       internal,     X),   " &
     "66   (BC_0,  *,       internal,     X),   " &
     "65   (BC_0,  *,       internal,     X),   " &
     "64   (BC_0,  *,       internal,     X),   " &
     "63   (BC_0,  *,       internal,     X),                        " &
     "62   (BC_0,  *,       internal,     X),  " &
     "61   (BC_0,  *,       internal,     X),  " &
     "60   (BC_0,  *,       internal,     X),  " &
     "59   (BC_0,  *,       internal,     X),   " &
     "58   (BC_0,  *,       internal,     X),  " &
     "57   (BC_0,  *,       internal,     X),    " &
     "56   (BC_0,  *,       internal,     X),  " &
     "55   (BC_1,  *,                      control,      " &
     "1),                        " &
     "54   (BC_7,  PB12,                   bidir,        X,    55,     " &
     "1,      Z),  " &
     "53   (BC_1,  *,                      control,      " &
     "1),                        " &
     "52   (BC_7,  PB10,                   bidir,        X,    53,     " &
     "1,      Z),  " &
     "51   (BC_1,  *,                      control,      " &
     "1),                        " &
     "50   (BC_7,  PB11,                   bidir,        X,    51,     " &
     "1,      Z),  " &
     "49   (BC_0,  *,       internal,     X),    " &
     "48   (BC_0,  *,       internal,     X),    " &
     "47   (BC_0,  *,       internal,     X),   " &
     "46   (BC_0,  *,       internal,     X),   " &
     "45   (BC_0,  *,       internal,     X),                        " &
     "44   (BC_0,  *,       internal,     X),  " &
     "43   (BC_0,  *,       internal,     X),     " &
     "42   (BC_0,  *,       internal,     X),     " &
     "41   (BC_0,  *,       internal,     X),                        " &
     "40   (BC_0,  *,       internal,     X),  " &
     "39   (BC_1,  *,                      control,      " &
     "1),                        " &
     "38   (BC_7,  PB0,                    bidir,        X,    39,     " &
     "1,      Z),  " &
     "37   (BC_0,  *,       internal,     X),   " &
     "36   (BC_0,  *,       internal,     X),   " &
     "35   (BC_1,  *,                      control,      " &
     "1),                        " &
     "34   (BC_7,  PB1,                    bidir,        X,    35,     " &
     "1,      Z),  " &
     "33   (BC_0,  *,       internal,     X),    " &
     "32   (BC_0,  *,       internal,     X),    " &
     "31   (BC_1,  *,                      control,      " &
     "1),                        " &
     "30   (BC_7,  PB2,                    bidir,        X,    31,     " &
     "1,      Z),  " &
     "29   (BC_0,  *,       internal,     X),    " &
     "28   (BC_0,  *,       internal,     X),    " &
     "27   (BC_1,  *,                      control,      " &
     "1),                        " &
     "26   (BC_7,  PB3,                    bidir,        X,    27,     " &
     "1,      Z),  " &
     "25   (BC_1,  *,                      control,      " &
     "1),                        " &
     "24   (BC_7,  PA17,                 bidir,        X,    25,     " &
     "1,      Z),  " &
     "23   (BC_0,  *,       internal,     X),     " &
     "22   (BC_0,  *,       internal,     X),     " &
     "21   (BC_1,  *,                      control,      " &
     "1),                        " &
     "20   (BC_7,  PA18,                 bidir,        X,    21,     " &
     "1,      Z),  " &
     "19   (BC_0,  *,       internal,     X),     " &
     "18   (BC_0,  *,       internal,     X),     " &
     "17   (BC_0,  *,       internal,     X),     " &
     "16   (BC_0,  *,       internal,     X),     " &
     "15   (BC_1,  *,                      control,      " &
     "1),                        " &
     "14   (BC_7,  PA19,                 bidir,        X,    15,     " &
     "1,      Z),  " &
     "13   (BC_0,  *,       internal,     X),     " &
     "12   (BC_0,  *,       internal,     X),     " &
     "11   (BC_0,  *,       internal,     X),                        " &
     "10   (BC_0,  *,       internal,     X),  " &
     "9    (BC_0,  *,       internal,     X),  " &
     "8    (BC_0,  *,       internal,     X),  " &
     "7    (BC_0,  *,       internal,     X),                        " &
     "6    (BC_0,  *,       internal,     X), " &
     "5    (BC_0,  *,       internal,     X), " &
     "4    (BC_0,  *,       internal,     X), " &
     "3    (BC_1,  *,                      control,      " &
     "1),                        " &
     "2    (BC_7,  PA20,                 bidir,        X,    3,      " &
     "1,      Z),  " &
     "1    (BC_0,  *,       internal,     X),  " &
     "0   (BC_0,  *,       internal,     X)     " ;
 
 end sam3s2a;