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     *  ======== Boot.xdc ========
    15     *
    16     */
    17    
    18    package ti.catalog.c2800.concertoInit;
    19    
    20    /*!
    21     *  ======== Boot ========
    22     *  Concerto C28 Boot Support.
    23     *
    24     *  This Boot module can be used to generate a small section that supports 
    25     *  booting the C28 processor from Flash.  It consists of a single 
    26     *  "LB _c_int00" instruction.  
    27     *
    28     *  When `{@link #bootFromFlash}` is true, the instruction will be placed
    29     *  at "BEGIN", as defined in the linker command file.
    30     *
    31     *  Boot also supports initializing Flash controller wait states, enabling
    32     *  program prefetches, and data caching within the Flash controller.
    33     */
    34    @Template("./Boot.xdt")
    35    @NoRuntime
    36    module Boot
    37    {
    38        /*!
    39         *  Boot from Flash flag.  Default is true.
    40         *
    41         *  Set to true to enable booting the C28 from Flash.
    42         */
    43        metaonly config Bool bootFromFlash = true;
    44    
    45        /*! 
    46         *  Flash controller wait states configuration flag, default is true.
    47         *
    48         *  Set to true to configure the Flash controller wait states.  The number
    49         *  of wait states is computed based upon the CPU frequency.
    50         */
    51        metaonly config Bool configureFlashWaitStates = true;
    52    
    53        /*! 
    54         *  Flash controller program prefetch enable flag, default is false.
    55         *
    56         *  Set to true to enable the Flash controller's program prefetch.
    57         *
    58         *  WARNING: Program prefetch must not be enabled on pre Revision A devices
    59         *  if there are any fast branch instructions in the program image.  See
    60         *  the device errata for more information.
    61         */
    62        metaonly config Bool enableFlashProgramPrefetch = false;
    63    
    64        /*! 
    65         *  Flash controller data cache enable flag, default is true.
    66         *
    67         *  Set to true to enable the Flash controller's data cache.
    68         */
    69        metaonly config Bool enableFlashDataCache = true;
    70    
    71    internal:
    72    
    73        /* The computed Flash wait states */
    74        metaonly config UInt flashWaitStates = 3;
    75    };   
    76    /*
    77     *  @(#) ti.catalog.c2800.concertoInit; 1, 0, 0,34; 8-17-2012 22:13:23; /db/ztree/library/trees/platform/platform-n27x/src/
    78     */
    79