1    /*
     2     *  Copyright (c) 2011 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         *  ======== l1PMode ========
    65         *  Define the amount of L1P RAM used for L1 Program Cache.
    66         *
    67         *  Check the device documentation for valid values.
    68         */
    69        config String l1PMode = "32k";
    70        
    71        /*
    72         *  ======== l1DMode ========
    73         *  Define the amount of L1D RAM used for L1 Data Cache.
    74         *
    75         *  Check the device documentation for valid values.
    76         */
    77        config String l1DMode = "32k";
    78        
    79        /*
    80         *  ======== l2Mode ========
    81         *  Define the amount of L2 RAM used for L2 Cache.
    82         *
    83         *  Check the device documentation for valid values.
    84         */
    85        config String l2Mode = "0k";
    86    };
    87    /*
    88     *  @(#) ti.platforms.simTesla; 1, 0, 0, 0,122; 11-9-2011 12:05:42; /db/ztree/library/trees/platform/platform-n08x/src/
    89     */
    90