This is a QuickStart Tutorial showing you how to make a simple FPGA circuit in DesignLab.
In this tutorial, we are going to show you how to make a new project using an FPGA circuit. We will create a simple circuit that consists of an inverter, and connect the input to a button and the output to an LED. When we press the button, the LED shows the inverted output.
Create a New FPGA Circuit
To create a new FPGA circuit project, click on the “New” icon.
Or select “New FPGA Circuit Project” from the File menu
This will open a new window of a blank circuit template.
Creating a New Sketch
Save the template file as a new file.
Editing the Project
Click on the “Edit” icon to edit the project using ISE Schematic Editor.
This will open the ISE Schematic Editor.
To find the top level, look for a file called “Papilio_Pro (Papilio_Pro.sch)”, and double click on it.
This will open the schematic editor:
Creating a Simple Circuit
Create a simple circuit that takes an input, inverts it, and puts it on an output. Click the Symbols tab at the bottom of the page, then click on “All Symbols” in the upper list box.
Search for the symbol of the inverter: Type “inv” in the “Search Name Filter” text box, then click on “inv” in the Symbols list box to select it.
Drop the inverter symbol on the schematic editor workspace.
Click on the Connector icon to connect 2 I/O markers.
The I/O markers tell the software which external pins you want to connect to on your FPGA board. To see which pins are available on the Papilio board, go to the Design tab and click Utility.
This will open Papilio One and Papilio Pro connections diagram, showing all the pins available. We are going to use WING_AL0 and WING_AL1.
Go back to the schematic editor, right click the input I/O marker and rename it WING_AL0.
Rename the output I/O marker WING_AL1. This will be an LED.
The final circuit should look as follows:
So, when you connect a button and an LED to the AL position on the FPGA board, the input on the button will be inverted and connected to the LED.
Synthesizing the Circuit
Go to the Design tab, make sure that the top level is selected, then double click “Generate Programming File”. To view the console, click the toggle icon (With the hammer picture) to toggle transcript.
This might take a while. After the process is completed, the console window will show the message “Process ‘Generate Programming File’ completed successfully.
Loading the Circuit to the Board
Go back to the QuickStart sketch. Make sure that you’ve connected your Papilio board to the USB port, then click the “Load Circuit” icon.
When the circuit is loaded, you will see the following message “Done burning bitfile”, indicating that the circuit is running on the FPGA board.
Full Video Walkthrough