Lab 4 Introduction To Quartus II: Objective
Lab 4 Introduction To Quartus II: Objective
Objective
This lab is designed to familiarize the student with many common aspects of the Quartus II
software through a complete design phase. The student will create a new project, create a new
schematic/block diagram file, compile the design, plan and manage I/O assignments and
program the design onto the Altera DE2 Development Board.
Conclusion:
Click on the above icon on your desktop or choose Quartus II 13.0 (64-bit) from the program
choice menu.
You should have a thumb-drive in one of the USB ports ready to create and store your program.
The following example shows the project saved on the D:\ folder using a thumb drive. When
starting the program, the first step is to set up the new project.
In the New Project Wizard, the first page is the following – click Next.
At the following page, select your thumb drive and a folder (in this case /). Our file name
selected here is ‘Lab1’.
At this screen (page 3 of 5), choose the processor – EP4CE115F29C7. This is the number found
on the large processor chip labelled Cyclone IV on your prototype board.
If the name is not visible, it can be re-selected when the start-up is complete by clicking on the
processor and changing to the proper one. Then clock Next.
The new white page with grid is your file workspace. This is where we place and connect
components.
Set ‘Plain Binary’ and check boxes ‘Carry In’ and ‘Carry Out’, then Next.
Place four total lpm symbols on the screen as shown below. Change the names as shown to
Cnt0, Cnt1, Cnt2 and Cnt3.
At Symbol Tool -> Libraries -> Primitives -> Storage -> dff
At Symbol Tool -> Libraries -> Primitives -> Pin -> Input
At Symbol Tool -> Libraries -> Primitives -> Pin -> Output
Change names for inputs and outputs as shown on the following two figures. Double click on
one of the input pins and change the name to SW[0] and the other to KEY[0]. Then for the
outputs, name the left output pin LEDG[0], then LEDG[1], and LEDG[2]. For the last output pin
after the D Flip Flop, name the output LEDR[0].
From the Assignments -> Pin Planner menu, enter the following pin locations. Once these
input and output pins are given names in the previous step, they appear on the Node Name list.
To confirm this list of names, refer to the eng.utoledo.edu/~wevans website and the file: DE-2
Pin Assignments.
This step follows after successful compilation. The board must be set properly and the
download will follow successfully.
After the Programmer Screen is set as follows, select Start and the download begins. When
complete, the download window is shown as follows:
Power Cable
Key0
LEDR0
LEDG0
LEDG1
LEDG2
LEDG3