Data processing apparatus
A data processing apparatus includes a memory, an error detection circuit, a timing adjustment circuit and a terminal. The error detection circuit detects an error based on an output of the memory to output an error detection signal. The timing adjustment circuit enlarges a pulse width of a pulse signal which is generated at first after a start of a predetermined operation among pulse signals included in the error detection signal. The terminal outputs an output of the timing adjustment circuit when a test for the memory is performed. It is possible to report an occurrence of an error reliably without increasing the number of output terminals, test patterns or test time.
1 . A data processing apparatus comprising:
a memory;
an error detection circuit configured to detect an error based on an output of the memory to output an error detection signal;
a timing adjustment circuit configured to enlarge a pulse width of a pulse signal which is generated at first after a start of a predetermined operation among pulse signals included in the error detection signal; and
a terminal configured to output an output the timing adjustment circuit when a test for the memory is performed.
2 . The data processing apparatus according to claim 1 , wherein the timing adjustment circuit comprises a flip-flop configured to input the error detection signal in synchronization with a predetermined clock signal.
3 . The data processing apparatus according to claim 1 , wherein the timing adjustment circuit comprises an analog delay circuit configured to output the error detection signal by delaying a timing of an output of the error detection signal with a predetermined delay time.
4 . The data processing apparatus according to claim 1 , further comprises:
an error correction circuit configured to an error based on an output of the memory when the error detection circuit has detected the error based on the output of the memory.
5 . The data processing apparatus according to claim 1 , wherein the timing adjustment circuit comprises a selection circuit configured to select the pulse width enlarged by the timing adjustment circuit.
6 . An error detection pulse output method comprising:
detecting an error based on an output of a memory to output an error detection signal;
enlarging a pulse width of a pulse signal which is generated at first after a start of a predetermined operation among pulse signals included in the error detection signal by a timing adjustment circuit; and
outputting an output of the timing adjustment circuit when a test for the memory is performed.
7 . The error detection pulse output method according to claim 6 , wherein the enlarged pulse width is an integral multiple of a period of a predetermined clock signal.
8 . The error detection pulse output method according to claim 7 , further comprising:
a step of inspecting a detection of the error by sampling a pulse signal outputted from the timing adjustment circuit at a period longer than the predetermined clock signal.
9 . A data processing apparatus comprising:
an error detection circuit configured to detect an error of a data based on the data read from a memory to output an error detection signal;
a test data memory configured to store a test data for an inspection of an operation of the error detection circuit;
a selection circuit configured to select and output one of the data read from the memory and the test data read from the test data memory; and
a timing adjustment circuit configured to enlarge a pulse width of a first pulse signal which is generated at first after a start of a predetermined operation among pulse signals included in the error detection signal.
10 . The data processing apparatus according to claim 9 , further comprising:
a test mode setting terminal configured to indicate any of a plurality of test operations, and
the timing adjustment circuit is configured to enlarge the pulse width of the first pulse signal when a predetermined test mode is set based on a signal inputted from the test mode setting terminal.