1    /*
     2     *  Copyright (c) 2009 by Texas Instruments and others.
     3     *  All rights reserved. This program and the accompanying materials
     4     *  are made available under the terms of the Eclipse Public License v1.0
     5     *  which accompanies this distribution, and is available at
     6     *  http://www.eclipse.org/legal/epl-v10.html
     7     *
     8     *  Contributors:
     9     *      Texas Instruments - initial implementation
    10     *
    11     * */
    12    
    13    /*
    14     *  ======== ILM3Sx7xx.xdc ========
    15     *  
    16     */
    17    
    18    /*!
    19     *  ======== ILM3Sx7xx.xdc ========
    20     *  The Stellaris device data sheet module.
    21     *
    22     *  This module implements the xdc.platform.ICpuDataSheet interface and is 
    23     *  used by platforms to obtain "data sheet" information about this device.
    24     *
    25     */
    26    
    27    metaonly interface ILM3Sx7xx inherits ti.catalog.ICpuDataSheet
    28    {
    29    
    30        struct Timer {
    31            string  name;
    32            UInt    baseAddr;
    33            UInt    intNum;
    34        };
    35    
    36    instance:
    37        override config string cpuCore           = "CM3";
    38        override config string isa               = "v7M";
    39        override config string cpuCoreRevision   = "1.0";
    40        override config int    minProgUnitSize   = 1;
    41        override config int    minDataUnitSize   = 1;
    42        override config int    dataWordSize      = 4;
    43    
    44        /*!
    45         *  ======== memMap ========
    46         *  The memory map returned by getMemoryMap().
    47         */
    48        config xdc.platform.IPlatform.Memory memMap[string] = [
    49            ["FRAM", {
    50                comment: "128KB FRAM",
    51                name: "FRAM",
    52                base: 0x00000000, 
    53                len:  0x00020000
    54            }],
    55    
    56            ["IRAM", {
    57                comment: "64KB IRAM",
    58                comment: "IRAM",
    59                name: "IRAM",
    60                base: 0x20000000, 
    61                len:  0x00010000
    62            }],
    63        ];
    64    
    65        config Timer timers[4] = [
    66            {
    67                name: "Timer 0",
    68                baseAddr: 0x40030000,
    69                intNum: 35
    70            },
    71    
    72            {
    73                name: "Timer 1",
    74                baseAddr: 0x40031000,
    75                intNum: 37
    76            },
    77    
    78            {
    79                name: "Timer 2",
    80                baseAddr: 0x40032000,
    81                intNum: 39
    82            },
    83    
    84            {
    85                name: "Timer 3",
    86                baseAddr: 0x40033000,
    87                intNum: 51
    88            },
    89        ];
    90    
    91    };
    92    
    93    /*
    94     *  @(#) ti.catalog.arm; 1, 0, 1, 0,104; 12-9-2009 17:20:12; /db/ztree/library/trees/platform/platform-k27x/src/
    95     */
    96