Implement a 3-digit BCD counter. Display the contents of the counter on the 7-segment displays, HEX2��0.
Derive a control signal, from the 50-MHz clock signal provided on the DE1 board, to increment the contents of
the counter at one-second intervals. Use the pushbutton switch KEY0 to reset the counter to 0.
Can you please help me on the above problem?
I want Verilog code for the above.
module toplevel(clock,reset);
input your_demand;
always @ ( posedge clock)
if (your_demand=give_me_some_code_I_don't_want_to_do_any_work)
begin
My_bank_account <= all_your_money;
end
else
begin
You_should_do_SOME_work_yourself_before_you_ask_others<=true
end
endmodule