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     *  ======== F28M35x.xdc ========
    35     *
    36     */
    37    package ti.catalog.c2800;
    38    
    39    /*!
    40     *  ======== F28M35x ========
    41     *  The F28M35x device data sheet module.
    42     *
    43     *  This module implements the xdc.platform.ICpuDataSheet interface and is used
    44     *  by platforms to obtain "data sheet" information about this device.
    45     */
    46    metaonly module F28M35x inherits ITMS320C283xx
    47    {
    48    instance:
    49        override config string   cpuCoreRevision = "1.0";
    50    
    51        /*!
    52         *  ======== memMap ========
    53         *  The default memory map for this device
    54         */
    55        config xdc.platform.IPlatform.Memory memMap[string]  = [
    56            ["M01SARAM", {
    57                comment: "On-Chip RAM Memory",
    58                name: "M01SARAM",
    59                base: 0x0,
    60                len:  0x800,
    61                page: 1,
    62                space: "code/data",
    63                access: "RWX"
    64            }],
    65    
    66            ["PIEVECT", {
    67                comment: "On-Chip PIEVECT RAM Memory",
    68                name: "PIEVECT",
    69                base: 0xD00,
    70                len:  0x100,
    71                page: 0,
    72                space: "data",
    73                access: "RW"
    74            }],
    75    
    76            ["L03SARAM", {
    77                comment: "On-Chip RAM Memory",
    78                name: "L03SARAM",
    79                base: 0x8000,
    80                len:  0x4000,
    81                page: 1,
    82                space: "code/data",
    83                access: "RWX"
    84            }],
    85    
    86            ["S07SHRAM", {
    87                comment: "On-Chip Shared RAM Memory",
    88                name: "S07SHRAM",
    89                base: 0xC000,
    90                len:  0x8000,
    91                page: 1,
    92                space: "code/data",
    93                access: "RWX"
    94            }],
    95    
    96            ["CTOMMSGRAM", {
    97                comment: "C28 to M3 MSG RAM Memory",
    98                name: "CTOMMSGRAM",
    99                base: 0x3F800,
   100                len:  0x00400,
   101                page: 1,
   102                space: "data",
   103                access: "RW"
   104            }],
   105    
   106            ["MTOCMSGRAM", {
   107                comment: "M3 to C28 MSG RAM Memory",
   108                name: "MTOCMSGRAM",
   109                base: 0x3FC00,
   110                len:  0x00400,
   111                page: 1,
   112                space: "data",
   113                access: "R"
   114            }],
   115    
   116            ["OTP", {
   117                comment: "1K X 16 OTP memory",
   118                name: "OTP",
   119                base: 0x240400,
   120                len:  0x000400,
   121                page: 0,
   122                space: "code",
   123                access: "RWX"
   124            }],
   125    
   126            ["FLASH", {
   127                comment: "256K X 16 Flash memory",
   128                name: "FLASH",
   129                base: 0x100000,
   130                len:  0x03fffe,
   131                page: 0,
   132                space: "code/data",
   133                access: "RWX"
   134            }],
   135    
   136            ["BEGIN", {
   137                comment: "Used for Flash boot",
   138                name: "BEGIN",
   139                base: 0x13fffe,
   140                len:  0x000002,
   141                page: 0,
   142                space: "code/data",
   143                access: "RWX"
   144            }],
   145    
   146            ["BOOTROM", {
   147                comment: "On-Chip Boot ROM",
   148                name: "BOOTROM",
   149                base: 0x3f8000,
   150                len:  0x008000,
   151                page: 0,
   152                space: "code",
   153                access: "RX"
   154            }],
   155        ];
   156    };