A flip flop is implied when stuff is defined under a rising edge clock event.
I think the "sync" circuit you are thinking of is just two cascaded D Flip-flops. In VHDL thats just: asign under a clock event:
temp <= input;
out <= temp;
where temp and out are the outputs from the two FFs.
Sorry, I don't remember the exact VHDL syntax off the top of my head.
There is a extra clock delay. The idea is that the first FF should have settled any meta-stability before out is clocked, but really you are just making the odds very very high.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.