CS122A
Fall Quarter, 1998
XS40 Board Tutorial
This example will show you how to access the onboard 7-seg LED
connected to the FPGA. The first step is to generate the bit
stream for the FPGA:
- Run Xilinx Foundation Project Manager.
- Click OK to create a new project.
- Type "tut1" for name and browse/select "c:\temp" for
directory and click the HDL flow button followed by OK
- Download (wrled.vhd*,
xs40.vhd,
tut1.ucf) into
"c:\temp\tut1".
- Add the two VHDL files to your project using menus item
"Synthesis - Add HDL Source Files(s)...".
- Click the big "Synthesis" button and select "XS40" for Top
Level, "XC4000XL" for Family and "4010XLPC84" for Device, then
click Run.
- Click the big "Implementation" button, then click Run. When
complete, exit Project Manager.
You are done!
Now you have to download the bitstream file onto the XS40 board:
- Open a "Command Prompt" terminal and cd to "c:\temp\tut1".
- Make sure your XS40 board is powered up and connected to the
computer.
- Type "xsload tut1.bit" on the prompt and hit "enter".
You are done!
Couretsy of Tony Givargis
* NOTE: you are not provided with the complete wrled.vhd code, you need to
finish the code before the XS40 board will count properly