1    /*
     2     *  Copyright (c) 2010 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     *  ======== Platform.xdc ========
    15     */
    16    
    17    /*!
    18     *  ======== Platform ========
    19     *  Platform support for the evmDM355
    20     *
    21     *  This module implements xdc.platform.IPlatform and defines configuration
    22     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    23     *
    24     *  The configuration parameters are initialized in this package's
    25     *  configuration script (package.cfg) and "bound" to the TCOM object
    26     *  model.  Once they are part of the model, these parameters are
    27     *  queried by a program's configuration script.
    28     *
    29     *  This particular platform has a single Cpu, and therefore, only
    30     *  declares a single CPU configuration object.  Multi-CPU platforms
    31     *  would declare multiple Cpu configuration parameters (one per
    32     *  platform CPU).
    33     */
    34    metaonly module Platform inherits xdc.platform.IPlatform
    35    {
    36        /*!
    37         *  ======== BOARD ========
    38         *  This platform's board attributes
    39         */
    40        readonly config xdc.platform.IPlatform.Board BOARD = { 
    41            id:             "0",
    42            boardName:      "evmDM355",
    43            boardFamily:    "evmDM355",
    44            boardRevision:  null
    45        };
    46        
    47        readonly config xdc.platform.IExeContext.Cpu CPU = { 
    48            id:             "0",
    49            clockRate:      216.0,
    50            catalogName:    "ti.catalog.arm",
    51            deviceName:     "TMS320DM355",
    52            revision:       "",
    53        };
    54    
    55    instance:
    56    
    57        /*
    58         *  ======== memTab ========
    59         *  Define the evmDM355 memory map
    60         */
    61        override readonly config xdc.platform.IPlatform.MemoryMap
    62            externalMemoryMap = [
    63                ["DDR2",  {name: "DDR2",  base: 0x80000000, len: 0x8000000}],
    64            ];
    65    
    66        /*
    67         *  ======== sectMap ========
    68         *  Define a placement of compiler generated output sections into
    69         *  memory regions defined in the memTab above.
    70         */
    71        override config string codeMemory = "DDR2";
    72        override config string dataMemory = "DDR2";
    73        override config string stackMemory = "DDR2";
    74    };
    75    
    76    /*
    77     *  @(#) ti.platforms.evmDM355; 1, 0, 0,224; 8-7-2010 18:29:36; /db/ztree/library/trees/platform/platform-l20x/src/
    78     */
    79