reg[26:0] div_1hz;
reg clk_1hz;
always @(posedge clk_100M)
begin
if(div_1hz==50000000)
begin
div_1hz<=0;
clk_1hz<=~clk_1hz;
end
else
div_1hz<=div_1hz+1;
end
wire[7:0] led_en;
assign led_en=8'b1111_1111;
reg[2:0] cnt0;
always @(posedge clk_1hz)
begin
cnt0<=cnt0+1;
end
always @(*)
begin
if(led_en[cnt0]==1)
led_o[cnt0]<=1'b0;
else
led_o[cnt0]<=1'b1;
end