Altera_Forum
Honored Contributor
13 years agoErratic ring counter
I have built a ring counter using D flip flops in an EMP3128ATC100-10 cpld. I am getting erratic results with clocking sometimes occurring on both rising and falling edges and sometimes no clocking at all. Also some flip flops are seen to clock at the wrong clock instance. I've attached my schematic and a logic analyser display showing the erratic clocking. Anyone got any ideas why this behaviour? Note that the reset line was taken low then returned high several mSec before applying the clock.