Professional Documents
Culture Documents
2 - Introduction To Altera DE2-115-2022
2 - Introduction To Altera DE2-115-2022
Outline
2
1. Schematics 4. Verification
Capture 3. Simulation
2. Compilation
5
Introduction to Quartus II 13.0
•
•
CEG 2136 Computer Architecture I
A. Starting a
7
New Project
Cyclone IV E
EP4CE115F29C7
CEG 2136 Computer Architecture I
New Project 8
The top-level design entity must have the same name with the design file!
‘New Project Wizard’ dialog box asks for the name and
directory of the project. Set the working directory to be
… and choose (say) Test01 as the name for both the
project and the top-level entity (confirm creating the
new directory)
CEG 2136 Computer Architecture I
New Project
14
Altera Quartus II 13.0
New Project
15
Altera Quartus II 13.0
New Project
16
Altera Quartus II 13.0
New Project
17
Altera Quartus II 13.0
New Project
18
Altera Quartus II 13.0
New Project
19
Altera Quartus II 13.0
CEG 2136 Computer Architecture I
Altera Basic Design Flow: Quartus II 13.0 20
Step 1: Design Capturing
1. Schematics
1. Schematics
Capture
2. Compilation 3. Simulation 4. Verification
Capture The Quartus II
Graphic Editor is
used to capture the
schematic (logic
diagram) of a
previously designed
logic circuit.
VHDL Model
CEG 2136 Computer Architecture I
21
B. Design Using the Graphic Editor
CEG 2136 Computer Architecture I
Step 1: Design
Capturing
Step 1: Design
Capturing
The first step is to specify a name for the file that will be
created. Select File > Save As.
In the box labelled Save as type choose Block
Diagram/Schematic File (*.bdf).
In the box labelled File name automatically will appear
Test01 or type Test01, to match the name given to the
top-level design entity when the project was created.
Put a checkmark in the box Add file to current project.
Click Save, which puts the file into the directory that you
selected or created as shown in slide 13 and leads to
the Graphic Editor window.
CEG 2136 Computer Architecture I
Altera Quartus II 13.0
C. Creating the Schematic
Step 1: Design
25
To the same effect just double click the gate’s name in the library
directory. Now drag the gate-symbol to the wanted position and fix it there
with a click.
NOTE: To avoid repetitive inserts, uncheck the Repeat-insert mode option in the Symbol window.
CEG 2136 Computer Architecture I
Step 2: Compilation
1. Schematics 3. Simulation 4. Verification
2. Compilation
Capture
Step 2: Compilation
Step 2: Compilation
33
CEG 2136 Computer Architecture I
Altera Quartus II 13.0 Pins Assignment
Select the nodes to being assigned pins
click
CEG 2136 Computer Architecture I
select
CEG 2136 Computer Architecture I
Pins Assignment
Type the names of the FPGA pins to which nodes of your circuit need to be connected
CEG 2136 Computer Architecture I
38
Altera Quartus II 13.0
Pins Assignment
Recompile the project
CEG 2136 Computer Architecture I
Altera Basic Design Flow: Quartus II 13.0 39
Step 3: Simulation
1. Schematics 3. Simulation 4. Verification
2. Compilation
Capture
Step 3: Simulation
Select
File New University Program VWF
and click OK
CEG 2136 Computer Architecture I
4. click on List
Functional
Simulation
not
Timing
Simulation
is • Select (highlight) A, B, C, D and X from the left column of
performed Nodes Found and then click on “>” to have all A, B, C, D, and
here Y copied to the right Selected Nodes column.
• The contents of the left column is entirely copied to the right
(without having to select them) by simply hitting “>>”
43
• Click OK to close Node Finder & Insert Node or Bus window.
CEG 2136 Computer Architecture I
44
CEG 2136 Computer Architecture I
Step 3: Simulation
3. Choose:
• a Period of 100 ns and
• a duty cycle of 50%
CEG 2136 Computer Architecture I
Step 3: Simulation
Then click
• on B and in Period of 200 ns and a duty cycle of 50%.
• on C and in Period of 400 ns and a duty cycle of 50%.
• on D and in Period of 800 ns and a duty cycle of 50%.
Save the file !
CEG 2136 Computer Architecture I
Step 3: Simulation
Step 3: Simulation
Step 3: Simulation
Step 3: Simulation
Simulation Input
Simulation Output
Once simulation is done, a new window would appear with the simulation results.
Might need to
close and open
this window few
times.
60
To verify your circuit, apply all 16 possible logic combinations to the circuit’s inputs A, B, C, D by
modifying the slide switches (SW0 is input A, B is SW1, C is SW2 and D is SW3)
In-lab activity 61
The TAs will answer students’ questions about the labs without
disclosing the solution.
CEG 2136 Computer Architecture I
In-lab activity 62
Laboratory Report
63
Lab mark =
Individual in-lab activity (including pre-lab + experiments
demonstration)
+
Group’s final report.
CEG 2136 Computer Architecture I
64
Thank You