Process (clock)
Variable count: natural range 0 to 24: = 24;
begin
If the clk event and clk =' 1', then
If count =24, then
Count: = 0;
Scl<= not SCL.
other
Count: = Count+1;
End if;
End the process;