1    /*
     2     *  Copyright (c) 2009 by Texas Instruments and others.
     3     *  All rights reserved. This program and the accompanying materials
     4     *  are made available under the terms of the Eclipse Public License v1.0
     5     *  which accompanies this distribution, and is available at
     6     *  http://www.eclipse.org/legal/epl-v10.html
     7     *
     8     *  Contributors:
     9     *      Texas Instruments - initial implementation
    10     *
    11     * */
    12    
    13    /*
    14     *  ======== Platform.xdc ========
    15     *
    16     */
    17    
    18    package ti.platforms.qtPrimus;
    19    
    20    /*!
    21     *  ======== Platform ========
    22     *  Platform support for the qtPrimus
    23     *
    24     *  This module implements xdc.platform.IPlatform and defines configuration
    25     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    26     *
    27     *  The configuration parameters are initialized in this package's
    28     *  configuration script (package.cfg) and "bound" to the TCOM object
    29     *  model.  Once they are part of the model, these parameters are
    30     *  queried by a program's configuration script.
    31     */
    32    
    33    metaonly module Platform inherits xdc.platform.IPlatform
    34    {
    35        enum RuntimeEnv {
    36            STDIO,
    37            POSIX,
    38            BIOS
    39        };
    40        
    41        readonly config xdc.platform.IPlatform.Board BOARD = {      
    42            id:             "0",
    43            boardName:      "qtPrimus",
    44            boardFamily:    "qtPrimus",
    45            boardRevision:  null,
    46        };
    47            
    48        readonly config xdc.platform.IExeContext.Cpu DSP = {        
    49            id:             "0",
    50            clockRate:      300.0,
    51            catalogName:    "ti.catalog.c6000",
    52            deviceName:     "TMS320DA830",
    53            revision:       "1.0",
    54        };
    55        
    56        readonly config xdc.platform.IExeContext.Cpu GPP = {
    57            id:             "1",
    58            clockRate:      300.0,
    59            catalogName:    "ti.catalog.arm",
    60            deviceName:     "TMS320DA830",
    61            revision:       "1.0",
    62        };
    63    
    64    instance:
    65    
    66        /*
    67         *  ======== l1PMode ========
    68         *  Define the amount of L1P RAM used for L1 Program Cache.
    69         *
    70         *  Check the device documentation for valid values.
    71         */
    72        config String l1PMode;
    73        
    74        /*
    75         *  ======== l1DMode ========
    76         *  Define the amount of L1D RAM used for L1 Data Cache.
    77         *
    78         *  Check the device documentation for valid values.
    79         */
    80        config String l1DMode;
    81        
    82        /*
    83         *  ======== l2Mode ========
    84         *  Define the amount of L2 RAM used for L2 Cache.
    85         *
    86         *  Check the device documentation for valid values.
    87         */
    88        config String l2Mode;
    89    
    90        /*!
    91         *  ======== runTime ========
    92         *  The runtime environment available to executables
    93         */
    94        config RuntimeEnv runTime = STDIO;
    95    
    96        /*!
    97         *  ======== singleCore ========
    98         *  no longer used!
    99         * @_nodoc
   100         */
   101        config Bool singleCore = true;
   102    }
   103    /*
   104     *  @(#) ti.platforms.qtPrimus; 1, 0, 0, 0,99; 12-9-2009 17:31:07; /db/ztree/library/trees/platform/platform-k27x/src/
   105     */
   106