Skip to content

ENGR 2705 - Lab #5

Title:

Fibbonacci's Light Switch

Objectives:
  • Use the digital design process to develop a simple digital logic circuit
  • Download a circuit into the Cyclone II FPGA device on the Altera DE2 board
Parts:
  • PC running Quartus II
  • Altera DE2 Board
Preparation:
  1. Review Section 1.2 of the textbook.
  2. Review the Development and Education Board User Guide.
Procedure (do as much before lab as possible):
  1. Specification. "Design a simple logic circuit with four inputs that turns on a light for minterms whose numbers are in the Fibbonacci sequence. The light will be a light-emitting diode on the DE2 board."
  2. Define Inputs and Outputs. Draw a block diagram of the circuit showing the inputs and output for the circuit.
  3. Create truth-tables. Generate a truth-table that shows the output for the sixteen input combinations.
  4. Derive simplified logic expressions. Determine the minimal SOP expression for the output.
  5. Draw logic circuit. Use Quartus II schematic capture to draw a circuit that implements the minimal SOP expressions. Paste a copy of your schematic in your lab book.
  6. Functional Simulation. Perform a functional simulation of your circuit. Paste the results in your lab book.
  7. Implement. Set the device for the Cyclone II FPGA on the DE2 board. Make proper pin assignments so that the input comes from the toggle switches and the output goes to an LED. Compile the circuit. Record your pin assignements. Paste the fitter summary and equations from the report file in your lab book.
  8. Timing Simulation. Perform a timing simulation of your implemented circuit. Paste the results in your lab book. Record the worst-case timing delay.
  9. Download Circuit. Download the circuit into the Cyclone II FPGA on the DE2 board.
  10. Test. Test the circuit. Record your results in you lab book.
  11. Show your working circuit to the instructor.
Conclusions:
  1. Discuss how well the objectives were met.
  2. Discuss what you learned.