Lab 1 Sem 2 22 - 23
Lab 1 Sem 2 22 - 23
Faculty of Engineering
Universiti Putra Malaysia
43400 UPM Serdang
Selangor
Objectives:
Introduction:
In this lab the Terasic DE1-SoC board will be introduced. The lab will expose
students to the Quartus Prime design software as well as the necessary knowledge
to create, compile and test Verilog designs on the DE1-SoC board.
Procedures:
A. DE1-SoC board
In this lab, you will be using the DE1-SoC board developed by Terasic. Do your
own research and write on the following in your lab report:
1. A guide for using the Quartus Prime software is given in the file
Quartus_Prime_Introduction_Verilog.pdf on PutraBLAST. Go through the
document in detail and implement all the procedures.
2. Record your results.
3. List out all the important steps to use Quartus Prime software for FPGA design.
C. Testing a simple Verilog design
1. Create a new Verilog HDL file by following ALL the steps that you have gone
through in Part B and use the following code:
2. Toggle the switches (SW0, SW1, SW2 and SW3) and observe the LEDs
(LEDR0, LEDR1, LEDR2 and LEDR3).
3. Modify the code so that all 10 switches (SW0-SW9) can be used to toggle all
10 LEDs (LEDR0-LEDR9). Test your design on the DE1-SoC board.
4. Write and compile a Verilog code to control one 7-segment display (HEX0)
using switches (SW0 – SW6) to produce numeric characters. Download and
test the compiled code on the DE1-SoC board.
5. Write and compile a Verilog code to display the word “CCSE” using four 7-
segment display. Download and test the compiled code on the DE1-SoC board.
6. Discuss all your results and conclude the findings of your experiment.