0% found this document useful (0 votes)
150 views

Introduction To Quartus

Quartus II is design software that allows analysis and synthesis of HDL designs to program an Altera FPGA board. The tutorial explains how to install Quartus II, create a new project, write VHDL code, compile the code, assign pins, and program the board. The user is instructed to write VHDL code for a basic logic gate, assign inputs and outputs to pins on the DE2i150 board, compile the project, and program the board to implement the logic gate design.

Uploaded by

Thomas Grant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
150 views

Introduction To Quartus

Quartus II is design software that allows analysis and synthesis of HDL designs to program an Altera FPGA board. The tutorial explains how to install Quartus II, create a new project, write VHDL code, compile the code, assign pins, and program the board. The user is instructed to write VHDL code for a basic logic gate, assign inputs and outputs to pins on the DE2i150 board, compile the project, and program the board to implement the logic gate design.

Uploaded by

Thomas Grant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 30

QUARTUS TUTORIAL

ELET 3405
MICROPROCESSOR ARCHITECTURE LAB
LAB ASSISTANT: NAVEEN MILIND CHALAWADI
INTRODUCTION

What is it?
Quartus II is a programmable logic device design software by Altera.
It enables analysis and synthesis of HDL designs
And allows us to program the board.
QUARTUS II
INSTALL QUARTUS II WEB EDITION SOFTWARE

Install the Quartus II 12.1 Web Edition from the link


http://download.altera.com/software/acdsinst/12.1/177/standalone/12.1_177_
quartus_free_windows.exe
or
https://www.altera.com/servlets/download3?swcode=WWW-SWD-QII-WE-121-
PC&l=en
CREATING A NEW PROJECT
Open Quartus II 12.1 Web Edition. Click on Create a New Project
Open Quartus II 12.1 Web Edition. Click on Create a New Project
Change the working directory of the project to D:\ELET3405\Lab# \
Note: 1. # represents the Experiment number. For Experiment1 it will be Lab1 and for Experiment it will be Lab2 and so on..
2. The name of the Project must exactly match the entity name in the design file

D:\ELET3405\Lab1\
Device Family -> Cyclone IV GX
Available devices -> EP4CGX150DF31C7
EDA Tools and Settings -> Click next
Dont worry about Simulation
Summary -> Click Finish
CREATING A VHDL FILE AND COMPILING IT
File -> New -> VHDL File -> Click OK
Write your code and click on save. The filename should be entity name.
To compile your code
Processing -> Start Compilation (or just press CTRL+L)
When the compilation is complete you will get the following pop-up. Click ok (Ignore the warnings)
Dont worry if you get errors after compilation, because that is where the learning starts.
ASSIGNING PINS
Before you assign Pins, Select the device.
Assignments -> Device
Click on Configuration -> Use configuration device -> EPCS64 -> OK
Before you assign Pins, open the manual for the DE2i150 board.
Assignment -> Pin Planner
Type in the location for each input/output pin. (Refer the DE2i150 User Manual)
After the pin assignment, close the Pin Planner and compile the project again
Type in the location for each input/output pin. (Refer the DE2i150 User Manual)
After the pin assignment, close the Pin Planner and compile the project again
PROGRAMMING THE BOARD
Before Powering up the board, make sure the board is in Programming mode (The switch should be on PROG side)
Open Tools -> Programmer
Select Hardware Setup -> USB-Blaster [USB-0]
Select Mode -> Active Serial Programming
If the USB-Blaster is not installed on your system, then open DEVICE MANAGER -> Right Click on USB-Blaster ->
Update Driver Software -> Browse my computer for driver software -> Go to Altera Installation folder-> under
Quartus\drivers -> Click OK
Add File -> output_files -> entityname.pdf -> Open
Check Progran/Configure and Verify
Click on Start
After the programming is complete, Switch off the board. Change the switch to RUN mode and turn the board on.
Output

When the inputs A and B are 0, the output is 0 When A is 0 and B is 1, the output is 1

When A is 1 and B is 0, the output is 0 When A and B both are 1, the output is 1

You might also like