Question: The Function ( description ) Design a logic system that has eight inputs ( a 1 , a 2 , a 3 , a 4

The Function (description)
Design a logic system that has eight inputs (a1,a2,a3,a4,a5,a6,a7,a8) and two outputs (f1, f2).
LED \#1(f1) is ON/'1' when at least two inputs next to each other are LOW/'O'.
LED \#2(f2) is ON/'1' when at least 3 inputs next to each are HIGH/'1', AND the least significant input (a8) is LOW/'0'.
Design a logic system that has eight inputs and two LED outputs.
Use your eight pin dip switches as your inputs. Design your solution in Verilog, program your device.
Examples:
- these inputs: 01110000; will set both 'f1'\& 'f2' High/'1').
- these inputs: 01010101; will set both 'f1'\& 'f2' LOW/'0').
- these inputs: 01101110; will set 'f1' LOW/'0'\& 'f2' High/'1').
- these inputs: 11100011; will set 'f1'High/'1'\& 'f2' LOW/'0').
Design your solution in Verilog, program your device, and demo your solution to your instructor (using K-maps is length; hence discouraged).
Activities:
1. Launch Quartus using Quartus tutorial provided.
2. Use the Quartus tutorial provided to simulate the Verilog design.
3. Write a test-bench to test all input combinations of the design.
4. Check Modelsim waveform results in comparison to the Truth table of the functions ( f 1\& f2).
Assignment:
1. Include these in lab report; Verilog circuit Design \& Test-bench codes, ModelSim Waveform results
2. Write \& submit "Lab \(7-8\) report" with all details on;
- preparation, results, comparison of Simulated results \& Truth table/expected values of each design in a table form, and conclusion/s.
The Function ( description ) Design a logic

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!