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 evmDM357
    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    
    23    metaonly module Platform inherits xdc.platform.IPlatform
    24    {
    25        readonly config xdc.platform.IPlatform.Board BOARD = {      
    26            id:             "0",
    27            boardName:      "evmDM357",
    28            boardFamily:    "evmDM357",
    29            boardRevision:  null,
    30        };
    31            
    32        readonly config xdc.platform.IExeContext.Cpu DSP = {        
    33            id:             "0",
    34            clockRate:      540.0,
    35            catalogName:    "ti.catalog.c6000",
    36            deviceName:     "TMS320DM357",
    37            revision:       "1.0",
    38        };
    39        
    40        readonly config xdc.platform.IExeContext.Cpu GPP = {
    41            id:             "1",
    42            clockRate:      270.0,
    43            catalogName:    "ti.catalog.arm",
    44            deviceName:     "TMS320DM357",
    45            revision:       "1.0",
    46        };
    47    
    48    instance:
    49    
    50        override readonly config xdc.platform.IPlatform.Memory
    51            externalMemoryMap[string] = [
    52                ["DDR2", {name: "DDR2", base: 0x80000000, len: 0x10000000}],
    53            ];
    54    
    55        /* default segment for data sections */
    56        override config string dataMemory = "DDR2";
    57    
    58        /* default segment for stack sections */
    59        override config string stackMemory = "DDR2";
    60    }
    61    /*
    62     *  @(#) ti.platforms.evmDM357; 1, 0, 0,89; 6-4-2009 14:12:21; /db/ztree/library/trees/platform-k10x/src/
    63     */
    64