Input clk25M// input 24MHz, output 1Hz.
Output register clkout
Integer A = 0;; //counter
Always @ (posedgclk10m)
If (a< =12500000) a < = A+ 1; //clk flips every time the counter records12.5m..
Otherwise, start clkout < = ~ clkouta < = 0; end
Terminal module