MULTIFUNCTIONAL LATCH CIRCUIT FOR USE WITH BOTH SRAM ARRAY AND SELF TEST DEVICE
An apparatus and method is provided that combines both self test and functional features in a single latch circuit, which may be used with an SRAM array and is usefully embodied as an L1-L2 latch. During partial writes from an SRAM array, data bits of unknown state are inhibited from entering the latch circuit, while data for testing is allowed to enter. In one useful embodiment of the invention the latch circuit is used with a mode control that provides mode select signals to operate the latch circuit in one of a plurality of modes, including at least full write and partial write modes. The latch circuit further includes a data hold circuit for selectively receiving and storing data coupled to the latch circuit. A first enabling circuit responsive to the mode select signals enables the hold circuit to receive all the data contained in the array during a full write mode, and further enables the hold circuit to receive only some of the data bits contained in the array during a partial write mode, while preventing other data bits of “X” state from entering the latch circuit. A second enabling circuit enables the data hold circuit to receive data bits from a self test source in place of respective data bits from the SRAM array that are prevented from entering the latch circuit.
Latest IBM Patents:
1. Technical Field
The invention disclosed and claimed herein generally pertains to a latch or latch circuit adapted to perform both self test and functional tasks and operations. More particularly, the invention pertains to a latch of the above type wherein functional tasks include writing data into the latch from a Static Random Access Memory (SRAM) array. Even more particularly, the invention pertains to a latch of the above type wherein data bits of unknown state from the SRAM array are prevented from entering the latch, while data for self testing is allowed into the latch.
2. Description of Related Art
As is known by those of skill in the art, flush latches are commonly used to receive data from an array of SRAMs, such as to move data stored temporarily in an SRAM to more permanent storage. It is also known that certain types of SRAMs support partial writes and write throughs. A write through occurs when data written into an SRAM is immediately made available at the output thereof. A partial write occurs when only some of the bit locations of the SRAM are being written to. For example, it could be economical to write only four of eight bits associated with an ASIC to an SRAM. In this situation, data would not be written into some of the bit locations of the SRAM. Accordingly, the read mechanism cannot guarantee to the latch that the contents or states of these bit locations are correct. Herein, bits or bit levels of this type are referred to as “X” states. Generally, when only certain bits in the SRAM are being written to and are thus known, it will be desirable to update only the latches of those written bits. Bits in the SRAM that are not being written to should not be used to update their associated latches. Otherwise, the latch would be written with an unknown state or “X” state.
Those of skill in the art have frequently found it useful to provide groups or sequences of latches with an Automatic Built-in Self Testing (ABIST) capability. In one arrangement, a Multiple Input Shift Register (MISR) is used for this purpose. The MISR is operated to move self test data, or p-bit data, along a latch bus to a sequence of latches connected to the bus. It would be advantageous to provide a simplified latch that could be used in connection with an SRAM array, including SRAMs that supported partial writes and write throughs, wherein the latch also was adapted for use with self test procedures such as those referred to above.
SUMMARY OF THE INVENTIONThe invention generally combines both self test and functional features in a single, simplified latch circuit. The latch circuit of the invention may be used with an SRAM array and may usefully be embodied as an L1-L2 latch, although it is by no means limited to such embodiment. During partial writes from an SRAM array, data bits of an “X” state are inhibited from entering the latch circuit, while data for testing is allowed to enter. One useful embodiment of the invention, directed to a latch circuit for use with one or more RAMS comprising an array, includes a mode control for providing mode select signals to operate the latch circuit in one of a plurality of modes, the plurality of modes including at least full write and partial write modes. This embodiment further includes a data hold circuit for selectively receiving and storing data coupled to the latch circuit. A first enabling circuit responsive to the mode select signals enables the hold circuit to receive all the data contained in the array during a full write mode, and further enables the hold circuit to receive only some of the data bits contained in the array during a partial write mode, while preventing other data bits of “X” state from entering the latch circuit.
BRIEF DESCRIPTION OF THE DRAWINGSThe novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
Referring to
Referring further to
Referring further to
Referring to
To carry out a full read cycle, whereby all data is read out of SRAM array 104 and written into latch circuit 102, a signal sent from control circuit 106 sets the WJ terminal to 0, and sets the read signal RD_INT, through 204a-b, to 1. To carry out a partial write cycle, in order to write only some of the data bits in the SRAM array 104 to latch circuit 102, that is, only data bits that are of known state, the read signal becomes 0. WJ is set to 1 to read known data bits out of the SRAM array, but is set to 0 to prevent bits of “X” state from being read out of the array and thus written into latch circuit 102.
Components of gate 202 are respectively selected and configured so that the STOP output of the gate 202 goes low, or to logic 0, when either WJ or the read signal, or both of them together, are at logic 1.
Referring further to
Referring further to
When the MISR_IN and SYS signals are 0 and the Cl_B clock is toggling, the p-bit data alone is written to the latch L1, through transistors 228a-b or 238a-b, shown in
Referring to
The XOR function referred to above is implemented with transistors, or gates, 230a-b, 232a-b, 234a-b and 236a-b. The behavior is described as follows:
When both the data RT AND p-bit MISR are the same, the L1 node is pulled low.
When data RT and p-bit MISR are not the same, the L1b node is pulled low which forces the L1 node to be high.
In the case “MISR on” the SYS signal is the complement of p-bit MISR and the signal RC is the complement of SRAM data RT.
When PB_T is 1, MISR_IN is 1, and STOP_B is a 1, the MISR_B signal is a 0. This forces SYS_B to be a 1 through 218 and SYS to 0 through 220a-b, 224a-b.
The MISR-B signal of 0 forces MISR to be a 1 through 216a-b. Now the following relationship is established: MISR equals p-bit and SYS equals the complement of p-bit.
When the signals RT and RC representing data and complement SRAM data, respectively, are brought together with the MISR and SYS signals through gates 230a-b, 232a-b, 234a-b and 236a-b, the XOR function is implemented.
Thus, the four combinations of the two signals SRAM data and p-bit drive the L1 node through the four pull down legs 230a-b, 232a-b, 234a-b and 236a-b.
Referring further to
The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Claims
1. A latch circuit for use with one or more RAMs comprising an array, said latch circuit comprising:
- a mode control for providing mode select signals to operate said latch circuit in one of a plurality of modes, said plurality of modes including at least full write and partial write modes;
- a data hold circuit for selectively receiving and storing data coupled to said latch circuit; and
- a first enabling circuit responsive to said mode select signals for enabling said data hold circuit to receive all the data contained in said array during a full write mode, and for further enabling said data hold circuit to receive only some of the data bits contained in said array during a partial write mode, while preventing other of said data bits that are of an uncertain state from entering said latch circuit.
2. The latch circuit of claim 1, wherein:
- said latch circuit includes means for connecting said latch circuit to a second data source; and
- said latch circuit further includes a second enabling circuit for enabling said data hold circuit to receive respective data bits from said second source in place of said data bits contained in said SRAM array that are prevented from entering said latch circuit.
3. The latch circuit of claim 2, wherein:
- said data bits from said second data source comprise data for use in automatic self testing of a sequence of latches associated with said latch circuit.
4. The latch circuit of claim 3, wherein:
- said second data source comprises a MISR, and data from said second data source comprises p-bit data.
5. The latch circuit of claim 4, wherein:
- said SRAM array is disposed to receive a partial write through of data, and said first enabling circuit operates to prevent data from any bit locations of said array that are not written to during said partial write through from entering said latch circuit.
6. The latch circuit of claim 5, wherein:
- said first enabling circuit comprises a dynamic OR gate.
7. The latch circuit of claim 2, wherein:
- said second enabling circuit comprises an XOR gate configured to prevent said data hold circuit from receiving data from said SRAM array and from said second source at the same time.
8. The latch circuit of claim 2, wherein:
- said data hold circuit is included in an L1 latch, and said latch circuit is operable during a scan data in mode to scan data into said L1 latch from a third data source connected to said latch circuit.
9. The latch circuit of claim 8, wherein:
- an L2 latch is connected to said L1 latch, and said latch circuit is operable during a scan data out mode to scan data out of said L2 latch to a data recipient connected to said latch circuit.
10. The latch circuit of claim 2, wherein:
- said RAM array comprises a static RAM array.
11. A latch circuit comprising:
- a data hold circuit for selectively receiving and storing data coupled to said latch circuit;
- means for connecting said latch circuit to an SRAM array disposed to receive a partial write through of data;
- means for connecting said latch circuit to a second data source;
- a first enabling circuit for allowing said data hold circuit to receive certain data bits from said SRAM array, while at the same time preventing data bits from any bit locations of said array that are not written to during said partial write through from entering said latch circuit; and
- a second enabling circuit for enabling said data hold circuit to receive respective data bits from said second source in place of said data bits contained in said SRAM array that are prevented from entering said latch circuit.
12. The latch circuit of claim 11, wherein:
- said data bits from said second data source comprise data for use in automatic self testing of a sequence of latches associated with said latch circuit.
13. The latch circuit of claim 12, wherein:
- said second data source comprises a MISR, and data from said second data source comprises p-bit data.
14. The latch circuit of claim 13, wherein:
- said first enabling circuit comprises a dynamic OR gate.
15. The latch circuit of claim 14, wherein:
- said second enabling circuit comprises an XOR gate configured to prevent said data hold circuit from receiving data from said SRAM array and from said second source at the same time.
16. A method for operating a latch circuit having a data hold circuit array and coupled to an SRAM array, said method comprising the steps of:
- providing mode select signals to operate said latch circuit in one of a plurality of modes, said plurality of modes including at least full write and partial write modes;
- enabling said data hold circuit to receive all the data contained in said array during a full write mode; and
- enabling said data hold circuit to receive only some of the data bits contained in said array during a partial write mode, and at the same time preventing other data bits that are of an “X” state from entering said latch circuit.
17. The method of claim 16, wherein:
- said data hold circuit is enabled to receive respective data bits from a second source connected to said latch circuit in place of said data bits contained in said SRAM array that are prevented from entering said latch circuit.
18. The method of claim 17, wherein:
- said data bits from said second data source comprise data for use in automatic self testing of a sequence of latches associated with said latch circuit.
19. The method of claim 18, wherein:
- said second data source comprises a MISR, and data from said second data source comprises p-bit data.
20. The method of claim 19, wherein:
- said SRAM array is disposed to receive a partial write through of data, and said method includes preventing data from any bit locations of said array that are not written to during said partial write through from entering said latch circuit.
Type: Application
Filed: Feb 10, 2005
Publication Date: Aug 10, 2006
Applicant: International Business Machines Corporation (Armonk, NY)
Inventors: Andrew Bianchi (Austin, TX), Yuen Chan (Poughkeepsie, NY), William Huott (Holmes, NY), Michael Hyeok Lee (Austin, TX), Edelmar Seewann (Austin, TX), Philip Shephard (Round Rock, TX)
Application Number: 11/055,043
International Classification: G11C 11/00 (20060101);