A synchronous 4-bit up-counter built from flip-flops occasionally reports a wrong count
PHYSICS · Multi-part · Fermi University Physics · Electronics, Instrumentation & Communication · Digital electronics, embedded systems and data acquisition · Digital electronics, embedded systems and data acquisition
Electronics for Measurement, Ch Digital logic and its physical realisation
Problem
A synchronous 4-bit up-counter built from 74HC74 flip-flops occasionally reports a wrong count. The fault appears at every clock frequency tried, from 20MHz down to 1kHz; slowing the clock does not help. Datasheet figures for the flip-flops (at 4.5V, 25∘C): minimum clock-to-output delay tpd,min=4ns, hold time th=3ns (a requirement, not a typical). Two of the flip-flops are clocked from the same source through printed-circuit tracks of very different length, giving a clock skew of tskew=6ns between them.
((a)) A technician says: "the fault must be a set-up time problem, and set-up problems always go away if the clock is slowed down enough; since slowing the clock did not help, the flip-flops must be defective." Find the error in this reasoning.
((b)) Check, using the numbers given, whether the circuit in fact has a hold violation, and state the margin by which the condition is met or failed.