In reply to bdreku:
I have implemented d flipflop, some other digital circuits using the similar declaration of clk. can you tell me how can I declare the two state data type or intialization of it.
What all I know is, declaring it as a reg clk only !