           Using XPP to create prom files for 128's and 65's
                           January 31, 1994

The current release of XPP can only load files of a limited size.  If
you are programing the XC4000 devices in a daisy chain configuration
the maximum file size that XPP can load:

daisy chain of    4 XC4005 bit files
daisy chain of    2 XC4010 bit files
only one          1 XC4013 bit files

If your daisy chains are longer than this then you must cut the PROM
file into smaller units.  Xilinx has provided a utility called PSPLIT
which is available on the Xilinx BBS.

If your daisy chain configurations are within the size which XPP can
load, you can also use the XPP software to split a PROM file across
multiple sizes of XC17xxx devices.  If the prom file will fit into 3
xc1765d, then it will also fit into 1 xc17128d and 1 xc1765d.  This
will reduce overall component costs as well as increasing reliability. 
The XC17128d is plug compatible with the XC1765d, the only difference
is that it is twice as large.  This procedure is documented in the
"XACT Development System Reference Guide" in the XPP/serial
Configuration Prom Programmer section.  See the XPP Configuration
section.

"If more than one device type is to be programmed in a session (for
example, xc17128d, xc17128d, xc1765d or xc1736d, xc1765d), the
following would be entered when prompted for a new device list"

xc17128 xc17128 xc1765d or xc1736d xc1765d

The XPP software will then prompt you for the xc17xxx devices in the
order that you specified then.  Always order the proms starting with
the largest prom and ending with the smallest prom.

     Using PSPLIT for creating prom files for 128's, 65's, and 36's. 
                           January 31, 1994

1.      Uncompress and untar this file in the XACT directory.  This will 
        produce a psplit and a psplit.doc.  Please read the psplit.doc.

2.      Run "psplit" on the MAKEPROM file that contains you design
        file.  

        ie:  If you had a <design>.EXO file that went in to 3 xc1765d
        parts, you would re-target this file to 1 xc17128d and 1
        xc1765d.  You run "psplit" on the <design>.EXO.

             c> psplit <design>.EXO 16

                  ^        ^        ^
                  |        |        |_______ 128k bits / 8 = 16k bytes
                  |        |________________ Your prom file name
                  |_________________________ psplit program

        This will create 2 files: <design>1.EXO and <design>2.EXO. 
        <design>1.EXO will be programed in to the xc17128d and the
        <design>2.EXO will be programed in to the xc1765d.  You can
        run psplit on any prom file and it will create the required
        number of smaller files to fit into the specified size.  In
        most cases when you specify the 16 K-byte size files, the last
        one created can fit in a smaller part.  You can verify this by
        running psplit on the last prom file that psplit just created. 
        You would specify the next smaller prom size.

        ie:  From the previous example this would be <design>2.EXO.

             c> psplit <design>2.EXO 8

                  ^        ^        ^
                  |        |        |_______ 65k bits / 8 = 8k bytes
                  |        |________________ Your prom file name
                  |_________________________ psplit program

        If this file will fit in a xc1765d the psplit program will
        tell you and exit.  If it will not then the psplit program
        will produce the appropriate number of files.  If additional
        files are created this is an indication that you need to use
        another xc17128d rather than a xc1765d for the last prom in a
        daisy chain.

        To create prom files that will fit into xc1736d you will need
        to specify the prom size as "xc1736" rather than "4" because
        the xc1736d proms are 4536K bits not 4096K bits.

        ie:  From the previous example this would be <design>2.EXO.

             c> psplit <design>.EXO xc1736

                  ^        ^        ^
                  |        |        |_______ xc1736 prom (default)    
                  |        |________________ Your prom file name
                  |_________________________ psplit program

 
   Using PSPLIT, STRIPHEX, PCONFIG to create prom files for xc1736d and 
                       then xc1765d daisy chains. 
                           January 31, 1994

        If you have a design file that would split across a xc1765d
        and a xc1736d prom you will want to reverse the order so that
        you can avoid having the xc1765 CEO pin drive the xc1736d. 
        For situations where you are using a daisy chain of a xc1765d
        and a xc1736d you must use three programs of the XILINX bbs. 
        They are "psplit.zip", "striphex.zip", and "pconfig.zip".

        The psplit program is used to create prom files which could be
        loaded into xc1736d's.  For a daisy chain that will fit in to
        a xc1736d and xc1765d you will create three (3) xc1736d size
        prom files.

             c> psplit <design>.EXO xc1736

                  ^        ^        ^
                  |        |        |_______ xc1736 prom (default)    
                  |        |________________ Your prom file name
                  |_________________________ psplit program

        After running psplit you will have <design>1.exo,
        <design>2.exo, and <design>3.exo. 

        Leave the <design>1.exo as is.  Use the program STRIPHEX to
        strip the address and CRC bits out of <design>2.exo and
        <design>3.exo.

             c> striphex <design>n.EXO <design>n.<txt>

                  ^        ^              ^
                  |        |              |_______ Your output file.  
                  |        |______________________ Your prom file name
                  |_______________________________ striphex program

        Use a TEXT editor to paste the <design>2.txt and <design>3.txt
        together.  Then save this new file.  This new file
        <design_new>.txt will then be run through a program called
        PCONFIG.  You will run pconfig with the -h and -e options to
        generate a new design_new.EXO file.

             c> pconfig -h -e <design_new>.txt

                  ^        ^            ^
                  |        |            |_________ Your input file.   
                  |        |______________________ Your hex and exo   
                  |                                switches.        
                  |_______________________________ pconfig program

        This new file will be the second two/thirds of the original
        <design>.EXO and will fit in to the xc1765d prom.


        You should now have two EXO files, <design>1.EXO and
        <design_new>.EXO.  The <design>1.EXO will be programed into
        the xc1736d and the <design_new>.EXO will be programed into
        the xc1765d.  This way you have the xc1736d as the first prom
        in the daisy chain, and the xc1765d as the second.
   
            Using XPP to program xc1765's rather than 1765d's
                           January 31, 1994

Use XPP as you have always used it. To use the 1765 proms you will
simply need to select the xc1765 programing algorithm rather than the
xc1765d algorithm.
