What is the maximal binary number that this counter can count?
Practice Examples Practice Example 1. Verilog code and testbench of a 2-bit binary up counter. module mycounter_testbench(); reg clk, reset; wire [1:0] counter; my_counter test(clk, reset, counter); initial begin clk=0; forever #2 clk=~clk; end initial begin reset=0; #1; reset=1; end initial begin #1; $display(“Worked by: Instructor”); $display(“Counter output = %b”,counter); #4; $display(“Counter output = %b”,counter); […]