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     *  ======== TMS320C6A8149.xdc ========
    35     */
    36    
    37    package ti.catalog.arp32;
    38    
    39    /*!
    40     *  ======== TMS320C6A8149 ========
    41     *  The TMS320C6A8149 device data sheet module.
    42     *
    43     *  This module implements the xdc.platform.ICpuDataSheet interface and is
    44     *  used by platforms to obtain "data sheet" information about this device.
    45     *
    46     */
    47    metaonly module TMS320C6A8149 inherits ti.catalog.ICpuDataSheet
    48    {
    49    instance:
    50        override config string cpuCore           = "ARP32";
    51        override config string isa               = "arp32";
    52        override config string cpuCoreRevision   = "1.0";
    53        override config int    minProgUnitSize   = 1;
    54        override config int    minDataUnitSize   = 1;
    55        override config int    dataWordSize      = 4;
    56    
    57        /*!
    58         *  ======== memMap ========
    59         *  The memory map returned be getMemoryMap().
    60         */
    61        config xdc.platform.IPlatform.Memory memMap[string]  = [
    62    
    63            ["DMEM", {
    64                comment: "32KB data memory",
    65                name: "DMEM",
    66                base: 0x40020000,
    67                len:  0x8000,
    68                space: "data",
    69                page: 1,
    70                access: "RW"
    71            }],
    72    
    73            ["WBUF", {
    74                comment: "VCOP work buffer",
    75                name: "WBUF",
    76                base: 0x40040000,
    77                len:  0x8000,
    78                space: "data",
    79                page: 1,
    80                access: "RW"
    81            }],
    82    
    83            ["IBUFLA", {
    84                comment: "Image buffer low copy A",
    85                name: "IBUFLA",
    86                base: 0x40050000,
    87                len:  0x4000,
    88                space: "data",
    89                page: 1,
    90                access: "RW"
    91            }],
    92    
    93            ["IBUFHA", {
    94                comment: "Image buffer high copy A",
    95                name: "IBUFHA",
    96                base: 0x40054000,
    97                len:  0x4000,
    98                space: "data",
    99                page: 1,
   100                access: "RW"
   101            }],
   102    
   103            ["IBUFLB", {
   104                comment: "Image buffer low copy B",
   105                name: "IBUFLB",
   106                base: 0x40070000,
   107                len:  0x4000,
   108                space: "data",
   109                page: 1,
   110                access: "RW"
   111            }],
   112    
   113            ["IBUFHB", {
   114                comment: "Image buffer high copy B",
   115                name: "IBUFHB",
   116                base: 0x40074000,
   117                len:  0x4000,
   118                space: "data",
   119                page: 1,
   120                access: "RW"
   121            }],
   122    
   123            ["OCMC", {
   124                comment:    "128KB L3 OCMC Memory",
   125                name:       "OCMC",
   126                base:       0x40300000,
   127                len:        0x00020000,
   128                space:      "code/data",
   129                page: 1,
   130                access:     "RWX"
   131            }],
   132        ];
   133    };