1    /*
     2     * Copyright (c) 2016, Texas Instruments Incorporated
     3     * All rights reserved.
     4     *
     5     * Redistribution and use in source and binary forms, with or without
     6     * modification, are permitted provided that the following conditions
     7     * are met:
     8     *
     9     * *  Redistributions of source code must retain the above copyright
    10     *    notice, this list of conditions and the following disclaimer.
    11     *
    12     * *  Redistributions in binary form must reproduce the above copyright
    13     *    notice, this list of conditions and the following disclaimer in the
    14     *    documentation and/or other materials provided with the distribution.
    15     *
    16     * *  Neither the name of Texas Instruments Incorporated nor the names of
    17     *    its contributors may be used to endorse or promote products derived
    18     *    from this software without specific prior written permission.
    19     *
    20     * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    21     * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    22     * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    23     * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    24     * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    25     * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    26     * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    27     * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    28     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    29     * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    30     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    31     */
    32    
    33    /*
    34     *  ======== TMS320C2808.xdc ========
    35     *
    36     *! 07-Apr-2005 sasha   Moved H0SARAM from 0x3FA000 to 0xA000 (Cindy's review)
    37     *! 08-Mar-2005 sasha   Created from C2808.tci.
    38     */
    39    package ti.catalog.c2800;
    40    
    41    /*!
    42     *  ======== TMS320C2808 ========
    43     *  The C2808 device data sheet module.
    44     *
    45     *  This module implements the xdc.platform.ICpuDataSheet interface and is used
    46     *  by platforms to obtain "data sheet" information about this device.
    47     */
    48    metaonly module TMS320C2808 inherits ITMS320C28xx
    49    {
    50    instance:
    51        override config string   cpuCoreRevision = "1.0";
    52    
    53        /*!
    54         *  ======== memMap ========
    55         *  The default memory map for this device
    56         */
    57        config xdc.platform.IPlatform.Memory memMap[string]  = [
    58            ["MSARAM", {
    59                comment: "On-Chip RAM Memory",
    60                name: "MSARAM",
    61                base: 0x0,
    62                len:  0x800,
    63                page: 0,
    64                space: "code/data"
    65            }],
    66    
    67            ["PIEVECT", {
    68                comment: "On-Chip PIEVECT RAM Memory",
    69                name:    "PIEVECT",
    70                base:    0xD00,
    71                len:     0x100,
    72                page: 1,
    73                space:   "data"
    74            }],
    75    
    76            ["LSARAM", {
    77                comment: "On-Chip RAM Memory",
    78                name: "LSARAM",
    79                base: 0x8000,
    80                len:  0x2000,
    81                page: 0,
    82                space: "code/data"
    83            }],
    84    
    85            ["OTP", {
    86                comment: "1K X 16 OTP memory",
    87                name: "OTP",
    88                base: 0x3D7800,
    89                len:  0x000400,
    90                page: 0,
    91                space: "code/data"
    92            }],
    93    
    94            ["FLASH", {
    95                comment: "64K X 16 Flash memory",
    96                name: "FLASH",
    97                base: 0x3E8000,
    98                len:  0x00ff80,
    99                page: 0,
   100                space: "code/data"
   101            }],
   102    
   103            ["BEGIN", {
   104                comment: "FLASH boot entry point",
   105                name: "BEGIN",
   106                base: 0x3f7ff6,
   107                len:  0x000002,
   108                page: 0,
   109                space: "code"
   110            }],
   111    
   112            ["H0SARAM", {
   113                comment: "On-Chip RAM Memory",
   114                name: "H0SARAM",
   115                base: 0xA000,
   116                len:  0x2000,
   117                page: 0,
   118                space: "code/data"
   119            }],
   120    
   121            ["BOOTROM", {
   122                comment: "On-Chip Boot ROM",
   123                name: "BOOTROM",
   124                base: 0x3FF000,
   125                len:  0x000FC0,
   126                page: 0,
   127                space: "code/data"
   128            }],
   129        ];
   130    };