1    /*
     2     *  Copyright 2009 by Texas Instruments Incorporated.
     3     *
     4     *  All rights reserved. Property of Texas Instruments Incorporated.
     5     *  Restricted rights to use, duplicate or disclose this code are
     6     *  granted through contract.
     7     *
     8     */
     9    
    10    /*
    11     *  ======== Platform.xdc ========
    12     *
    13     */
    14    
    15    package ti.platforms.dsk6211;
    16    
    17    /*!
    18     *  ======== Platform ========
    19     *  Platform support for the dsk6211
    20     *
    21     *  This module implements xdc.platform.IPlatform and defines configuration
    22     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    23     *
    24     *  The configuration parameters are initialized in this package's
    25     *  configuration script (package.cfg) and "bound" to the TCOM object
    26     *  model.  Once they are part of the model, these parameters are
    27     *  queried by a program's configuration script.
    28     *
    29     *  This particular platform has a single Cpu, and therefore, only
    30     *  declares a single CPU configuration object.  Multi-CPU platforms
    31     *  would declare multiple Cpu configuration parameters (one per
    32     *  platform CPU).
    33     */
    34    metaonly module Platform inherits xdc.platform.IPlatform
    35    {
    36        readonly config xdc.platform.IPlatform.Board BOARD = {      
    37            id:             "0",
    38            boardName:      "dsk6211",
    39            boardFamily:    "dsk6211",
    40            boardRevision:  null,
    41        };
    42            
    43        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    44            id:             "0",
    45            clockRate:      150.0,
    46            catalogName:    "ti.catalog.c6000",
    47            deviceName:     "TMS320C6211",
    48            revision:       "",
    49        };
    50        
    51    instance:
    52    
    53        override readonly config xdc.platform.IPlatform.Memory
    54            externalMemoryMap[string] = [
    55                ["SDRAM",  {name: "SDRAM",  base: 0x80000000, len: 0x400000}],
    56            ];
    57    
    58        override config string codeMemory = "IRAM";
    59        
    60        override config string dataMemory = "SDRAM";
    61    
    62        override config string stackMemory = "SDRAM";
    63    };
    64    /*
    65     *  @(#) ti.platforms.dsk6211; 1, 0, 0,225; 6-4-2009 14:09:38; /db/ztree/library/trees/platform-k10x/src/
    66     */
    67