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 evm6678
    21     */
    22    metaonly module Platform inherits xdc.platform.IPlatform
    23    {
    24        readonly config xdc.platform.IPlatform.Board BOARD = {      
    25            id:             "0",
    26            boardName:      "evm6678",
    27            boardFamily:    "evm6678",
    28            boardRevision:  null,
    29        };
    30            
    31        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    32            id:             "0",
    33            clockRate:      1000,
    34            catalogName:    "ti.catalog.c6000",
    35            deviceName:     "TMS320C6678",
    36            revision:       "1.0",
    37        };
    38        
    39    instance:
    40    
    41        override readonly config xdc.platform.IPlatform.Memory
    42            externalMemoryMap[string] = [
    43                ["DDR3", {name: "DDR3", base: 0x80000000, len: 0x20000000}],
    44        ];
    45    
    46        override config string codeMemory  = "L2SRAM";
    47        override config string dataMemory  = "L2SRAM";
    48        override config string stackMemory = "L2SRAM";
    49    
    50        /*
    51         *  ======== l1PMode ========
    52         *  Define the amount of L1P RAM used for L1 Program Cache.
    53         *
    54         *  Check the device documentation for valid values.
    55         */
    56        config String l1PMode = "32k";
    57        
    58        /*
    59         *  ======== l1DMode ========
    60         *  Define the amount of L1D RAM used for L1 Data Cache.
    61         *
    62         *  Check the device documentation for valid values.
    63         */
    64        config String l1DMode = "32k";
    65        
    66        /*
    67         *  ======== l2Mode ========
    68         *  Define the amount of L2 RAM used for L2 Cache.
    69         *
    70         *  Check the device documentation for valid values.
    71         */
    72        config String l2Mode = "0k";
    73    };
    74    /*
    75     *  @(#) ti.platforms.evm6678; 1, 0, 0, 0,4; 12-3-2010 12:43:12; /db/ztree/library/trees/platform/platform-l29x/src/
    76     */
    77