This application is based upon and claims the benefit of the priority of Japanese patent application No. 2007-146875, filed on Jun. 1, 2007, the disclosure of which is incorporated herein in its entirety by reference thereto.
This invention relates to a semiconductor memory device. More particularly, the invention relates to a semiconductor memory device adapted for testing of a cell having a plurality of ports, and to a method of testing a semiconductor memory device.
In the dual-port static memory circuit having the SRAM cell illustrated in
[Patent Document 1] Japanese Patent Kokai Publication No. JP-A-1-296486
The following analysis is given by the present invention. The disclosures of the above-mentioned Patent Document are herein incorporated by reference thereto, and regarded as part of the disclosure of the present invention.
The problem with the dual-port static memory circuit having the SRAM cell shown in
In
Since the driver transistor Q1 in the SRAM cell have to pull-down both bit lines DTA and DTB of ports A and B to the LOW level, the pull-down characteristic of bit lines DTA and DTB is deteriorated in comparison with a case where the bit line of one port is pulled down to the LOW level. Consequently, the value of bit-line difference potential [ΔVBL: difference potential between bit-line pair (DTA, DBA) and between bit-line pair (DTB, DBB)] read by a sense amplifier (not shown) is reduced so that operating margin decreases and minimum operating voltage worsens.
The longer becomes a period of time in which the ON states of the port A and port-B access transistors Q5 and Q6 overlap, the greater becomes the extent of the decline in the value of the bit-line difference potential ΔVBL. Accordingly, the time at which the potentials at the word lines of both ports rise simultaneously is the point at which the cell-data read margin is most severe and the minimum operating voltage is at its worst value.
Specifically, when one bit line of the bit-line pairs is HIGH based upon the cell data, the driver transistor of the SRAM cell discharges the other bit line of the bit-line pairs to the LOW level. However, in a case where the other bit lines (e.g., DTA, DTB) of the bit line pairs of ports A and B are pulled down to LOW simultaneously by one driver transistor, the potential difference between the bit-line pairs diminishes and the speed of enlarging the potential difference becomes slow, as illustrated in
A test of a memory device conducted prior to shipment thereof, should employ worst case testing in which the bit-line difference potential ΔVBL is minimum.
However, for the following two reasons, a case occurs where the word lines of both ports cannot be driven at the same timing and the operating margin does not exhibit its worst value:
(a) owing to variations between elements in a chip, skew (a shift in timing) occurs between ports in the path from a BIST (Build-In Self-Test) apparatus to the memory; and
(b) skew of an internal clock for activating a word line, ascribable to the physical layout in the memory, occurs. This will be described below in further detail with reference to the drawings.
With reference to
XKA and XEA of address selection signals (A) (row address) that select word line WLA of port A are outputs of a main pre-decoder (not shown) and a sub pre-decoder (not shown) of an X-address decoder (row-address decoder) for port A, respectively.
XKB and XEB of address selection signals (B) (row address) that select word line WLB of port B are outputs of a main pre-decoder (not shown) and a sub pre-decoder (not shown) of an X-address decoder (row-address decoder) for port B, respectively.
There are provided a NAND gate 103 that receives XKA and XEA of the address selection signal (A), and a CMOS transfer gate 105 comprising a PMOS transistor having a gate at which the output of the NAND gate 103 is received, and an NMOS transistor having a gate that receives a signal that is the result of inverting the output of the NAND gate 103 by an inverter 104. When XKA and XEA are both HIGH, the output of the NAND gate 103 is LOW. As a result, the CMOS transfer gate 105 turns on and transfers the internal clock signal ICLA, and the word line WLA is raised to the high potential by an inverter 107 and an inverting buffer (inverting-type word driver) 108. In a case where XKA and XEA are both other than HIGH (i.e., in a case where either one is LOW), the output of the NAND gate 103 goes HIGH, an NMOS transistor 106 turns on, the input to the inverter 107 is fixed at the LOW level and the word line WLA is set to the LOW level. The period of time during which the select word line is activated corresponds to the duration of the HIGH pulse of the internal clock signal ICLA. The configuration is similar with regard to the address selection signal (B) of port B.
In this case, a clock skew is generated between the ports A and B owing to parameter variations betweens the BIST circuit 202 and memory circuit 201.
Further, a skew between the internal clocks of the two ports is generated owing to the physical layout within the memory circuit 201. For example, since the path of the clock from the clock terminal CLKA to the word line WLA has a path length different from the path of the clock from the clock terminal CLKB to the word line WLB, a skew is generated between the internal clocks ICLA and ICLB.
For these reasons, it is difficult to realize a test in which the word line WLA of the port A and the word line WLB of the port B are made to rise simultaneously.
Further, even in a case where a memory device is tested using not a BIST circuit but test by a tester that has a skew between pins calibrated, similar problems arise owing to a skew between the internal clocks of the two ports ascribable to the physical layout within the memory circuit and a skew between clock terminals of the ports A and B of the memory circuit 201 within the semiconductor device.
In a memory device provided with a cell including a plurality of ports in accordance with the related art, it is difficult to exercise control so as to cause word lines of a plurality of ports to rise simultaneously when the device is tested, as set forth above. This means that the device cannot be tested in the worst state. As a result, pass/fail decision accuracy (measurement precision) is limited, and this leads to a limitation on an improvement in product yield and reliability.
In addition, the timing of activation of the word lines of the plurality of ports is affected by the skew, so that it is not possible to make fine adjustment of activation timing difference of the word lines of the plurality of ports.
The invention disclosed in this application has the following configuration. It should be noted that what is indicated by the reference characters within the parentheses in the following description represent examples in order to clarify the present invention and should not be interpreted as limiting the present invention.
According to a first aspect of the present invention, there is provided a semiconductor memory device comprising: a memory cell connected to a plurality of word lines corresponding respectively to a plurality of ports; a plurality of test control signals associated respectively with a plurality of the timing signals which are for controlling the activation timings of word lines of the plurality of ports; and a control circuit that with regard to the memory cell with the plurality of ports thereof being selected, when one of the plurality of test control signals respectively associated with the plurality of ports selected, is in an activated state, and the remaining test control signals are in a non-activated state, exercises control so as to mask the timing signals associated with the non-activated test control signals; and in response to the sole timing signal associated with said test control signal in the activated state, activates the word lines of the plurality of ports selected. The control circuit variably controls the activation timing of the word lines of the plurality of ports activated in response to said sole timing signal based on the delay control signal.
In another aspect of the present invention, there is provided a semiconductor memory device comprising:
a memory cell connected to respective word lines of at least a first port and a second port:
first and second test control signals, associated with first and second clock signals used for controlling activation timings of the word lines of the first and second ports;
a first control circuit which, if, for a cell for which the first and second ports are selected, the first test control signal is in an activated state and the second test control signal is in a non-activated state, masks the second clock signal, and which, in response to the first clock signal, exercises control to activate the word lines of the first and second ports, wherein the first control circuit in activating the word lines of the first and second ports in response to the first clock signal variably adjusts the activation timing of the word lines of the first and second ports based on a delay control signal received; and
a second control circuit which, if the second test control signal is in an activated state and the first test control signal is in a non-activated state, masks the first clock signal, and which, in response to the second clock signal, exercises control to activate the word lines of the first and second ports, wherein the second control circuit in activating the word lines of the first and second ports in response to the second clock signal variably adjusts the activation timing of the word lines of the first and second ports based on the delay control signal.
According to the present invention, if, with a cell for which the first and second ports are selected, the first and second test control signals are both in a non-activated state, activation of the word lines of the first port and activation of the word lines of second port are exercised independently of each other based on the first and second clock signals.
The semiconductor memory device may further include a first circuit (11, 12) for receiving the first clock signal (CLKA) and the second test control signal (TESTB). The first circuit outputs the first clock signal as a first internal clock signal (ICLA) in case the second test control signal (TESTB) is in an inactivated state, while the first circuit (11,12) not transferring the first clock signal, and fixing the first internal clock signal in a non-activated state in case the second test control signal (TESTB) is in an activated state. The semiconductor memory device may further include a second circuit (13, 14) for receiving the second clock signal (CLKB) and the first test control signal (TESTA). The second circuit (13,14) outputs the second clock signal as a second internal clock signal (ICLB)in case the first control signal (TESTA) is in a non-activated state, while the second circuit not transferring the second clock signal, and fixing the second internal clock signal in a non-activated state in case the first test control signal is in an activated state. The semiconductor memory device may further include a first switch (transfer gate 17) for receiving the first internal clock signal (ICLA) from the first circuit (11, 12) with the first switch being turned on to transfer and output the first internal clock signal when the address selection signal of the first port (XKA, XKE) indicates a selected state. The semiconductor memory device may further include a second switch (24) for receiving the second internal clock signal (ICLB) from the second circuit (13, 14), with the second switch being turned on to transfer and output the second internal clock signal when the address selection signal (XKB, XKE) of the second port indicates a selected state. The semiconductor memory device may further include first and third variable delay circuits (30, 32) for receiving an output signal from the first switch (17) in common, and second and fourth variable delay circuits (31, 33) for receiving an output signal from the second switch (24) in common. The semiconductor memory device may further include a first logic circuit (19) for receiving the second test control signal (TESTB) and a signal which is an output of the second switch (transfer gate 24) delayed by the third variable delay circuit (32), with the first logic circuit (19) outputting a signal in a non-activated state when one or both of inputs are in a non-activated state a signal in an activated state when both of inputs are in an activated state. The semiconductor memory device may further include a second logic circuit (20) for receiving an output signal of the first logic circuit (19) and a signal which is an output of the first switch (17) delayed by the first variable delay circuit (30), with the second logic circuit (20) outputting one of inputs when the other input is in a non-activated state. The semiconductor memory device may further include a first word driver (21) for receiving the output signal of the second logic circuit (20) to drive the word lines of the first port, and a third logic circuit (26) for receiving the first test control signal (TESTA) and a signal which is the output signal of the first switch (17) delayed by the fourth variable delay circuit (33). The third logic circuit (26) outputs a signal in a non-activated state if one or both of inputs are in a non-activated state, while outputting a signal in an activated state if both inputs are in an activated state. The semiconductor memory device may further include a fourth logic circuit (27) for receiving an output signal of the third logic circuit (26) and a signal which is an output signal of the second switch (24) delayed by the third variable delay circuit (32), with the fourth logic circuit (27) outputting one of inputs if the other input is in a non-activated state. The semiconductor memory device may further include a second word driver (28) for receiving an output signal of the fourth logic circuit to drive the word lines of the second port.
According to the present invention, the first and third logic circuits may each be a logical product (AND) circuit while the second and fourth logic circuits may each be an negative logical sum (NOR) circuit. The first and second word drivers may each be an inverting driver.
According to the present invention, the cell may be a static cell including two inverters (Q1, Q2), (Q3, Q4) having inputs and outputs cross-coupled at a first node (N1 of
In the above first aspect of the present invention, an input clock signal is used as the timing signal, and the word line selected is activated in response to the clovk signal.
If, in activating the word lines on the same row, the test control signal of one of the first and second ports is activated, the word line of the other port is driven at the same or different timing in response to the activation timing of the word line of the one port.
In yet another aspect, the present invention provides a testing method of a semiconductor memory device including a memory cell connected to at least a word line of a first port and a word line of a second port, said method comprising:
providing first and second test control signals, in association with first and second clock signals used respectively for controlling activation timings of the word lines of the first and second ports;
with regard to a memory cell with the first and second ports thereof being selected, masking the second clock signal if the first test control signal is in an activated state and the second test control signal is in a non-activated state, and activating the word lines of the first and second ports at the same timing or different timings, in accordance with a value as set based on a delay control signal received, in response to the first clock signal, to read cell data from bit lines of the first and second ports; and
masking the first clock signal if the second test control signal is in an activated state and the first test control signal is in a non-activated state, and activating the word lines of the first and second ports at the same timing or different timings, in accordance with a value as set based on a delay control signal, in response to the second clock signal, to read cell data from bit lines of the first and second ports.
According to the present invention, the timing of activation of word lines of different ports may be finely adjusted for a cell for which a plurality of ports are selected. It is possible in this manner to conduct a worst-case testing in e.g. a margin test, as well as to improve test accuracy and contribute to improved product yield and reliability.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
The above and other objects, advantages and features 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:
A semiconductor memory device according to the present invention includes a cell having a plurality of ports. A plurality of test control signals (TESTA and TESTB) are provided in correspondence with a plurality of timing signals (e.g., clock signals CLKA and CLKB) for controlling respective ones of activation timings of word lines of the plurality of ports. With regard to the cell with the plurality of ports being selected, when one test control signal among the plurality of test control signals corresponding to respective ones of the selected plurality of ports is in an activated state (enabled) and the remaining test control signals are in a deactivated state (disabled), control is exercised so as to mask the timing signals corresponding to the test control signals in the deactivated state and, in response to the one timing signal corresponding to the one test control signal in the activated state, activate the word lines (e.g., WLA and WLB) of the selected plurality of ports.
According to the present invention, a delay control signal is introduced to make fine adjustment of the timing difference (delay) between the activation timings of the word line corresponding to one of the ports and that of the word line corresponding to the other port at the time of activation of the test control signal. According to the present invention, this fine delay adjustment may be made from the BIST in the semiconductor device or from the user logic side.
If, in a case where the present invention is applied to a dual-port clock-synchronized static memory circuit in which each port functions as an I/O port, the test control signal for one port of the first and second ports is in the activated state (enabled) in the activation of word lines in the same row, then the activation (rise) of the word line of the other port also is controlled to occur at the same timing as that of the word line of the one port or with a variably adjustable timing difference.
According to the present invention, if the test control signal of one of the ports is activated (enabled), the internal clock of the other port is controlled to be deactivated, thereby enabling a timing margin test, including the worst condition for the operational timing margin, at the time of memory testing by BIST, for instance. In simultaneously accessing plural ports on the same row, the data read margin is smallest when the word lines of the ports A and B are activated simultaneously. At this time, the minimum power supply voltage constitutes a worst case. By driving the word lines of the ports A and B in common with the clock of the port A at the same timing, and by making fine adjustment of the word line activation timing of the ports A and B, the worst condition may be achieved, without taking into account the clock skew between the two ports from the BIST to the memory or the internal clock skew ascribable to the physical layout in the memory. Further, according to the present invention, the marginal test with variable word line activation timing differences may be improved in accuracy. In an example, as now described, the memory cell is a dual-port SRAM cell, shown in
Referring to
The operation of this circuit portion is now described. When a test control signal for the port B (TESTB) is LOW, the NAND circuit 11 outputs a signal inverted from the clock signal CLKA for the port A. It should be noticed that, with the NAND circuit 11, an input of the test control signal for the port B (TESTB) is LOW active. The inverting buffer 12 outputs an internal clock signal (A) ICLA which is in phase with the clock signal CLKA. When the test control signal for the port B (TESTB) is HIGH, the output of the NAND circuit 11 is fixed at HIGH, without regard to the value of the clock signal CLKA, in which the clock signal CLKA is masked. The internal clock ICLA from the inverting buffer 12 is fixed at LOW.
The circuit also includes a two-input NAND circuit 13 which has first and second inputs connected to a clock terminal (B) to which a clock signal CLKB is supplied, and a terminal for TEST for the port A (TESTA), respectively, and an inverting buffer 14 that receives an output of the NAND circuit 13. The inverting buffer 14 outputs an internal clock ICLB.
The operation of this circuit portion is now described. When a test control signal for the port A (TESTA) is LOW, the NAND circuit 13 outputs a signal inverted from the clock signal CLKB for the port B. It should be noticed that, with the NAND circuit 13, an input of the test control signal for the port A (TESTA) is LOW active. The inverting buffer 14 outputs an internal clock signal (B) ICLB which is in phase with the clock signal CLKB. When the test control signal for the port A (TESTA) is HIGH, the output of the NAND circuit 13 is fixed at HIGH, without regard to the value of the clock signal CLKB, in which clock signal CLKB is masked. The internal clock ICLB from the inverting buffer 14 is fixed at LOW.
The circuit also includes, as a circuit for controlling the driving of a word line WLA for the port A, a two-input NAND circuit 15, a CMOS transfer gate 17 and an NMOS transistor 18. The two-input NAND circuit receives XKA and XEA which are address selection signals (A) for the port A. The CMOS transfer gate is composed by a PMOS transistor having a gate for receiving an output of the NAND circuit 15, and an NMOS transistor having a gate for receiving an output of the NAND circuit 15 as inverted by an inverter 16. The NMOS transistor 18 has a drain connected to an output of the CMOS transfer gate 17, while having a source connected to the power supply terminal VSS and having a gate connected to an output of the NAND circuit 15. The circuit also includes a first variable delay circuit (Delay Box1) 30 that receives an output of the CMOS transfer gate 17, and a second variable delay circuit (Delay Box2) 31 that receives an output of a second CMOS transfer gate 24 as later described. The circuit further includes a two-input AND circuit 19, a two-input NOR circuit 20, and an inverting word driver 21. The two-input AND circuit 19 receives, as inputs, the test control signal for the port B (TESTB) and an output of the second variable delay circuit (Delay Box2) 31. The two-input NOR circuit 20 receives, as inputs, an output of the first variable delay circuit (Delay Box1) 30 and an output of the AND circuit 19, and the inverting word driver 21 receives an output of the NOR circuit 20. Meanwhile, XKA and XEA are address selection signals (A) that select word line WLA of port A and are outputs of a main pre-decoder (not shown) and a sub pre-decoder (not shown) of an X-address decoder (row-address decoder) for port A, respectively.
The operation of this circuit portion is now described. When both XKA and XEA are HIGH, an output of the NAND circuit 15 becomes LOW to turn on the CMOS transfer gate 17 to transfer and output the input internal clock signal ICLA. If at least one of XKA and XEA is LOW, that is, if the address of the port A of the cell is non-selected, the output of the NAND circuit 15 goes HIGH to turn the CMOS transfer gate 17 off and to turn the NMOS transistor 18 on. The output of the CMOS transfer gate 17 goes LOW.
If the test control signal for the port B (TESTB) is LOW, the output of the AND circuit 19 goes LOW. The NOR circuit 20 supplies to the inverting word driver 21 a signal inverted from an output of the CMOS transfer gate 17 delayed by the first variable delay circuit (Delay Box1) 30.
If the test control signal for the port B (TESTB) is HIGH, with ICLA then being fixed at LOW, the NOR circuit 20 supplies to the inverting word driver 21 a signal inverted from an output of the AND circuit 19. The inverting word driver 21 receives a LOW pulse from the NOR circuit 20 (a reverse-phase signal of ICLB delayed by the second variable delay circuit 31) to drive the word line WLA.
The circuit further includes, as a circuit portion for controlling the driving of the word line WLB of the port B, a two-input NAND circuit 22, a CMOS transfer gate 24 and an NMOS transistor 25. The two-input NAND circuit 22 receives XKB and XEB, which are address selection signals for the port B. The CMOS transfer gate 24 is composed by a PMOS transistor having a gate for receiving an output of the NAND circuit 22, and an NMOS transistor having a gate for receiving an output of the NAND circuit 22 inverted by an inverter 23. The NMOS transistor 25 has a drain connected to an output of the CMOS transfer gate 24, while having a source and a gate connected to the power supply terminal VSS and to the output of the NAND circuit 22, respectively. The circuit further includes a third variable delay circuit (Delay Box1) 32 that receives as an input an output of the CMOS transfer gate 24, and a fourth variable delay circuit (Delay Box2) 33 that receives as an input an output of the CMOS transfer gate 17. The circuit further includes a two-input AND circuit 26, a two-input NOR circuit 27 and an inverting word driver 28. The two-input AND circuit 26 receives the test control signal for the port A (TESTA) and an output of the fourth variable delay circuit (Delay Box2) 33, as inputs. The two-input NOR circuit 27 receives an output of the third variable delay circuit (Delay Box1) 32 and an output of the AND circuit 26, as inputs, and the inverting word driver 28 receives an output of the NOR circuit 20. Meanwhile, XKB and XEB are address selection signals (B) that select word line WLB of port B and are outputs of a main pre-decoder (not shown) and a sub pre-decoder (not shown) of an X-address decoder (row-address decoder) for port B, respectively
The operation of this circuit portion is now described. When both XKB and XEB are HIGH, an output of the NAND circuit 22 becomes LOW to turn on the CMOS transfer gate 24 to transfer and output the input internal clock signal ICLB. If at least one of XKB and XEB is LOW, that is, if the address of the port B of the cell is non-selected, the output of the NAND circuit 22 goes HIGH to turn off the CMOS transfer gate 24 to turn on the NMOS transistor 25. The output of the CMOS transfer gate 24 goes LOW.
If the test control signal for the port A (TESTA) is LOW, the output of the AND circuit 26 goes LOW. The NOR circuit 27 supplies to the inverting word driver 28 a signal inverted from an output of the CMOS transfer gate 24 delayed by the third variable delay circuit 32.
If the test control signal for the port A (TESTA) is HIGH, with ICLB then being fixed at LOW, the NOR circuit 27 supplies to the inverting word driver 21 a signal inverted from an output of the AND circuit 26. The inverting word driver 28 receives a LOW pulse from the NOR circuit 27 (an reverse-phase version of ICLA delayed by the fourth variable delay circuit 33) to drive the word line WLB.
During the normal operation, the test control signals TESTA and TESTB are both set to LOW level. It should be noted that the test control signals are so set during testing as well, except if the ports A and B are subjected to a simultaneous READ test. The activation timing of the word line WLA is controlled via ICLA, CMOS transfer gate 17, first variable delay circuit 30 and NOR circuit 20. The activation timing of the word line WLB is controlled via ICLB, CMOS transfer gate 24, third variable delay circuit 32 and NOR circuit 27, in a manner independent of WLA. Setting both the test control signals TESTA and TESTB is inhibited.
In the present example, the first variable delay circuit 30 and the third variable delay circuit 32 are of the same configuration (Delay Box1). During the normal operation, the delay time of these delay circuits is set to the same delay value.
In the present example, the second variable delay circuit 31 and the fourth variable delay circuit 33 are of the same configuration (Delay Box2).
The delay time of the first to fourth variable delay circuits 30 to 33 is variably set in response to output signals D0 to Dm of a delay decoder 29. The delay decoder 29 receives delay control signals from, for example, external terminals DLY0 to DLYn, and decodes these input signals to supply the output signals D0 to Dm to the first to fourth variable delay circuits 30 to 33. In
The delay decoder 29, shown in
The circuit configuration, shown in
If, in
In similar manner, if, in
In case the delay value of the variable delay circuit (Delay Box1) of
It should be noticed that the delay time of the buffer in the variable delay circuit (Delay Box1) of
In the present example, the delay value in case the signal D6 is HIGH, with the other signals being LOW, in
If, in
If D5 is HIGH, with the other signals being LOW, the delay value is α.
If D4 is HIGH, with the other signals being LOW, the delay value is 2α.
If D3 is HIGH, with the other signals being LOW, the delay value is 3α.
If D2 is HIGH, with the other signals being LOW, the delay value is 4α.
If D1 is HIGH, with the other signals being LOW, the delay value is 5α.
If D0 is HIGH, with the other signals being LOW, the delay value is 6α.
If D0 to D6 are all LOW, the delay value is 7α.
In the circuit of
For (a), the mode is the normal mode, with TESTA and TESTB both being LOW. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is 0. The outputs of the second and fourth variable delay circuits (Delay Box2) 31 and 33 are not used, and hence the delay is ‘Don't care’. It is noted that, for the normal mode, the AND circuits 19 and 26 are fixed at the LOW level.
For (b), the mode is the TEST mode. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is α and that of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. The word line of the port A is activated earlier by 3α than the word line of the port B.
For (c) and (d), the mode is the TEST mode. The delay values of the first and third variable delay circuits (Delay Box1) 30 and 32 are 2α and 3α, respectively, while that of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. Hence, the word line of the port A is activated earlier by 2α and α than the word line of the port B.
For (e), the mode is the TEST mode. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is 4α, while the delay value of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. The word line of the port A is activated at the same time as the word line of the port B (default setting for TEST).
For (f), (g) and (h), the mode is the TEST mode. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is 4α, while those of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 3α, 2α and α. Hence, the word line of the port B is activated earlier by 3α, 2α and α than the word line of the port A.
For (a), the mode is the normal mode, with TESTA and TESTB both being LOW. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is 0. The outputs of the second and fourth variable delay circuits (Delay Box2) 31 and 33 are not used, and hence the delay is ‘Don't care’. It is noted that, for the normal mode, the AND circuits 19, 26 are fixed at the LOW level.
For (b), the mode is the TEST mode. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is α, while that of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. The word line of the port A is activated earlier by 3α than the word line of the port B.
For (c) and (d), the mode is the TEST mode. The delay values of the first and third variable delay circuits (Delay Box1) 30 and 32 are 2α and 3α, respectively, while that of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. Hence, the word line of the port A is activated earlier by 2α and α than the word line of the port B.
For (e), the mode is the TEST mode. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is 4α, while that of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. The word line of the port A is activated at the same time as the word line of the port B (default setting for TEST).
For (f), (g) and (e), the mode is the TEST mode. The delay value of the first and third variable delay circuits (Delay Box1) 30 and 32 is 5α, 6α and 7α, while that of the second and fourth variable delay circuits (Delay Box2) 31 and 33 is 4α. Hence, the word line of the port A is activated earlier by 3α, 2α and α than the word line of the port B.
When TESTA and TESTB are both LOW, the NAND circuits 11, 13 output signals inverted from CLKA and CLKB, respectively. As ICLA and ICLB, the internal clock signals in phase with CLKA and CLKB are output. See the ‘independent operation’ of
Since the signal TESTB is LOW, the output of the AND circuit 19 is fixed at LOW. When XKA and XEA are HIGH, the NOR circuit 20 outputs an inverted version of ICLA output from the first variable delay circuit 30. The word line (A) WLA of the port A is activated in synchronization with the clock ICLA and hence with CLKA.
Also, since the signal TESTA is LOW, the output of the AND circuit 26 is fixed at LOW. When XKA and XEA are HIGH, the NOR circuit 27 outputs an inverted version of ICLB output from the third variable delay circuit 32. The word line (B) WLB of the port B is activated in synchronization with the clock ICLB and hence with CLKB. That is, the word lines of the ports A and B are controlled independently of each other.
When TESTA is HIGH and TESTB is LOW, the output of the NAND circuit 13 goes HIGH without regard to the value of the clock terminal CLKB, and hence ICLB is fixed at LOW. See the ‘port A test’ of
When TESTB is HIGH and TESTA is LOW, the output of the NAND circuit 11 becomes HIGH without regard to the value of the clock terminal CLKA, and hence ICLA is fixed at LOW. See the ‘port B test’ of
Thus, in the present example, a logic of a test control signal of one of the ports and the word line activation signal of the other port is added in the activation control of the word lines on the same row. If the test control signal of the one port is enabled, the word line of the other port is driven with a signal transition timing which is the same as that of the word line of the one port or with a signal transition timing which has a preset lag and lead time with respect to those of the word line of the one port. In order not to obstruct the word line driving of the other port, logical operation of the test control signal of the one port and the clock signal of the other port entered from outside are performed, in such a manner that, when the test control signal of the one port is enabled (HIGH), the internal clock of the other port is not output.
The test control signal TESTB is activated (set to HIGH). The control signal TESTA is set to LOW (step S13). The port A side is tested. The port A word line and the port B word line are activated simultaneously. In simultaneously activating the port A word line and the port B word line, the delay time of the variable delay circuits (Delay Box1 and Delay Box2) is sequentially varied to carry out READ with simultaneous activation of the port A word line and the port B word line (step S14). In setting the delay time, the timing difference between the port A word line and the port B word line may be varied stepwise so that the timing difference will be incremented from −3α through −2α, −α, 0, α, 2α to 3α, for example.
Referring to
If, in the example shown in
The delay control signal from BIST 2 is delivered to DLY terminals, via signal buffer 7, to set the delay time of the variable delay circuits (Delay Box1 and Delay Box2) of
With the present example, the same clock (the clock from the clock terminal CLKA of the port A) is delivered to the circuit that controls the driving of the word lines WLA and WLB (see
That is, in simultaneous READ of the two ports, the word lines of the two ports A and B are driven by the same clock. Hence, the clock skew of the internal clocks between the ports A and B, ascribable to device-based variations between BIST 2 and the memory circuit 1, is not of a problem. Further, the clock skew of the internal clock from one port to the next, ascribable to the difference in the physical layout in the memory circuit 1, is also not of a problem. Additionally, fine adjustment of the activation timings of the word lines WLA and WLB of the ports A and B may be made by setting from the DLY terminals, as the word lines of the ports A and B are driven by the same clock.
Referring to
If, in the example shown in
A delay control signal 9 from a user control, such as a tester 8, is delivered to DLY terminals to set the delay time of the variable delay circuits (Delay Box1 and Delay Box2) of
A BITS (Built In Self Test) circuit 2 provides respective clock signals for ports A and B via a clock buffer 3 and a clock buffer 4 to the memory circuit 1. The BITS circuit 2 also provides respective test signals for ports A and B via a signal buffer 5 and a signal buffer 6 to the memory circuit 1. The BITS circuit 2 may also provide a delay control signal to the delay decoder 29 which provides decoded output signals D0-Dm to variable delay circuits 30-33 (not shown) provided in the word driver control circuit 46.
The internal clock A output circuit 44 is supplied with a clock signal CLKA for a port A and a test signal TESTB for a port B and outputs an internal clock ICLKA for a port A.
The internal clock B output circuit 42 is supplied with a clock signal CLKB for a port B and a test signal TESTA for a port A and outputs an internal clock ICLKB for a port B.
The address decoder 30 is supplied with an X address out of an address output from the BITS circuit 2 and outputs address selection signals XKA and XEA for port A, and address selection signals XKB and XEB for port B. A Y address out of an address output from the BITS circuit 2 is supplied to a column decoder not shown.
The word driver control circuit 46 is supplied with the internal clock signals ICLKA and ICLKB, the test control signals TESTA and TESTB, the address selection signals XKA and XEA, and the address selection signals XKB and XEB and outputs a signal controlling the activation of the selected word line.
The word driver 48 drives a word line WLA for a port A and a word line WLB for a port B for a selected cell in a memory cell array 32, based upon output signals from the word driver control circuit 46, respectively.
In
With the present example, described above, the following operation and meritorious effect may be derived.
Pre-shipment testing of memory circuits may be conducted under the condition of the severest operational margin, thereby decreasing the rate of post-shipment rejects.
For pre-shipment test such as production testing, proper testing standards can be set, thereby improving the yield.
By entering a delay control signal for controlling the activation of the word lines of the plurality of ports, it is possible to make fine adjustment of the activation timings of the word line of a given port and that of the other port. That is, by setting from the DLY terminals, the timing difference between the activation timing of the word line of the port A and that of the word line of the port B, inclusive of zero timing difference, may be adjusted finely, as the word lines of the ports A and B are being driven by the same clock, it is possible to improve accuracy in testing, such as in timing margin testing.
In the above-described examples, a clock synchronized static memory circuit including a dual-port SRAM cell explained with reference to
It is sufficient that the delay values of the variable delay circuits (Delay Box1 and Delay Box2) can be variably set based on a control signal. That is, the configurations shown in
The disclosures of the above-listed Patent Publications are to be incorporated herein by reference. The examples or examples can be changed or adjusted within the framework of the entire disclosures of the present invention, inclusive of the claims, based on the fundamental technical concept of the invention. Various combinations or selections of disclosed elements are also possible within the framework of the claims of the present invention. That is, the present invention comprises various changes or corrections that may be made by those skilled in the art based on the entire disclosures, inclusive of claims, and on its technical concept.
It should be noted that other objects, features and aspects of the present invention will become apparent in the entire disclosure and that modifications may be done without departing the gist and scope of the present invention as disclosed herein and claimed as appended herewith.
Also it should be noted that any combination of the disclosed and/or claimed elements, matters and/or items may fall under the modifications aforementioned.
Number | Date | Country | Kind |
---|---|---|---|
2007-146875 | Jun 2007 | JP | national |