CEG 2136 Lecture Notes - Lecture 1: Altera Quartus, Logic Gate, Project Wizard

46 views10 pages
CEG 2136 Lab 1 Page 1 of 10
EECS Fall 2015 1
LAB 1 Introduction to Quartus II Software Design
Objectives
This laboratory experiment is intended:
To initiate the students who are not familiar with the Altera Quartus II Software
Design.
To act as a review for the more advance students.
Figure 1: Altera DE2-115 board
On completion of this tutorial, the student will be able to:
Understand the basic of the Altera environment.
Design a simple logic circuit using the Graphic editor.
Compile, simulate, debug, and test their design.
Download and run their design on the Altera DE2-115 board.
PreLab
1. Read the “Lab General Instructions” and “Introduction to the Altera DE2-115 Based
HW/SW Platform with Environment Setup” posted in the Lab Instructions section of
your CEG2136 Virtual Campus and for more details on the Altera DE2-115 board
consult the corresponding DE2-115 User Manual posted in the Documentation
section under the Laboratories tab of CEG2136 Virtual Campus.
2. Derive the equation of the logic function implemented by the circuit of Fig. 2.
3. Draw the truth table for NAND, NOR functions.
4. Derive the truth table for the circuit in Figure 2.
You should complete PART I and PART II of the following LAB instructions.
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 10 pages and 3 million more documents.

Already have an account? Log in
CEG 2136 Lab 1 Page 2 of 10
EECS Fall 2015 2
Laboratory
In this tutorial, we will implement a simple circuit as shown below with AND, NAND and
NOR functions to provide an introduction to the Altera Quartus II tools.
Figure 2 : A simple circuit with AND, NAND and NOR gates
PART I
Each logic circuit being designed with Quartus II software is called a project. The software
works on one project at a time and keeps all information for that project in a single directory
(folder) in the file system.
A. Starting a New Project
1. Start QUARTUS II 13.0 sp1 (64-bit) software. Program can be found under Start
All Programs Software Development.
2. To create a new project, go to the File menu and select ‘New Project Wizard’. This
opens ‘New Project Wizard’ dialog box which asks for the name and directory of the
project. Set the working directory to be … \intro and choose lab_1 as the name for both
the project and the top-level entity (confirm creating the new directory)
3. When the “Add Files” window pops up just click Next, since there are no previous files
to be included in the project.
4. In the “Family & Device Settings” select Cyclone IV E as the device family and check
Specific device selected in ‘Available devices’ list.” From the list of available
devices, choose the device called EP4CE115F29C7 which is used on Altera’s DE2-115
board and press Next.
5. In the next window (EDA Tool Settings), since in this lab we will rely solely on
Quartus II tools, we will not choose any other tools and we will press Next, stepping to
the final window (Summary). Press Finish to conclude and return to the main Quartus
window.
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 10 pages and 3 million more documents.

Already have an account? Log in
CEG 2136 Lab 1 Page 3 of 10
EECS Fall 2015 3
B. Design Using the Graphic Editor
The Quartus II Graphic Editor can be used to specify a circuit in the form of a logic
diagram.
Select File > New, and in the newly opened window choose Block Diagram /
Schematic File, and click OK to create a blank schematic worksheet in the Graphic
Editor window.
The first step is to specify a name for the file that will be created. Select File > Save As
and in the box labelled Save as type choose Block Diagram/Schematic File (*.bdf). In
the box labelled File name type lab_1, to match the name given 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 intro and leads to the Graphic Editor window.
C. Creating the Schematic
Logic Gate Symbols
1. To open the Symbol window
Double click in the center of the worksheet of the Graphic Editor, or
Right click in the center of the worksheet and then choose in the pop-up window
InsertSymbol.
2. In the Symbol window’s library box expand …/quartus/libraries and scroll down
in the primitives logic directory to select nor2; the corresponding gate-symbol
will appear in the worksheet of the Symbol window. Click OK to close the Symbol
window and transfer the selected symbol to the center of the lab_1.bdf worksheet of
the Graphic Editor.
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.
3. Repeat step 1 and 2 and select a nand2 symbol.
4. Repeat step 1 and 2 again and select an and2 symbol, or simply type the
components’ names (nor2, nand2 or and2) in the Symbol’s Name box.
NOTE: Multiple copies of a symbol can be obtained by “copy & paste” or it can be
generated successively in one sequence if in step # 1 the Symbol window is opened
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 10 pages and 3 million more documents.

Already have an account? Log in

Document Summary

To initiate the students who are not familiar with the altera quartus ii software. To act as a review for the more advance students. On completion of this tutorial, the student will be able to: Understand the basic of the altera environment. Design a simple logic circuit using the graphic editor. Compile, simulate, debug, and test their design. Download and run their design on the altera de2-115 board. Prelab: read the lab general instructions and introduction to the altera de2-115 based. 2: draw the truth table for nand, nor functions, derive the truth table for the circuit in figure 2. You should complete part i and part ii of the following lab instructions. In this tutorial, we will implement a simple circuit as shown below with and, nand and. Nor functions to provide an introduction to the altera quartus ii tools. Figure 2 : a simple circuit with and, nand and nor gates.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents