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