1    /*
     2     *  Copyright (c) 2010 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     *  ======== TMS320C5402.xdc ========
    15     */
    16    package ti.catalog.c5400;
    17    
    18    /*!
    19     *  ======== TMS320C5402 ========
    20     *  The C5402 device data sheet module.
    21     *
    22     *  This module implements the xdc.platform.ICpuDataSheet interface and is used
    23     *  by platforms to obtain "data sheet" information about this device.
    24     */
    25    metaonly module TMS320C5402 inherits ITMS320C54xx
    26    {
    27        config xdc.platform.IPlatform.Memory memBlock[string]  = [
    28            ["P_DARAM", {
    29                comment: "On-Chip Program DARAM",
    30                name: "P_DARAM",
    31                base: 0x80,
    32                len:  0x3f80,
    33                page: 0,
    34                space: "code"
    35            }],
    36        
    37            ["P_ROM", {
    38                comment: "On-Chip Program ROM",
    39                name: "P_ROM",
    40                base: 0xf000,
    41                len:  0xf00,
    42                page: 0,
    43                space: "code"
    44            }],
    45        
    46            ["VECT", {
    47                comment: "On-Chip Interrupts",
    48                name: "VECT",
    49                base: 0xff80,
    50                len:  0x80,
    51                page: 0,
    52                space: "code"
    53            }],
    54        
    55            ["D_SPRAM", {
    56                comment: "Scratch-Pad RAM",
    57                name: "D_SPRAM",
    58                base: 0x60,
    59                len:  0x20, 
    60                page: 1,
    61                space: "data"
    62            }],
    63        
    64            ["D_DARAM", {
    65                comment: "On-Chip Data DARAM",
    66                name: "D_DARAM",
    67                base: 0x80,
    68                len:  0x3f80,
    69                page: 1,
    70                space: "data"
    71            }],
    72        
    73            ["D_ROM", {
    74                comment: "On-Chip Data ROM",
    75                name: "D_ROM", 
    76                base: 0xf000,
    77                len:  0xf00, 
    78                page: 1,
    79                space: "data"
    80            }],
    81        ];
    82    
    83    instance:
    84        override config string   cpuCoreRevision = "1.0";
    85    
    86        /*!
    87         *  ======== memMap ========
    88         *  The default memory map for this device
    89         */
    90        config xdc.platform.IPlatform.Memory memMap[string];
    91    };
    92    /*
    93     *  @(#) ti.catalog.c5400; 1, 0, 0, 0,276; 8-7-2010 18:18:00; /db/ztree/library/trees/platform/platform-l20x/src/
    94     */
    95