Memory
By introducing a data input and output selector into the memory and using the target data input and output pins to receive test serial data and transmit it to the corresponding path, the problem of low memory test efficiency in the existing technology is solved and efficient memory testing is achieved.
Patent Information
- Application Number
- PCT/CN2024/078017
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2024-02-22
- Publication Date
- 2024-09-12
AI Technical Summary
In the existing memory testing process, using all pins for data transmission limits the number of memories tested at the same time and reduces test efficiency.
By introducing a data input and output selector in the memory, the target data input and output pins are used to receive the test serial data, and the data is transmitted to the corresponding transmission path according to the test enable signal and flip enable signal, thereby reducing the number of data input and output pins. The usage quantity improves the testing efficiency.
It is realized that only one data input and output pin is used during testing, which increases the number of memories tested simultaneously, improves test efficiency, and expands the data mode and test range.
Smart Images

Figure CN2024078017_12092024_PF_FP_ABST
Abstract
Description
Memory
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on March 3, 2023, with application number 202310216310.6 and application name “Memory”, the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0003] The present disclosure relates to, but is not limited to, a memory. Background Art
[0004] With the widespread use of various memories, such as dynamic random access memory (DRAM), in practical applications, it is necessary to test the packaged memories in order to ensure product reliability.
[0005] Therefore, how to improve the test efficiency of memory becomes an issue that needs to be considered.
[0006] Summary of the Invention
[0007] Embodiments of the present disclosure provide a memory for improving memory testing efficiency.
[0008] According to some embodiments, the present disclosure provides a memory comprising:
[0009] a plurality of data input and output pins, used to receive or output working serial data when the memory is in a working state, wherein one of the data input and output pins is a target data input and output pin, and the target data input and output pin is used to receive test serial data when the memory is in a test state;
[0010] A data input / output selector, wherein the first input terminal receives the test serial data, the first control terminal receives the test enable signal group, the second control terminal receives the flip enable signal group, and the third control terminal receives the work enable signal; wherein,
[0011] When the memory is in a test state, the data input / output selector is used to transmit the data in the test serial data to the partial transmission paths corresponding to the data input / output pins according to the test enable signal group, and the data input / output selector is further used to flip the data in the test serial data according to the flip enable signal group and then transmit the data to another partial transmission path corresponding to the data input / output pins;
[0012] When the memory is in a working state, the data input / output selector transmits the working serial data received by each data input / output pin to the corresponding transmission path according to the working enable signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the embodiments of the present disclosure.
[0014] FIG1 is a diagram illustrating an example of a pin architecture of a memory device according to an embodiment of the present disclosure;
[0015] FIG2 is a schematic diagram of read and write data transmission according to an embodiment of the present disclosure;
[0016] FIG3 is a structural diagram of a memory according to an embodiment of the present disclosure;
[0017] FIG4 is a structural diagram of a memory according to an embodiment of the present disclosure;
[0018] FIG5 is a diagram illustrating an example structure of a memory according to an embodiment of the present disclosure;
[0019] FIG6 is a schematic structural diagram of a storage array according to an embodiment of the present disclosure;
[0020] FIG7 is a schematic structural diagram of a second selector according to an embodiment of the present disclosure;
[0021] FIG8 is a schematic structural diagram of a signal generating circuit according to an embodiment of the present disclosure;
[0022] FIG9 is a schematic diagram of write data transmission according to an embodiment of the present disclosure.
[0023] The above drawings illustrate specific embodiments of the present disclosure, which will be described in more detail below. These drawings and textual descriptions are not intended to limit the scope of the present disclosure in any way, but rather to illustrate the concepts of the present disclosure to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0024] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0025] The terms "including" and "having" in this disclosure are intended to convey an open-ended, inclusive meaning and indicate that additional elements / components / etc. may be present in addition to the listed elements / components / etc. The terms "first" and "second" are used merely as labels and do not limit the number of their objects. Furthermore, the various elements and regions in the drawings are schematically illustrated only, and thus this disclosure is not limited to the sizes or distances shown in the drawings.
[0026] The technical solutions of the present disclosure are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present disclosure will be described below with reference to the accompanying drawings.
[0027] FIG1 is an example diagram of a pin architecture of a memory according to an embodiment of the present disclosure. As shown in FIG1 , the memory includes a plurality of pins, wherein the plurality of pins can be divided into power pins, data / address pins, and control command pins.
[0028] The power pins may include VDD1, VDD2H, VDD2L, and VDDQ. The VDD1 pin receives VDD1 to power the memory core; the VDD2H pin receives VDD2H to power the memory core; the VDD2L pin receives VDD2L to power the memory core; and the VDDQ pin receives VDDQ to power the I / O buffer. In practical applications, the memory may have three voltage levels: VDD1, VDD2, and VDDQ. VDD2 may include VDD2H and VDD2L. VDD1 and VDD2 represent the memory core operating voltages. VDD1 and VDD2 have different voltage values, with VDD2H representing a higher voltage and VDD2L representing a lower voltage. VDDQ represents a high-quality voltage that has been noise-filtered and is robust against interference.
[0029] The data / address pins may include pins DQ0 to DQ15 and pins CA0 to CA6. In practical applications, the memory internally includes a memory array, which includes multiple memory cells, each with corresponding rows and columns. When performing a read or write operation, it is necessary to first specify which row and column of the memory array to read from, or which row and column of the memory array to write to. The CA0 to CA6 pins can receive either a read address or a write address. A read address specifies which row and column of the memory array to read from, while a write address specifies which row and column of the memory array to write to. The DQ0 to DQ15 pins can receive and output write data. During a read operation, the DQ0 to DQ15 pins output data read from the memory cell, and during a write operation, the DQ0 to DQ15 pins receive data to be written to the memory cell.
[0030] The control command pins may include a WCK pin, an RDQS pin (also known as a read strobe pin), a DMI pin, a CK pin, etc. Among them, the WCK pin includes a WCK1_t pin, a WCK1_c pin, a WCK0_t pin, and a WCK0_c pin; the RDQS pin includes a RDQS1_t pin, a RDQS1_c pin, a RDQS0_t pin, and a RDQS0_c pin; the DMI pin includes a DMI0 pin and a DMI1 pin; and the CK pin includes a CK_t pin and a CK_c pin. The WCK1_t pin receives WCK1_t, the WCK1_c pin receives WCK1_c, the WCK0_t pin receives WCK0_t, and the WCK0_c pin receives WCK0_c; the RDQS1_t pin receives RDQS1_t, the RDQS1_c pin receives RDQS1_c, the RDQS0_t pin receives RDQS0_t, and the RDQS0_c pin receives RDQS0_c; the DMI0 pin receives DMI0, the DMI1 pin receives DMI1; the CK_t pin receives CK_t, and the CK_c pin receives CK_c.
[0031] WCK1_t, WCK1_c, WCK0_t, and WCK0_c represent the write clocks, which are used to sample the write data received by DQ0 through DQ15. In practical applications, WCK1_t and WCK1_c are used to sample the write data received by pins DQ8 through DQ15, while WCK0_t and WCK0_c are used to sample the write data received by pins DQ0 through DQ7. WCK1_t, WCK1_c, WCK0_t, and WCK0_c can run at twice or four times the CK_t / CK_c frequency to increase the sampling rate. RDQS1_t, RDQS1_c, RDQS0_t, and RDQS0_c represent the read clocks, also known as read strobe signals, which are used to sample the read data output by DQ0 through DQ15. In actual applications, RDQS1_t and RDQS1_c are used to sample the read data output by the DQ8 to DQ15 pins, and RDQS0_t and RDQS0_c are used to sample the read data output by the DQ0 to DQ7 pins.
[0032] DMI1 and DMI0 represent data mask signals (DM). These signals are used to mask write data received on pins DQ0 through DQ15 to determine which write data is written to the memory cells. In practice, DMI1 is used to mask write data received on pins DQ8 through DQ15, and DMI0 is used to mask write data received on pins DQ0 through DQ7.
[0033] CK_t and CK_c represent the command address clock, which is used to sample the read address or write address. In practical applications, all command, address, and control input signals are sampled at the intersection of the rising edge of CK_t and the falling edge of CK_c.
[0034] Control command pins may also include the ZQ pin, RESET pin, and CS pin. The ZQ pin receives the ZQ signal, which represents the standard signal and is used to calibrate the output drive strength. The RESET_n pin receives the RESET_n signal, which represents the reset signal and is used to reset the memory to its default state. The CS pin receives the CS signal, which represents the chip select signal and is used to select the target die.
[0035] It should be noted that the pins related to data input and output include DQ0 to DQ15, WCK1_t, WCK1_c, WCK0_t, WCK0_c, RDQS1_t, RDQS1_c, RDQS0_t, RDQS0_c, DMI1, and DMI0. Therefore, there are 26 pins related to data input and output.
[0036] In actual applications, in order to ensure the reliability of memory products, it is necessary to test the memory after packaging. Memory testing involves writing and reading the memory, and writing and reading rely on various pins of the memory.
[0037] As shown in Figure 2, Figure 2 is an example diagram of read and write data transmission provided by an embodiment of the present disclosure. Taking the write scenario as an example, each DQ pin among the DQ0~DQ15 pins receives 16-bit write data, the WCK0_t pin receives WCK0_t, the WCK0_c pin receives WCK0_c, WCK0_t and WCK0_c are used to sample the write data received by the DQ0~DQ7 pins, the WCK1_t pin receives WCK1_t, the WCK1_c pin receives WCK1_c, WCK1_t and WCK1_c are used to sample the write data received by the DQ8~DQ15 pins.
[0038] As shown in Figure 2, when the memory is in test mode, each DQ pin receives 16 bits of write data, and the DQ0 to DQ15 pins receive a total of 256 bits of data, which are stored in the main memory array. DMI0 and DMI1 each receive 16 bits of check code data and store them in the check code storage array.
[0039] The data path circuit transmits the 256-bit data received by the DQ0 to DQ15 pins, the 16-bit check code data received by the DMI0 pin, and the 16-bit check code data received by the DMI1 pin to the array read / write circuit.
[0040] Taking the read scenario in memory test mode as an example, the array read / write circuit reads data from the main memory array and reads check code data from the check code storage array, and transmits them to the data transmission circuit. The data transmission circuit transmits the read data to the DQ pin and the check code data to the DMI pin. As shown in Figure 2, the array read / write circuit reads 256 bits of data from the 256 memory cells of the main memory array and 32 bits of check code data from the 32 memory cells of the check code storage array, and transmits the 256 bits of data and 32 bits of check code data to the data transmission circuit. The data transmission circuit transmits each 16-bit data to each DQ pin from DQ0 to DQ15, and transmits the two 16-bit check code data to the DMI0 pin and the DMI1 pin, respectively. Then, the RDQS0_t pin receives RDQS0_t, the RDQS0_c pin receives RDQS0_c, RDQS0_t and RDQS0_c are used to sample the read data output by the DQ0 to DQ7 pins, the RDQS1_t pin receives RDQS1_t, the RDQS1_c pin receives RDQS1_c, RDQS1_t and RDQS1_c are used to sample the read data output by the DQ8 to DQ15 pins.
[0041] During the memory test, if all pins are used for data transmission, signal transmission, etc., the number of memories that can be tested simultaneously will be limited, thereby reducing the test efficiency.
[0042] Figure 3 is a diagram illustrating the structure of a memory device according to an embodiment of the present disclosure. The memory device according to this embodiment is used to reduce the number of memory pins used during testing. As shown in Figure 3 , the memory device includes: multiple data input / output pins (only two data input / output pins, DQ6 and DQ7, are shown in Figure 3 ); and a data input / output selector 101 , wherein one of the data input / output pins is a target data input / output pin (e.g., DQ7 is the target data input / output pin).
[0043] Multiple data input / output pins are used to receive or output working serial data when the memory is in an operating state, and target data input / output pins are used to receive test serial data when the memory is in a test state. A first input terminal of data input / output selector 101 receives test serial data received by the target data input / output pin when the memory is in a test state. A second input terminal of data input / output selector 101 receives working serial data received by the multiple data input / output pins when the memory is in an operating state. A first control terminal of data input / output selector 101 receives a test enable signal group TestFlag, a second control terminal of data input / output selector 101 receives a reverse enable signal group ReverseFlag, and a third control terminal of data input / output selector 101 receives a working enable signal NormalDataEn. When the memory is in the test state, the data input-output selector 101 is used to transmit the data in the test serial data to the partial transmission paths corresponding to the data input-output pins according to the test enable signal group TestFlag. The data input-output selector 101 is also used to flip the data in the test serial data according to the flip enable signal group ReverseFlag and transmit them to another partial transmission path corresponding to the data input-output pins. When the memory is in the working state, the data input-output selector 101 transmits the working serial data received by each data input-output pin to its corresponding transmission path according to the working enable signal NormalDataEn.
[0044] Therefore, during memory testing, test serial data can be received only through the target data I / O pins, reducing the number of data I / O pins used. This increases the number of memories that can be tested simultaneously and improves test efficiency. Furthermore, by flipping the data within the test serial data and then transmitting it to the transmission paths corresponding to the respective data I / O pins, the data pattern is expanded and test coverage is increased, for example, enabling ECC (Error Correcting Code) testing.
[0045] Among them, the transmission path corresponding to the data input and output pin includes a path for writing the working serial data or test serial data received by the data input and output pin into the storage unit, such as the data transmission circuit and array read-write circuit in the above embodiment. Since each data input and output pin can receive multi-bit serial data, each storage unit can only write 1 bit of data. The serial data received by each data input and output pin can be written into multiple storage units, and thus each data input and output pin can correspond to multiple transmission paths.
[0046] In practical applications, the memory provided in this embodiment can be used to test various memory chips. For example, the memory can be applied to, but not limited to, low-power double data rate synchronous dynamic random access memory (LPDDR SDRAM), such as LPDDR5. The memory in this embodiment can be considered a device under test (DUT).
[0047] In some embodiments, all transmission paths corresponding to any data input / output pin receive the same bit of data in the test serial data, that is, each bit of data in the test serial data received by the target data input / output pin can be transmitted to all transmission paths corresponding to each data input / output pin respectively, so that only one data input / output pin needs to be used to receive the test serial data during the memory test, thereby reducing the number of pins used.
[0048] For example, the memory includes 16 DQ pins, which are respectively recorded as DQ0 to DQ15 pins, among which DQ7 pin is the target data input and output pin. The test serial data received by DQ7 pin is 16-bit data, which are respectively recorded as A to P. As shown in Figure 6, all transmission paths corresponding to DQ0 pin can receive A, all transmission paths corresponding to DQ1 pin can receive B, all transmission paths corresponding to DQ2 pin can receive C, all transmission paths corresponding to DQ3 pin can receive D, all transmission paths corresponding to DQ4 pin can receive E, and all transmission paths corresponding to DQ5 pin can receive F. , all transmission paths corresponding to the DQ6 pin can receive G, all transmission paths corresponding to the DQ7 pin can receive H, all transmission paths corresponding to the DQ8 pin can receive I, all transmission paths corresponding to the DQ9 pin can receive J, all transmission paths corresponding to the DQ10 pin can receive K, all transmission paths corresponding to the DQ11 pin can receive L, all transmission paths corresponding to the DQ12 pin can receive M, all transmission paths corresponding to the DQ13 pin can receive N, all transmission paths corresponding to the DQ14 pin can receive O, and all transmission paths corresponding to the DQ15 pin can receive P. Of course, all transmission paths corresponding to any data input / output pin can also receive the inverted data of one bit of the test serial data, or some transmission paths receive one bit of the test serial data, and the remaining transmission paths receive the inverted data of one bit of the test serial data.
[0049] In some embodiments, as shown in FIG4 , the data input / output selector 101 includes multiple first selectors 1011 , each corresponding to a data input / output pin. The first input of each first selector 1011 receives one bit of test serial data when the memory is in a test state, and the second input of each first selector 1011 receives working serial data received by the corresponding data input / output pin when the memory is in a working state. The test enable signal group TestFlag includes multiple test enable signals TDEn0-TDEn15, and the flip enable signal group ReverseFlag includes multiple flip enable signals TDRvsEn0-TDRvsEn15. The first control terminal of each first selector receives a test enable signal, the second control terminal of each first selector receives a flip enable signal, and the third control terminal of each first selector receives the working enable signal NormalDataEn. For example, the data input-output selector 101 includes 16 first selectors, each first selector corresponds to a data input-output pin, the first control ends of the 16 first selectors receive the test enable signals TDEn0-TDEn15 in sequence, the second controllers of the 16 first selectors receive the flip enable signals TDRvsEn0-TDRvsEn15 in sequence, and the third control ends of the 16 first selectors all receive the work enable signal NormalDataEn.
[0050] It should be noted that different first selectors may receive different test enable signals, different first selectors may also receive different flip enable signals, different first selectors may receive the same work enable signal, and of course, different first selectors may receive the same test enable signal and the same flip enable signal.
[0051] When the memory is in a test state, each first selector can transmit data received at its first input end to a partial transmission path corresponding to its corresponding data input / output pin based on a test enable signal received at its first control end. Each first selector is also configured to invert the data received at its first input end and transmit the data to another partial transmission path corresponding to its corresponding data input / output pin based on a flip enable signal received at its second control end, wherein all transmission paths corresponding to the data input / output pins include the aforementioned partial transmission paths and another partial transmission path. When the memory is in an operating state, each first selector can transmit the operating serial data of the corresponding data input / output pin received at its second input end to the transmission path corresponding to the corresponding data input / output pin based on an operating enable signal received at its third control end.
[0052] For example, as shown in Figure 4, only the DQ6 and DQ7 pins are shown. It is understood that the memory includes but is not limited to the DQ6 and DQ7 pins. The memory may include 16 DQ pins, DQ0 to DQ15, and the data input and output selectors may include 16 first selectors, which are labeled mux0 to mux15. The DQ0 pin corresponds to mux0, the DQ1 pin corresponds to mux1, the DQ2 pin corresponds to mux2, the DQ3 pin corresponds to mux3, and so on, until the DQ15 pin corresponds to mux15. Among them, the DQ7 pin is the target data input and output pin. The test serial data received by the DQ7 pin is 16 bits of data, which are labeled A to P respectively.
[0053] The first input of mux0 receives A when the memory is in the test state, and the second input of mux0 receives the working serial data received by the DQ0 pin when the memory is in the working state; the first input of mux1 receives B when the memory is in the test state, and the second input of mux1 receives the working serial data received by the DQ1 pin when the memory is in the working state; the first input of mux2 receives C when the memory is in the test state, and the second input of mux2 receives the working serial data received by the DQ2 pin when the memory is in the working state; the first input of mux3 receives D when the memory is in the test state, and the second input of mux3 receives DQ3 when the memory is in the working state The first input end of mux4 receives E when the memory is in the test state, and the second input end of mux4 receives the working serial data received by the DQ4 pin when the memory is in the working state; the first input end of mux5 receives F when the memory is in the test state, and the second input end of mux5 receives the working serial data received by the DQ5 pin when the memory is in the working state; the first input end of mux6 receives G when the memory is in the test state, and the second input end of mux6 receives the working serial data received by the DQ7 pin when the memory is in the working state; the first input end of mux7 receives H when the memory is in the test state, and the second input end of mux7 receives H when the memory is in the test state. When the memory is in the working state, it receives the working serial data received by the DQ7 pin; the first input end of mux8 receives I when the memory is in the test state, and the second input end of mux8 receives the working serial data received by the DQ8 pin when the memory is in the working state; the first input end of mux9 receives J when the memory is in the test state, and the second input end of mux9 receives the working serial data received by the DQ9 pin when the memory is in the working state; the first input end of mux10 receives K when the memory is in the test state, and the second input end of mux10 receives the working serial data received by the DQ10 pin when the memory is in the test state; the first input end of mux11 receives L, the second input end of mux11 receives the working serial data received by the DQ11 pin when the memory is in the working state; the first input end of mux12 receives M when the memory is in the test state, and the second input end of mux12 receives the working serial data received by the DQ12 pin when the memory is in the working state; the first input end of mux13 receives N when the memory is in the test state, and the second input end of mux13 receives the working serial data received by the DQ13 pin when the memory is in the working state; the first input end of mux14 receives O when the memory is in the test state, and the second input end of mux14 receives the working serial data received by the DQ14 pin when the memory is in the working state;The first input terminal of mux15 receives P when the memory is in the working state, and the second input terminal of mux15 receives the working serial data received by the DQ16 pin when the memory is in the working state.
[0054] Accordingly, when the memory is in a test state, mux0 transmits A to the portion of the transmission path corresponding to the DQ0 pin based on the test enable signal TDEn0 received at its first control terminal, and inverts A and transmits it to another portion of the transmission path corresponding to the DQ0 pin based on the flip enable signal TDRvsEn0 received at its second control terminal. mux1 transmits B to the portion of the transmission path corresponding to the DQ1 pin based on the test enable signal TDEn1 received at its first control terminal, and inverts B and transmits it to another portion of the transmission path corresponding to the DQ1 pin based on the flip enable signal TDRvsEn1 received at its second control terminal. mux2 transmits C to the portion of the transmission path corresponding to the DQ2 pin based on the test enable signal TDEn2 received at its first control terminal, and inverts C and transmits it to another portion of the transmission path corresponding to the DQ2 pin based on the flip enable signal TDRvsEn2 received at its second control terminal. mux3 transmits D to the portion of the transmission path corresponding to the DQ3 pin based on the test enable signal TDEn3 received at its first control terminal, and inverts D and transmits it to another portion of the transmission path corresponding to the DQ3 pin based on the flip enable signal TDRvsEn3 received at its second control terminal. mux4 transmits E to the portion of the transmission path corresponding to the DQ4 pin based on the test enable signal TDEn4 received at its first control terminal, and inverts E and transmits it to another portion of the transmission path corresponding to the DQ4 pin based on the flip enable signal TDRvsEn4 received at its second control terminal. mux5 transmits F to the portion of the transmission path corresponding to the DQ5 pin based on the test enable signal TDEn5 received at its first control terminal, and inverts F and transmits it to another portion of the transmission path corresponding to the DQ5 pin based on the flip enable signal TDRvsEn5 received at its second control terminal. mux6 transmits G to the portion of the transmission path corresponding to the DQ6 pin based on the test enable signal TDEn6 received at its first control terminal, and inverts G and transmits it to another portion of the transmission path corresponding to the DQ6 pin based on the flip enable signal TDRvsEn6 received at its second control terminal. mux7 transmits H to the portion of the transmission path corresponding to the DQ7 pin based on the test enable signal TDEn7 received at its first control terminal, and inverts H and transmits it to another portion of the transmission path corresponding to the DQ7 pin based on the flip enable signal TDRvsEn7 received at its second control terminal. mux8 transmits I to the portion of the transmission path corresponding to the DQ8 pin based on the test enable signal TDEn8 received at its first control terminal, and inverts I and transmits it to another portion of the transmission path corresponding to the DQ8 pin based on the flip enable signal TDRvsEn8 received at its second control terminal. mux9 transmits J to a portion of the transmission path corresponding to the DQ9 pin according to the test enable signal TDEn9 received at its first control end, and flips J and transmits it to another portion of the transmission path corresponding to the DQ9 pin according to the flip enable signal TDRvsEn9 received at its second control end.mux10 transmits K to the portion of the transmission path corresponding to the DQ10 pin based on the test enable signal TDEn10 received at its first control terminal, and inverts K and transmits it to another portion of the transmission path corresponding to the DQ10 pin based on the flip enable signal TDRvsEn10 received at its second control terminal. mux11 transmits L to the portion of the transmission path corresponding to the DQ11 pin based on the test enable signal TDEn11 received at its first control terminal, and inverts L and transmits it to another portion of the transmission path corresponding to the DQ11 pin based on the flip enable signal TDRvsEn11 received at its second control terminal. mux12 transmits M to the portion of the transmission path corresponding to the DQ12 pin based on the test enable signal TDEn12 received at its first control terminal, and inverts M and transmits it to another portion of the transmission path corresponding to the DQ12 pin based on the flip enable signal TDRvsEn12 received at its second control terminal. Mux13 transmits N to the portion of the transmission path corresponding to the DQ13 pin based on the test enable signal TDEn13 received at its first control terminal, and inverts N and transmits it to another portion of the transmission path corresponding to the DQ13 pin based on the flip enable signal TDRvsEn13 received at its second control terminal. Mux14 transmits O to the portion of the transmission path corresponding to the DQ14 pin based on the test enable signal TDEn14 received at its first control terminal, and inverts O and transmits it to another portion of the transmission path corresponding to the DQ14 pin based on the flip enable signal TDRvsEn14 received at its second control terminal. Mux15 transmits P to the portion of the transmission path corresponding to the DQ15 pin based on the test enable signal TDEn15 received at its first control terminal, and inverts P and transmits it to another portion of the transmission path corresponding to the DQ15 pin based on the flip enable signal TDRvsEn15 received at its second control terminal.
[0055] It should be noted that when the memory is in the test state, mux0 also transmits A to all transmission paths corresponding to the DQ0 pin based on the test enable signal TDEn0 received at its first control terminal, or inverts A and then transmits it to all transmission paths corresponding to the DQ0 pin based on the flip enable signal TDRvsEn0 received at its second control terminal. Other muxes can also transmit corresponding data to all transmission paths corresponding to the DQ pin based on the test enable signal TDEn received at their first control terminal, or transmit corresponding data to all transmission paths corresponding to the DQ pin based on the flip enable signal TDRvsEn received at their second control terminal. This is not further described here.
[0056] When the memory is in working state, mux0 transmits the working serial data received by DQ0 pin to the transmission path corresponding to DQ0 pin, mux1 transmits the working serial data received by DQ1 pin to the transmission path corresponding to DQ1 pin, mux2 transmits the working serial data received by DQ2 pin to the transmission path corresponding to DQ2 pin, mux3 transmits the working serial data received by DQ3 pin to the transmission path corresponding to DQ3 pin, mux4 transmits the working serial data received by DQ4 pin to the transmission path corresponding to DQ4 pin, mux5 transmits the working serial data received by DQ5 pin to the transmission path corresponding to DQ5 pin, mux6 transmits the working serial data received by DQ6 pin to the transmission path corresponding to DQ6 pin, mux7 transmits the working serial data received by DQ7 pin to the transmission path corresponding to DQ7 pin, mux 8 transmits the working serial data received by DQ8 pin to the transmission path corresponding to DQ8 pin, mux9 transmits the working serial data received by DQ9 pin to the transmission path corresponding to DQ9 pin, mux10 transmits the working serial data received by DQ10 pin to the transmission path corresponding to DQ10 pin, mux11 transmits the working serial data received by DQ11 pin to the transmission path corresponding to DQ11 pin, mux12 transmits the working serial data received by DQ12 pin to the transmission path corresponding to DQ12 pin, mux13 transmits the working serial data received by DQ13 pin to the transmission path corresponding to DQ13 pin, mux14 transmits the working serial data received by DQ14 pin to the transmission path corresponding to DQ14 pin, and mux15 transmits the working serial data received by DQ15 pin to the transmission path corresponding to DQ15 pin.
[0057] In this example, as shown in FIG5 , each first selector 1011 includes multiple second selectors 1012 , each of which corresponds to a transmission path of a data input / output port. The first input terminal of each second selector 1012 in the same first selector 1011 receives one bit of test serial data when the memory is in a test state, and the second input terminal receives one bit of working serial data received by the corresponding data input / output pin when the memory is in a working state. The test enable signal TDEn includes multiple test enable sub-signals TestDataEn, and the flip enable signal TDRvsEn includes multiple flip enable sub-signals TestDataRvsEn. Each second selector 1012 receives a test enable sub-signal TestDataEn at its first control terminal, a flip enable sub-signal TestDataRvsEn at its second control terminal, and a working enable signal NormalDataEn at its third control terminal.
[0058] For example, as shown in Figure 5, the first selector mux6 corresponding to the DQ6 pin includes 16 second selectors, the first end of each second selector in mux6 receives the test enable sub-signal TestDataEn6-0 to TestDataEn6-15 in sequence, and the second end of each second selector in mux6 receives the flip enable sub-signal TestDataRvsEn6-0 to TestDataRvsEn6-15 in sequence, and the first selector mux7 corresponding to the DQ7 pin includes 16 second selectors, the first end of each second selector in mux7 receives the test enable sub-signal TestDataEn7-0 to TestDataEn7-15 in sequence, and the second end of each second selector in mux6 receives the flip enable sub-signal TestDataRvsEn7-0 to TestDataRvsEn7-15 in sequence.
[0059] It should be noted that the second selectors in different first selectors can receive different test enable sub-signals TestDataEn and different flip enable sub-signals TestDataRvsEn, and the second selectors in the same first selector can also receive different test enable sub-signals TestDataEn and different flip enable sub-signals TestDataRvsEn. The second selectors in the same first selector can also receive the same test enable sub-signal TestDataEn and the same flip enable sub-signal TestDataRvsEn.
[0060] It can be understood that the data corresponding to any transmission path among the multiple transmission paths corresponding to the DQ0~DQ15 pins can be flipped, and when flipping the data, it can be repeatedly flipped by 2 bits, 4 bits or 8 bits, that is, the 2-bit data at the same position in the data transmission path corresponding to each DQ pin is flipped, or the 4-bit data is flipped, or the 8-bit data is flipped, etc.
[0061] For example, as shown in FIG6 , among the DQ0 to DQ7 pins, the 16 second selectors corresponding to each DQ pin are controlled by four groups of identical flip enable sub-signals TestDataRvsL<0-3>, TestDataRvsL<4-7>, TestDataRvsL<8-11>, and TestDataRvsL<12-15>, i.e., TestDataRvsL<0-3>, TestDataRvsL<4-7>, TestDataRvsL<8-11>, and TestDataRvsL<12-15> are identical flip enable sub-signals. Sub-signals, among the DQ8~DQ15 pins, the 16 second selectors corresponding to each DQ pin are controlled by four groups of identical flip enable sub-signals TestDataRvsR<0-3>, TestDataRvsR<4-7>, TestDataRvsR<8-11>, and TestDataRvsR<12-15>, that is, TestDataRvsR<0-3>, TestDataRvsR<4-7>, TestDataRvsR<8-11>, and TestDataRvsR<12-15> are the same flip enable sub-signals.
[0062] Among them, TestDataRvsL<0-3> is used to control the flip of B0-B3 in the DQ0-DQ7 pins, TestDataRvsL<4-7> is used to control the flip of B4-B7 in the DQ0-DQ7 pins, TestDataRvsL<8-11> is used to control the flip of B8-B11 in the DQ0-DQ7 pins, and TestDataRvsL<12-15> is used to control the flip of B12-B15 in the DQ0-DQ7 pins. TestDataRvsR<0-3> is used to control the flipping of B0-B3 in the DQ8-DQ15 pins, TestDataRvsR<4-7> is used to control the flipping of B4-B7 in the DQ8-DQ15 pins, TestDataRvsR<8-11> is used to control the flipping of B8-B11 in the DQ8-DQ15 pins, and TestDataRvsR<12-15> is used to control the flipping of B12-B15 in the DQ8-DQ15 pins.
[0063] It can be understood that in this example, when there is no flip function, the data transmitted by the transmission path corresponding to each DQ pin is consistent, then only 16 data are independent, and there are a total of 2^16 data combinations. When there is a flip function, the 16 data corresponding to each DQ pin are independent, and there are 8 flip enable sub-signals TestDataRvsEn to control data flipping, then there are a total of 2^24 data combinations.
[0064] When the memory is in a test state, each second selector is used to transmit the data received at its first input end to a corresponding transmission path based on the test enable sub-signal TestDataEn received at its first control end, or each second selector is used to invert the data received at its first input end and transmit it to a corresponding transmission path based on the inversion enable sub-signal TestDataRvsEn received at its second control end. When the memory is in a working state, each second selector is used to transmit the data received at its second input end to a corresponding transmission path based on the working enable signal NormalDataEn received at its third control end. In this embodiment, a transmission path of a data input / output pin can be understood as a transmission path that writes one bit of test serial data or working serial data received by the data input / output pin into a storage unit.
[0065] In this example, as shown in FIG5 , the DQ6 and DQ7 pins are used as examples, where the DQ7 pin is the target data input and output pin. The DQ7 pin and the DQ6 pin each correspond to a plurality of second selectors 1012. For example, when the DQ6 pin and the DQ7 pin each correspond to 16 transmission paths, the DQ7 pin and the DQ7 pin can each correspond to 16 second selectors. The first input end of each second selector corresponding to the DQ7 pin receives the same bit of test serial data received by the DQ7 pin when the memory is in a test state, and the second input end receives a bit of work serial data received by the DQ7 pin when the memory is in an operating state. The first input end of each second selector corresponding to the DQ6 pin receives the same bit of test serial data received by the DQ7 pin when the memory is in a test state, and the second input end receives a bit of work serial data received by the DQ6 pin when the memory is in an operating state.
[0066] In some embodiments, as shown in FIG7 , the second selector includes a first control circuit 201 and a second control circuit 202. When the memory is in a test state, the first control circuit 201 receives a bit of test serial data (Test Data) at its input terminal, receives a test enable sub-signal TestDataEn at its first control terminal, and receives a flip enable sub-signal TestDataRvsEn at its second control terminal. The first control circuit 201 is configured to transmit the data (Test Data) received at its input terminal to a transmission path corresponding to the second selector according to the test enable sub-signal TestDataEn, or flip the data received at its input terminal according to the flip enable sub-signal TestDataRvsEn and then transmit the flipped data (Test Reverse Data) of the data received at its input terminal to a transmission path corresponding to the second selector. When the memory is in a working state, the second control circuit 202 receives at its input one bit of data (Normal Data) in the working serial data received by the corresponding data input / output pin, and its control end receives a working enable signal NormalDataEn. The second control circuit 202 is used to transmit the data (Normal Data) received at its input end to the transmission path corresponding to the second selector according to the working enable signal NormalDataEn.
[0067] In this example, as shown in FIG7 , the first control circuit 201 includes a first transmission gate TG1 and a gated inverter 220. The input terminal of the first transmission gate TG1 serves as the input terminal of the first control circuit 201 and receives one bit of test serial data (Test Data) when the memory is in a test state. The first control terminal of the first transmission gate 210 serves as the first control terminal of the first control circuit 201 and receives the test enable sub-signal TestDataEn. The second control terminal of the first transmission gate TG1 receives the inverted signal TestDataEnN of the test enable sub-signal. The output terminal of the first transmission gate TG1 serves as the output terminal of the first control circuit 201. The first transmission gate TG1 is configured to transmit the data received at its input terminal to a transmission path corresponding to the second selector based on the test enable sub-signal TestDataEn and the inverted signal TestDataEnN of the test enable sub-signal. The input end of the gated inverter 220 serves as the input end of the first control circuit 201, and receives one bit of the test serial data when the memory is in the test state. The first control end of the gated inverter 220 serves as the second control end of the first control circuit 201, and receives the flip enable sub-signal TestDataRvsEn. The second control end of the gated inverter 220 receives the inverted signal TestDataRvsEnN of the flip enable sub-signal. The output end of the gated inverter 220 serves as the output end of the first control circuit 201. The gated inverter 220 is used to flip the data received at its input end according to the flip enable sub-signal TestDataRvsEn and the inverted signal TestDataRvsEnN of the flip enable sub-signal, and then transmit the data to the transmission path corresponding to the second selector. The gated inverter 220 includes a first P-type transistor MP1, wherein the source of the first P-type transistor MP1 is connected to the power supply voltage VDD, and the gate of the first P-type transistor MP1 serves as the input terminal of the gated inverter 220; a second P-type transistor MP2, wherein the source of the second P-type transistor is connected to the drain of the first P-type transistor MP1, the gate of the second P-type transistor serves as the first control terminal of the gated inverter to receive the flip enable sub-signal TestDataRvsEn, and the drain of the second P-type transistor is connected to the transmission path corresponding to the second selector; a first N-type transistor MN1, wherein the source of the first N-type transistor MN1 is grounded, and the gate of the first N-type transistor MN1 is connected to the gate of the first P-type transistor MP1; and a second N-type transistor MN2, wherein the source of the second N-type transistor MN2 is connected to the drain of the first N-type transistor MN1, the gate of the second N-type transistor MN2 serves as the second control terminal of the gated inverter to receive the inverted signal TestDataRvsEnN of the flip enable sub-signal, and the drain of the second N-type transistor MN2 is connected to the second node N2.
[0068] The second control circuit 202 includes a second transmission gate TG2, and the input end of the second transmission gate TG2 serves as the input end of the second control circuit 202. When the memory is in the working state, it receives one bit of data (Normal Data) in the working serial data received by the corresponding data input and output pin. The first control end of the second transmission gate TG2 serves as the control end of the second control circuit 202, and receives the working enable signal NormalDataEn. The second control end of the second transmission gate TG2 receives the inverted signal NormalDataEnN of the working enable signal. The output end of the second transmission gate TG2 serves as the output end of the second control circuit 202. The second transmission gate TG2 is used to transmit the data received at its input end to the transmission path corresponding to the second selector according to the working enable signal NormalDataEn and the inverted signal NormalDataEnN of the working enable signal.
[0069] In some embodiments, as shown in Figure 8, the memory also includes a first signal generating circuit 313, the first input end of the first signal generating circuit 313 receives the test indication signal OneDqTestMode, and is used to generate a work enable signal NormalDataEn and an inverted signal NormalDataEnN of the work enable signal according to the test indication signal, and the work enable signal NormalDataEn and the test indication signal OneDqTestMode are inverted signals of each other.
[0070] The memory also includes multiple second signal generating circuits 310. The first input terminal of each second signal generating circuit 310 receives a test indication signal OneDqTestMode, and the second input terminal of each second signal generating circuit 310 receives a flip indication sub-signal RFlag. The output terminal of each second signal generating circuit 310 is connected to at least the first control terminal and the second control terminal of a second selector. Each second signal generating circuit 310 is configured to generate a flip enable sub-signal TestDataRvsEn, an inverted signal TestDataRvsEnN of the flip enable sub-signal, and a test enable sub-signal TestDataEn, and an inverted signal TestDataEnN of the test enable sub-signal based on the test indication signal OneDqTestMode and the flip indication sub-signal RFlag. The flip enable sub-signal TestDataRvsEn and the test enable sub-signal TestDataEn generated by the same second signal generating circuit 310 are inverted signals of each other. It should be noted that the output terminal of the second signal generating circuit may include a first output terminal and a second output terminal, the first output terminal being connected to the first control terminal of the second selector, and the second output terminal being connected to the second control terminal of the second selector.
[0071] When the output end of a second signal generating circuit is connected to the first control end and the second control end of a second selector, each second signal generating circuit corresponds to a second selector, and the flip enable sub-signals of different second selectors can be the same or different, and the work enable signals of different second selectors can be the same or different. When the output end of a second signal generating circuit is connected to the first control end and the second control end of multiple second selectors, the second signal generating circuit corresponds to multiple second selectors, and the multiple second selectors receive the same work enable signal and flip enable signal. Therefore, optionally, for data that needs to be flipped, the first input end and the second input end of the second selector can be connected to the same second signal generating circuit, and for data that does not need to be flipped, the first input end and the second input end of the second selector can be connected to the same second signal generating circuit. Optionally, for data that needs to be flipped, some of the second selectors in the second selector can be connected to the same second signal generating circuit, and the remaining second selectors in the second selector can be connected to the same second signal generating circuit.
[0072] In this embodiment, as shown in FIG8 , the second signal generating circuit 310 may include a first sub-circuit 311 and a second sub-circuit 312. The first input terminal of the first sub-circuit 311 receives the test indication signal OneDqTestMode, and the second input terminal of the first sub-circuit 311 receives the inverted signal RFlagN of the flip indication sub-signal. The first sub-circuit 311 is configured to generate the test enable sub-signal TestDataEn and the inverted signal TestDataEnN of the test enable sub-signal based on the inverted signal RFlagN of the flip indication signal and the test indication signal OneDqTestMode. The second sub-circuit 312 has a first input terminal that receives the test indication signal OneDqTestMode, and a second input terminal that receives the flip indication sub-signal RFlag. The second sub-circuit is configured to generate the flip enable sub-signal TestDataRvsEn and the inverted signal TestDataRvsEnN of the flip enable sub-signal based on the flip indication sub-signal RFlag and the test indication signal OneDqTestMode.
[0073] For example, the first sub-circuit 311 includes a first NAND gate nand1 and a sixth NAND gate inv6. The first input end of the first NAND gate nand1 serves as the first input end of the first sub-circuit 311, and receives the test indication signal OneDqTestMode. The second input end of the first NAND gate nand1 serves as the second input end of the first sub-circuit 311, and receives the inverted signal RFlagN of the flip indication sub-signal. The output end of the first NAND gate nand1 outputs the inverted signal TestDataEnN of the work enable sub-signal. The input end of the sixth NAND gate inv6 is connected to the output end of the first NAND gate nand1, receives the first inverted signal and outputs the work enable sub-signal TestDataEn.
[0074] The second sub-circuit 312 includes a second NAND gate nand2 and a seventh NOT gate inv7. The first input end of the second NAND gate nand2 serves as the first input end of the second sub-circuit 312, receiving the test indication signal OneDqTestMode. The second input end of the second NAND gate nand2 serves as the second input end of the second sub-circuit 312, receiving the flip indication sub-signal RFlag. The output end of the second NAND gate nand2 outputs the inverted signal TestDataRvsEnN of the flip enable sub-signal. The input end of the seventh NOT gate inv7 is connected to the output end of the second NAND gate nand2, receives the second inverted signal and outputs the flip enable sub-signal TestDataRvsEn.
[0075] The first signal generating circuit 313 may include an eighth NOT gate inv8 and a ninth NOT gate inv9, wherein the input end of the eighth NOT gate inv8 receives the test indication signal OneDqTestMode, the output end of the eighth NOT gate inv8 outputs the work enable signal NormalDataEn, and the input end of the ninth NOT gate inv9 is connected to the output end of the eighth NOT gate inv8, receives the third enable signal, and outputs the inverted signal NormalDataEnN of the work enable signal.
[0076] In this example, the memory may further include a third signal generating circuit, whose input terminal receives the flip indication sub-signal RFlag and outputs an inverted signal RFlagN of the flip indication sub-signal. The third signal generating circuit may, for example, include a ninth NOT gate, where the input terminal of the ninth NOT gate serves as the input terminal of the third signal generating circuit, and the output terminal of the ninth NOT gate serves as the output terminal of the third signal generating circuit.
[0077] In actual applications, when performing a write operation, the memory uses a bit line to transmit data to a memory cell. When writing data to a memory cell in the memory, only one bit can be written to a memory cell. For example, when writing data to a memory cell, such as writing 1, the word line of the row where the memory cell is located can be selected through the row decoder to control the transistor M in the memory cell to turn on. By setting the logic level of the bit line to 1, the capacitor C is charged, that is, the memory cell is written with 1. Conversely, if 0 is to be written, the logic level of the bit line is set to 0, causing the capacitor C to discharge, that is, writing 0 to the memory cell.
[0078] Therefore, when writing the serial data received by the data input / output pin into the storage unit, the multi-bit serial data received by the data input / output pin can be first converted into multiple 1-bit parallel data, and the multi-bit serial data received by the data input / output pin can be simultaneously written to different storage units through different bit lines in one write operation.
[0079] In some embodiments, a memory may include a serial-to-parallel circuit 102. As shown in FIG3 , the input end of the serial-to-parallel circuit 102 is connected to multiple data input / output pins. The serial-to-parallel circuit 102 may include a first input end and a second input end. The first input end receives test serial data received by a target data input / output pin when the memory is in a test state. The second input end receives working serial data received by each data input / output pin when the memory is in an operating state and transmits the data to a first selector corresponding to the target data input / output pin. When the memory is in a test state, the serial-to-parallel circuit 102 is configured to convert the received test serial data into test parallel data. When the memory is in an operating state, the serial-to-parallel circuit 102 is configured to convert the received multiple working serial data into corresponding working parallel data and transmit the multiple working parallel data to the first selectors corresponding to the corresponding data input / output pins.
[0080] Accordingly, the first input end of the data input / output selector 101 can receive test parallel data when the memory is in a test state, and the second input end of the data input / output selector 101 can receive working parallel data corresponding to each data input / output pin when the memory is in a working state.
[0081] In this example, as shown in Figure 3, the serial-to-parallel circuit 102 may include multiple sub-string-to-parallel circuits 1021, and the input end of each sub-string-to-parallel circuit 1021 is connected to a data input / output pin. When the memory is in a test state, the sub-string-to-parallel circuit corresponding to the target data input / output pin is used to convert the test serial data into test parallel data. When the memory is in a working state, the sub-string-to-parallel circuit corresponding to each data input / output pin is used to convert the corresponding working serial data into working parallel data.
[0082] In practical applications, when the memory is in a working state, each substring parallel conversion circuit 1021 converts the working serial data received by the connected data input / output pin into working parallel data, and then transmits the working parallel data to the corresponding first selector. The substring parallel conversion circuit corresponding to the target data input / output pin can also transmit each bit of the test parallel data to each first selector when the memory is in a test state. For example, the first input end of each first selector 1011 can sequentially receive one bit of the test parallel data corresponding to the target data input / output pin in the transmission order of each bit of the multi-bit test serial data received by the target data input / output pin, so that each first selector 1011 can receive one bit of the test parallel data corresponding to the target data input / output pin, thereby reducing the possibility of transmission errors. Similarly, the second input end of each second selector can sequentially receive one bit of the working parallel data corresponding to the corresponding data input / output pin in the transmission order of each bit of the multi-bit working serial data received by the corresponding data input / output pin, so that each second selector can receive one bit of the working parallel data corresponding to the corresponding data input / output pin, thereby also reducing the possibility of data transmission errors.
[0083] Taking the target data input and output pin DQ7 as an example, when the memory is in the test state, the serial-to-parallel circuit converts the 16-bit test serial data received by the DQ7 pin into 16 1-bit test parallel data, respectively recorded as burst0 to burst15. Each 1-bit data corresponds to a first selector, respectively recorded as mux0 to mux15.
[0084] As shown in Figure 4 and Figure 9, when the memory is in the test state, the first input end of mux0 receives busrt0 and transmits burst0 to the transmission path corresponding to the DQ0 pin; the first input end of mux1 receives busrt1 and transmits burst1 to the transmission path corresponding to the DQ1 pin; the first input end of mux2 receives busrt2 and transmits burst2 to the transmission path corresponding to the DQ2 pin; the first input end of mux3 receives busrt3 and transmits burst3 to the transmission path corresponding to the DQ3 pin; the first input end of mux4 receives busrt4 and transmits burst4 to the transmission path corresponding to the DQ4 pin; the first input end of mux5 receives busrt5 and transmits burst5 to the transmission path corresponding to the DQ5 pin; the first input end of mux6 receives busrt6 and transmits burst6 to the transmission path corresponding to the DQ6 pin; the first input end of mux7 receives busrt7 and transmits burst7 to the transmission path corresponding to the DQ7 pin; m The first input end of mux8 receives busrt8 and transmits burst8 to the transmission path corresponding to the DQ8 pin; the first input end of mux9 receives busrt9 and transmits burst9 to the transmission path corresponding to the DQ9 pin; the first input end of mux10 receives busrt10 and transmits burst10 to the transmission path corresponding to the DQ10 pin; the first input end of mux11 receives busrt11 and transmits burst11 to the transmission path corresponding to the DQ11 pin; the first input end of mux12 receives busrt12 and transmits burst12 to the transmission path corresponding to the DQ12 pin; the first input end of mux13 receives busrt13 and transmits burst13 to the transmission path corresponding to the DQ13 pin; the first input end of mux14 receives busrt14 and transmits burst14 to the transmission path corresponding to the DQ14 pin; the first input end of mux15 receives busrt15 and transmits burst15 to the transmission path corresponding to the DQ15 pin.
[0085] In some embodiments, the memory may further include a latch circuit 103. As shown in FIG3 , an input end of the latch circuit 103 is connected to an output end of the serial-to-parallel circuit 102, and an output end of the latch circuit 103 is connected to a plurality of first selectors 1011 in the data input / output selector 101. The input end of the latch circuit 103 may include a first input end and a second input end. The first input end of the latch circuit 103 receives test parallel data output from the serial-to-parallel circuit when the memory is in a test state, and the second input end of the latch circuit 103 receives a plurality of working parallel data output from the serial-to-parallel circuit when the memory is in a working state. When the memory is in a test state, the latch circuit 103 is used to store test parallel data, and after receiving a write command, each bit of the test parallel data is transmitted to the corresponding first selector. When the memory is in a working state, the latch circuit 103 is used to store multiple working parallel data, and after receiving a write command, each working parallel data is transmitted to the corresponding first selector, so that each first selector 1011 can receive working parallel data corresponding to a data input and output pin when the memory is in a working state and can receive one bit of data in the test parallel data when the memory is in a test state.
[0086] In this example, as shown in FIG4 , the latch circuit 103 may include multiple sub-latch circuits 1031 , the input end of each sub-latch circuit 1031 being connected to a sub-string parallel conversion circuit 1021 , and the output end of each sub-latch circuit 1031 being connected to a first selector 1011 . When the memory is in a test state, the sub-latch circuit 1031 corresponding to the target data input / output pin receives and stores the test parallel data, and upon receiving a write command, transmits each bit of the test parallel data to the corresponding first selector. When the memory is in an operating state, each sub-latch circuit 1031 receives and stores the corresponding operating parallel data, and upon receiving a write command, transmits the stored operating parallel data to the corresponding first selector.
[0087] As shown in FIG5 , each sub-latch circuit 1031 may include multiple latches 1032, each latch 1032 is connected to a second selector 1012, and each second selector 1012 corresponds to a transmission path. When the memory is in a test state, each latch in the sub-latch circuit corresponding to the target data input / output pin receives one bit of the test parallel data and stores one bit of the test parallel data. After receiving a write command, the one bit of the stored test parallel data is transferred to the corresponding second selector. When the memory is in a working state, each latch in the sub-latch circuit corresponding to each data input / output pin stores one bit of the working parallel data output by the corresponding sub-string parallel conversion circuit, and transfers one bit of the stored working parallel data to the corresponding second selector after receiving a write command.
[0088] In some embodiments, as shown in FIG9 , the memory further includes data mask pins DMI0 / DMI1, which are used to receive mask data when the memory is in an operating state (e.g., performing a mask write operation) or receive check code data when the memory is in a test state. Specifically, when the memory is in an operating state, the memory masks data received by the data input / output pins based on the mask data. When the memory is in a test state, the memory stores the check code data in a check code storage array. The memory masks data received by the data input / output pins based on the check code data.
[0089] In this example, the memory further includes a check code data selector, the check code storage array includes a first check code storage array and a second check code storage array, and the data mask pins include a first data mask pin and a second data mask pin. When the memory is in a test state, if the first data mask pin receives check code data, the check code data selector transmits the check code data to the transmission path corresponding to the first data mask pin and the second data mask pin, the first check code storage array receives and stores the check code data via the transmission path corresponding to the first data mask pin, and the second check code storage array receives and stores the check code data via the transmission path corresponding to the second data mask pin.
[0090] The number of bits in the check code data is the same as the number of bits in the serial data received by each data input / output pin. When the memory is in a test state, the memory masks the data corresponding to each data input / output pin based on each bit of the check code data. For example, if the check code data and the serial data received by the data input / output pin are both 16 bits, each bit of the check code data masks the 1-bit data corresponding to each data input / output pin.
[0091] In practical applications, the memory includes a DMI0 pin and a DMI1 pin. Typically, the mask data received by the DMI0 pin is used to control whether the parallel data corresponding to the DQ0-DQ7 pins is written to the main memory array, and the mask data received by the DMI1 pin is used to control whether the parallel data corresponding to the DQ8-DQ15 pins is written to the main memory array. In this embodiment, when the memory is in a test state, if the DMI0 pin receives check code data, the check code data selector can transmit the check code data received by the DMI0 pin to the transmission path corresponding to the DMI0 pin and the transmission path corresponding to the DMI1 pin. If the DMI1 pin receives check code data, the check code data selector can transmit the check code data received by the DMI1 pin to the transmission path corresponding to the DMI0 pin and the transmission path corresponding to the DMI1 pin. This reduces the number of DMI pins used during the test and improves test efficiency.
[0092] For example, the check code data selector may include multiple third selectors. In test mode, each third selector can transmit one bit of the check code data to a transmission path corresponding to the first data mask pin and a transmission path corresponding to the second data mask pin. The multiple third selectors can transmit each bit of the check code data to multiple transmission paths corresponding to the first data mask pin and multiple transmission paths corresponding to the second data mask pin.
[0093] In practical applications, the serial check code data received by the data mask pin can be converted into parallel check code data. For example, if the serial check code data is a 16-bit serial data, the 16-bit serial data is converted into 16-bit parallel data, and then a third selector transmits 1 bit of the data to a transmission path corresponding to the first data mask pin and a transmission path corresponding to the second data mask pin.
[0094] The above describes in detail the memory provided by the embodiments of the present disclosure. The memory provided by the embodiments of the present disclosure requires only one data input / output pin during testing, reducing the number of data input / output pins used, thereby increasing the number of memories that can be tested simultaneously and improving test efficiency. Furthermore, during testing, data in the test serial data and the flipped data of the data in the test serial data can be transmitted to the transmission path corresponding to the data input / output pin, thereby expanding the data pattern and increasing the test range.
[0095] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0096] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims. Industrial Applicability
[0097] The memory provided by the embodiments of the present disclosure includes a plurality of data input / output pins and a data input / output selector, wherein one of the plurality of data input / output pins is a target data input / output pin, the plurality of data input / output pins are used to receive or output working serial data when the memory is in an operating state, and the target data input / output pin is used to receive test serial data when the memory is in a test state. The first input terminal of the data input / output selector receives the test serial data received by the target data input / output pin, the first control terminal receives a test enable signal group, the second control terminal receives a flip enable signal group, and the third control terminal receives a work enable signal. When the memory is in the test state, the data input / output selector is used to transmit the test serial data to the portion of transmission paths corresponding to the data input / output pins according to the test enable signal group. The data input / output selector is also used to flip the test serial data according to the flip enable signal group and transmit the data to another portion of transmission paths corresponding to the data input / output pins. When the memory is in an operating state, the data input / output selector transmits the working serial data received by each data input / output pin to its corresponding transmission path according to the work enable signal. Therefore, when testing a memory, only one data input / output pin is needed, reducing the number of data input / output pins used. This increases the number of memories that can be tested simultaneously and improves test efficiency. Furthermore, during the test process, the data in the test serial data and the inverted data in the test serial data can be transmitted to the transmission path corresponding to the data input / output pin, expanding the data pattern and increasing the test range.
Claims
1. A memory, comprising: A plurality of data input and output pins (DQ6, DQ7), used to receive or output working serial data when the memory is in a working state, wherein one of the data input and output pins is a target data input and output pin (DQ7), and the target data input and output pin (DQ7) is used to receive test serial data when the memory is in a test state; A data input / output selector (101), wherein the first input terminal receives the test serial data, the first control terminal receives the test enable signal group, the second control terminal receives the flip enable signal group, and the third control terminal receives the work enable signal; wherein, When the memory is in a test state, the data input / output selector (101) is used to transmit the data in the test serial data to the partial transmission paths corresponding to the data input / output pins according to the test enable signal group, and the data input / output selector (101) is also used to flip the data in the test serial data according to the flip enable signal group and then transmit them to another partial transmission path corresponding to the data input / output pins; When the memory is in the working state, the data input / output selector (101) transmits the working serial data received by each data input / output pin to the corresponding transmission path according to the working enable signal.
2. The memory according to claim 1, wherein all transmission paths corresponding to any one of the data input and output pins receive the same bit of data in the test serial data.
3. The memory according to claim 2, wherein the data input / output selector (101) comprises a plurality of first selectors (1011), each first selector (1011) corresponds to a data input / output pin, the test enable signal group comprises a plurality of test enable signals, and the flip enable signal group comprises a plurality of flip enable signals; The first input end of each first selector (1011) receives one bit of the test serial data when the memory is in a test state, the second input end of each first selector (1011) receives the working serial data received by the corresponding data input / output pin when the memory is in a working state, the first control end of each first selector (1011) receives one of the test enable signals, the second control end of each first selector (1011) receives one of the flip enable signals, and the third control end of each first selector (1011) receives the working enable signal; When the memory is in a test state, the first selector (1011) is used to transmit the data received at its first input end to a portion of the transmission path corresponding to the corresponding data input / output pin according to the test enable signal received at its first control end, and the first selector (1011) is also used to flip the data received at its first input end and transmit it to another portion of the transmission path according to the flip enable signal received at its second control end; When the memory is in a working state, the first selector (1011) is used to transmit the working serial data received by the corresponding data input / output pin to the corresponding transmission path according to the working enable signal.
4. The memory according to claim 3, each of the first selectors (1011) comprises a plurality of second selectors (1012), each of the second selectors (1012) corresponds to a transmission path of a data input / output pin, the test enable signal comprises a plurality of test enable sub-signals, and the flip enable signal comprises a plurality of flip enable sub-signals; The first input end of each of the second selectors (1012) in the same first selector (1011) receives one bit of the test serial data when the memory is in a test state, the second input end receives one bit of the work serial data received by the corresponding data input / output pin when the memory is in a work state, the first control end receives one of the test enable sub-signals, the second control end receives one of the flip enable sub-signals, and the third control end receives the work enable signal; When the memory is in a test state, the second selector (1012) is used to transmit the data received at its first input end to a corresponding transmission path according to the test enable sub-signal received at its first control end, or the second selector (1012) is used to invert the data received at its first input end and transmit it to a corresponding transmission path according to the inversion enable sub-signal received at its second control end; When the memory is in the working state, the second selector (1012) is used to transmit the data received at its second input terminal to the corresponding transmission path according to the working enable signal.
5. The memory according to claim 4, wherein the second selector (1012) comprises: A first control circuit (201), wherein when the memory is in a test state, its input end receives a bit of data in the test serial data, its first control end receives the test enable sub-signal, and its second control end receives the flip enable sub-signal, and the first control circuit (201) is used to transmit the data received at its input end to the transmission path corresponding to the second selector (1012) according to the test enable sub-signal received at its first control end, or to flip the data received at its input end and transmit it to the transmission path corresponding to the second selector (1012) according to the flip enable sub-signal received at its second control end; The second control circuit (202) receives the corresponding data input and output pins at its input end when the memory is in the working state. A bit of data in the received working serial data has its control end receiving the working enable signal, and the second control circuit (202) is used to transmit the data received at its input end to the transmission path corresponding to the second selector (1012) according to the working enable signal.
6. The memory according to claim 5, wherein the first control circuit (201) comprises: A first transmission gate (TG1), whose input end serves as the input end of the first control circuit (201), whose first control end serves as the first control end of the first control circuit (201), whose second control end receives the inverted signal of the test enable sub-signal, and whose output end serves as the output end of the first control circuit (201); a gated inverter (220), whose input end serves as the input end of the first control circuit (201), whose first control end serves as the second control end of the first control circuit (201), whose second control end receives the inverted signal of the flip enable sub-signal, and whose output end serves as the output end of the first control circuit (201); The second control circuit (202) comprises: A second transmission gate (TG2), whose input end serves as the input end of the second control circuit (202), whose first control end serves as the control end of the second control circuit (202), whose second control end receives the inverted signal of the work enable signal, and whose output end serves as the output end of the second control circuit (202).
7. The memory according to claim 5-6, further comprising: A first signal generating circuit (313) receives a test indication signal at its input end and is used to generate the work enable signal according to the test indication signal, wherein the work enable signal and the test indication signal are mutually inverted signals.
8. The memory according to claim 7, further comprising: A plurality of second signal generating circuits (310), wherein the first input end of each second signal generating circuit (310) receives the test indication signal, the second input end of each second signal generating circuit (310) receives the flip indication sub-signal, the output end of each second signal generating circuit (310) is connected to at least the first control end and the second control end of one second selector (1012), and each second signal generating circuit (310) is used to generate the flip enable sub-signal and the test enable sub-signal according to the test indication signal and the flip indication sub-signal.
9. The memory according to claim 8, characterized in that: The second signal generating circuit (310) comprises: A first sub-circuit (311), the sub-circuit being used to generate the test enable sub-signal according to the inverted signal of the flip indication sub-signal and the test indication signal; The second sub-circuit (312) is used to generate the flip enable sub-signal according to the flip indication sub-signal and the test indication signal, wherein the flip enable sub-signal and the test enable sub-signal generated by the same second signal generating circuit (310) are inverted signals.
10. The memory according to claim 9, wherein the first sub-circuit (311) comprises: A first NAND gate (nand1), whose first input terminal receives the test indication signal, whose second input terminal receives the inverted signal of the flip indication sub-signal, and whose output terminal outputs the inverted signal of the test enable sub-signal; a sixth NOT gate (inv6), whose input end is connected to the output end of the first NAND gate (nand1), and whose output end outputs the test enable sub-signal; The second sub-circuit (312) comprises: A second NAND gate (nand2), whose first input terminal receives the test indication signal, whose second input terminal receives the flip indication sub-signal, and whose output terminal outputs an inverted signal of the flip enable sub-signal; A seventh NOT gate (inv7), whose input end is connected to the output end of the second NAND gate (nand2), and whose output end outputs the flip enable sub-signal.
11. The memory according to claim 7, wherein the first signal generating circuit (313) comprises: an eighth NOT gate (inv8), whose input end receives the test indication signal and whose output end outputs the work enable signal; A ninth NOT gate (inv9), whose input end is connected to the output end of the eighth NOT gate (inv8), and whose output end outputs an inverted signal of the work enable signal.
12. The memory according to any one of claims 4 to 11, comprising: A serial-to-parallel circuit (102), wherein a first input terminal receives the test serial data when the memory is in a test state, and a second input terminal receives the working serial data received by each data input / output pin when the memory is in a working state; When the memory is in a test state, the serial-to-parallel circuit (102) is used to convert the test serial data into test parallel data; When the memory is in working state, the serial-to-parallel circuit (102) is used to convert each working serial data into corresponding working parallel data.
13. The memory according to claim 12, wherein the serial-to-parallel circuit (102) comprises a plurality of sub-string-to-parallel circuits (1021), and an input end of each of the sub-string-to-parallel circuits (1021) is connected to a data input / output pin; When the memory is in a test state, the sub-string parallel conversion circuit (1021) corresponding to the target data input and output pin (DQ7) is used to convert the test serial data into test parallel data; When the memory is in working state, the sub-string parallel conversion circuit (1021) corresponding to each data input and output pin is used to convert the corresponding working serial data into working parallel data.
14. The memory according to claim 13, comprising: A latch circuit (103), wherein a first input end receives test parallel data output by the serial-to-parallel circuit (102) when the memory is in a test state, and a second input end receives a plurality of working parallel data output by the serial-to-parallel circuit (102) when the memory is in a working state; When the memory is in a test state, the latch circuit (103) is used to store the test parallel data, and after receiving a write command, transmit each bit of the test parallel data to the corresponding first selector (1011); When the memory is in a working state, the latch circuit (103) is used to store the plurality of working parallel data, and after receiving the write command, transmit the plurality of working parallel data to the corresponding first selector (1011) respectively.
15. The memory according to claim 14, wherein the latch circuit (103) comprises a plurality of sub-latch circuits (1031), an input end of each sub-latch circuit (1031) is connected to an output end of a sub-string-to-parallel circuit (1021), and an output end of each sub-latch circuit (1031) is connected to a first selector (1011); When the memory is in a test state, the sub-latch circuit (1031) corresponding to the target data input / output pin (DQ7) is used to store the test parallel data, and after receiving a write command, each bit of the test parallel data is transmitted to the corresponding first selector (1011); When the memory is in working state, the sub-latch circuit (1031) corresponding to each data input and output pin is used to store the working parallel data output by the corresponding sub-string parallel conversion circuit (1021), and transmits the stored working parallel data to the corresponding first selector (1011) after receiving a write command.
16. The memory according to claim 15, wherein each of the sub-latch circuits (1031) comprises a plurality of latches (1032), and each of the latches (1032) is connected to one of the second selectors (1012); When the memory is in a test state, each latch (1032) in the sub-latch circuit (1031) corresponding to the target data input / output pin (DQ7) is used to store one bit of the test parallel data, and after receiving a write command, transmits one bit of the test parallel data stored therein to the corresponding second selector (1012); When the memory is in working state, each latch (1032) in the sub-latch circuit (1031) corresponding to each data input / output pin is used to store one bit of the working parallel data output by the corresponding sub-string parallel conversion circuit (1021), and transmits one bit of the working parallel data stored therein to the corresponding second selector (1012) after receiving a write command.
17. The memory according to any one of claims 1 to 16, further comprising: A data mask pin is used to receive mask data when the memory is in a working state or to receive check code data when the memory is in a test state, wherein when the memory is in a working state, the memory masks the data received by the data input and output pin based on the mask data, and when the memory is in a test state, the check code data is stored in a check code storage array.
18. The memory according to claim 17, further comprising: A check code data selector, the check code storage array includes a first check code storage array and a second check code storage array, the data mask pin includes a first data mask pin and a second data mask pin, when the memory is in a test state, the first data check code pin receives the check code data, the check code data selector transmits the check code data to the transmission paths corresponding to the first data mask pin and the second data mask pin respectively, the first check code storage array receives and stores the check code data through the transmission path corresponding to the first data mask pin, and the second check code storage array receives and stores the check code data through the transmission path corresponding to the second data mask pin.
Citation Information
Patent Citations
Semiconductor memory device and operating method thereof
CN111161787A
Memory induced voltage test circuit and test method
CN111354414A
Semiconductor device tested using minimum pins and methods of testing the same
CN1819197A
Semiconductor memory
JP1999317100A
