Get Started | Papilio - Xilinx WebPack VHDL - ZPUino

Papilio Quick Start Guide

Overview

Welcome to the Papilio Quickstart Guide and the exciting world of FPGA development. This guide covers the basics of installing the software and drivers needed to load the various projects that you create for or download to the Papilio Platform hardware. It also covers loading a basic, “Hello World” bitstream that blinks pins and outputs an ASCII table over the serial port. This guide does not cover the creation of VHDL code, it will get you up to speed with loading a bit file to the Papilio. For a more in depth guide on writing VHDL code for the Papilio download Hamster's free eBook.


All the Papilio tools work under Linux, visit the Linux Getting Started page for more info.


Install Papilio Loader and Drivers

The Papilio Loader allows Xilinx bit files to loaded to the Papilio by simply double clicking on them. The Windows Installer will install the Papilio drivers, Papilio Loader, and will make all file associations. It is a very straight forward Windows Installer that will take care of everything automatically.

Download the latest version of the Papilio Loader Windows Installer

Important: Windows 8 already includes the best drivers for the Papilio. During installation on Windows 8 cancel the drivers installation step and let Windows 8 automatically install drivers for you. If you try to install the Papilio drivers Windows 8 will not allow you. It is best to use the FTDI drivers included with Windows 8 to avoid this problem.


Load "Hello World" bit file

Overview

The Papilio One QuickStart sketch is a “Hello World” example that does the following:

  • Blinks all of the even numbered pins.
  • Configures all of the odd number pins as inputs. When a odd number pin is asserted it will cause the even pin next to it to stop blinking and stay at 3.3V.
  • Sends the ASCII table at 9600 8N1 over the serial port in a continuous loop.
  • The B/LED Wing can be plugged into any of the Wing Slots and the LED’s will be blinking. Pressing any of the buttons will cause the LED to stay lit while the button is pressed.

Download

Papilio Loader Help To learn more about what you can do with the Papilio Loader visit the Papilio Loader Help page.

Observe Results

The output of the "Hello World" bit file can be observed by plugging a B/LED Wing in to see the LED’s blinking or by connecting a multimeter to any of the even numbered pins.


Viewing the ASCII table output

  • Open a serial communications program such as Hyperterminal or Putty. This assumes the use of Putty.
  • Determine the number of the COM port the Papilio is using.
  1. Right click on “My Computer” and select “Manage”.
  2. Click on “Device Manager”
  3. Expand “Ports”
  4. Observe the “Papilio Serial Port”
  • Run Putty.exe and setup the following settings (substitute your COM port)
  • Press “Open” and observe the ASCII Table scrolling by.
  

Share |