Creating A Quartus Project Updated
Creating A Quartus Project Updated
Supplementary Material*
Creating a Quartus II Project
6. In the “Device Family” section, choose Cyclone IV E from the Family list box
7. In the “Target Device” section, choose Specific device selected in “Available devices
list” radio button.
8. In the Available device list, choose EP4CE 115F29C7 and click on next
Ms. Yasmeen Alsaleh * This lab is heavily based on previous labs of other colleagues.
(B) Drawing Schematic diagrams:
1. Select File → New. choose Block Diagram/Schematic File, and click OK
2. Select File → Save As. Click Save. Your project name and BDF file name must be same
as in Step A (1).
3. In the Graphic Editor Window, Select the gates which you wish to implement.
Common Gate Description
and2 two-input AND gate
or2 two-input OR gate
not NOT gate
input input port
output output port
4. Now we need connectors/wires to connect all. Click on the icon in the toolbar to
activate the wire. Note that a dot will appear indicating a connection between the two
wires. It must look like a smooth connection and there should not be any x in the circuit.
5. Once done, click on to activate the Selection and Smart Drawing Tool. Now, changes in the
appearance of the diagram can be made by selecting a particular symbol or wire and either
moving it to a different location or deleting it.
6. Run the Compiler by selecting Processing → Start Compilation. You can check the progress on
the window on left-hand side. A pop-up window displays successful compilation. Click on OK.
7. Go to Assignments → Pin Planner and in the Location Column for each Pin, assign as
follows (check MyGUST for full FPGA Pin Assignments):
Ms. Yasmeen Alsaleh * This lab is heavily based on previous labs of other colleagues.
8. Now connect the board to the USB port of the screen. Recompile the circuit.
9. On successful compilation select Tools -> Programmer. Make sure for the hardware setup, USB
Blaster is selected. Also check if the .sof file is generated and programming mode is JTAG.
10. Click on Start. Check the circuit implementation on the board. Check the output for their
different combinations.
Ms. Yasmeen Alsaleh * This lab is heavily based on previous labs of other colleagues.
(C) Writing your VHDL Code:
1. Once you’ve compiled your VHDL code, click on Assignments → Pin Planner
2. Refer to the “FPGA Pin Assignments” document to link the inputs and outputs of the code
with the respective pins on the FPGA board by filling in the “Location” column
Ms. Yasmeen Alsaleh * This lab is heavily based on previous labs of other colleagues.
8. Click on
9. Choose the CSV file exported in step (f)
10. Click on again to compile the VHDL code with the pin assignments
11. Connect the FPGA board to the PC using the USB cable connected to the port labelled
“Blaster” on the FPGA board
12. Turn on the FPGA board by pressing on the red button
13. On the top menu, click Tools → Programmer
Ms. Yasmeen Alsaleh * This lab is heavily based on previous labs of other colleagues.