Tanx Praveen Gudala,it sound logical but not working,for statement might not work for what I intend to use it for..it does not work the same way in hardware like software,it is use in hardware for initialization for all the variable to zero.I will come up wt something Insha Allah.