IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, April 6th at 2:00 US/Pacific.
Hi, I tried to simulate T flipflop in vivado. But for some reason the square wave (clk) pin is not working. if some one can point where I am going wrong it would help me a lot.
here is my simple code.
test bench:
In reply to Ashokraj:
You have declared the clock as reg which is a 4 state data type having default value x. So either initialize it or use 2 state data type to declare clk.
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 !