1    /*
     2     *  Copyright (c) 2012 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     *  ======== IAM335x.xdc ========
    15     *
    16     */
    17    
    18    /*!
    19     *  ======== IAM335x ========
    20     *  An interface implemented by all TI8168 devices
    21     *
    22     *  This interface is defined to factor common data about all TI8168 type devices
    23     *  into a single place; they all have the same internal memory.
    24     */
    25    metaonly interface IAM335X inherits ti.catalog.ICpuDataSheet
    26    {
    27    instance:
    28        config ti.catalog.peripherals.hdvicp2.HDVICP2.Instance hdvicp0;
    29        config ti.catalog.peripherals.hdvicp2.HDVICP2.Instance hdvicp1;
    30        config ti.catalog.peripherals.hdvicp2.HDVICP2.Instance hdvicp2;
    31    
    32        override config string cpuCore           = "v7A";
    33        override config string isa               = "v7A";
    34        override config string cpuCoreRevision   = "1.0";
    35        override config int    minProgUnitSize   = 1;
    36        override config int    minDataUnitSize   = 1;
    37        override config int    dataWordSize      = 4;
    38    
    39        /*!
    40         *  ======== memMap ========
    41         *  The memory map returned be getMemoryMap().
    42         */
    43        config xdc.platform.IPlatform.Memory memMap[string]  = [
    44            ["SRAM_LO", {
    45                comment:    "Secure SRAM locked",
    46                name:       "SRAM_LO",
    47                base:       0x402F0000,
    48                len:        0x00000400,
    49                space:      "code/data",
    50                access:     "RWX"
    51            }],
    52        
    53            ["SRAM_HI", {
    54                comment:    "Secure SRAM open",
    55                name:       "SRAM_HI",
    56                base:       0x402F0400,
    57                len:        0x0000FC00,
    58                space:      "code/data",
    59                access:     "RWX"
    60            }],
    61        
    62            /* 
    63             * OCMC (On-chip RAM)
    64             * Size is 64K
    65             */
    66            ["OCMC", {
    67                name:       "OCMC_SRAM",
    68                base:       0x40300000, 
    69                len:        0x00010000,
    70                space:      "code/data",
    71                access:     "RWX"
    72            }],
    73        ];
    74    }
    75    /*
    76     *  @(#) ti.catalog.arm.cortexa8; 1, 0, 0,155; 8-17-2012 22:13:10; /db/ztree/library/trees/platform/platform-n27x/src/
    77     */
    78