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.evmTMS570;
    15    
    16    /*!
    17     *  ======== Platform ========
    18     *  Simulation-based Platform support for TI Arm (470x) 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:      "evmTMS570",
    42            boardFamily:    "evmTMS570",
    43            boardRevision:  null
    44        };
    45    
    46        /*!
    47         *  ======== CPU ========
    48         *  The  Cortex R4 core
    49         */
    50        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    51            id:             "0",
    52            clockRate:      150.0,
    53            catalogName:    "ti.catalog.arm",
    54            deviceName:     "TMS570PSF762",
    55            revision:       "",
    56        };
    57    
    58    instance:
    59    
    60        /*!
    61         *  ======== deviceName ========
    62         *  The CPU simulated by this simulator platform.
    63         *
    64         *  This parameter is optional. If it's not set, then the Platform module
    65         *  parameter CPU.deviceName is used.
    66         */
    67        config string deviceName;
    68    
    69        override config string codeMemory = "IRAM";
    70        override config string dataMemory = "IRAM";
    71        override config string stackMemory = "IRAM";
    72    };
    73    /*
    74     *  @(#) ti.platforms.evmTMS570; 1, 0, 1, 1,66; 6-4-2009 14:12:37; /db/ztree/library/trees/platform-k10x/src/
    75     */
    76