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    /*!
    16     *  ======== Platform ========
    17     *  Platform support for the simTesla
    18     */
    19    metaonly module Platform inherits xdc.platform.IPlatform
    20    {
    21        readonly config xdc.platform.IPlatform.Board BOARD = {      
    22            id:             "0",
    23            boardName:      "simTesla",
    24            boardFamily:    "simTesla",
    25            boardRevision:  null,
    26        };
    27            
    28        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    29            id:             "0",
    30            clockRate:      466,
    31            catalogName:    "ti.catalog.c6000.nda",
    32            deviceName:     "Tesla",
    33            revision:       "1.0",
    34        };
    35        
    36    instance:
    37    
    38        /*!
    39         *  ======== externalMemoryMap ========
    40         *  Memory regions as defined in the Tesla Functional Specification
    41         */
    42    
    43        override readonly config xdc.platform.IPlatform.Memory
    44            externalMemoryMap[string] = [
    45    
    46                ["EXT_RAM", {
    47                    comment: "External RAM",
    48                    name: "EXT_RAM",
    49                    base: 0x20000000, 
    50                    len:  0x01000000
    51                }],
    52    
    53            ];
    54    
    55    
    56        override config string codeMemory  = "EXT_RAM";
    57        override config string dataMemory  = "EXT_RAM";
    58        override config string stackMemory = "EXT_RAM";
    59    };
    60    /*
    61     *  @(#) ti.platforms.simTesla; 1, 0, 0, 0,25; 6-4-2009 14:26:02; /db/ztree/library/trees/platform-k10x/src/
    62     */
    63