Quartus Manual
Quartus Manual
Table of Contents
Create Project ....................................................................................................................................2
Schematic ........................................................................................................................................ 12
Create a new schema ................................................................................................................ 12
Add Components....................................................................................................................... 13
Add inputs and Outputs ............................................................................................................. 15
Change PIN names..................................................................................................................... 16
Compile your project ................................................................................................................. 17
Waveform Simulation ....................................................................................................................... 19
Create a New Waveform File...................................................................................................... 19
Insert Signals into the Waveform................................................................................................ 19
Set the Input Signal Values ......................................................................................................... 22
Change Simulation settings ........................................................................................................ 23
Run the Waveform Simulation ................................................................................................... 24
Verilog Coding.................................................................................................................................. 26
PIN PLANNER.................................................................................................................................... 27
1
Create Project
2
1. Create a new project
3
2. Click next
4
4. Choose Desktop
5
6. Rename the folder as Lab_X
7. Make sure to write the same folder name exactly in the red boxes below
6
8. Click next
7
10. Family: Choose Cyclone IV E
11. Copy EP4CE115F29C7 code to the name filter field as shown below
8
12. Choose the filtered FPGA Device from the list of Available devices section as shown below:
Click
9
13. EDA Settings:
a. In Tool Name, choose ModelSim-Altera
10
11
Schematic
12
Add Components
13
Example of NOT gate
14
Add inputs and Outputs
Click on
15
Change PIN names
1. Double click on the input/output
16
Compile your project
1. Click on the run button as shown below
2. Save your file
17
3. Confirm your project compilation is successful
4. Click OK
18
Waveform Simulation
19
Step 1: Choose the time period
Step 2: click OK
1
2
20
Step 1: Click on List to choose the signals (input/output pins, internal nodes) you want to observe in the
waveform
Step 3: Click OK
21
Set the Input Signal Values
**** Don’t change the value of the output. The simulator will change the output automatically once
you
22
Change Simulation settings
1. Go to Simulation
2. Choose Options
23
Run the Waveform Simulation
24
Step 3: View the simulation result
25
Verilog Coding
26
PIN PLANNER
Step 5: Click OK
3
4
27
Step 6: Go to Assignments >> Pin Planner
Step 7: Mapping the input/output pins of your Verilog module to the physical pins on the FPGA.
*****You can take the pin locations from the “DE2-115_PIN_ASSIGNMENTS” file in Moodle page.
a. Check if the hardware connection is done successfully. It should read “USB-Blaster”. If not,
troubleshoot the problem.
b. In case you don’t see the .sof file automatically, you must add it manually from “Add File”
c. Check if the serial number matches your FPGA board
d. Start the compilation process
e. The progress should be 100% and green color
28
a
e
d
Now you can test your circuit and demonstrate the simulation to your instructor.
29