The FPGA demonstration board includes both an XC3000 family socket and an XC4000 family socket. This tutorial only targets the XC4000 family.
Locate the Calc tutorial for the XC4003E device and edit it as explained in this section to enable readback. This step is not necessary if you intend only to download your design.
Figure 9.1 Readback Symbol Connections |
The next step generates a bitstream for the Calc design from the Design Manager. To generate a bitstream, you must open the implemented Calc design from the Design Manager.
If you do not have a project for the Calc design, use the Design Manager to create a project for that design. If a project already exists for the Calc design but the project has not been updated, run the Design New Version command to read in the changes made in the schematic and to create a new version reflecting the updated schematic. Then, implement the design as explained in the Implementing a Design section of the Design Manager/Flow Engine Reference/User Guide.
Set the Configuration Bitstream options as explained in this section to generate a configuration file that you can use for programming, verifying, and debugging XC4000E designs. You must enable a pull-up resistor for the DONE pin, which is used for device configuration. You must also enable readback for the device.
To generate configuration data for XC3000A devices, refer to the Design Preparation chapter in this manual.
Figure 9.2 Design Manager Configuration Template Dialog Box |
For more information about configuration options, read the Implementation Options chapter in the Design Manager/Flow Engine Reference/User Guide.
To load the configuration bitstream to the demonstration board, you need one of the three available hardware cables: an XChecker cable, a parallel cable, or a serial cable. All three cables work with any of the Xilinx demonstration boards; however, the XChecker cable is the only cable that supports verification and debugging.
Before initiating the physical downloading of the design into the FPGA on a Xilinx demonstration board, you must hook up the board correctly to your computer.
You must also connect several control and power pins between the board and the cable. The bundles of leads supplied with the cables are labeled to help you connect the board to the cable.
Finally, you must connect a pair of power and ground pins to a regulated 5 volt power supply to provide power to the board and cable.
Cable Label | FPGA Board (XC4000E) |
---|---|
VCC | J2-1 |
GND | J2-3 |
No Connection | J2-5 |
CCLK | J2-7 |
D/P | J2-9 |
DIN | J2-11 |
XChecker and Serial Download Cable | |
PROG | J2-13 |
XChecker Cable Only | |
INIT | J2-15 |
RST | J2-17 |
XChecker Cable Label | FPGA Board (XC4000E) |
---|---|
CCLK | J2-7 |
RT | J2-19 |
RD | J2-21 |
TRIG | J2-23 |
CLKI | J2-25 |
CLKO | J2-27 |
For synchronous debugging, you would connect the RT, RD, and CLKO pins, and optionally, the TRIG and CLKI pins. See the Connecting Your Cable chapter for details.
FPGA Board | |
---|---|
J9-1 | +5 volts |
J9-2 | Gnd |
Make sure the FPGA demonstration board is set up for slave mode configuration. The configuration mode for the XC4000E family part is controlled by the SW2 bank of switches. Set the switches as shown in the SW2 Switch Settings for XC4000E Configuration table.
Switch | Label | Setting |
---|---|---|
SW2-1 | PWR | Don't Care |
SW2-2 | MPE | Off |
SW2-3 | SPE | Off |
SW2-4 | M0 | On |
SW2-5 | M1 | On |
SW2-6 | M2 | On |
SW2-7 | RST | Off |
SW2-8 | No Label | Off |