You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
209 B
14 lines
209 B
`timescale 1us/100ns
|
|
|
|
module delay(out);
|
|
output reg [4:0] out;
|
|
reg t;
|
|
|
|
initial out = 0;
|
|
always begin
|
|
#1;
|
|
t = out[4];
|
|
out <<= 1;
|
|
out[0] = ~t;
|
|
end
|
|
endmodule; // delay
|