1    /* --COPYRIGHT--,EPL
     2     *  Copyright (c) 2009 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     * --/COPYRIGHT--*/
    12    
    13    /*
    14     *  ======== Platform.xdc ========
    15     *
    16     */
    17    
    18    /*!
    19     *  ======== Platform ========
    20     *  Platform support for the evmDM357
    21     *
    22     *  This module implements xdc.platform.IPlatform and defines configuration
    23     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    24     */
    25    
    26    metaonly module Platform inherits xdc.platform.IPlatform
    27    {
    28        readonly config xdc.platform.IPlatform.Board BOARD = {      
    29            id:             "0",
    30            boardName:      "evmDM357",
    31            boardFamily:    "evmDM357",
    32            boardRevision:  null,
    33        };
    34            
    35        readonly config xdc.platform.IExeContext.Cpu DSP = {        
    36            id:             "0",
    37            clockRate:      540.0,
    38            catalogName:    "ti.catalog.c6000",
    39            deviceName:     "TMS320DM357",
    40            revision:       "1.0",
    41        };
    42        
    43        readonly config xdc.platform.IExeContext.Cpu GPP = {
    44            id:             "1",
    45            clockRate:      270.0,
    46            catalogName:    "ti.catalog.arm",
    47            deviceName:     "TMS320DM357",
    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: 0x10000000}],
    56            ];
    57    
    58        /* default segment for data sections */
    59        override config string dataMemory = "DDR2";
    60    
    61        /* default segment for stack sections */
    62        override config string stackMemory = "DDR2";
    63    }
    64    /*
    65     *  @(#) ti.platforms.evmDM357; 1, 0, 0,109; 8-28-2009 10:26:58; /db/ztree/library/trees/platform-k19x/src/
    66     */
    67