Circuit and methods for testing a memory device are disclosed. According
to one aspect of the invention, a circuit for testing an asynchronous
data transfer comprises a first circuit receiving a stream of data in
response to a clock signal in a first clock domain. A second circuit
coupled to the first circuit receives the stream of data from the first
circuit in response to a low level of an empty signal in the second clock
domain. A comparator circuit coupled to receives the stream of data and
the output of the second circuit. Specific applications to dual port RAMs
as well as implementations in a programmable logic devices are disclosed.
Various methods of testing an asynchronous data transfer are also
disclosed.