| module counter5 (clk,clr,q,cout); input clk,clr;
 output [5:1] q;
 output cout;
 reg [5:1] q;
 
 always @ (posedge clk or negedge clr)
 begin
 if (clk) q=0;
 else
 q=(q=6'h32)?0:(q+1);
 end
 
 endmodule
 ------------------------------------------
 求程序的解释,想知道程序完成计数的逻辑过程,,,
 |