Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Write a Verilog file that specifies the desired circuit.

Status
Not open for further replies.

divyakn

Newbie level 1
Newbie level 1
Joined
Aug 20, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
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.
 

Code:
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
 
  • Like
Reactions: rberek

    rberek

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top