Question: Q5: Write a Verilog RTL module with inputs clock,reset, and switch[7:01 and output led[7:0). The module works as Knight Rider if the number of switches

 Q5: Write a Verilog RTL module with inputs "clock","reset", and "switch[7:01"

Q5: Write a Verilog RTL module with inputs "clock","reset", and "switch[7:01" and output "led[7:0)". The module works as "Knight Rider" if the number of switches that are 1 is 3 in mod 4. The module works as a right rotating Rotating Dot if the number of switches that are 1 is 2 in mod 4. The module works as a left rotating Rotating Dot if the number of switches that are 1 is 1 in mod 4. The module blinks all outputs if the number of switches that are 1 is o in mod 4. Note: Blinking means the outputs are all 1 for roughly 1 second and 0 for roughly 1 second and then keeps repeating. KnightRider and RotatingDot features are such that the outputs shift roughly every 1 second. The clock frequency is 50 MHz

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 Databases Questions!