 |
VLSI WORLD: Verilog Codes for different COUNTERS
Verilog code for a 4-bit unsigned up counter with asynchronous clear. module counter (clk, clr, q); input clk, clr; output [3:0] q; reg [3:0] tmp; always @(posedge clk or posedge clr) begin if (clr) tmp
vlsiupdatez.blogspot.com |
 |