Digtal logic II

Onqe200
timer Asked: Oct 1st, 2017

Question Description

lab report programming by quarter program

Altera Software

Unformatted Attachment Preview

University of Bridgeport Department of Computer Science and Engineering CpE 315 – Digital Design II I. Lab #2: Introduction to Altera Board Assignment Altera Board The Altera board is a programmable FPGA device with a variety of I/O components. For now, we’re just going use some of the more simple interfaces: LEDs, Switches and Push Buttons. Implementing a Verilog program on an FPGA board requires some additional steps. In order for a user to interact with the program, the inputs must be mapped to a pin location. A couple of pointers for the I/Os on the board: Push buttons provide a ‘0’ when pressed, not ‘1’. Switches are ‘0’ when down and ‘1’ when up. The LED’s on the board turned on when a ‘1’ is applied to them. Part 1 Implement the following equations on the Altera Board. Use the switches as the inputs A, B and C. Use two green LEDs for the outputs F and G. 𝐹 = (𝐴𝐵) + (𝐵𝐶) + (𝐴𝐶) I/O Name 50Mhz_Clock LEDR_0 LEDR_1 LEDR_2 LEDR_3 LEDG_0 LEDG_1 LEDG_2 LEDG_3 SWITCH_0 SWITCH_1 SWITCH_2 SWITCH_3 KEY_0 KEY_1 KEY_2 KEY_3 Loc N2 AE23 AF23 AB21 AC22 AE22 AF22 W19 V18 N25 N26 P25 AE14 G26 N23 P23 W26 Figure I-1: Useful Pin Locations 𝐺 =A⨁𝐵⨁𝐶 Part 2 Use a push button and a switch on the Altera board to increment or decrement a 4 bit counter. The value of the counter should be displayed using the onboard LEDs. Use the switch to control the direction of the counter and the push button to change the counter value. Lab Report Requirements: Introduction • What was the assignment? • How did you do each part of the assignment? Results For each part show • RTL Schematic • Waveform Simulation – show all possibilities of inputs and outputs. Mark on the waveform print out explaining each output. Discussion • For Part 2: Press and hold down the button. What happens? Explain the issue and how it can be resolved.
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors