This Exercise is based on the material covered in Real Digital Project 2, which can be found in the red tab to the right. A downloadable document for this exercise is available in the orange tab to the right. The mention of grading within the downloadable document is due to the exercise material being used as course work for an electrical engineering class at a university.
In this exercise, you will download a .bit file (yellow tab) to your board to configure the FPGA with eight different logic circuits. The circuits use buttons and switches for inputs, and LEDs for outputs. You must probe the logic circuits by applying all possible combinations of input signals, and from the results write logic equations that describe the circuit's behavior.
Obtain the file “boardname_FPGA_lab1.bit” from the yellow tab above, and download it to your Digilent board following the procedure in Appendix A below. Your board will be configured with eight logic circuits that drive the eight on-board LEDs. You must find logic equations to describe the circuits. After the FPGA is configured with the bit file, apply all combinations of relevant inputs (hint: see the input variable names on the top row of each truth table), and use the output LED status to complete the following truth tables. Write a logic assignment equation that shows the behavior of each circuit (the equations do not need to be minimum).
Digilent Adept is a powerful application which allows for configuration and data transfer with Xilinx logic devices.
Although Adept is flexible enough to support many specific end-user requirements, most users can install Adept with default settings and immediately begin programming devices using a USB port.
This document provides a brief tutorial demonstrating the installation and basic use of Adept. For more complete information, please visit our website at www.digilentinc.com.
Adept is compatible with Windows 2K, XP, Vista, and 7. To install Adept, you must log on to your PC as an Administrator, disconnect any USB devices connected to the PC, and run the Adept System Installer (digilent.adept.system_v2.x.x.exe). Then, follow the instructions below.
To configure the Nexys2 board from your PC, open the Adept application (from the start menu, browse to “Start->Programs->Digilent->Adept ->Adept”). When launched, Adept connects to the first Digilent product it finds (or the last one selected) and attempts to initialize itself for device configuration. Most Digilent products contain device configuration capabilities, so the Config (configuration) tab is usually shown by default. Any configurable devices on the board are listed in the Config tab.
To directly program the FPGA, click the Browse button next to the FPGA device icon. An Open dialog box will appear. Select the appropriate configuration file in the Open dialog box and click the Open button. The selected file will be shown in a drop-gown list box next to the device. This drop-down list box also contains a history of opened configuration files for future access.
Click the Program button or right-click on the device icon and select Program Device. Once the FPGA has been programmed you should a screen similar to the following:
For more information on Adept, please see the Digilent Adept Application Users Manual.
Note: Once you have selected the .bit file for programming, you may get this warning window: