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    package ti.platforms.dsk6211;
    19    
    20    /*!
    21     *  ======== Platform ========
    22     *  Platform support for the dsk6211
    23     *
    24     *  This module implements xdc.platform.IPlatform and defines configuration
    25     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    26     *
    27     *  The configuration parameters are initialized in this package's
    28     *  configuration script (package.cfg) and "bound" to the TCOM object
    29     *  model.  Once they are part of the model, these parameters are
    30     *  queried by a program's configuration script.
    31     *
    32     *  This particular platform has a single Cpu, and therefore, only
    33     *  declares a single CPU configuration object.  Multi-CPU platforms
    34     *  would declare multiple Cpu configuration parameters (one per
    35     *  platform CPU).
    36     */
    37    metaonly module Platform inherits xdc.platform.IPlatform
    38    {
    39        readonly config xdc.platform.IPlatform.Board BOARD = {      
    40            id:             "0",
    41            boardName:      "dsk6211",
    42            boardFamily:    "dsk6211",
    43            boardRevision:  null,
    44        };
    45            
    46        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    47            id:             "0",
    48            clockRate:      150.0,
    49            catalogName:    "ti.catalog.c6000",
    50            deviceName:     "TMS320C6211",
    51            revision:       "",
    52        };
    53        
    54    instance:
    55    
    56        override readonly config xdc.platform.IPlatform.Memory
    57            externalMemoryMap[string] = [
    58                ["SDRAM",  {name: "SDRAM",  base: 0x80000000, len: 0x400000}],
    59            ];
    60    
    61        override config string codeMemory = "IRAM";
    62        
    63        override config string dataMemory = "SDRAM";
    64    
    65        override config string stackMemory = "SDRAM";
    66    };
    67    /*
    68     *  @(#) ti.platforms.dsk6211; 1, 0, 0,298; 8-7-2010 18:28:30; /db/ztree/library/trees/platform/platform-l20x/src/
    69     */
    70