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 evmDM365
    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 XDC 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:      "evmDM365",
    43            boardFamily:    "evmDM365",
    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:     "TMS320DM365",
    52            revision:       "",
    53        };
    54    
    55    instance:
    56    
    57        override readonly config xdc.platform.IPlatform.MemoryMap
    58            externalMemoryMap = [
    59                ["DDR",  {name: "DDR",  base: 0x80000000, len: 0x1000000}],
    60            ];
    61    
    62        /*
    63         *  ======== sectMap ========
    64         *  Define a placement of compiler generated output sections into
    65         *  memory regions defined in the memTab above.
    66         */
    67        override config string codeMemory = "DDR";
    68        override config string dataMemory = "DDR";
    69        override config string stackMemory = "DDR";
    70    };
    71    /*
    72     *  @(#) ti.platforms.evmDM365; 1, 0, 0,145; 5-25-2010 17:34:44; /db/ztree/library/trees/platform/platform-l15x/src/
    73     */
    74