The present invention relates to a system and a method, and particularly relates to a system and a method which can reduce circuit areas.
In the prior art, a test system for testing SRAM (Static Random Access Memory) comprises a scan chain to test the signal input to the SPAM. However, this scan chain comprises a large number of latches and multiplexers, which not only increase the circuit area, but also increase the signal delay during scanning.
Therefore, a new test system is needed to solve the above-mentioned problems.
Therefore, one objective of the present is to provide a test system which can reduce circuit areas and signal delay time.
Another objective of the present is to provide a test method which can reduce circuit areas and signal delay time.
One embodiment of the present invention discloses a system, comprising: a plurality of first latches; a compressor circuit, coupled to the first latches, configured to compress an first signal having X bits from the first latches to a second signal having Y bits, wherein X and Y are positive integers and X is larger than Y; and at least one second latch, coupled to the compressor circuit, configured to receive the second signal to generate a scan output, wherein each of the first latches and the second latch forms a D flip flop. The system outputs the first signal but none of the scan output in a normal mode, and outputs the scan output but none of the first signal in a test mode.
Another embodiment of the present invention discloses a method, applied to a system, comprising: compressing an first signal having X bits from a plurality of first latches to a second signal having Y bits, wherein X and Y are positive integers and X is larger than Y; receiving the second signal by at least one second latch to generate a scan output, wherein each of the first latches and the second latch forms a D flip flop; and outputting the first signal but none of the scan output in a normal mode, and outputting the scan output but none of the first signal in a test mode.
In view of above-mentioned embodiments, the circuit area and signal delay required for the test can be greatly reduced, so that the problems of the conventional test system can be improved.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figure and drawings.
Several embodiments are provided in following descriptions to explain the concept of the present invention. Each component in following descriptions can be implemented by hardware (e.g. a device or a circuit) or hardware with software (e.g. a program installed to a processor). Besides, the method in following descriptions can be executed by programs stored in a non-transitory computer readable recording medium such as a hard disk, an optical disc or a memory. Additionally, the term “first”, “second”, “third” in following descriptions are only for the purpose of distinguishing different one elements, and do not mean the sequence of the elements. For example, a first device and a second device only mean these devices can have the same structure but are different devices.
As shown in
The test system 100 outputs an first signal XS to the SRAM 103 in the normal mode to allow the SRAM 103 to operate normally, and generates a scan output SO to the SRAM 103 in the test mode. In one embodiment, the scan output SO is received by a predetermined pin of the SRAM 103, and the first signal XS can be received by different pins of the SRAM 103 according to different requirements. Also, the first signal XS may contain different signals depending on different requirements. In one embodiment, the first signal XS may comprise at least one of the following signals: a data signal, an address signal, a write enable signal, or a memory enable signal of the SRAM 103. For example, the first signal XS may comprise a data signal and an address signal, or comprise a write enable signal and a memory enable signal. The write enable signal is used to enable the write function of the SRAM 103 and the memory enable signal is used to enable the SRAM 103. In one embodiment, the test system 100 may further comprise a third latch La3, which is coupled to the data output terminal Q of the SRAM 103.
In addition to the test mechanism and path shown in
The fourth latch La4 and the second latch La2 can form a D flip flop. Therefore, the fourth latch La4 and the second latch La2 can be regarded as a reserved additional scan paths, which can be used to receive the test signal input from the outside of the test system 200.
Therefore, in the embodiment of
In addition to the path shown in
Therefore, in the embodiment of
The first latches La1, La2 . . . Lax in the above-mentioned embodiments may have different arrangements corresponding to different requirements.
Therefore, in the embodiment of
The aforementioned architectures in
The fourth latch La4 and the second latch La2 can form a D flip flop. Therefore, the fourth latch La4 and the second latch La2 can be regarded as a reserved additional scan path, which can be used to receive the test signal input from the outside of the test system 500. The second multiplexer MU2 comprises a first input terminal for receiving the N bit signal NS and a second input terminal for receiving an output of the SRAM 103. However, please note that in the embodiment of
Therefore, in the embodiment of
In the embodiment of
In one embodiment, the test system 500 may correspond to the embodiment in
Compared with the prior art, the above-mentioned embodiments can reduce the number of components. For example, if the test system uses a built-in scan chain mechanism, each first latch must operate with a second latch, and each first latch must operate with a multiplexer for mode switching. The aforementioned architecture can greatly reduce the number of latches and multiplexers, which not only greatly reduce the circuit area, but also reduce the signal delay caused by these components.
In view of the above-mentioned embodiments, a test method can be obtained.
Step 601
Compress a first signal from a plurality of first latches to a second signal. The first signal has X bits and the second signal has Y bits. X and Y are positive integers and X is larger than Y.
Step 603
Receive the second signal by at least one second latch to generate a scan output, wherein each of the first latches and the second latch forms a D flip flop.
Step 605
Output the first signal but none of the scan output in a normal mode, and output the scan output but none of the first signal in a test mode.
The target electronic device can be a memory such as an SRAM, but can be other types of electronic devices as well.
In one embodiment, as shown in
It will be appreciated that the above-mentioned test system can be applied for other applications rather than limited to “test”. In such case, the test system can be regarded as a system comprising the above-mentioned components. Following the same rule, the test method illustrated in
In view of above-mentioned embodiments, the circuit area and signal delay required for the test can be greatly reduced, so that the problems of the conventional test system can be improved.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
110134720 | Sep 2021 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
8984354 | Kuo | Mar 2015 | B2 |
9666302 | Chang | May 2017 | B1 |
10852353 | Kawoosa | Dec 2020 | B1 |
20150185283 | Mittal | Jul 2015 | A1 |
20180019734 | Vattikonda | Jan 2018 | A1 |
20180059178 | Wang | Mar 2018 | A1 |
20180238965 | Anzou | Aug 2018 | A1 |
20200273532 | Lin | Aug 2020 | A1 |
20200355744 | Narayanan | Nov 2020 | A1 |
20210074353 | Chen | Mar 2021 | A1 |
20210359667 | Dia | Nov 2021 | A1 |
20220244308 | Srinivasan | Aug 2022 | A1 |
20230005562 | Pilo | Jan 2023 | A1 |
20230092349 | Lo | Mar 2023 | A1 |
Number | Date | Country |
---|---|---|
201248638 | Dec 2012 | TW |
I739716 | Sep 2021 | TW |
Number | Date | Country | |
---|---|---|---|
20230092349 A1 | Mar 2023 | US |