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.qtPrimus;
    16    
    17    /*!
    18     *  ======== Platform ========
    19     *  Platform support for the qtPrimus
    20     *
    21     *  This module implements xdc.platform.IPlatform and defines configuration
    22     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    23     *
    24     *  The configuration parameters are initialized in this package's
    25     *  configuration script (package.cfg) and "bound" to the TCOM object
    26     *  model.  Once they are part of the model, these parameters are
    27     *  queried by a program's configuration script.
    28     */
    29    
    30    metaonly module Platform inherits xdc.platform.IPlatform
    31    {
    32        enum RuntimeEnv {
    33            STDIO,
    34            POSIX,
    35            BIOS
    36        };
    37        
    38        readonly config xdc.platform.IPlatform.Board BOARD = {      
    39            id:             "0",
    40            boardName:      "qtPrimus",
    41            boardFamily:    "qtPrimus",
    42            boardRevision:  null,
    43        };
    44            
    45        readonly config xdc.platform.IExeContext.Cpu DSP = {        
    46            id:             "0",
    47            clockRate:      300.0,
    48            catalogName:    "ti.catalog.c6000.nda",
    49            deviceName:     "Primus",
    50            revision:       "1.0",
    51        };
    52        
    53        readonly config xdc.platform.IExeContext.Cpu GPP = {
    54            id:             "1",
    55            clockRate:      300.0,
    56            catalogName:    "ti.catalog.arm.nda",
    57            deviceName:     "Primus",
    58            revision:       "1.0",
    59        };
    60    
    61    instance:
    62    
    63        /*
    64         *  ======== l1PMode ========
    65         *  Define the amount of L1P RAM used for L1 Program Cache.
    66         *
    67         *  Check the device documentation for valid values.
    68         */
    69        config String l1PMode;
    70        
    71        /*
    72         *  ======== l1DMode ========
    73         *  Define the amount of L1D RAM used for L1 Data Cache.
    74         *
    75         *  Check the device documentation for valid values.
    76         */
    77        config String l1DMode;
    78        
    79        /*
    80         *  ======== l2Mode ========
    81         *  Define the amount of L2 RAM used for L2 Cache.
    82         *
    83         *  Check the device documentation for valid values.
    84         */
    85        config String l2Mode;
    86    
    87        /*!
    88         *  ======== runTime ========
    89         *  The runtime environment available to executables
    90         */
    91        config RuntimeEnv runTime = STDIO;
    92    
    93        /*!
    94         *  ======== singleCore ========
    95         *  no longer used!
    96         * @_nodoc
    97         */
    98        config Bool singleCore = true;
    99    }
   100    /*
   101     *  @(#) ti.platforms.qtPrimus; 1, 0, 0, 0,80; 6-4-2009 14:25:05; /db/ztree/library/trees/platform-k10x/src/
   102     */
   103