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

------------------------------------------------------------------------
-- 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:     sam3s1a_lqfp48.bsdl
-- File Revision: 2.1
-- Date: 	  Wed Jan 13 15:46:46 2010

-- Created by:    Atmel Corporation
-- File Status:   Released
--
-- Device:        sam3s1c
-- Package:       lqfp100
--
-- 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.   --
--                                                                    --
-- ------------------------------------------------------------------ --
-- This BSDL File has been verified on severals BSDL Syntax           --
-- Checker/Compilers                                                  --
--                                                                    --
--Your job has completed. Please review the information below for the results.
--Job Status: 	Pass
 	 
--File Name: 	sam3s1c_lqfp100.bsdl
--Timestamp: 	Sunday, February 13, 2011 8:50 PM
 	 
--Results: 	Entity name: SAM3S1C
--IEEE Std 1149.1-2001 (Version 2.0)
--Packaging option selected is LQFP100.
--Inputs = 0
--Outputs = 0
--Bidirectionals = 70
--Instruction Reg Length = 3
--Boundary Reg Length = 142

--BSDL compilation of 541 lines completed without errors.

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


 entity sam3s1c is
   
-- This section identifies the default device PAckage selected.
   
   generic (PHYSICAL_PIN_MAP: string:= "lqfp100");
   
-- 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;
          PA21                 : inout    bit;
          PA22                 : inout    bit;
          PA23                 : inout    bit;
          PA24                 : inout    bit;
          PA25                 : inout    bit;
          PA26                 : inout    bit;
          PA27                 : inout    bit;
          PA28                 : inout    bit;
          PA29                 : inout    bit;
          PA2                  : inout    bit;
          PA30                 : inout    bit;
          PA31                 : 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;
          PB13                 : inout    bit;
          PB14                 : inout    bit;
          PB2                  : inout    bit;
          PB3                  : inout    bit;
          PC                   : inout    bit_vector (0 to 31);
          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 sam3s1c: entity is "STD_1149_1_2001";
   
   attribute PIN_MAP of sam3s1c: 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 lqfp100: PIN_MAP_STRING := 
        "TDI                  : 51," &
        "TMS                  : 79," &
        "TCK                  : 83," &
        "NRST                 : 60," &
        "PA0                  : 74," &
        "PA10                 : 44," &
        "PA11                 : 42," &
        "PA12                 : 41," &
        "PA13                 : 33," &
        "PA14                 : 31," &
        "PA15                 : 30," &
        "PA16                 : 28," &
        "PA17                 : 12," &
        "PA18                 : 14," &
        "PA19                 : 18," &
        "PA1                  : 72," &
        "PA20                 : 24," &
        "PA21                 : 15," &
        "PA22                 : 20," &
        "PA23                 : 22," &
        "PA24                 : 34," &
        "PA25                 : 38," &
        "PA26                 : 39," &
        "PA27                 : 57," &
        "PA28                 : 59," &
        "PA29                 : 63," &
        "PA2                  : 67," &
        "PA30                 : 64," &
        "PA31                 : 81," &
        "PA3                  : 66," &
        "PA4                  : 55," &
        "PA5                  : 53," &
        "PA6                  : 52," &
        "PA9                  : 46," &
        "PB0                  : 3," &
        "PB1                  : 5," &
        "PB10                 : 88," &
        "PB11                 : 89," &
        "PB12                 : 87," &
        "PB13                 : 93," &
        "PB14                 : 98," &
        "PB2                  : 7," &
        "PB3                  : 9," &
        "PC                   : (25, 47, 43, 40, 37, 35, 32, 29, 58, 62, " &
        "65, 68, 23, 21, 71, 19, 73, 75, 78, 80, 82, 84, 86, 90, 92, 94, 13" &
        ", 17, 54, 4, 6, 8)," &
        "TDO                  : 76," &
        "JTAGSEL              : 77," &
        "PA7                  : 49," &
        "PA8                  : 48," &
        "PB8                  : 96," &
        "PB9                  : 97," &
        "TST                  : 61";
          
-- 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 sam3s1c: entity is 
        "(JTAGSEL, TST) (10)";
   
-- Specifies the number of bits in the instruction register.
   
   attribute INSTRUCTION_LENGTH of sam3s1c: entity is 3;
   
-- Specifies the boundary-scan instructions implemented in the design and their 
-- oPCodes.
   
   attribute INSTRUCTION_OPCODE of sam3s1c: 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 sam3s1c: 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 sam3s1c: 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 sam3s1c: entity is 
        "BYPASS    (BYPASS, HIGHZ)," &
        "BOUNDARY  (EXTEST, SAMPLE, USER1)," &
        "DEVICE_ID (IDCODE)";
   
-- Specifies the length of the boundary scan register.
   
   attribute BOUNDARY_LENGTH of sam3s1c: 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 sam3s1c: 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_1,  *,                      control,      " &
     "1),                        " &
     "138  (BC_7,  PC(7),                  bidir,        X,    139,    " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "132  (BC_7,  PC(6),                  bidir,        X,    133,    " &
     "1,      Z),  " &
     "131  (BC_1,  *,                      control,      " &
     "1),                        " &
     "130  (BC_7,  PA13,                 bidir,        X,    131,    " &
     "1,      Z),  " &
     "129  (BC_1,  *,                      control,      " &
     "1),                        " &
     "128  (BC_7,  PA24,                 bidir,        X,    129,    " &
     "1,      Z),  " &
     "127  (BC_1,  *,                      control,      " &
     "1),                        " &
     "126  (BC_7,  PC(5),                  bidir,        X,    127,    " &
     "1,      Z),  " &
     "125  (BC_1,  *,                      control,      " &
     "1),                        " &
     "124  (BC_7,  PC(4),                  bidir,        X,    125,    " &
     "1,      Z),  " &
     "123  (BC_1,  *,                      control,      " &
     "1),                        " &
     "122  (BC_7,  PA25,                 bidir,        X,    123,    " &
     "1,      Z),  " &
     "121  (BC_1,  *,                      control,      " &
     "1),                        " &
     "120  (BC_7,  PA26,                 bidir,        X,    121,    " &
     "1,      Z),  " &
     "119  (BC_1,  *,                      control,      " &
     "1),                        " &
     "118  (BC_7,  PC(3),                  bidir,        X,    119,    " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "112  (BC_7,  PC(2),                  bidir,        X,    113,    " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "106  (BC_7,  PC(1),                  bidir,        X,    107,    " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "100  (BC_7,  PC(28),                 bidir,        X,    101,    " &
     "1,      Z),  " &
     "99   (BC_1,  *,                      control,      " &
     "1),                        " &
     "98   (BC_7,  PA4,                  bidir,        X,    99,     " &
     "1,      Z),  " &
     "97   (BC_1,  *,                      control,      " &
     "1),                        " &
     "96   (BC_7,  PA27,                 bidir,        X,    97,     " &
     "1,      Z),  " &
     "95   (BC_1,  *,                      control,      " &
     "1),                        " &
     "94   (BC_7,  PC(8),                  bidir,        X,    95,     " &
     "1,      Z),  " &
     "93   (BC_1,  *,                      control,      " &
     "1),                        " &
     "92   (BC_7,  PA28,                 bidir,        X,    93,     " &
     "1,      Z),  " &
     "91   (BC_1,  *,                      control,      " &
     "1),                        " &
     "90   (BC_7,  PC(9),                  bidir,        X,    91,     " &
     "1,      Z),  " &
     "89   (BC_1,  *,                      control,      " &
     "1),                        " &
     "88   (BC_7,  PA29,                 bidir,        X,    89,     " &
     "1,      Z),  " &
     "87   (BC_1,  *,                      control,      " &
     "1),                        " &
     "86   (BC_7,  PA30,                 bidir,        X,    87,     " &
     "1,      Z),  " &
     "85   (BC_1,  *,                      control,      " &
     "1),                        " &
     "84   (BC_7,  PC(10),                 bidir,        X,    85,     " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "78   (BC_7,  PC(11),                 bidir,        X,    79,     " &
     "1,      Z),  " &
     "77   (BC_1,  *,                      control,      " &
     "1),                        " &
     "76   (BC_7,  PC(14),                 bidir,        X,    77,     " &
     "1,      Z),  " &
     "75   (BC_1,  *,                      control,      " &
     "1),                        " &
     "74   (BC_7,  PA1,                  bidir,        X,    75,     " &
     "1,      Z),  " &
     "73   (BC_1,  *,                      control,      " &
     "1),                        " &
     "72   (BC_7,  PC(16),                 bidir,        X,    73,     " &
     "1,      Z),  " &
     "71   (BC_1,  *,                      control,      " &
     "1),                        " &
     "70   (BC_7,  PA0,                  bidir,        X,    71,     " &
     "1,      Z),  " &
     "69   (BC_1,  *,                      control,      " &
     "1),                        " &
     "68   (BC_7,  PC(17),                 bidir,        X,    69,     " &
     "1,      Z),  " &
     "67   (BC_1,  *,                      control,      " &
     "1),                        " &
     "66   (BC_7,  PC(18),                 bidir,        X,    67,     " &
     "1,      Z),  " &
     "65   (BC_1,  *,                      control,      " &
     "1),                        " &
     "64   (BC_7,  PC(19),                 bidir,        X,    65,     " &
     "1,      Z),  " &
     "63   (BC_1,  *,                      control,      " &
     "1),                        " &
     "62   (BC_7,  PA31,                 bidir,        X,    63,     " &
     "1,      Z),  " &
     "61   (BC_1,  *,                      control,      " &
     "1),                        " &
     "60   (BC_7,  PC(20),                 bidir,        X,    61,     " &
     "1,      Z),  " &
     "59   (BC_1,  *,                      control,      " &
     "1),                        " &
     "58   (BC_7,  PC(21),                 bidir,        X,    59,     " &
     "1,      Z),  " &
     "57   (BC_1,  *,                      control,      " &
     "1),                        " &
     "56   (BC_7,  PC(22),                 bidir,        X,    57,     " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "48   (BC_7,  PC(23),                 bidir,        X,    49,     " &
     "1,      Z),  " &
     "47   (BC_1,  *,                      control,      " &
     "1),                        " &
     "46   (BC_7,  PC(24),                 bidir,        X,    47,     " &
     "1,      Z),  " &
     "45   (BC_1,  *,                      control,      " &
     "1),                        " &
     "44   (BC_7,  PB13,                   bidir,        X,    45,     " &
     "1,      Z),  " &
     "43   (BC_1,  *,                      control,      " &
     "1),                        " &
     "42   (BC_7,  PC(25),                 bidir,        X,    43,     " &
     "1,      Z),  " &
     "41   (BC_1,  *,                      control,      " &
     "1),                        " &
     "40   (BC_7,  PB14,                   bidir,        X,    41,     " &
     "1,      Z),  " &
     "39   (BC_1,  *,                      control,      " &
     "1),                        " &
     "38   (BC_7,  PB0,                    bidir,        X,    39,     " &
     "1,      Z),  " &
     "37   (BC_1,  *,                      control,      " &
     "1),                        " &
     "36   (BC_7,  PC(29),                 bidir,        X,    37,     " &
     "1,      Z),  " &
     "35   (BC_1,  *,                      control,      " &
     "1),                        " &
     "34   (BC_7,  PB1,                    bidir,        X,    35,     " &
     "1,      Z),  " &
     "33   (BC_1,  *,                      control,      " &
     "1),                        " &
     "32   (BC_7,  PC(30),                 bidir,        X,    33,     " &
     "1,      Z),  " &
     "31   (BC_1,  *,                      control,      " &
     "1),                        " &
     "30   (BC_7,  PB2,                    bidir,        X,    31,     " &
     "1,      Z),  " &
     "29   (BC_1,  *,                      control,      " &
     "1),                        " &
     "28   (BC_7,  PC(31),                 bidir,        X,    29,     " &
     "1,      Z),  " &
     "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_1,  *,                      control,      " &
     "1),                        " &
     "22   (BC_7,  PC(26),                 bidir,        X,    23,     " &
     "1,      Z),  " &
     "21   (BC_1,  *,                      control,      " &
     "1),                        " &
     "20   (BC_7,  PA18,                 bidir,        X,    21,     " &
     "1,      Z),  " &
     "19   (BC_1,  *,                      control,      " &
     "1),                        " &
     "18   (BC_7,  PA21,                 bidir,        X,    19,     " &
     "1,      Z),  " &
     "17   (BC_1,  *,                      control,      " &
     "1),                        " &
     "16   (BC_7,  PC(27),                 bidir,        X,    17,     " &
     "1,      Z),  " &
     "15   (BC_1,  *,                      control,      " &
     "1),                        " &
     "14   (BC_7,  PA19,                 bidir,        X,    15,     " &
     "1,      Z),  " &
     "13   (BC_1,  *,                      control,      " &
     "1),                        " &
     "12   (BC_7,  PC(15),                 bidir,        X,    13,     " &
     "1,      Z),  " &
     "11   (BC_1,  *,                      control,      " &
     "1),                        " &
     "10   (BC_7,  PA22,                 bidir,        X,    11,     " &
     "1,      Z),  " &
     "9    (BC_1,  *,                      control,      " &
     "1),                        " &
     "8    (BC_7,  PC(13),                 bidir,        X,    9,      " &
     "1,      Z),  " &
     "7    (BC_1,  *,                      control,      " &
     "1),                        " &
     "6    (BC_7,  PA23,                 bidir,        X,    7,      " &
     "1,      Z),  " &
     "5    (BC_1,  *,                      control,      " &
     "1),                        " &
     "4    (BC_7,  PC(12),                 bidir,        X,    5,      " &
     "1,      Z),  " &
     "3    (BC_1,  *,                      control,      " &
     "1),                        " &
     "2    (BC_7,  PA20,                 bidir,        X,    3,      " &
     "1,      Z),  " &
     "1    (BC_1,  *,                      control,      " &
     "1),                        " &
     "0    (BC_7,  PC(0),                  bidir,        X,    1,      " &
     "1,      Z)   ";
 
 end sam3s1c;