GENERAL INFORMATION:

Design:              UART
Compatible software: Workview v4.1 or Powerview v5.0
                     XEPLD fitter from XACT v5.0
                     XABEL v5.0 (optional)
                     Xilinx Viewlogic Interface v5.0

Platform:            PC or Sun
Target device:       XC7354-68 or larger (any speed)

The UART tutorial demonstrates a typical EPLD schematic design flow.
The logic of a UART receiver is expressed by a Viewlogic schematic containing 
standard library components and a PAL22V10. The PAL logic is defined using 
an ABEL equation file, rcvr.abl. A PALASM version of the PAL file is also 
provided (rcvr.pld) if you are not using the XABEL compiler. (For a 
completely schematic-based version of the UART design, see the UARTTOP 
tutorial.)

DESIGN IMPLEMENTATION FLOW:

The ABEL equation file is first translated to PLUSASM using the XABEL compiler. 
You can compile the files under the XABEL interface, which can be invoked by 
selecting DesignEntry -> XABEL in the XDM menu. You can also invoke the 
ABEL-to-PLUSASM translator by entering the following command:

  abl2pld -p 7354 rcvr

The UART schematic is then converted into an xnf netlist and read into the 
XEPLD software using the XEMAKE command as follows:

  1. In XDM, select Translate -> XEMAKE.
  2. Select Done when options are listed.
  3. Select "uart.1" from the list of design names.
  4. Select "Make design database" as the target.

XEMAKE automatically invokes the Viewlogic interface, which generates the xnf 
netlist file. It then invokes the EPLD fitter (FITNET) to implement the 
design. The fitter generates a design database file (uart.vmh) representing 
the implemented design. The fitter produces several report files, including 
Resources (.res), Mapping (.map), Pinlist (.pin), and Partitioning (.par), all 
provided in this directory as examples (uart.*).

DESIGN VERIFICATION FLOW:

The UART tutorial directory contains ViewSim command files for 
running timing simulation on the UART design after it is implemented. A timing 
simulation netlist is generated from the design database using the XSIMMAKE 
command as follows:

  1. In XDM, select Verify -> XSIMMAKE.
  2. Select the "-F" option and select "Viewlogic_EPLD_Timing"; then select Done.
  3. Select uart.vmh from the list of design names.

XSIMMAKE generates a ViewSim simulation netlist, uart.vsm. You can now invoke 
the ViewSim simulator and execute the uart.cmd command file as follows:

  1. In ViewSim, type "uart" to execute the uart.cmd file.
  2. Type "Run".
  3. View the result by opening a ViewWave (or ViewTrace) window to display 
     the uart.wfm file generated by ViewSim.

DOCUMENTATION REFERENCE:

A complete description of the UART design tutorial is provided in the XEPLD 
Tutorial chapter of the Xilinx Viewlogic Interface User Guide.

