Specifications

25
3.3.3 Compiling the generated code along with top level VHDL entity:
Add this file and all the *.vhd files produced by the SOPC Builder to your Quartus II project.
Also, add the necessary pin assignments on the DE2 board to your project. Pin assignments are
made by importing the assignments given in the file called DE2_pin_assignments.csv in the
directory DE2_tutorials\design_files, which is included on the CD-ROM that accompanies the
DE2 board and can also be found on Altera’s DE2 web pages. Having made the necessary
settings compile the code. On compiling this code a SRAM object file(.sof) is generated which is
used to program and configure the board.
3.4 Programming and Configuration:
Programming and configuring the Cyclone II FPGA in the JTAG programming mode is done as
follows:
1. Connect the DE2 board to the host computer by means of a USB cable plugged into the
USB-Blaster port. Turn on the power to the DE2 board. Ensure that the RUN/PROG switch is in
the RUN position.
2. Select Tools > Programmer
3. If not already chosen by default, select JTAG in the Mode box. Also, if the USB-Blaster is not
chosen by default, press the Hardware Setup... button and select the USB-Blaster in the window
that pops up.