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