1. Field of the Invention
The present invention relates to a semiconductor memory device, and more particularly relates to a semiconductor memory device having a determination circuit that determines an error of read data in a test mode.
2. Description of Related Art
Semiconductor memory devices as represented by DRAM (Dynamic Random Access Memory) are shipped after passing various operation tests in a manufacturing stage. Many operation tests are performed in parallel to plural semiconductor memory devices. Therefore, semiconductor memory devices having a larger number of pins have a smaller number of chips that can be tested at the same time.
To solve the above problem, a semiconductor memory device having a determination circuit capable of performing a so-called parallel test has been known (see Japanese Patent Application Laid-open No. 2000-11695). A parallel test is a test of determining whether an error is included in plural pieces of read data to be output in parallel from plural I/O terminals, and the result of the test is output from one I/O terminal. With this arrangement, only one I/O terminal is sufficient as a terminal to be connected to a tester, even when there are a large number of I/O terminals. Therefore, it is possible to increase the number of chips capable of being tested in parallel.
However, because the parallel test involves a determining operation performed by a determination circuit, a timing of a determination signal reaching an output circuit in the parallel test is delayed, as compared with a timing of read data reaching an output circuit in a normal operation. Meanwhile, in the main, the semiconductor memory devices in recent years operate synchronously with a clock signal, and an output circuit of this type of semiconductor memory device operates synchronously with a clock signal. Therefore, when a determination signal reaches with a delay, the output circuit cannot output a determination signal to outside.
The delay of the determination signal to the output circuit in the determining operation can be cancelled when there is a sufficient operation margin in a normal operation. Therefore, the output circuit can output a determination signal at the same timing as an output timing of read data. However, when the frequency of a clock signal becomes high, the operation margin in the normal operation becomes small. Consequently, the delay of the determination signal to the output circuit in the determining operation cannot be cancelled, and the determination signal cannot be output.
The above problems commonly occur when performing any determining operation to read data within a semiconductor memory device, not only when performing a parallel test.
In one embodiment, there is provided a semiconductor memory device that includes: a memory cell array; a determination circuit that generates a determination signal by determining an error of read data read out from the memory cell array; and an output circuit that operates synchronously with a clock signal and outputs the read data or the determination signal to outside via an output terminal, wherein the output circuit outputs, in a normal operation mode, the read data to outside at a first timing after a read command is issued, and in a test mode, outputs the determination signal to outside at a second timing later than the first timing after the read command is issued, and a difference between the first timing and the second timing is an integer times of a cycle of the clock signal.
In another embodiment, there is provided a semiconductor memory device that includes: a memory cell array; a determination circuit that generates a determination signal by determining an error of read data readout from the memory cell array; an output circuit that outputs the read data or the determination signal to outside via an output terminal; and a latency control circuit that generates a read timing signal to control an operation timing of the output circuit, wherein the latency control circuit generates, in a normal operation mode, the read timing signal at a first timing after a read command is issued, and in a test mode, generates the read timing signal at a second timing later than the first timing after the read command is issued.
According to the present invention, a timing control is performed within the semiconductor memory device to delay an output timing of a determination signal from an output timing of read data, instead of canceling the delay of a determination signal to the output circuit in the determining operation. Therefore, regardless of the size of the operation margin in a normal operation, the determination signal can be correctly output in the test mode.
The above features and advantages of the present invention will be more apparent from the following description of certain preferred embodiments taken in conjunction with the accompanying drawings, in which:
Preferred embodiments of the present invention will be explained below in detail with reference to the accompanying drawings.
The semiconductor memory device according to the present embodiment is a DDR (Double Data Rate) synchronous DRAM, and includes a clock terminal 11, a command terminal 12, an address terminal 13, and data input/output terminals DQ0 to DQN, as external terminals. While the semiconductor memory device also includes other terminals such as a power source terminal, these are not shown in
The clock terminal 11 receives an external clock signal CK, and supplies the received external clock signal CK to an internal clock generating circuit 21. The internal clock generating circuit 21 generates an internal clock signal ICLK based on the external clock signal CK. The internal clock signal ICLK is supplied to a read-timing-signal generating circuit 30. The internal clock signal ICLK is also supplied to various other internal circuits, which are not shown in
The command terminal 12 receives input of command signals CMD such as a row address strobe signal and a column address strobe signal. These command signals CMD are supplied to a command decoder 22. The command decoder 22 is a circuit that generates various internal commands ICMD and a test mode signal TEST, by holding, decoding, and counting command signals. Generated internal commands ICMD are supplied to the read-timing-signal generating circuit 30, a row address decoder 31, a column address decoder 32, and a mode register 33. The test mode signal TEST is supplied to a latency control circuit 40.
The address terminal 13 receives an address signal ADD, and supplies this address signal ADD to the address buffer 23. The address buffer 23 latches the address signal ADD synchronously with the internal clock ICLK. Out of the address signal ADD latched by the address buffer 23, a row address is supplied to the row address decoder 31, and a column address is supplied to the column address decoder 32. When in a mode register set (when the command signal CMD shows a mode register set), the address signal ADD is supplied to the mode register 33, thereby updating contents of the mode register 33. A latency (CL) and a burst length (BL) are set to the mode register 33, thereby also performing entry to the test mode.
The row address decoder 31 is a circuit that selects any one of word lines WL included in a memory cell array 50. Plural word lines WL and plural bit lines BL cross each other within the memory cell array 50. Memory cells MC are arranged at intersections of these lines.
The column address decoder 32 is a circuit that selects any one of sense amplifiers SA. A sense amplifier SA selected by the column address decoder 32 is connected to an amplifier circuit 52. The amplifier circuit 52 further amplifies read data amplified by the sense amplifier SA, and supplies the further-amplified read data to FIFO circuits 530 to 53N and a determination circuit 60.
The data input/output terminals (output terminals) DQ0 to DQN output read data and input write data, and are connected to corresponding I/O circuits (output circuits) 540 to 54N, respectively. The I/O circuits 540 to 54N are connected to corresponding FIFO circuits 530 to 53N, respectively. In a read operation, the I/O circuits 540 to 54N output read data supplied from the FIFO circuits 530 to 53N, via corresponding data input/output terminals DQ0 to DQN, respectively. Therefore, the semiconductor memory device according to the present embodiment can input and output N+1 bit data in parallel. Although a value of N+1 is not particularly limited, this can be 128 or 256 when a multi-bit semiconductor memory is used.
A timing circuit 70 controls an operation of the FIFO circuits 530 to 53N. As shown in
Operations of the I/O circuits 540 to 54N are controlled by a read timing signal RT3. The read timing signal RT3 is supplied by the latency control circuit 40. The read timing signal RT3 includes read timing signals RT3-R and RT3-F of which phases are different from each other by a half cycle of the internal clock signal ICLK.
Two read/write buses RWBS are connected per one I/O between the amplifier circuit 52 and the FIFO circuits 530 to 53N, respectively. In the present embodiment, 2×(N+1) read/write buses RWBS are provided, because the number of I/O is N+1. Therefore, the total number of the read/write buses RWBS is 256 when N+1=128, and the total number of the read/write buses RWBS is 512 when N+1=256.
The amplifier circuit 52 simultaneously reads two-bit data per one I/O, and supplies the read data to a corresponding read/write bus RWBS. One of the two-bit data is to be output synchronously with a rising edge of a clock signal, and the other of the two-bit data is to be output synchronously with a falling edge of the clock signal. Therefore, the amplifier circuit 52 is connected to each of the FIFO circuits 530 to 53N by two read/write buses RWBS. Specifically, the amplifier circuit 52 is connected to a FIFO circuit 53x (x=0 to N) by two read/write buses RWBS-Rx and RWBS-Fx. However,
These read/write buses RWBS are connected to the determination circuit 60 as well as to the FIFO circuits 530 to 53N. The determination circuit 60 performs a parallel test in the test mode.
As shown in
Therefore, when corresponding read data and write data all match each other, outputs of the EOR circuits 610 to 61N all become low level. Consequently, an output of the OR circuit 62 also becomes low level. On the other hand, when even one of corresponding read data does not match write data, the output of the OR circuit 62 becomes high level, because the outputs of the EOR circuits 610 to 61N include a high level output.
A latch circuit 63 latches the output of the OR circuit 62. An inverter 64 inverts the latched output, and outputs an inverted result to a determination signal bus TRBS-R as a determination signal E. The latch timing of the latch circuit 63 is controlled by a read timing signal RT1. The read-timing-signal generating circuit 30 shown in
As shown in
The FIFO input buses PFIFO-R0 and PFIFO-F0 are connected to the FIFO circuit 530. Therefore, the FIFO circuit 530 receives read data supplied from the read/write buses RWBS-R0 and RWBS-F0 in the normal operation mode, and receives the determination signal E supplied from the determination signal buses TRBS-R and TRBS-F in the test mode. Other FIFO circuits 531 to 53N are not connected to the determination circuit 60, but are directly connected to the amplifier circuit 52. That is, the determination signal E is not supplied to the other FIFO circuits 531 to 53N.
As shown in
The FIFO circuit 530 also includes latch circuits 203 to 205 connected between the FIFO input bus PFIFO-F0 and a FIFO output bus FIFO-F0, and a transfer gate 212 provided between the latch circuits 204 and 205. The transfer gate 211 is also present between the latch circuits 203 and 204. The transfer gate 212 is a circuit that passes data synchronously with the read timing signal RT2-F. Therefore, data output from the FIFO output bus FIFO-F0 is a signal synchronous with the read timing signal RT2-F.
Other FIFO circuits 531 to 53N have circuit configurations identical to that of the FIFO circuit 530 shown in
The read timing signals RT2 (RT2-R and RT2-F) are supplied to the transfer gates 211 and 212 via the timing circuit 70.
As shown in
Delay times of the delay circuits 71 and 72 are preferably set slightly longer than the time required for the determination circuit 60 to perform a determining operation. With this arrangement, the determination signal E is supplied to the I/O circuit 540 at an optimum timing. The delay circuits 71 and 72 operate asynchronously with a clock signal, because the time required for the determining operation is not synchronous with the clock signal. Consequently, the delay times are designed to match the time required for the determining operation, regardless of the clock signal.
As shown in
The output buffer 301 is a circuit that outputs data on the FIFO output bus FIFO-Rx synchronously with the read timing signal RT3-R. Similarly, the output buffer 302 is a circuit that outputs data on the FIFO output bus FIFO-Fx synchronously with the read timing signal RT3-F.
As described above, the latency control circuit 40 supplies these read timing signals RT3-R and RT3-F.
As shown in
In an example shown in
Each of the latch circuits 45R and 47R fetches an input signal synchronously with a rising edge of the internal clock signal ICLK. On the other hand, the latch circuit 46R fetches an input signal synchronously with a falling edge of the internal clock signal ICLK.
Further, a latch circuit 48R is provided between the latch circuit 47R and the selector circuit 44R. The latch circuit 48R fetches an input signal synchronously with a rising edge of the internal clock signal ICLK, and supplies an output signal to the selector circuit 44R. Selection performed by the selector circuit 44R is determined by the test mode signal TEST. The selector circuit 44R selects an output of the latch circuit 47R when the test mode signal TEST is in an inactive state (in the normal operation mode), and selects an output of the latch circuit 48R when the test mode signal TEST is in an active state (in the test mode). An output of the selector circuit 44R is used as the read timing signal RT3-R.
As shown in
Based on the above configuration, the latency control circuit 40 generates and outputs the read timing signals RT3-R and RT3-F obtained by delaying the read timing signals RT2-R and RT2-F by a latency component, when the test mode signal TEST is in an inactive state (in the normal operation mode). On the other hand, when the test mode signal TEST is in an inactive state (in the test mode), the latency control circuit 40 generates and outputs the read timing signals RT3-R and RT3-F obtained by delaying the read timing signals RT2-R and RT2-F by “latency+one clock-cycle component”.
The configuration of the semiconductor memory device according to the present embodiment is as described above. An operation of the semiconductor memory device according to the embodiment is described next.
As shown in
In this example, the selector 100 selects the read/write buses RWBS-R0 and RWBS-F0 because the test mode signal TEST is in an inactive state. Therefore, the read data Q0 to Q3 supplied to the read/write buses RWBS-Rx and RWBS-Fx are directly supplied to the FIFO circuits 530 to 53N.
The FIFO circuits 530 to 53N parallel-serially exchanges two bit data synchronously with the read timing signals RT2-R and RT2-F alternately generated at every one-half cycle of the internal clock signal ICLK, and output serially-converted read data Q0 to Q3 to the I/O circuits 540 to 54N. Because the burst length is 4 in this example, the read timing signals RT2-R and RT2-F are activated at four times in total. The I/O circuits 540 to 54N output the read data Q0 to Q3 to the data input/output terminals DQ0 to DQN synchronously with the read timing signals RT3-R and RT3-F alternately generated at four times in total at every one-half cycle of the internal clock signal ICLK. The first read data Q0 is output three clock cycles (=CL) after a read command is issued.
As explained above, in the normal operation mode, the read data Q0 to Q3 are continuously output in parallel from N+1 data input/output terminals DQ0 to DQN. The first read data Q0 is output at the same timing as that of a latency set in the mode register 33.
As shown in
The determination signals E0 to E3 are supplied to the determination signal buses TRBS-R and TRBS-F at a later timing, by the time required for a determining operation, later than a timing when the read data Q0 to Q3 are supplied to the read/write buses RWBS-R0 and RWBS-F0 in the normal operation mode. The read timing signals RT2-R and RT2-F delayed by the timing circuit 70 are supplied to the FIFO circuit 530, by taking this delay into account.
Furthermore, the read timing signals RT3-R and RT3-F delayed by one clock cycle by the latency control circuit 40 are supplied to the I/O circuit 540. The determination signals E0 to E3 are output from the data input/output terminal DQ0 synchronously with the supplied read timing signals. A first determination signal E0 is output at a timing of four clock cycles (=CL+1) after a read command is issued.
As explained above, in the test mode, the determination signals E0 to E3 are continuously output only from the data input/output terminal DQ0. In the present embodiment, the first read data Q0 is output at a timing of CL+1 greater than a latency set in the mode register 33.
As explained above, the semiconductor memory device according to the present embodiment automatically increases the latency within the device, when the device enters a test mode having a determining operation. Therefore, even a synchronous semiconductor memory device that inputs or outputs data synchronously with a clock signal can correctly output a result of a parallel test.
It is apparent that the present invention is not limited to the above embodiments, but may be modified and changed without departing from the scope and spirit of the invention.
In the above embodiment, an example that the determination circuit 60 performs a parallel test has been explained. However, the present invention is not limited to the case of performing a parallel test, and can be applied to all cases where a delay occurs due to performing of a certain determining operation to read data within a semiconductor memory device.
While a data input/output terminal and an I/O circuit are used in the above embodiment, a data input unit and a data output unit can be a separate terminal and a separate circuit. Therefore, at least an output terminal and an output circuit are sufficient for the data input/output terminal and the I/O circuit in the above embodiment.
Number | Date | Country | Kind |
---|---|---|---|
2009-045833 | Feb 2009 | JP | national |