A circuit for sampling data from a memory device comprises a circuit for
providing a clock signal to the memory device, a data bus carrying data
at twice the rate of the clock signal, a circuit for providing a control
signal to indicate the period of time where data are valid, and a set of
registers whose content is triggered by both edges of a signal resulting
from the delay of the control signal. The set of registers is divided
into several sub-parts, each sub-part loading the value of the data bus
carrying data provided by the memory device at a period being an integer
multiple of the clock signal where the sampling point is different for
each sub-part.