1    /*
     2     *  Copyright 2009 by Texas Instruments Incorporated.
     3     *
     4     *  All rights reserved. Property of Texas Instruments Incorporated.
     5     *  Restricted rights to use, duplicate or disclose this code are
     6     *  granted through contract.
     7     *
     8     */
     9    
    10    /*
    11     *  ======== Platform.xdc ========
    12     *
    13     */
    14    
    15    /*!
    16     *  ======== Platform ========
    17     *  Platform support for the app510
    18     *
    19     *  This module implements xdc.platform.IPlatform and defines configuration
    20     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    21     *
    22     *  The configuration parameters are initialized in this package's
    23     *  configuration script (package.cfg) and "bound" to the TCOM object
    24     *  model.  Once they are part of the model, these parameters are
    25     *  queried by a program's configuration script.
    26     */
    27    
    28    metaonly module Platform inherits xdc.platform.IPlatform
    29    {
    30        enum RuntimeEnv {
    31            STDIO,
    32            POSIX,
    33            BIOS
    34        };
    35        
    36        readonly config xdc.platform.IPlatform.Board BOARD = {      
    37            id:             "0",
    38            boardName:      "app510",
    39            boardFamily:    "app510",
    40            boardRevision:  null,
    41        };
    42            
    43        readonly config xdc.platform.IExeContext.Cpu CPU = {
    44            id:             "0",
    45            clockRate:      180.0,
    46            catalogName:    "ti.catalog.arm",
    47            deviceName:     "TMS320CDM510",
    48            revision:       "1.0",
    49        };
    50    
    51    instance:
    52    
    53        override readonly config xdc.platform.IPlatform.Memory
    54            externalMemoryMap[string] = [
    55                ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x01000000}],
    56            ];
    57    
    58        /* default segment for code sections */
    59        override config string codeMemory = "DDR2";
    60    
    61        /* default segment for data sections */
    62        override config string dataMemory = "DDR2";
    63    
    64        /* default segment for stack sections */
    65        override config string stackMemory = "DDR2";
    66    
    67        /*!
    68         *  ======== runTime ========
    69         *  The runtime environment available to executables
    70         */
    71        config RuntimeEnv runTime = STDIO;
    72    
    73        /*!
    74         *  ======== singleCore ========
    75         *  no longer used!
    76         * @_nodoc
    77         */
    78        config Bool singleCore = true;
    79    }
    80    /*
    81     *  @(#) ti.platforms.app510; 1, 0, 0, 1,146; 6-4-2009 14:12:27; /db/ztree/library/trees/platform-k10x/src/
    82     */
    83