ENGR 2323 Lab Report #1
ENGR 2323 Lab Report #1
Quartus II Tutorial
Report from a laboratory experiment conducted Tuesday, August 30th, 2011 As part of ENGR 2323 Digital Design Laboratory
Abstract:
The goal of this tutorial experiment was to demonstrate to students the relationship between the Quartus II software and the knowledge gained from prerequisites associated with the fundamentals of digital design. This simple experiment is important because the knowledge acquired will provide a basic foundation for the rest of this course. Although this experiment was specifically designed for Quartus II 9.0 it is also compatible with Quartus II 11.0 web edition which is the software that was ultimately used to design, compile, and test this project. Even though the latest version has been improved the instructions written in the laboratory manual do not require any modification. It is recommended to use the latest edition of Quartus II available because over time support for older editions will expire as they phase out. After only a few modifications and a few minuscule obstacles the experiment was able to duplicate the assigned schematic, simulate the design, and implemented the design on the DE2-70 board by configuring the internal elements of the FPGA.
The Altera DE2-70 Development and Education board is a modified version of the notorious DE2 board with a larger FPGA and more memory. It is an excellent tool for learning about digital logic. It Features an Altera Cyclone II 2C70 FPGA, the DE2 board and designed for university and college laboratory use. It is the board of choice and will be used in all laboratory experiments to follow. C. Tutorial Introduction Computer Aided Design (CAD) has revolutionized the way we work in the laboratory today. Complex design schematics that could take several hours by hand now are graphed efficiently by software such as Alteras Quartus II. Since CAD is available to all engineers it has become the means of performing the primary stages of product development. One element of product development deals with Functional Simulation. This means that without physically building the circuit, the design files can be simulated to see how they behave. After a simulation, the values can be compared with known correct values to verify it is working properly. In this experiment Quartus II 11.0 web edition was used to replicate designs in the Digital Design Laboratory Manual and the DE2-70 Board was used to test the design. This experiment was carried out in order to familiarize students with both the software and the board.
Allen E. Paulson College of Engineering
Theory
The laboratory experiment was based on three simple gates: A. AND gate An AND gate gives a 1 or True output only and only if all the inputs are True or 1. If even a single output is False or 0, it will not give any output meaning thereby that the output will be False or 0.
B. NOT gate A NOT gate is a special type of gate in that it has only one input and only one output. It is also known as the name of an inverter because it inverts or reverses the input. This simply means that if the input is False, the output is True and vice versa. It is used in conjunction with other gates to negate or reverse their output when so required and in such cases; those gates whose output has been negated are also known as bubbled gates.
C. OR gate The or gate is a another digital logic gate that implements logical disjunction. Its behaviors have been noted in the graphical image below.
Overview of Procedure
The laboratory procedures have been noted below as a brief overview. If further explanation is needed it is recommended to reference to appendix b in the Digital Design Laboratory Manual. 1)Open Quartus II 2)File>New Project Wizard>Next>Next>selection of DE2-70 with 896 pin count>next>next>finish 3)Assignments>device>device and pin options>unused pins> change the Reserve all unused pins: option to As input tri-stated 4)File>new>block diagram/schematic file>ok 5)Proceed to draw the diagram in figure 1.5 of the Digital Design Laboratory Manual. 6)Make the proper pin assignments for the DE2-70 7)Processing>start complication 8)Processing> start> start analysis and synthesis 9)Select the vector wave form file and selected the assigned pins from above. 10) Make sure to change the value of the clock to match those required by the lab manual. 11) Download the design to the DE2-70 and verify the design works.
Required Data
Schematic for the circuit:
AN D 2 O U T PU T
d6
sw4
IN P U T VCC
in s t
OR2
O U T PU T
d3
NOT
inst2
inst1
NOT
in s t 5
sw5
IN P U T VCC AN D 2
in s t 4
O U T PU T
d5
Conclusions
Overall, this was a great tutorial laboratory to start a connection between textbook digital design and using the knowledge to aid in laboratory experiments. Throughout this project students were able to familiarize themselves with the DE2-70 board. By reading the combination of numbers and letters written on the FPGA one can extract vital information about the boards features and specification. Drawing a schematic on the computer was a first for some and good exercise for others. The most important part was simulating the design to verify that it behaves like an exclusive OR circuit. It was exciting to see that in action on the DE2-70 by playing with the toggle switches. It wouldnt be possible without assigned input and output switches that were consistent with the locations of the switches and LEDs on the DE2-70 board!
References
Digital Design Laboratory Manual Twigg, Collins Rapid Prototyping of Digital Systems Hamblen, Furman DE2-70 Manual Altera