Search for question
Question

Problem 2 [40 pts] Write a Verilog code for 3-digit BCD (Binary Coded Decimal) counter that is counting from 000 to 999 and repeat. Submit your code, a testbench, and waveform. 3-digit BCD output: 0001 0111 1001 888 d d d bcd100 bcd10 bcdl module bcd3 (clk, reset, enable, bcd100, bcd10, bcd1); output [3:0] bed100, bcd10, bcd1; // Your code here endmodule

Fig: 1