Chip and chip testing method
By adopting the design of shared input and comparison modules in the chip, the detection process of multiple multiplexed modules is simplified, the problems of detection complexity and high cost in the prior art are solved, and efficient chip detection is achieved.
Patent Information
- Application Number
- PCT/CN2024/094137
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2024-05-20
- Publication Date
- 2024-12-05
AI Technical Summary
In the chip detection process, especially for chips containing multiple multiplexed modules, the prior art requires a large number of pins and complex detection processes, resulting in high detection costs and long time, affecting market-oriented time.
A chip is designed, using shared input technology and comparison module, and the detection signal is synchronized to multiple multiplexed modules, and the output result signals are compared, and the comparison results are output whether the number of pins and detection complexity are reduced.
The chip detection process is simplified, which reduces the detection cost and time, reduces the number of output pins required by the chip, and improves the detection efficiency.
Smart Images

Figure CN2024094137_05122024_PF_FP_ABST
Abstract
Description
Chip and chip detection method
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to patent application No. 202310638057.3 filed with the China Patent Office on May 31, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to, but is not limited to, the field of chip detection technology. Background Art
[0004] With the evolution of chip manufacturing technology, the number of devices in the chip is increasing, the size is getting smaller, and the scale is getting larger, which increases the probability of defects. In order to screen out faulty chips and improve product quality, the chips need to be tested.
[0005] However, when testing a chip including a large number of multiplexing modules (such as a multiplexing core), the number of pins required for the chip is still large, and the testing process is complicated.
[0006] Summary of the Invention
[0007] The present disclosure provides a chip and a chip detection method.
[0008] In a first aspect, an embodiment of the present disclosure provides a chip, comprising: a plurality of multiplexing modules with the same structure, each of the multiplexing modules having a module input and a module output; a detection input pin, the detection input pin being connected to the module input of each of the multiplexing modules and configured to input a detection signal into the module input; a comparison module, the comparison module having an input and an output, the input of the comparison module being connected to the module output of each of the multiplexing modules, the comparison module being configured to receive and compare result signals output by each of the multiplexing modules at their respective module outputs for the detection signal, and outputting a comparison result at the output of the comparison module representing whether the result signals of all the module outputs to which it is connected are exactly the same; a comparison output pin, the comparison output pin being connected to the output of the comparison module and configured to output a signal representing the comparison result.
[0009] In a second aspect, an embodiment of the present disclosure provides a method for detecting more than one chip, wherein the chip includes multiple multiplexing modules with the same structure, each of the multiplexing modules having a module input end and a module output end, and the method includes: obtaining a detection signal, and synchronously transmitting the detection signal to the module input end of each of the multiplexing modules; each of the multiplexing modules outputs a result signal at its respective module output end for the detection signal; comparing the result signals of the module output ends of each of the multiplexing modules, and generating a comparison result representing whether the result signals are exactly the same; and outputting a signal representing the comparison result. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In the accompanying drawings of the embodiments of the present disclosure:
[0011] FIG1 is a block diagram of a chip according to an embodiment of the present disclosure;
[0012] FIG2 is a block diagram of a multiplexing module in a chip provided by an embodiment of the present disclosure;
[0013] FIG3 is a block diagram of another chip according to an embodiment of the present disclosure;
[0014] FIG4 is a block diagram of another chip according to an embodiment of the present disclosure;
[0015] FIG5 is a circuit diagram of a comparison module in a chip provided by an embodiment of the present disclosure;
[0016] FIG6 is a circuit diagram of another comparison module in a chip provided by an embodiment of the present disclosure;
[0017] FIG7 is a flow chart of a chip detection method provided by an embodiment of the present disclosure;
[0018] FIG8 is a flow chart of another chip detection method provided by an embodiment of the present disclosure;
[0019] FIG9 is a schematic diagram of a logic process of an example chip detection provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] To enable those skilled in the art to better understand the technical solutions of the present disclosure, the chip and chip detection method provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0021] The present disclosure will be described more fully hereinafter with reference to the accompanying drawings, but the illustrated embodiments may be embodied in different forms, and the present disclosure should not be construed as limited to the embodiments set forth below. Rather, these embodiments are provided so that the present disclosure will be thorough and complete and will fully understand the scope of the present disclosure to those skilled in the art.
[0022] The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the detailed embodiments, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing the detailed embodiments with reference to the accompanying drawings.
[0023] The present disclosure may be described with reference to plan views and / or cross-sectional views by way of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.
[0024] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0025] The terms used in this disclosure are only used to describe specific embodiments and are not intended to limit the disclosure. As used in this disclosure, the term "and / or" includes any and all combinations of one or more related enumerated items. As used in this disclosure, the singular forms "a" and "the" are also intended to include plural forms, unless the context clearly indicates otherwise. As used in this disclosure, the terms "comprising" and "made of" specify the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof.
[0026] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meanings as those commonly understood by those skilled in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined in this disclosure.
[0027] The present disclosure is not limited to the embodiments shown in the drawings, but includes modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.
[0028] With the evolution of chip (such as logic chip, network chip, etc.) manufacturing technology, the number of devices (such as transistors, etc.) in the chip is increasing, the size is getting smaller, and the scale is getting larger, which increases the probability of defects (failures). For example, defects may include adhesion short circuits between circuits, circuits being incorrectly connected to unnecessary positions (such as high level or low level), delays due to circuit defects, etc.
[0029] In order to screen out faulty chips and improve product quality, it is necessary to test the chips.
[0030] However, the integrated circuits in a chip are large in scale and their combinational and sequential logic are very complex, making it difficult to directly test or observe the components within. Therefore, a specific test signal can be input into the chip and the resulting signal can be analyzed to determine whether the chip's structure is faulty.
[0031] For example, a test vector (a series of signals consisting of 0s and 1s) can be generated through automatic test pattern generation (ATPG) technology and input into the chip through the input pins. At the same time, the result vector generated by the chip is obtained through the output pins. The automatic test equipment (ATE) compares the standard vector in the fault-free state with the actual result vector to determine whether the chip has a fault.
[0032] Large-scale chips often include multiple structurally identical components, known as "multiplexed modules," such as multiple logic cores (multiplexed cores). Because these multiplexed modules share the same structure, they can be tested using the same detection signal (e.g., detection vector). To address this, shared-input technology can be employed. This technology uses a single chip input pin to simultaneously feed the same detection signal to multiple multiplexed modules, reducing the number of input pins and simplifying the detection signal input process.
[0033] However, while the input detection signals can be shared, the different multiplexing modules are independent of each other. Therefore, the result signals (such as result vectors) generated by their respective operations still need to be read out through different output pins and compared with the standard results (such as standard vectors) to determine whether each multiplexing module is faulty. Therefore, the above method still requires the chip to have a large number of output pins and still requires separate detection and analysis of each multiplexing module. Therefore, the total number of chip pins is still large, the structure is still relatively complex, and the detection process is still relatively complex.
[0034] Moreover, testing costs are an important component of chip costs, and the time-consuming testing process will also delay the chip's time to market. Therefore, a complicated testing process will also lead to increased chip costs and affect its marketability.
[0035] In a first aspect, referring to FIG. 1 to FIG. 6 , an embodiment of the present disclosure provides a chip.
[0036] The embodiments of the present disclosure provide a relatively independently packaged chip with data processing capabilities, which includes but is not limited to a logic chip, a network chip, and the like.
[0037] 1 , in one embodiment, the chip disclosed herein may include: a plurality of multiplexing modules having the same structure, each multiplexing module having a module input and a module output; a detection input pin, the detection input pin being connected to the module input of each multiplexing module and configured to input a detection signal into the module input; a comparison module, the comparison module having an input and an output, the input of the comparison module being connected to the module output of each multiplexing module, the comparison module being configured to receive and compare result signals output by each multiplexing module at their respective module outputs for the detection signal, and outputting a comparison result at the output of the comparison module representing whether the result signals at the output of all the modules connected thereto are exactly the same; and a comparison output pin, the comparison output pin being connected to the output of the comparison module and configured to output a signal representing the comparison result.
[0038] The chip of the embodiment of the present disclosure can be divided into multiple modules, and the structures and functions of some modules are exactly the same. These modules are called multiplexing modules.
[0039] For example, in a multi-core chip, multiple identical logic cores, that is, multiple multiplexing cores (multiplexing modules), can be formed through wrapper chain technology.
[0040] The chip is also equipped with multiple pins (i.e., I / O ports, such as Pins) for exchanging information with the outside world. Some of these pins are detection input pins for receiving detection signals, and the detection input pins are connected to the module input end to transmit the received detection signal to the module input pin, so that the multiplexing module operates according to the received detection signal and generates a corresponding result signal at its own module output end.
[0041] In some embodiments, each detection input pin is connected to a co-located module input terminal of each multiplexing module and is used to synchronously input the same detection signal to each module input terminal connected thereto.
[0042] Referring to Figure 1, as one embodiment of the present disclosure, each detection input pin can be simultaneously connected to the same module input end of multiple multiplexing modules, that is, a shared input technology is adopted, so that by inputting a detection signal to one detection input pin, the module input ends at the same position of all multiplexing modules can synchronously receive the same detection signal, and then each multiplexing module will run synchronously and generate result signals synchronously.
[0043] It should be understood that if the shared input terminal technology is not adopted, it is also feasible to connect each detection input pin to only one module input terminal; in this case, when performing detection, the same detection signal needs to be input simultaneously to multiple detection input pins of the module input terminals corresponding to each multiplexing module.
[0044] Among them, the test signal can be a test vector generated by automatic test pattern generation (ATPG) technology, that is, a signal composed of a series of 0s and 1s; correspondingly, based on the test vector, each multiplexing module will also generate a result vector, which is also a signal composed of a series of 0s and 1s.
[0045] Among them, when the multiplexing module has no faults, the result vector it generates "should" be a standard signal, that is, a standard vector; if the multiplexing module has faults, the result vector it generates may differ from the standard vector in one or more bits.
[0046] Furthermore, ATPG-based testing can employ scan chain technology, which can be designed according to the requirements of Design for Test (DFT). A scan chain is a structure in which functional registers are replaced with scan registers and connected in series to form a chain. A multiplexer (MUX) is added to the scan chain, effectively transmitting test signals to and receiving the result signals output by the device under test, thereby achieving testing. Under the control of the scan register's MUX selection signal (scan_enable), the scan chain typically operates in two modes: functional mode and test mode. In functional mode, the scan register performs the function of a register, storing combinational logic data and operating according to the original structure. In test mode, the test signal is sequentially shifted in through the scan register, and after obtaining the test result, it is shifted out of the scan chain.
[0047] Furthermore, as the chip scale becomes larger and larger, the chip detection process becomes more time-consuming and costly. Therefore, scan chain compression technology can also be used, such as the EDT compression of the Tessent tool. EDT compression can convert an original large scan chain into multiple short scan chains to shorten the detection time and reduce the detection cost.
[0048] 1 , the chip of the disclosed embodiment also includes a comparison module. Each comparison module is connected to the module output end of each multiplexing module, so that it can receive the result signals generated by these multiplexing modules according to the detection signals, compare whether all the result signals are exactly the same, and generate corresponding comparison results (such as 0 to indicate that all the result signals are exactly the same, and 1 to indicate that there is at least one difference among all the result signals), and then output them from the comparison output pin.
[0049] Among them, since the structures of all multiplexing modules should be the same in theory, when multiple multiplexing modules receive the same detection signal at the same time, if the multiplexing modules are all fault-free, the result signals generated by the module output ends of all multiplexing modules should also be exactly the same; if these result signals are not exactly the same, it means that the structures of all multiplexing modules are not exactly the same, that is, there is at least one faulty (different structure) multiplexing module.
[0050] It should be understood that each multiplexing module may actually have multiple module input terminals and multiple module output terminals. Different module input terminals of the same multiplexing module may require different detection signals, and different module output terminals of the same multiplexing module may also generate different result signals.
[0051] Therefore, each of the above detection input pins should be connected to the same module input terminal of each multiplexing module (such as all connected to the ath module input terminal), and each comparison module should also be connected to the same module output terminal of each multiplexing module (such as all connected to the bth module output terminal), and compare the result signals of these module output terminals at the same position.
[0052] For example, referring to Figure 2, each multiplexing module may have (n+1) module input terminals, namely shared_dft_edt_in[n:0], and (m+1) module output terminals, namely dft_edtout_i[m:0]. Therefore, referring to Figure 3, the chip has a total of (n+1) detection input pins (such as EDT input pins), (m+1) comparison modules and comparison output pins, and may also have (m+1) detection output pins (such as EDT output pins) described later, multiplexer modules, etc.
[0053] Referring to Figure 3, there can be a total of (j+1) multiplexing modules in the chip, so the module output ends of all multiplexing modules are from dft_edtout_i_0[m:0] to dft_edtout_i_j[m:0]; and the module output ends of the k-th comparison module, comparison output pin, detection output pin, and multiplexer module are connected from dft_edtout_i_0[k] to dft_edtout_i_j[k].
[0054] It should be understood that the module input and module output of each multiplexing module can be connected to other conventional results in the chip in addition to the detection input pin and comparison module; moreover, the chip can also include other pins for input and output signals during normal operation.
[0055] The chip of the disclosed embodiment is internally provided with a comparison module, which compares the signals generated by multiple multiplexing modules and obtains a comparison result representing whether all the signals are the same; since the multiplexing modules have the same structure, when the same detection signal is input to them through the detection input pins, the result signals they generate should theoretically be the same. If there are differences, it indicates that there are multiplexing modules with different structures. Therefore, by analyzing the comparison results, it is possible to determine to a certain extent whether the chip is faulty (for example, if the comparison results show that the result signals generated by the multiplexing modules are different, it means that at least some of the multiplexing modules are faulty), and it is not necessary to output the result signals of all the multiplexing modules. Therefore, the chip requires a small number of pins, a simple structure, and a simple and fast detection process.
[0056] In some embodiments, the chip of the embodiment of the present disclosure further includes: a detection output pin, the detection output pin is connected to the module output end, and is used to output the result signal of the module output end.
[0057] As before, by comparing the results, it can be determined whether all the multiplexing modules are exactly the same, but it cannot be determined whether a single multiplexing module is normal; therefore, referring to Figure 3, the chip of the embodiment of the present disclosure may also be provided with a detection output pin, which can directly output the result (result signal) generated by the operation of the multiplexing module itself, so that by analyzing the result signal, it can be directly determined whether the corresponding multiplexing module itself has a fault.
[0058] In some embodiments, the multiplexer module has multiple input terminals, output terminals, and control terminals; the multiple input terminals of the multiplexer module are connected to multiple module output terminals, the control terminal of the multiplexer module is connected to the output selection signal terminal, and the multiplexer module is used to select the module output terminal connected to the output terminal of the multiplexer module according to the signal of the output selection signal terminal.
[0059] In some embodiments, when the chip further includes a detection output pin, the detection output pin is connected to an output end of the multiplexer module.
[0060] 3 and 4 , as one embodiment of the present disclosure, the chip may further include a multiplexer (MUX) module. By outputting a signal (dft_edtout_sel[j:0]) at the selection signal terminal, the multiplexer module may “select” one output terminal from the output terminals of the multiple modules connected thereto that is connected to its own output terminal, that is, select a result signal as its own output.
[0061] Further, referring to FIG3 , when the above detection output pins are provided, the detection output pins may be connected to the output end of the multiplexer module, that is, the multiplexer module may select “which” multiplexing module to output the result signal of the detection output pin.
[0062] As before, the number of multiplexer modules and detection output pins should correspond to the number of module output terminals of a single multiplexing module, which is (m+1); and at the same time, the signal at the output selection signal terminal (dft_edtout_sel[j:0]) should usually allow the multiplexer module and the detection output pin to output the result signal of one of the (j+1) multiplexing modules.
[0063] For example, referring to Figure 9, first select a multiplexing module and obtain the result signal generated by the output end of each module. If the result signal of the multiplexing module is analyzed to be correct, it can be determined that the multiplexing module is correct (such as a Golden core); then, the comparison results can be further analyzed to determine whether all the multiplexing modules are the same. If so, it means that all the multiplexing modules are correct and the chip has no fault. Otherwise, it means that at least one other multiplexing module is different from the Golden core and the chip has a fault.
[0064] It should be understood that it is also feasible if only the module output ends of some multiplexing modules (such as a selected multiplexing module) are directly connected to the corresponding detection output pins.
[0065] 3 , as one embodiment of the present disclosure, the detection output pin and the comparison output pin may be two physically independent pins, so that the two can output the result signal and the comparison result separately (including simultaneously).
[0066] In some embodiments, the chip of the embodiment of the present disclosure also includes: a processing module, the processing module having an input end and an output end, the input end of the processing module being respectively connected to the output end of the multiplexer module and the output end of the comparison module, the output end of the processing module being connected to the comparison output pin, and the processing module being used to process the result signal output from the output end of the multiplexer module to which it is connected and the comparison result output from the output end of the comparison module to which it is connected, and then output them to the comparison output pin.
[0067] As one embodiment of the present disclosure, referring to Figures 3 and 4, the output end of the multiplexer module (i.e., the result signal, that is, the module output end) and the output end of the comparison module (i.e., the comparison result) can be connected to the comparison output pin through the processing module respectively, so that the processing module can perform certain processing on the above result signal and comparison result, and then send the processed result to the comparison output pin.
[0068] In some embodiments, the processing module includes: a selection submodule, the selection submodule being configured to select a signal representing a comparison result or a result signal to be output from a comparison output pin.
[0069] 4 , as another embodiment of the present disclosure, the processing module may include a selection submodule that controls the comparison output pin to output a signal representing a comparison result, or outputs a result signal; that is, the processing module performs a “selection” process between the result signal and the comparison result.
[0070] Therefore, the comparison result and result signal can be output in a “time-sharing” manner through a “common” physical pin (comparison output pin), thereby further reducing the number of chip pins.
[0071] Among them, the forms of the above selection submodules are various.
[0072] For example, as the simplest way, the module output end (such as the output end of the multiplexer module above) and the output end of the comparison module can be connected to the comparison output pin through a transistor (selection sub-module) respectively, so that by controlling one of the transistors to turn on and the other transistor to turn off, the selected signal can be output.
[0073] For another example, referring to FIG4 , the selection submodule is an AND gate, whose two inputs are connected to the output of the corresponding comparison module and the control terminal of the selection submodule, respectively. The output is connected to the control terminal of the multiplexer (MUX) in the corresponding conversion submodule (described later). The module output (such as the output of the multiplexer module described above) is connected to the comparison output pin via the multiplexer. Thus, by setting the signal (dft_edtout_uncomp) at the control terminal of the selection submodule to 0, the output of the AND gate is guaranteed to be 0, i.e., the signal at the control terminal of the multiplexer is 0, causing the multiplexer to continuously output the signal at the module output, i.e., causing the comparison output pin to output the result signal. By setting the signal (dft_edtout_uncomp) at the control terminal of the selection submodule to 1, the AND gate can actually output the comparison result signal, or the comparison result can be loaded onto the control terminal of the multiplexer, and ultimately, a signal representing the comparison result is output at the comparison output pin (described later).
[0074] In some embodiments, the processing module includes: a conversion submodule, which is configured to generate a conversion comparison result based on the comparison result and the result signal as a signal representing the comparison result; wherein, when the comparison result represents that the result signals of all module output ends are exactly the same, the conversion comparison result is the same as the signal of the module output end; when the comparison result represents that the result signals of all module output ends are not exactly the same, the conversion comparison result is opposite to the signal of the module output end.
[0075] As mentioned above, the detection signal can be a detection vector generated by ATPG technology, the signal at the output end of the corresponding module is the result vector, and the analysis process of the result is to compare the result vector with a preset standard vector.
[0076] However, the comparison result directly generated by the comparison module is completely determined by whether the signals of the multiplexing module are the same, and has nothing to do with the original forms of the result vector and the standard vector, so it is not convenient to analyze them.
[0077] To this end, referring to FIG3 and FIG4 , a conversion submodule can be set to convert the comparison result into the form of a “converted comparison result”. That is, the processing module performs a process of “converting” the form of the comparison result according to the result signal, and the characteristics of the converted comparison result obtained are:
[0078] (1) If the comparison result at a certain moment indicates that the signals of all multiplexed modules are the same, the corresponding bit of the converted comparison result is the same as the corresponding bit of the result signal at the module output end;
[0079] (2) If the comparison result at a certain moment indicates that the signals of all multiplexed modules are different, then the corresponding bit of the converted comparison result is the inverse of the corresponding bit of the result signal at the module output end.
[0080] Therefore, a similar method of analyzing the result vector in the related art can be used to analyze the conversion comparison result (which represents the comparison result), that is: compare the conversion comparison result with the standard vector. If a bit is different from the standard vector, it can be determined that there is an error in the signal of at least one multiplexing module at the corresponding time.
[0081] Among them, the above conversion submodules are in various forms.
[0082] For example, referring to FIG3 and FIG4 , the conversion submodule may include the above multiplexer, and the module output terminal (such as the output terminal of the above multiplexer module) is directly connected and inverted (such as through a NOT gate unit) to the two input terminals of the multiplexer, and the control terminal of the multiplexer is connected to the output terminal of the comparison module (including the direct connection with reference to FIG3 , or the connection through the AND gate of the above selection submodule with reference to FIG4 ), thereby:
[0083] (1) When the comparison result is 0 (the signals of all multiplexing modules are the same), the comparison result controls the multiplexer to directly output the result signal;
[0084] (2) When the comparison result is 1 (the signal of at least one multiplexing module is different), the comparison result controls the multiplexer to output an inverted result signal.
[0085] It should be understood that, referring to Figure 4, when both the selection submodule and the conversion submodule are present, if the selection submodule controls the comparison output pin to output the result signal, the conversion submodule does not work at this time; and if the selection submodule controls the comparison output pin to output a signal representing the comparison result, then what is actually output is the conversion comparison result generated by the conversion submodule.
[0086] It should be understood that the processing module can be in various forms. For example, there may be only one of the selection submodule and the conversion submodule, or both, or there may be other submodules. Moreover, the selection submodule, the conversion submodule, etc. may also be in other forms, which will not be described in detail here.
[0087] It should be understood that the selection submodule, conversion submodule, etc. may also be in other forms, which will not be described in detail here.
[0088] In some embodiments, the comparison module includes: a first AND gate unit, the first AND gate unit includes multiple input terminals corresponding one-to-one to the output terminals of each module connected to the comparison module, and each input terminal is connected to its corresponding module output terminal; a first OR gate unit, the first OR gate unit includes multiple input terminals corresponding one-to-one to the output terminals of each module connected to the comparison module, and each input terminal is connected to its corresponding module output terminal; a first XOR gate unit, the first XOR gate unit includes two input terminals respectively connected to the output terminal of the first AND gate unit and the output terminal of the first OR gate unit.
[0089] 5 , as one embodiment of the present disclosure, each comparison module may include a first AND gate unit 11 and a first OR gate unit 12, and all module output terminals corresponding to the comparison module (such as a total of (j+1) output terminals) are respectively connected to the inputs of the first AND gate unit 11 and the first OR gate unit 12, and the outputs of the first AND gate unit 11 and the first OR gate unit 12 are then simultaneously connected to the input of the first XOR gate unit 13.
[0090] Therefore, if the signals at the output ends of all modules are the same (all 1 or all 0), the outputs of the first AND gate unit 11 and the first OR gate unit 12 must also be the same (all 1 or all 0), so that the comparison result of the two outputs after passing through the first XOR gate unit 13 is 0; and as long as the signals at the output ends of all modules are not exactly the same (some are 1 and some are 0), the output of the first AND gate unit 11 must be 0 and the output of the first OR gate unit 12 must be 1, so that the comparison result of the two outputs after passing through the first XOR gate unit 13 is 1.
[0091] In some embodiments, the comparison module also includes a second OR gate unit 14 and a second AND gate unit 15 corresponding to at least part of the module output end; each second OR gate unit 14 includes two input ends respectively connected to its corresponding module output end and the first shielding signal end, and an output end connected to the input end of the first AND gate unit 11; each second AND gate unit 15 includes two input ends respectively connected to its corresponding module output end and the inverted phase of the first shielding signal end, and an output end connected to the input end of the first OR gate unit 12; wherein, the second OR gate unit 14 and the second AND gate unit 15 corresponding to the same module output end are connected to the same first shielding signal end.
[0092] In some cases, it may be desirable not to compare some multiplexing modules, and thus it is necessary to "shield" the information of the corresponding multiplexing modules so that it does not affect the comparison module.
[0093] For example, if it has been determined that a certain multiplexing module has a fault, the signal of the multiplexing module may be shielded to further analyze whether other multiplexing modules have a fault.
[0094] To this end, referring to Figure 5, in the comparison module, a second OR gate unit 14 is further provided between each module output end and the corresponding first AND gate unit 11, and a second AND gate unit 15 is provided between each module output end and the corresponding first OR gate unit 12. Moreover, the other output end of the second OR gate unit 14 and the second AND gate unit 15 corresponding to the same module output end are respectively connected to the same first shielding signal end and its inverse.
[0095] It should be understood that the "inversion" in the embodiment of the present disclosure means that the signals finally connected at the two positions are inverted, and its implementation method is diverse. For example, referring to Figure 5, a NOT gate unit is set between the first shielding signal terminal and the second AND gate unit 15, or the two positions can be connected to different ports respectively, and the signals provided by the two ports are always inverted.
[0096] At the same time, the inversion of the two signals is a relative concept rather than an absolute concept. For example, the NOT gate unit in Figure 5 can actually be set between the first shielding signal terminal and the second OR gate unit 14. In this case, it is only necessary to invert the signal provided by the first shielding signal terminal.
[0097] Among them, when it is necessary to shield the signal of a certain module output end, the signal of the corresponding first shielding signal end (dft_comp_mask_en[j:0]) can be set to 1, so that the output of the second OR gate unit 14 continues to be 1, and 1 "does not affect" the output of the subsequent first AND gate unit 11; at the same time, the inversion of the signal of the first shielding signal end is 0, so the output of the second AND gate unit 15 continues to be 0, and 0 also "does not affect" the output of the subsequent first OR gate unit 12.
[0098] For the module output terminal that does not need to be shielded, the signal of the corresponding first shielding signal terminal is set to 0, which means that the existence of the second AND gate unit 15 and the second OR gate unit 14 "does not affect" the result signal of the module output terminal.
[0099] That is to say, when the signal (dft_comp_mask_en[j:0]) of the first shielding signal terminal corresponding to the module output terminal is set to 1, the first AND gate unit 11 and the first OR gate unit 12 can operate only according to the signal of the "other" module output terminal, and are not affected by the signal of the module output terminal, that is, the signal of the corresponding module output terminal is "shielded".
[0100] In some embodiments, the comparison module includes: multiple second XOR gate units, one of the output terminals of each module connected to the comparison module is simultaneously connected to an input terminal of all the second XOR gate units, and each of the other module output terminals is respectively connected to another input terminal of each second XOR gate unit in a one-to-one correspondence; a third OR gate unit, the third OR gate unit includes multiple input terminals respectively connected to the output terminals of each second XOR gate unit.
[0101] 6 , as another embodiment of the present disclosure, the comparison module may also include multiple (j) second XOR gate units 21, one input end of all second XOR gate units 21 is connected to the same module output end (module output end j is taken as an example in FIG6 ), and each of the other module output ends (module output ends 0 to j-1 are taken as an example in FIG6 ) is respectively connected to the other input end of a second XOR gate unit 21; thus, the multiple second XOR gate units 21 are equivalent to comparing the signal of a selected module output end (module output end j) with the signal of each of the other module output ends, and if the results are the same, the outputs of all second XOR gate units 21 are 0, and the comparison result 0 can be generated by the third OR gate unit 22; and as long as the results are not the same, the output of the second XOR gate unit 21 will be 1, and the comparison result 1 can be generated by the third OR gate unit 22.
[0102] In some embodiments, the comparison module also includes a multiplexer unit 23 corresponding to at least part of the module output end; the module output end is directly connected and inversely connected to the two input ends of the corresponding multiplexer unit 23, the output end of the multiplexer unit 23 is connected to the corresponding second XOR gate unit 21, and the control end of the multiplexer unit 23 is connected to the second shielding signal end.
[0103] For the comparison module in the form of reference Figure 6, it also includes a multiplexer (MUX) unit 23 that plays a shielding role, and each module output terminal is directly connected and invertedly connected (such as by setting a NOT gate unit) to the multiplexer unit 23 at the same time. Therefore, through the signal of the second shielding signal terminal (dft_comp_mask_en[j:0]), the multiplexer unit 23 can be selected to be the original signal of the output module output terminal or its inverted signal.
[0104] Therefore, when it is determined that the result signal of a certain module output end at a certain time is wrong, the signal of the second shielding signal end can be used to control the corresponding multiplexer unit 23 to output its inverted signal, that is, to ensure that the signal entering the second XOR gate unit 21 from the module output end is always correct, so as to shield the influence of the signal of the module output end.
[0105] It should be understood that the chip may also include other structures, such as a beat logic module located in front of the detection output pin (including a shared comparison output pin), a register module directly connected to the output end of each module, a compression / decompression unit (Compressor / Decompressor) located in the multiplexing module, etc., which will not be described in detail here.
[0106] The effects achieved by the chip according to the embodiment of the present disclosure are described in detail below.
[0107] For example, suppose a chip has 32 multiplexed cores, each multiplexed core has 6 output terminals, and the chip has 36 output pins.
[0108] Therefore, according to the ATPG detection method in the related art, a maximum of 36 / 6=6 multiplexed cores can be tested each time on the ATE equipment, so a total of 32 / 6≈6 tests are required, and the detection time is approximately 6T (the time for a single test is T).
[0109] However, if the method of the embodiment of the present disclosure is adopted, only one detection is required (if the comparison result and the result signal can be output simultaneously) or two detections (if the comparison result and the result signal are output separately), and the detection time is approximately T or 2T, which is 1 / 6 or 1 / 3 of the related art.
[0110] Moreover, if the method of the embodiment of the present disclosure is adopted, only 6 output pins are actually required (if the comparison result and the result signal are output through the comparison output pins in a time-sharing manner) or 12 output pins (if the comparison result and the result signal are output through different pins). It can also greatly reduce the number of output pins to be used, saving I / O resources.
[0111] In a second aspect, referring to FIG. 1 to FIG. 9 , embodiments of the present disclosure provide at least one chip detection method.
[0112] The chip detected by the method of the embodiment of the present disclosure includes multiple multiplexing modules with the same structure, and each multiplexing module has a module input end and a module output end.
[0113] It should be understood that the chip detection method of the embodiment of the present disclosure can be used to detect any chip of the embodiment of the present disclosure.
[0114] 7 , the chip detection method according to the embodiment of the present disclosure may include steps S201 to S204 .
[0115] In step S201 , a detection signal is acquired and synchronously transmitted to the module input end of each multiplexing module.
[0116] In step S202 , each multiplexing module outputs a result signal at its own module output terminal in response to the detection signal.
[0117] In step S203 , the result signals at the module output terminals of the multiplexing modules are compared, and a comparison result is generated to indicate whether the result signals are completely identical.
[0118] In step S204 , a signal representing the comparison result is output.
[0119] In the chip detection method of the embodiment of the present disclosure, the chip first obtains the detection signal (such as received through the detection input end) and synchronously transmits it to the module input end of each multiplexing module inside it, so that each multiplexing module will work synchronously according to the detection signal and output the result signal at its respective module output end; thereafter, the chip can compare the result signals of the module output ends of each multiplexing module and generate a comparison result indicating whether they are all the same (such as generated in the comparison module); finally, the chip can output a signal representing the comparison result (such as output through a comparison output pin).
[0120] Therefore, by analyzing the signal representing the comparison result, it can be determined whether the multiplexing modules of the chip are completely consistent (ie, the consistency of the multiplexing modules is determined).
[0121] In some embodiments, the detection signal includes a detection vector generated based on ATPG technology.
[0122] In some embodiments, the chip also includes a detection input pin, each detection input pin is connected to the module input end of each multiplexing module at the same position; referring to Figure 8, obtaining the detection signal and synchronously transmitting the detection signal to the module input end of each multiplexing module (S201) includes: step S2011, obtaining the detection signal through the detection input pin, and synchronously transmitting the detection signal to the module input end of each module connected to the detection input pin.
[0123] When the chip adopts the above-mentioned shared-input technology, the detection signal obtained through a detection input pin can be synchronously transmitted to the module input terminals at the same position of each multiplexing module.
[0124] It should be understood that it is also feasible not to adopt the shared input terminal technology. In this case, the same detection signal needs to be provided simultaneously to multiple detection input pins corresponding to the module input terminals of each multiplexing module.
[0125] In some embodiments, referring to FIG. 8 , after each multiplexing module outputs a result signal at its own module output terminal for the detection signal ( S202 ), the method further includes: step S205 , outputting the result signal.
[0126] During the chip detection process, the chip can also output (such as output through the detection output pin, or output through the comparison output pin in time-sharing) the result signal (such as the result vector) of the specific multiplexing module, and then by analyzing the result signal (such as comparing the result vector with the standard vector), it can be determined whether the corresponding multiplexing module is faulty, that is, the correctness of the multiplexing module can be determined.
[0127] It should be understood that the above process of determining the consistency of the reused module and the process of determining the correctness of the reused module are relatively independent, and there is no necessary execution order or relationship between the two.
[0128] For example, the process of determining the consistency and correctness of the multiplexing module is divided into two steps, that is, the detection signal is input twice, and the comparison result and the result signal are obtained respectively by comparing the output keys, and there is no necessary order for obtaining the two.
[0129] Alternatively, when the chip has separate comparison output pins and detection output pins, the comparison result and the result signal can be obtained simultaneously when the test signal is input once.
[0130] For another example, referring to Figure 9, first randomly select a multiplexing module (multiplexing core), and obtain its result signal (result vector), and compare it with the standard result (standard vector). If they are the same, it is determined that the multiplexing module is normal (such as determining that it is a Golden core); then, the result signals of all multiplexing modules are input into the comparison module, and the analysis and comparison results are 0 or 1. If it is 0, it means that the structures of all multiplexing modules are the same (that is, the same as the Golden core), so it can be determined that the chip has no fault. If it is 1, it means that the structure of the multiplexing module is different (that is, different from the Golden core), so it can be determined that the chip has a fault.
[0131] Alternatively, you can first check whether all reused modules are the same, and then perform different subsequent steps based on the results:
[0132] (1) If they are the same, it can be approximately considered that the chip is not faulty; or, a multiplexing module can be further selected for correctness detection. If the multiplexing module is normal, it is confirmed that the chip is not faulty.
[0133] (2) If they are different, the chip can be directly determined to be faulty and the process ends (if fault location is not required); alternatively, the correctness of one or more multiplexing modules can be further tested to achieve fault location.
[0134] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the apparatus disclosed above may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0135] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation.
[0136] The present disclosure has disclosed example embodiments, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims
1. A chip, comprising: A plurality of multiplexing modules with the same structure, each of the multiplexing modules having a module input end and a module output end; A detection input pin, the detection input pin is connected to the module input end of each of the multiplexing modules and is configured to input a detection signal to the module input end; A comparison module, wherein the comparison module has an input end and an output end, the input end of the comparison module is connected to the module output end of each of the multiplexing modules, the comparison module is configured to receive and compare the result signals output by each of the multiplexing modules at their respective module output ends for the detection signal, and output a comparison result representing whether the result signals of all the module output ends connected thereto are completely identical at the output end of the comparison module; A comparison output pin, wherein the comparison output pin is connected to an output end of the comparison module and is configured to output a signal representing the comparison result.
2. The chip according to claim 1, wherein: Each of the detection input pins is connected to the module input terminals at the same position of each of the multiplexing modules, and is configured to synchronously input the same detection signal to each of the module input terminals connected thereto.
3. The chip according to claim 1, further comprising: A detection output pin is connected to the module output end and is configured to output a result signal of the module output end.
4. The chip according to claim 1, further comprising: A multiplexer module, wherein the multiplexer module has a plurality of input terminals, an output terminal, and a control terminal; The multiple input terminals of the multiplexer module are connected to the multiple module output terminals, the control terminal of the multiplexer module is connected to the output selection signal terminal, and the multiplexer module is configured to select the module output terminal connected to the output terminal of the multiplexer module according to the signal of the output selection signal terminal.
5. The chip according to claim 4, further comprising: A detection output pin is connected to an output end of the multiplexer module.
6. The chip according to claim 4, further comprising: A processing module, wherein the processing module has an input end and an output end, the input end of the processing module is respectively connected to the output end of the multiplexer module and the output end of the comparison module, the output end of the processing module is connected to the comparison output pin, and the processing module is configured to process the result signal output by the output end of the multiplexer module to which it is connected and the comparison result output by the output end of the comparison module to which it is connected, and then output them to the comparison output pin.
7. The chip according to claim 6, wherein: The processing module comprises: A selection submodule is configured to select a signal representing the comparison result or the result signal to be output from the comparison output pin.
8. The chip according to claim 6, wherein: The processing module comprises: A conversion submodule, wherein the conversion submodule is configured to generate a conversion comparison result according to the comparison result and the result signal as a signal representing the comparison result; wherein, when the comparison result represents that the result signals of all the module output ends are exactly the same, the conversion comparison result is the same as the signal of the module output end; and when the comparison result represents that the result signals of all the module output ends are not exactly the same, the conversion comparison result is opposite to the signal of the module output end.
9. The chip according to claim 1, wherein: The comparison module comprises: A first AND gate unit, the first AND gate unit comprising a plurality of input terminals corresponding to the module output terminals connected to the comparison module, each of the input terminals being connected to its corresponding module output terminal; The first OR gate unit includes a first OR gate unit connected to the comparison module. A plurality of input terminals corresponding to each module output terminal, each input terminal being connected to its corresponding module output terminal; A first XOR gate unit, wherein the first XOR gate unit comprises two input terminals respectively connected to the output terminal of the first AND gate unit and the output terminal of the first OR gate unit.
10. The chip according to claim 9, wherein: The comparison module further comprises a second OR gate unit and a second AND gate unit corresponding to at least part of the module output terminals; Each of the second OR gate units comprises two input terminals respectively connected to the corresponding module output terminal and the first shielding signal terminal, and an output terminal connected to the input terminal of the first AND gate unit; Each of the second AND gate units includes two input terminals respectively connected to the corresponding module output terminal and the inverted first shielding signal terminal, and an output terminal connected to the input terminal of the first OR gate unit: The second OR gate unit and the second AND gate unit corresponding to the same module output terminal are connected to the same first shielding signal terminal.
11. The chip according to claim 1, wherein: The comparison module comprises: A plurality of second XOR gate units, one of the module output ends connected to the comparison module is simultaneously connected to an input end of all the second XOR gate units, and the other module output ends are respectively connected to the other input end of each of the second XOR gate units in a one-to-one correspondence; A third OR gate unit, wherein the third OR gate unit comprises a plurality of input terminals respectively connected to the output terminals of the second XOR gate units.
12. The chip according to claim 11, wherein: The comparison module also includes a multiplexer unit corresponding to at least part of the module output terminals; The module output end is directly connected and inversely connected to the two input ends of the corresponding multiplexer unit, the output end of the multiplexer unit is connected to the corresponding second XOR gate unit, and the control end of the multiplexer unit is connected to the second shielding signal end.
13. A chip detection method, wherein: The chip includes a plurality of multiplexing modules with the same structure, each of the multiplexing modules has a module input end and a module output end, and the method includes: Acquire a detection signal, and synchronously transmit the detection signal to the module input end of each of the multiplexing modules; Each of the multiplexing modules outputs a result signal at a respective module output terminal in response to the detection signal; Comparing the result signals at the module output ends of the multiplexing modules, and generating a comparison result indicating whether the result signals are completely identical; A signal representing the comparison result is output.
14. The method according to claim 13, wherein: The chip further comprises a detection input pin, each of the detection input pins being connected to the module input terminal at the same position of each of the multiplexing modules; The acquiring of the detection signal and synchronously transmitting the detection signal to the module input end of each of the multiplexing modules includes: acquiring the detection signal through the detection input pin, and synchronously transmitting the detection signal to each of the module input ends connected to the detection input pin.
15. The method according to claim 13, wherein: After each of the multiplexing modules outputs a result signal at a respective module output terminal for the detection signal, the method further includes: The result signal is output.
16. The method according to claim 13, wherein: The detection signal includes a detection vector generated based on the automatic detection vector generation ATPG technology.
Citation Information
Patent Citations
Simultaneous built-in self-testing of multiple identical blocks of integrated circuitry
CA2351038A1
Device and method for testing system-on-chip chip with multiple isomorphic IP cores
CN101788644A
Method and device of testing a plurality of modules in test circuit
CN105629148A
Comparison circuit
CN116112002A
System and method of testing a plurality of memory blocks of an integrated circuit in parallel
US20060161824A1
