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 evmDM6467
    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     *  This particular platform has a single Cpu, and therefore, only
    28     *  declares a single CPU configuration object.  Multi-CPU platforms
    29     *  would declare multiple Cpu configuration parameters (one per
    30     *  platform CPU).
    31     */
    32    
    33    metaonly module Platform inherits xdc.platform.IPlatform
    34    {
    35        enum RuntimeEnv {
    36            STDIO,
    37            POSIX,
    38            BIOS
    39        };
    40        
    41        readonly config xdc.platform.IPlatform.Board BOARD = {      
    42            id:             "0",
    43            boardName:      "evmDM6467",
    44            boardFamily:    "evmDM6467",
    45            boardRevision:  null,
    46        };
    47            
    48        readonly config xdc.platform.IExeContext.Cpu DSP = {        
    49            id:             "0",
    50            clockRate:      594.0,
    51            catalogName:    "ti.catalog.c6000",
    52            deviceName:     "TMS320CDM6467",
    53            revision:       "1.0",
    54        };
    55        
    56        readonly config xdc.platform.IExeContext.Cpu GPP = {
    57            id:             "1",
    58            clockRate:      297.0,
    59            catalogName:    "ti.catalog.arm",
    60            deviceName:     "TMS320CDM6467",
    61            revision:       "1.0",
    62        };
    63    
    64    instance:
    65    
    66        /*
    67         *  ======== memTab ========
    68         *  Define the evmDaVinci memory map
    69         */
    70        override readonly config xdc.platform.IPlatform.Memory
    71            externalMemoryMap[string] = [
    72                ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x10000000}],
    73            ];
    74    
    75        /* default segment for data sections */
    76        override config string dataMemory = "DDR2";
    77    
    78        /* default segment for stack sections */
    79        override config string stackMemory = "DDR2";
    80    
    81        /*!
    82         *  ======== runTime ========
    83         *  The runtime environment available to executables
    84         */
    85        config RuntimeEnv runTime = STDIO;
    86    
    87        /*!
    88         *  ======== singleCore ========
    89         *  no longer used!
    90         * @_nodoc
    91         */
    92        config Bool singleCore = true;
    93    }
    94    /*
    95     *  @(#) ti.platforms.evmDM6467; 1, 0, 0, 0,184; 6-4-2009 14:12:16; /db/ztree/library/trees/platform-k10x/src/
    96     */
    97