Question: I been trying to display the 7 segment display for this digital clock but I can not figure it out. Help me how to display

 I been trying to display the 7 segment display for this

I been trying to display the 7 segment display for this "digital clock" but I can not figure it out. Help me how to display 6 bits numbers on the 7 segment display of the altera board using verilog

1 E module clocktimer clk 1sec, reset, seconds, minutes, hours, hex0) input clk 1sec 10 input reset output reg E6:0 seconds 11 output reg T6:01 minutes 12 output reg D 5:0] hours 13 14 15 16 always acposedge clk isec or posedge reset 17 18 E begi if (reset 1 b1) begin //check for active high reset 19 E reset the time. 20 seconds 0 21 minutes 30; 22 hours end 23 else if (clk 1sec 1 b1) begin at the beginning of each second 24 seconds seconds 1; //increment sec 25 if (seconds 6 d60) begin //check for max value of sec 26 E seconds 0; //reset seconds 27 minutes minutes 1 //increment minute if (minutes 6 d 60) begin //check for max value of min 28 29 E minutes reset minutes 30 1 E module clocktimer clk 1sec, reset, seconds, minutes, hours, hex0) input clk 1sec 10 input reset output reg E6:0 seconds 11 output reg T6:01 minutes 12 output reg D 5:0] hours 13 14 15 16 always acposedge clk isec or posedge reset 17 18 E begi if (reset 1 b1) begin //check for active high reset 19 E reset the time. 20 seconds 0 21 minutes 30; 22 hours end 23 else if (clk 1sec 1 b1) begin at the beginning of each second 24 seconds seconds 1; //increment sec 25 if (seconds 6 d60) begin //check for max value of sec 26 E seconds 0; //reset seconds 27 minutes minutes 1 //increment minute if (minutes 6 d 60) begin //check for max value of min 28 29 E minutes reset minutes 30

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!