Border scanning circuit and chip based on special scan chain architecture characteristics

By adopting special scanning chain architecture features and connection components in the side scanning circuit, the circuit design is simplified, and the problem of side scanning chain fault diagnosis in the non-optimal circuit design in the prior art is solved, achieving efficient and accurate Fault identification and location.

CN118897183AActive Publication Date: 2024-11-05SHANTOU UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410913241.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-05
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

The existing side scan chain fault diagnosis solution cannot fully realize the optimal circuit design under objective conditions, making it difficult to effectively diagnose faults.

Method used

Using a side scanning circuit based on the characteristics of a special scanning chain architecture, by connecting components and multiple scanning chains, each scanning chain includes a node connection end in the first state or the second state, and the node connection end in the second state is connected by The components are connected to the node connection end of the target scanning chain, and use inverters and synor gate logic operators to simplify circuit design, reducing hardware overhead and wiring complexity.

Benefits of technology

It realizes the accessibility of any part of the scan chain to transmit input signals without any obstacles, accurately identify and locate faults, reduces hardware overhead and wiring complexity, and improves the flexibility and accuracy of fault diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897183A_ABST
    Figure CN118897183A_ABST
Patent Text Reader

Abstract

The invention is mainly used in the technical field of digital circuits. The invention discloses a side scanning circuit based on special scan chain architecture characteristics and a chip. The side scanning circuit comprises a connecting assembly and a plurality of scan chains, each scanning chain comprises at least one node connecting end in a first state or a second state; the node connection ends, in the first state, of all the scanning chains are connected with one another according to a preset connection relation; the node connecting end, in the second state, of each scanning chain is connected with the node connecting end, in the first state or the second state, of the target scanning chain through a connecting assembly. According to the technical scheme of the invention, a new hardware circuit solution can be provided for realizing the fault diagnosis of the side scan chain, so that the fault diagnosis can be carried out more flexibly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital circuits, and in particular to a side scan circuit and chip based on special scan chain architecture features. Background Art

[0002] In the existing side scan chain fault diagnosis scheme, the side scan chain can be divided into multiple groups according to the constraints of the clock domain or layout and routing. By inserting a looped side transmission path on the scan chain in each group, it is ensured that the test vector of each scan chain with a fault (referred to as a bad chain) can be transmitted to one or more scan chains without faults (referred to as good chains), and the bad chain also captures the test vector transmitted from the good chain. This scheme realizes manageable hardware overhead, efficient and accurate fault diagnosis, and flexible adaptive diagnosis.

[0003] In a side scan circuit composed of multiple side scan chains, according to the optimal circuit design, the number of scan chains has a specific limit, and the length of each scan chain is the same, which is conducive to forming a loop transmission path at each unit connection without adding additional circuits. However, it is impossible for an actual side scan circuit to fully realize the optimal circuit design. When the optimal circuit design cannot be realized due to objective conditions, how to provide a side scan circuit that can realize fault diagnosis is still a problem that those skilled in the art need to solve. Summary of the invention

[0004] The present invention provides a side scan circuit and chip based on special scan chain architecture features, which can provide a new hardware circuit solution for implementing side scan chain fault diagnosis, thereby performing fault diagnosis more flexibly.

[0005] To achieve the above-mentioned object, in a first aspect, the present invention provides a side scanning circuit based on a special scan chain architecture feature, the side scanning circuit comprising a connection component and a plurality of scan chains; Each of the scan chains includes at least one node connection terminal in a first state or a second state; The node connection ends of each scan chain in the first state are connected to each other according to a preset connection relationship; The node connection end in the second state of each of the scan chains is connected to the node connection end in the first state or the second state of the target scan chain through the connection component.

[0006] Optionally, the number of scan chains in the side scanning circuit is any odd number greater than 1; The connection component includes at least one first inverter; The node connection end of the scan chain in the second state is connected to the node connection end of the target scan chain in the first state through the first inverter.

[0007] Optionally, the connection component includes a plurality of first inverters; Each of the scan chains includes a plurality of scan units connected in series, and each of the scan units includes a first connection end and a second connection end; The first connection end of the scanning unit in the scan chain serves as a node connection end of the scan chain in a first state, and the second connection end of the scanning unit in the scan chain serves as a node connection end of the scan chain in a second state; The input end of each of the first inverters is used to be connected to the second connection end of the target scanning unit, and the output end of each of the first inverters is used to be connected to the first connection end of the target scanning unit.

[0008] Optionally, each of the scan chains includes a first node connection end in a first state or a second state, and a second node connection end in the first state or the second state; Each of the scan chains is sorted according to a first preset order; The first node connection end in the first state of the last scan chain in the first preset sequence is connected to the second node connection end in the first state of the previous scan chain; A second node connection end in a second state of the last scan chain in the first preset sequence is connected to an input end of the first inverter; The output end of the first inverter is connected to a first node connection end of a first scan chain in the first preset sequence which is in a first state.

[0009] Optionally, the side scan circuit includes a long scan chain and a short scan chain, and the length of the long scan chain is greater than the length of the short scan chain; The long scan chain includes a node connection end in a first state and a node connection end in a second state; Each node connection end in the short scan chain is a node connection end in a first state; The node connection ends of the long scan chain in the second state are used to connect to the node connection ends of the short scan chain in the first state through the connection components.

[0010] Optionally, the connection component includes at least one XEN_OR gate logic operator; The long scan chain or the short scan chain includes a plurality of scanning units connected in series, and each of the scanning units includes a first connection end and a second connection end; The second connection end of the target scan unit in the long scan chain, as a node connection end of the long scan chain in the second state, is connected to the input end of the XNOR gate logic operator; The first connection end of each scanning unit in the short scan chain serves as a node connection end of the short scan chain in a first state; The output end of the XNOR logic operator is connected to the first connection end of the target scan unit in the short scan chain.

[0011] Optionally, each of the scan chains is sorted according to a second preset order, and each scan unit in the scan chain is sorted according to a third preset order; In the second preset sequence, the previous scan chain is a long scan chain, the next scan chain is a short scan chain, and the second connection ends of the last three scan units in the previous scan chain arranged according to the third preset sequence are connected to the first connection end of the last scan unit in the next scan chain arranged according to the third preset sequence through the XNOR gate logic operator, or, In the second preset order, the previous scan chain is a short scan chain, the next scan chain is a long scan chain, and the second connection end of the last scan unit in the previous scan chain sorted according to the third preset order is connected to the first connection ends of the last two scan units in the next scan chain sorted according to the third preset order.

[0012] Optionally, the side scanning circuit further includes a plurality of the long scanning chains; The node connection end of the long scan chain in the second state is further used to connect to the node connection end of the target long scan chain in the second state through the connection component; The connection component includes at least one second inverter; Each of the long scan chains includes a plurality of scan units connected in series, and each of the scan units includes a first connection end and a second connection end; The second connection end of the target scan unit in the long scan chain, as a node connection end of the long scan chain in the second state, is connected to the input end of the second inverter; The first connection end of the target scan unit in the target long scan chain, as a node connection end of the target long scan chain in the second state, is connected to the output end of the second inverter.

[0013] Optionally, each of the scan chains is sorted according to a fourth preset order, and each scan unit in the scan chain is sorted according to a fifth preset order; In the fourth preset order, at least one short scan chain is arranged between two long scan chains, and the second connection end of the last scan unit in the previous long scan chain arranged according to the fifth preset order is connected to the first connection end of the last scan unit in the next long scan chain arranged according to the fifth preset order through the second inverter.

[0014] In a second aspect, the present invention further provides a chip, comprising any one of the above-mentioned side scan circuits based on the special scan chain architecture features.

[0015] The present invention has at least the following beneficial effects: The technical solution of the present application provides a side scanning circuit based on the special scan chain architecture feature, the side scanning circuit includes a connection component and a plurality of scan chains; each scan chain includes at least one node connection end in a first state or a second state; the node connection ends in the first state of each scan chain are connected to each other according to a preset connection relationship; the node connection end in the second state of each scan chain is connected to the node connection end in the first state or the second state of the target scan chain through the connection component. It can be seen that the new side scanning circuit provided by the technical solution of the present application has a small number of components, which is conducive to reducing hardware overhead, and the connection relationship between the components is simple, which is conducive to simplifying wiring. At the same time, the input signal for diagnosing faults can be transmitted between each scan chain and the connection component. In the event of a fault in any part of any scan chain, the fault can still be accurately identified and located based on the input signal freely transmitted by each part without obstacles, thereby realizing side scanning chain fault diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation to the technical solution of the present invention.

[0017] Figure 1 It is a structural schematic diagram of a side scan circuit based on the special scan chain architecture characteristics; Figure 2 A schematic diagram of the structure of a first side scanning circuit including a plurality of scanning units; Figure 3 A schematic diagram of the structure of a first side scanning circuit including a single-bit trigger and a connector; Figure 4 A schematic diagram of the structure of a second side scanning circuit including a plurality of scanning units; Figure 5 A schematic diagram of the structure of a second side scanning circuit including a single-bit trigger and a connector; Figure 6 A schematic diagram of the structure of a third side scanning circuit including a plurality of scanning units; Figure 7 A schematic diagram of the structure of a third side scanning circuit including a single-bit trigger and a connector; Figure 8The invention is a schematic diagram of the structure of a chip including a side scan circuit based on special scan chain architecture features. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0019] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.

[0020] In a side scan circuit composed of multiple side scan chains, when the side scan architecture divides the multiple scan chains into multiple scan chain groups, in order to maximize the test coverage, it is best to follow the following suggestions: All chains in a group should have the same length so that a cyclic transmission path at each cell index can be easily implemented without adding additional circuits.

[0021] The number of chains in each chain group should be an even number, and the number of chains should be equal to or greater than 4.

[0022] This circuit design is conducive to forming a loop transmission path at each unit connection without adding additional circuits. However, it is impossible for an actual side scanning circuit to fully realize the optimal circuit design. When the optimal circuit design cannot be realized due to objective conditions, how to provide a side scanning circuit that can realize fault diagnosis is still a problem that needs to be solved by those skilled in the art.

[0023] In order to solve the above problems, the technical solution of the present application provides a side scanning circuit based on the special scan chain architecture feature, the side scanning circuit includes a connection component and a plurality of scan chains; each scan chain includes at least one node connection end in a first state or a second state; the node connection ends in the first state of each scan chain are connected to each other according to a preset connection relationship; the node connection end in the second state of each scan chain is connected to the node connection end in the first state or the second state of the target scan chain through the connection component. It can be seen that the new side scanning circuit provided by the technical solution of the present application has a small number of components, which is conducive to reducing hardware overhead, and the connection relationship between the components is simple, which is conducive to simplifying wiring. At the same time, the input signal for diagnosing faults can be transmitted between each scan chain and the connection component. In the event of a fault in any part of any scan chain, the fault can still be accurately identified and located based on the input signal freely transmitted by each part without obstacles, thereby realizing side scanning chain fault diagnosis.

[0024] The embodiments provided by the technical solution of this application are as follows: Please refer to Figure 1 , Figure 1 The invention is a structural diagram of a side scan circuit based on special scan chain architecture characteristics.

[0025] In a first aspect, the present invention provides an embodiment, which provides a side scanning circuit based on special scan chain architecture features, wherein the side scanning circuit includes a connecting component and multiple scan chains; each scan chain includes at least one node connection end in a first state or a second state; the node connection ends in the first state of each scan chain are connected to each other according to a preset connection relationship; the node connection ends in the second state of each scan chain are connected to the node connection ends in the first state or the second state of the target scan chain through the connecting component.

[0026] In this embodiment, the first state means that the current node connection end has a corresponding connection relationship with another node connection end and can be connected normally, so it is in a normally connected state; the second state means that the current node connection end has no corresponding connection relationship with other node connection ends, and will be in an abnormal state when connecting with other node connection ends and cannot be connected normally.

[0027] In a specific embodiment, the side scanning circuit includes a connection component and three scan chains, wherein all node connection ends in two scan chains are in the first state, and each node connection end in the two scan chains is in a corresponding relationship. For example, the three scan chains each have only one node connection end, and the node connection end of the first scan chain is connected to the second scan chain, and the node connection end of the second scan chain is connected to the third scan chain. In this specific embodiment, the node connection end of the third scan chain is a node connection end in the second state, and after the node connection end of the third scan chain is connected to the connection component, the connection component is then connected to the first scan chain or the second scan chain.

[0028] In some embodiments, the number of scan chains in the side scan circuit is any odd number greater than 1; the connecting component includes at least one first inverter; the node connection end of the scan chain in the second state is connected to the node connection end of the target scan chain in the first state through the first inverter.

[0029] In some embodiments, the side scan circuit includes three scan chains, the node connection end of the first scan chain in the second state is connected to one end of the first inverter, the other end of the first inverter is connected to the node connection end of the second scan chain in the first state, and the node connection end of the third scan chain is connected to the second scan chain.

[0030] It can be understood that, compared with the complex XOR gate structure, the present embodiment uses an inverter as a connecting component, which reduces hardware overhead, simplifies wiring, reduces signal delay and interference, improves signal integrity, and thus reduces power consumption.

[0031] In some embodiments, the scan chain has multiple node connection ends, for example, the node connection end A1 in the scan chain A is connected to the node connection end B1 in the scan chain B, the node connection end A2 in the scan chain A is connected to the node connection end B2 in the scan chain B, and so on, and each node connection end on the scan chains A and B is connected according to the above connection relationship. If each node connection end in the scan chain C is a node connection end in the second state, each node connection end in the scan chain C needs to be connected to a plurality of inverters in a one-to-one correspondence, and then each inverter is connected to each node connection end on the scan chain A or B in a one-to-one correspondence. For example, the node connection terminal C1 in the scan chain C is connected to the inverter D1, the node connection terminal C2 in the scan chain C is connected to the inverter D2, and so on. Each node connection terminal in the scan chain C is connected to the corresponding inverter, and then the inverter D1 is connected to the node connection terminal A1 in the scan chain A or the node connection terminal B1 in the scan chain B, the inverter D2 is connected to the node connection terminal A2 in the scan chain A or the node connection terminal B2 in the scan chain B, and so on, until each node connection terminal in the scan chain C is connected to the node connection terminal of the scan chain A or the scan chain B through the inverter.

[0032] In some embodiments, each scan chain includes a first node connection end in a first state or a second state, and a second node connection end in the first state or the second state; each scan chain is sorted according to a first preset order; the first node connection end in the first state of the last scan chain in the first preset order is connected to the second node connection end in the first state of the previous scan chain; the second node connection end in the second state of the last scan chain in the first preset order is connected to the input end of the first inverter; the output end of the first inverter is connected to the first node connection end in the first state of the first scan chain in the first preset order.

[0033] In some embodiments, the connection component includes multiple first inverters; each scan chain includes multiple scanning units connected in series, and each scanning unit includes a first connection end and a second connection end; the first connection end of the scanning unit in the scan chain serves as a node connection end of the scan chain in a first state, and the second connection end of the scanning unit in the scan chain serves as a node connection end of the scan chain in a second state; the input end of each first inverter is used to connect to the second connection end of the target scanning unit, and the output end of each first inverter is used to connect to the first connection end of the target scanning unit.

[0034] It is understandable that in the scan chain, each scanning unit connected in series is arranged in a certain series order. For example, there are five scanning units in a scan chain, and the series connection of these five scanning units is that the output end of the previous scanning unit is connected to the input end of the next scanning unit. According to this order, the input end of the first scanning unit serves as the input end of the scan chain, and the input signal is input from the input end of the scan chain, and then transmitted to each scanning unit in sequence. Finally, the input signal is output from the output end of the last scanning unit, that is, from the output end of the scan chain.

[0035] It can be understood that this embodiment divides the scan chain into multiple scan units, and the first connection end and the second connection end of each scan unit serve as node connection ends of the scan chain. At the same time, an equal number of inverters are configured based on the correspondence between the scan unit and the inverter. This is beneficial to the transmission process of the input signal in each scan unit in the scan chain. By detecting the faulty scan unit, it is easier to lock the faulty part in the scan chain.

[0036] See also Figure 2, the sideway scanning circuit in this embodiment includes 5 scan chains. According to the first preset order, the 5 scan chains are arranged from top to bottom, namely, scan chain Chain10, scan chain Chain11, scan chain Chain12, scan chain Chain13, and scan chain Chain14. Scan_in0, Scan_in1, Scan_in2, Scan_in3, and Scan_in4 are signals for fault diagnosis input to scan chain Chain10, scan chain Chain11, scan chain Chain12, scan chain Chain13, and scan chain Chain14, respectively. Scan_en and sideway_tr are enable signals and sideway selection signals transmitted to each scan unit, respectively. Each scan chain includes 8 scan units. As shown in the figure from left to right, the input end of the first scan unit is used as the input end of the scan chain, the output end of the previous scan unit is connected to the input end of the next scan unit, and the output end of the last scan unit is used as the output end of the scan chain. It can be seen that each scan unit is connected in series. Each scan chain includes a plurality of first node connection ends and a plurality of second node connection ends. The first connection end of each scan unit serves as the first node connection end, and the second connection end of each scan unit serves as the second node connection end. The first node connection end and the second node connection end of scan chain Chain10, scan chain Chain11, scan chain Chain12, and scan chain Chain13 are all in the first state, and only the first node connection end of scan chain Chain14 is in the first state, and the second node connection end of scan chain Chain14 is in the second state. As shown in the figure from top to bottom, the second node connection end of the first scan chain Chain10 is connected to the first node connection end of scan chain Chain11, and so on, until the second node connection end of the last scan chain Chain14 is connected to the first node connection end of the first scan chain Chain10 through the first inverter.

[0037] It can be understood that, in this embodiment, since each scan chain and each scan unit are arranged in sequence, when a part of the scan chain (scan unit) fails, it is easier to locate the location where the failure occurs.

[0038] In some embodiments, each scanning unit includes a single-bit trigger and a connector; the input end of the single-bit trigger is connected to the output end of the connector, and the input end of the single-bit trigger serves as the second connection end of the scanning unit; the input end of the connector serves as the first connection end of the scanning unit.

[0039] See also Figure 3 , Figure 3 The invention is a structural schematic diagram of a first side scanning circuit including a single-bit trigger and a connector.

[0040] This application also provides a method for using Figure 3 The sideway scanning circuit shown in the figure implements a specific embodiment of fault diagnosis. In this embodiment, the sideway scanning circuit includes five scan chains of equal length, which are recorded as scan chain 0, scan chain 1, scan chain 2, scan chain 3, and scan chain 4, and each scan chain contains 8 scan units. Scan_in0, Scan_in1, Scan_in2, Scan_in3, and Scan_in4 are test vectors for fault diagnosis input to the five scan chains, respectively, and scan_en and sideway_tr are enable signals and sideway selection signals transmitted to each scan unit, respectively. Among them, an inverter is inserted in the sideway transmission path from scan chain 4 to scan chain 1. In order to verify the effectiveness of the structure, it is assumed that a Stuck-at 0 fault occurs in scan unit 3 of scan chain 4, and this position is affected by the inverter on its path during sideway transmission. Then, the method in the prior art solution is applied to perform fault diagnosis. The test vectors of each process are shown in Table 1. It can be obtained from the relevant derivation that the results prove that all faults can be accurately diagnosed and located.

[0041] Table 1 - Test vector table for the first fault diagnosis case

[0042] In some embodiments, the side scan circuit includes a long scan chain and a short scan chain, the length of the long scan chain is greater than that of the short scan chain; the long scan chain includes a node connection end in a first state and a node connection end in a second state; each node connection end in the short scan chain is a node connection end in a first state; the node connection end of the long scan chain in the second state is used to connect to the node connection end of the short scan chain in the first state through a connecting component.

[0043] In a specific embodiment, the side scan circuit includes a connection component and three scan chains, two of which are long scan chains, and one scan chain is a short scan chain and all the node connection ends thereof are in a first state. In the two long scan chains, each node connection end is in a corresponding relationship. For example, the three scan chains each have only one node connection end, then the node connection end of the first long scan chain is a node connection end in the first state and is connected to the second long scan chain; the node connection end of the second long scan chain is a node connection end in the second state and is connected to the short scan chain through the connection component, and the node connection end of the short scan chain is connected to the first long scan chain.

[0044] It can be understood that the side scanning circuit of this embodiment is a solution that optimizes the structure of processing unequal length scan chains in the existing technical solution. In physical implementation, it occupies less chip area, reduces hardware overhead, simplifies circuit layout and wiring, reduces potential signal delays and interference problems, thereby improving signal integrity. Since electrons are transmitted through fewer gates, the power consumption of the overall circuit will be reduced.

[0045] In some embodiments, the connection component includes at least one XEN-OR gate logic operator; the long scan chain or the short scan chain includes a plurality of scanning units connected in series, and each scanning unit includes a first connection end and a second connection end; the second connection end of the target scanning unit in the long scan chain serves as a node connection end in the second state of the long scan chain and is connected to the input end of the XEN-OR gate logic operator; the first connection end of each scanning unit in the short scan chain serves as a node connection end in the first state of the short scan chain; the output end of the XEN-OR gate logic operator is connected to the first connection end of the target scanning unit in the short scan chain.

[0046] In a specific embodiment, the side scan circuit includes four scan chains, namely, long scan chain A, long scan chain B, short scan chain C, and short scan chain D. In the four scan chains, the first connection end of each scan unit serves as the first node connection end of the scan chain, and the second connection end of each scan unit serves as the second node connection end of the scan chain. For example, in the long scan chain A, there are first node connection ends A11, A12, A13, ..., and second node connection ends A21, A22, A23, ... The node connection end A11 in the long scan chain A is connected to the node connection end B11 in the long scan chain B, and the node connection end A12 in the long scan chain A is connected to the node connection end B12 in the long scan chain B, and so on. Each node connection end on the long scan chains A and B is connected according to the above connection relationship. The node connection end B21 in the long scan chain B is connected to the node connection end C11 in the short scan chain C, and the node connection end B22 in the long scan chain B is connected to the node connection end C12 in the short scan chain C, and so on. Since the lengths of the long scan chain B and the short scan chain C are different, there are more scan units in the long scan chain B than in the short scan chain C. Therefore, there are scan units in the long scan chain B that cannot be connected to the scan units in the short scan chain in the above manner. It is necessary that the scan units that cannot be connected in the above manner be the target scan units, and the second connection end of the target scan unit is used as the node connection end in the second state, and is connected to the first node connection end in the short scan chain C through the XOR gate logic operator. Since the short scan chain C and the short scan chain D have the same length and the scan units in the chain are also the same, they are connected in the above manner and will not be repeated.

[0047] It can be understood that the present embodiment uses an XOR gate logic operator as a connection component, which reduces hardware overhead, simplifies wiring, reduces signal delay and interference, improves signal integrity, and thus reduces power consumption compared to a complex XOR gate structure.

[0048] In some embodiments, each scan chain is sorted according to a second preset order, and each scan unit in the scan chain is sorted according to a third preset order; in the second preset order, the previous scan chain is a long scan chain, the next scan chain is a short scan chain, and the second connection ends of the last three scan units in the previous scan chain sorted according to the third preset order are connected to the first connection end of the last scan unit in the next scan chain sorted according to the third preset order through an XNOR gate logic operator, or, in the second preset order, the previous scan chain is a short scan chain, the next scan chain is a long scan chain, and the second connection end of the last scan unit in the previous scan chain sorted according to the third preset order is connected to the first connection ends of the last two scan units in the next scan chain sorted according to the third preset order.

[0049] Preferably, the XNOR logic operator is a three-input XNOR logic operator.

[0050] See also Figure 4The side scanning circuit of this embodiment includes 4 scan chains. According to the second preset order, the 4 scan chains are arranged from top to bottom, namely, scan chain Chain20, scan chain Chain21, scan chain Chain22, and scan chain Chain23. Each scan chain includes 8 scan units. As shown in the figure from left to right, the input end of the first scan unit serves as the input end of the scan chain, the output end of the previous scan unit is connected to the input end of the next scan unit, and the output end of the last scan unit serves as the output end of the scan chain. It can be seen that each scan unit is connected in series. Each scan chain includes a plurality of first node connection ends and a plurality of second node connection ends. The first connection end of each scan unit serves as the first node connection end, and the second connection end of each scan unit serves as the second node connection end. In particular, scan chain Chain20, scan chain Chain21, and scan chain Chain23 are all long scan chains, and scan chain Chain22 is a short scan chain. In scan chain Chain21, of the scan units connected in series according to the third preset order, the second connection ends of the last three (i.e., the third from left to right in the second row in the figure) scan units serve as node connection ends in the second state of scan chain Chain21, and are connected to the input end of a three-input XEN-OR gate logic operator, and the output end of the XEN-OR gate logic operator is connected to the first connection end of the last (i.e., the first from left to right in the third row in the figure) scan unit of scan chain Chain22; the second connection end of the last scan unit of scan chain Chain22 is respectively connected to the first connection ends of the last two (i.e., the first from left to right in the fourth row in the figure) scan units of scan chain Chain23, and the first connection ends of the last two scan units of scan chain Chain23 serve as node connection ends in the second state of scan chain Chain23.

[0051] It can be understood that, in this embodiment, since each scan chain and each scan unit are arranged in sequence, when a part of the scan chain (scan unit) fails, it is easier to locate the location where the failure occurs.

[0052] In some embodiments, each scanning unit includes a single-bit trigger and a connector; the input end of the single-bit trigger is connected to the output end of the connector, and the input end of the single-bit trigger serves as the second connection end of the scanning unit; the input end of the connector serves as the first connection end of the scanning unit.

[0053] See also Figure 5 , Figure 5 The invention is a structural schematic diagram of a second side scanning circuit including a single-bit trigger and a connector.

[0054] This application also provides a method for using Figure 5The sideway scanning circuit shown in the figure implements a specific embodiment of fault diagnosis. In this embodiment, the sideway scanning circuit of this embodiment includes four scan chains, which are recorded as scan chain 0, scan chain 1, scan chain 2, scan chain 3, and scan chain 4. Among them, scan chains 0, 1, and 3 each include 8 scan units, and scan chain 2 includes 7 scan units. Scan_in0, Scan_in1, Scan_in2, and Scan_in3 are test vectors for fault diagnosis input to the four scan chains, respectively, and scan_en and sideway_tr are enable signals and sideway selection signals transmitted to each scan unit, respectively. A three-input XNOR gate logic operator is added to the sideway transmission path from the last three scan units of the long scan chain 1 to the last scan unit of the short scan chain 2. In order to verify the effectiveness of the structure, it is assumed that a Stuck-at 0 fault occurs in the scan unit of scan chain 1, and this position is connected to the inserted three-input XNOR gate; when transmitting from the short scan chain 2 to the long scan chain 3, the signal of the scan unit of the short scan chain 2 can be transmitted to the long and short scan chains 3. Then, the method in the prior art solution is applied to perform fault diagnosis. The relevant process test vectors are shown in Table 2. It can be deduced from the relevant information (when three intersections appear, it is a marginal fault, and only the set of three intersections is needed at this time), and the results prove that all faults can be accurately diagnosed and located.

[0055] Table 2 - Test vector table for the second fault diagnosis case

[0056] In some embodiments, the side scan circuit also includes multiple long scan chains; the node connection end of the long scan chain in the second state is also used to connect to the node connection end of the target long scan chain in the second state through a connecting component; the connecting component includes at least one second inverter; each long scan chain includes multiple scanning units connected in series, and each scanning unit includes a first connection end and a second connection end; the second connection end of the target scanning unit in the long scan chain, as the node connection end of the long scan chain in the second state, is connected to the input end of the second inverter; the first connection end of the target scanning unit in the target long scan chain, as the node connection end of the target long scan chain in the second state, is connected to the output end of the second inverter.

[0057] In a specific embodiment, the side scan circuit includes four scan chains, namely, a long scan chain A, a short scan chain B, a short scan chain C, and a long scan chain D. In the four scan chains, the first connection end of each scan unit serves as the first node connection end of the scan chain, and the second connection end of each scan unit serves as the second node connection end of the scan chain. For example, in the long scan chain A, there are first node connection ends A11, A12, A13..., and second node connection ends A21, A22, A23... The node connection end A11 in the long scan chain A is connected to the node connection end B11 in the short scan chain B, and the node connection end A12 in the long scan chain A is connected to the node connection end B12 in the short scan chain B, and so on. Each node connection end on the long scan chains A and B is connected according to the above connection relationship. Since the length of the long scan chain A is greater than that of the short scan chain B. Therefore, there must be at least one scanning unit in the long scan chain A whose second connection end cannot be connected to the first connection end of the scanning unit in the short scan chain B according to the above connection relationship. The second connection end of the scanning unit of the long scan chain A is the node connection end of the long scan chain A in the second state, and the scanning unit of the long scan chain A serves as the target scanning unit of the long scan chain A. Similarly, there is at least one scanning unit in the long scan chain D whose first connection end cannot be connected to the second connection end of the scanning unit in the short scan chain B according to the above connection relationship. The first connection end of the scanning unit serves as the node connection end of the long scan chain D in the second state, and the scanning unit of the long scan chain D serves as the target scanning unit of the long scan chain D. The second connection end of the target scanning unit of the long scan chain A is connected to the first connection end of the target scanning unit of the long scan chain D through the second inverter.

[0058] It can be understood that, compared with the complex XOR gate structure, the present embodiment uses an inverter as a connecting component, which reduces hardware overhead, simplifies wiring, reduces signal delay and interference, improves signal integrity, and thus reduces power consumption.

[0059] In some embodiments, each scan chain is sorted according to a fourth preset order, and each scan unit in the scan chain is sorted according to a fifth preset order; in the fourth preset order, at least one short scan chain is sorted between two long scan chains, and the second connection end of the last scan unit sorted according to the fifth preset order in the previous long scan chain is connected to the first connection end of the last scan unit sorted according to the fifth preset order in the next long scan chain through a second inverter.

[0060] See also Figure 6The side scanning circuit of this embodiment includes 4 scan chains. According to the second preset order, the 4 scan chains are arranged from top to bottom, namely, scan chain Chain30, scan chain Chain31, scan chain Chain32, and scan chain Chain33. Each scan chain includes 8 scan units. As shown in the figure from left to right, the input end of the first scan unit serves as the input end of the scan chain, the output end of the previous scan unit is connected to the input end of the next scan unit, and the output end of the last scan unit serves as the output end of the scan chain. It can be seen that each scan unit is connected in series. Each scan chain includes a plurality of first node connection ends and a plurality of second node connection ends. The first connection end of each scan unit serves as the first node connection end, and the second connection end of each scan unit serves as the second node connection end. In particular, scan chain Chain30, scan chain Chain31, and scan chain Chain33 are all long scan chains, and scan chain Chain32 is a short scan chain. In the scan chain Chain31, of the scan units connected in series according to the third preset order, the second connection end of the last (i.e., the first from left to right in the second row in the figure) scan unit is connected as the node connection end of the scan chain Chain31 in the second state, and is connected to the input end of the second inverter, and the output end of the second inverter is connected to the first connection end of the last (i.e., the first from left to right in the fourth row in the figure) scan unit of the scan chain Chain33.

[0061] It can be understood that, in this embodiment, since each scan chain and each scan unit are arranged in sequence, when a part of the scan chain (scan unit) fails, it is easier to locate the location where the failure occurs.

[0062] In some embodiments, each scanning unit includes a single-bit trigger and a connector; the input end of the single-bit trigger is connected to the output end of the connector, and the input end of the single-bit trigger serves as the second connection end of the scanning unit; the input end of the connector serves as the first connection end of the scanning unit.

[0063] See also Figure 7 , Figure 7 The invention discloses a structural schematic diagram of a third side scanning circuit including a single-bit trigger and a connector.

[0064] This application also provides a method for using Figure 7The sideway scanning circuit shown in the figure implements a specific embodiment of fault diagnosis. In this embodiment, the sideway scanning circuit of this embodiment includes four scan chains, which are recorded as scan chain 0, scan chain 1, scan chain 2, and scan chain 3. Among them, scan chains 0, 1, and 3 each include 8 scan units, and scan chain 2 includes 7 scan units. Scan_in0, Scan_in1, Scan_in2, and Scan_in3 are test vectors for fault diagnosis input to the four scan chains, respectively, and scan_en and sideway_tr are enable signals and sideway selection signals transmitted to each scan unit, respectively. When the signal is transmitted from the short scan chain 2 to the long scan chain 3, the signal of the scan unit of the short chain can be transmitted to the scan unit of the long scan chain 3; when the sideway transmission is performed from the long scan chain 1 to the short scan chain 2, 7 scan units in the long scan chain 1 are respectively connected to 7 scan units of the short scan chain; the last scan unit in the long scan chain 1 skips the short scan chain 2, and is connected to the last scan unit of the next long scan chain 3 of equal length through the second inverter. To verify the effectiveness of the proposed structure, assume that a stuck-at 0 fault occurs in the scan cell of scan chain 1, where the scan cell is connected to the inserted inverter.

[0065] When applying the method in the prior art solution for fault diagnosis, some changes need to be made. If a fault is identified in the long scan chain 1, and the two complementary test vectors transmitted and loaded by the side path are normal, it can be concluded that the fault is in the last scan unit of the long scan chain. The relevant process test vectors are shown in Table 3. The results show that the faults can be accurately diagnosed and located.

[0066] Table 3 - Test vector table for the third fault diagnosis case

[0067] Second, see Figure 8 , Figure 8 The invention is a schematic diagram of the structure of a chip including a side scan circuit based on special scan chain architecture features.

[0068] This embodiment provides a chip, including the side scan circuit based on the special scan chain architecture feature of any of the above embodiments.

[0069] It can be understood that the contents of the above circuit embodiments are all applicable to the present chip embodiment, the functions specifically implemented by the present chip embodiment are the same as those of the above circuit embodiments, and the beneficial effects achieved are also the same as those achieved by the above circuit embodiments.

[0070] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0071] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0072] Although the description of the present application has been quite detailed and specifically describes several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope of the present application. In addition, the above description of the present application is based on the embodiments foreseeable by the inventor, and its purpose is to provide a useful description, and those non-substantial changes to the present application that have not yet been foreseen may still represent equivalent changes to the present application.

Claims

1. A side scan circuit based on special scan chain architecture features, characterized in that: The side scanning circuit includes a connection component and a plurality of scan chains; Each of the scan chains includes at least one node connection terminal in a first state or a second state; The node connection ends of each scan chain in the first state are connected to each other according to a preset connection relationship; The node connection end in the second state of each of the scan chains is connected to the node connection end in the first state or the second state of the target scan chain through the connection component.

2. The side scanning circuit based on the special scan chain architecture feature according to claim 1, characterized in that: The number of scan chains in the side scanning circuit is any odd number greater than 1; The connection component includes at least one first inverter; The node connection end of the scan chain in the second state is connected to the node connection end of the target scan chain in the first state through the first inverter.

3. The side scanning circuit based on the special scan chain architecture feature according to claim 2, characterized in that: The connection component includes a plurality of first inverters; Each of the scan chains includes a plurality of scan units connected in series, and each of the scan units includes a first connection end and a second connection end; The first connection end of the scanning unit in the scan chain serves as a node connection end of the scan chain in a first state, and the second connection end of the scanning unit in the scan chain serves as a node connection end of the scan chain in a second state; The input end of each of the first inverters is used to be connected to the second connection end of the target scanning unit, and the output end of each of the first inverters is used to be connected to the first connection end of the target scanning unit.

4. A side scan circuit based on special scan chain architecture characteristics according to claim 2 or 3, characterized in that: Each of the scan chains includes a first node connection end in a first state or a second state, and a second node connection end in a first state or a second state; Each of the scan chains is sorted according to a first preset order; The first node connection end in the first state of the last scan chain in the first preset sequence is connected to the second node connection end in the first state of the previous scan chain; A second node connection end in a second state of the last scan chain in the first preset sequence is connected to an input end of the first inverter; The output end of the first inverter is connected to a first node connection end of a first scan chain in the first preset sequence which is in a first state.

5. The side scan circuit based on the special scan chain architecture feature according to claim 1, characterized in that: The side scan circuit comprises a long scan chain and a short scan chain, wherein the length of the long scan chain is greater than the length of the short scan chain; The long scan chain includes a node connection end in a first state and a node connection end in a second state; Each node connection end in the short scan chain is a node connection end in a first state; The node connection ends of the long scan chain in the second state are used to connect to the node connection ends of the short scan chain in the first state through the connection components.

6. The side scan circuit based on the special scan chain architecture feature according to claim 5, characterized in that: The connection component includes at least one XNOR gate logic operator; The long scan chain or the short scan chain includes a plurality of scanning units connected in series, and each of the scanning units includes a first connection end and a second connection end; The second connection end of the target scan unit in the long scan chain, as a node connection end of the long scan chain in the second state, is connected to the input end of the XNOR gate logic operator; The first connection end of each scanning unit in the short scan chain serves as a node connection end of the short scan chain in a first state; The output end of the XNOR logic operator is connected to the first connection end of the target scan unit in the short scan chain.

7. The side scan circuit based on the special scan chain architecture feature according to claim 6, characterized in that: Each of the scan chains is sorted according to a second preset order, and each scan unit in the scan chain is sorted according to a third preset order; In the second preset sequence, the previous scan chain is a long scan chain, the next scan chain is a short scan chain, and the second connection ends of the last three scan units in the previous scan chain arranged according to the third preset sequence are connected to the first connection end of the last scan unit in the next scan chain arranged according to the third preset sequence through the XNOR gate logic operator, or, In the second preset order, the previous scan chain is a short scan chain, the next scan chain is a long scan chain, and the second connection end of the last scan unit in the previous scan chain sorted according to the third preset order is connected to the first connection ends of the last two scan units in the next scan chain sorted according to the third preset order.

8. The side scan circuit based on the special scan chain architecture feature according to claim 5, characterized in that: The side scanning circuit also includes a plurality of the long scanning chains; The node connection end of the long scan chain in the second state is further used to connect to the node connection end of the target long scan chain in the second state through the connection component; The connection component includes at least one second inverter; Each of the long scan chains includes a plurality of scan units connected in series, and each of the scan units includes a first connection end and a second connection end; The second connection end of the target scan unit in the long scan chain, as a node connection end of the long scan chain in the second state, is connected to the input end of the second inverter; The first connection end of the target scan unit in the target long scan chain, as a node connection end of the target long scan chain in the second state, is connected to the output end of the second inverter.

9. The side scan circuit based on the special scan chain architecture feature according to claim 8, characterized in that: Each of the scan chains is sorted according to a fourth preset order, and each scan unit in the scan chain is sorted according to a fifth preset order; In the fourth preset order, at least one short scan chain is arranged between two long scan chains, and the second connection end of the last scan unit in the previous long scan chain arranged according to the fifth preset order is connected to the first connection end of the last scan unit in the next long scan chain arranged according to the fifth preset order through the second inverter.

10. A chip, characterized in that: A side scan circuit based on special scan chain architecture features as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Circuit apparatus and diagnosis method capable of diagnosing scan chain fault

    CN101251580A

  • Scanning signal line drive circuit and display device equipped with same

    CN103262148A

  • Display panel and display device

    CN110751929A

  • Boundary scan chain self-detection logic circuit and self-detection method

    CN116774021A

  • Diagnostic circuit and control method of diagnostic circuit

    JP2018189604A