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    /*!
    19     *  ======== Platform ========
    20     *  Platform support for the simTesla
    21     */
    22    metaonly module Platform inherits xdc.platform.IPlatform
    23    {
    24        readonly config xdc.platform.IPlatform.Board BOARD = {      
    25            id:             "0",
    26            boardName:      "simTesla",
    27            boardFamily:    "simTesla",
    28            boardRevision:  null,
    29        };
    30            
    31        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    32            id:             "0",
    33            clockRate:      466,
    34            catalogName:    "ti.catalog.c6000",
    35            deviceName:     "OMAP4430",
    36            revision:       "1.0",
    37        };
    38        
    39    instance:
    40    
    41        /*!
    42         *  ======== externalMemoryMap ========
    43         *  Memory regions as defined in the Tesla Functional Specification
    44         */
    45    
    46        override readonly config xdc.platform.IPlatform.Memory
    47            externalMemoryMap[string] = [
    48    
    49                ["EXT_RAM", {
    50                    comment: "External RAM",
    51                    name: "EXT_RAM",
    52                    base: 0x20000000, 
    53                    len:  0x01000000
    54                }],
    55    
    56            ];
    57    
    58    
    59        override config string codeMemory  = "EXT_RAM";
    60        override config string dataMemory  = "EXT_RAM";
    61        override config string stackMemory = "EXT_RAM";
    62    };
    63    /*
    64     *  @(#) ti.platforms.simTesla; 1, 0, 0, 0,69; 8-7-2010 18:32:48; /db/ztree/library/trees/platform/platform-l20x/src/
    65     */
    66