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