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.sim2810;
    15    
    16    /*!
    17     *  ======== Platform ========
    18     *  Simulation-based Platform support for 2810 platforms
    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        /*!
    36         *  ======== BOARD ========
    37         *  This platform's board attributes
    38         */
    39        readonly config xdc.platform.IPlatform.Board BOARD = {
    40            id:             "0",
    41            boardName:      "sim2810",
    42            boardFamily:    "sim2810",
    43            boardRevision:  null
    44        };
    45    
    46        /*!
    47         *  ======== CPU ========
    48         *  The CPU simulated by this platform.
    49         *
    50         */
    51        readonly config xdc.platform.IExeContext.Cpu   CPU = {      
    52            id:             "0",
    53            clockRate:      150.0,
    54            catalogName:    "ti.catalog.c2800",
    55            deviceName:     "TMS320C2810",
    56            revision:       null,
    57        };
    58        
    59    instance:
    60    
    61        override config string codeMemory = "H0SARAM";
    62        
    63        override config string dataMemory = "LSARAM";
    64    
    65        override config string stackMemory = "MSARAM";
    66    };
    67    /*
    68     *  @(#) ti.platforms.sim2810; 1, 0, 0,225; 6-4-2009 14:25:17; /db/ztree/library/trees/platform-k10x/src/
    69     */
    70