no_mad
Full Member level 5
Hi,
Any ideas on how to generate a gray counter test pattern.
NOT generate stimulus for gray counter.
One way is
Is there any other way to do this? Any ideas.
Thanks in advance.
Any ideas on how to generate a gray counter test pattern.
NOT generate stimulus for gray counter.
One way is
Code:
initial begin
inputA = 3'b000;
#20;
inputA = 3'b001;
#20;
inputA = 3'b011;
#20;
inputA = 3'b010;
#20;
.
.
.
.
.
inputA = 3'b100;
end
Is there any other way to do this? Any ideas.
Thanks in advance.