Using a global clock as a flip-flop enable?

Hi all,

I've heard that a good rule of thumb is to not to use a global clock as an enable for flops or RAMs. Even though static timing numbers might look ok, are there any consequences of doing this?

Reply to
mav1101
Loading thread data ...

Don't do it man. Just don't. The delay from the clock signal leaving the global network to your flip flop is unknown and large. Hence it is impossible to syncronize your enable with your clock signal in that situation. There is no reason to do this. Post your circuit and we'll help you find a better way. I've thought that I needed this functionality in the past, but I've always found a way around it.

I have occasionally seen uses for driving the clock with logic rather than a global clock. This situation shows up in input IOBs or the JTAG connection lines.

mav1101 wrote:

Reply to
Brannon

It is better to create a signal which is a copy of the clock sampled by a clock which twice the original clock frequency.

--
Reply to nico@nctdevpuntnl (punt=.)
Bedrijven en winkels vindt U op www.adresboekje.nl
Reply to
Nico Coesel

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.