INTERFERENCE Suppression Device
Patent Information
- Application Number
- DE602022025080
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-01-20
- Filing Date
- 2022-01-05
- Publication Date
- 2025-11-19
- Estimated Expiration
- 2042-01-05
AI Technical Summary
Dual-core lockstep computer systems experience reliability issues due to undetectable faults on common paths of clock, reset, and test signals, which can cause system crashes if not promptly corrected.
Implementing glitch suppression buffers at the ends of common signal paths for clock, reset, and test signals to suppress glitches, reducing the need for delay stage flip-flops and minimizing semiconductor area, while maintaining system reliability.
The solution effectively suppresses glitches on common paths, enhancing system reliability by detecting and preventing faults, thus preventing system crashes and simplifying the system design.
Description
TECHNICAL FIELD
[0001] The present invention relates generally to a glitch suppression apparatus in a dual-core lockstep system.BACKGROUND
[0002] As the automotive industry continues to expand, and the volume of automobiles increases, there is a growing need for System-on-Chip (SoC) semiconductor devices designed for safety-critical applications. Reliability is a critical concern for meeting the safety requirements of a range of automotive applications including advanced driver assistance systems, electric power steering systems, adaptive cruise control systems, braking control systems and the like.
[0003] In the safety-critical applications, a system error may occur in a computer system. If this system error is not detected and promptly corrected, it may cause hangs and crashes in the computer system. A dual-core lockstep computer system is employed to detect the system error so as to prevent the computer system crashes from occurring.
[0004] The dual-core lockstep computer system comprises a main core processor and a shadow core processor configured to operate in lockstep. Both the main core processor and the shadow core processor are configured to receive the same input data and execute the same instruction of a same program code at any given time. After execution of every instruction, the result from the main core processor is compared with the result of the shadow core processor. If any mismatch is found in the results of these two core processors, it indicates there is a fault in the computer system. Consequently, the computer system enters into a defined safe mode.
[0005] In the dual-core lockstep computer system, many timing buffers are placed on clock, reset, test signals and data signals. These timing buffers may cause glitches in the dual-core lockstep computer system. The dual-core lockstep computer system is designed to catch the system fault. However, the faults (e.g., single event upset transition faults) occurring on the common paths of the clock, reset and test signals are not detectable. The faults occurring on the common paths may result in reliability issues. It is desirable to have a simple and reliable glitch suppression apparatus to keep the computer system to operate reliably.
[0006] Document US 5 537 655 A discloses a synchronizing circuit that comprises a plurality of substantially identical modules for receiving respective asynchronous input signals and respective local clock signals with the local clock signals of the respective modules being substantially synchronized. Each module of the synchronizing circuit comprises a de-metastabilizer stage, a global synchronizing stage and a majority edge detector and voter network. The de-metastabilizer stage receives the input signal of the module and provides an output signal free of glitches and metastable conditions, synchronized to the local clock signal. The global synchronizing stage receives the output signals of the de-metastabilizer stage of each module and provides respective output signals synchronized to the local clock signal. The majority edge detector and voter network receives the output signals of the global synchronizing stage and outputs a voted output signal synchronized to the other modules' voted output signals and to the local clock signal.
[0007] Document US 2019 / 391888 A1 discloses a method for anomaly response in a system on chip. The method comprises measuring a magnitude of a transient anomaly event in an operating condition of the system on chip. Based on the magnitude it is determined, for each of a plurality of components of the system on chip, an indication of susceptibility of that component to an anomaly event of the measured magnitude. Based on the determined indications of susceptibility for each of the plurality of components, an anomaly response action is determined. The method then comprises performing the anomaly response action.SUMMARY
[0008] An embodiment relates to an apparatus comprising a main core processor, a shadow core processor and a first glitch suppression buffer coupled to a common node of an input of the first main buffer and an input of the first shadow buffer as claimed in claim 1.
[0009] Another embodiment, described but not claimed, relates to a method comprises placing a first glitch suppression buffer at an end of a first common signal path to suppress glitches of a first signal before the first signal flows into two different signal paths.
[0010] Yet another embodiment, described but not claimed is a system that comprises a plurality of glitch suppression buffers configured to suppress a plurality of glitches of a plurality of signals.BRIEF DESCRIPTION OF THE DRAWINGS
[0011] For a more complete understanding of the present disclosure, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which: Figure 1 illustrates a block diagram of a dual-core lockstep system in accordance with various embodiments of the present disclosure; Figure 2 illustrates a schematic diagram of the dual-core lockstep system shown in Figure 1 in accordance with various embodiments of the present disclosure; Figure 3 illustrates a schematic diagram of the glitch suppression buffer shown in Figure 2 in accordance with various embodiments of the present disclosure; and Figure 4 illustrates a flow chart of a method for suppressing the glitches in the dual-core lockstep system shown in Figure 1 in accordance with various embodiments of the present disclosure.
[0012] Corresponding numerals and symbols in the different figures generally refer to corresponding parts unless otherwise indicated. The figures are drawn to clearly illustrate the relevant aspects of the various embodiments and are not necessarily drawn to scale.DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
[0013] The making and using of embodiments of this disclosure are discussed in detail below. It should be appreciated, however, that the concepts disclosed herein can be embodied in a wide variety of specific contexts, and that the specific embodiments discussed herein are merely illustrative and do not serve to limit the scope of the claims. Further, it should be understood that various changes, substitutions and alterations can be made herein without departing from the extent of protection as determined by the appended claims.
[0014] The present disclosure will be described with respect to preferred embodiments in a specific context, namely a glitch suppression apparatus in a dual-core lockstep system. The present disclosure may also be applied, however, to a variety of safety-critical applications. Hereinafter, various embodiments will be explained in detail with reference to the accompanying drawings.
[0015] Figure 1 illustrates a block diagram of a dual-core lockstep system in accordance with various embodiments of the present disclosure. The dual-core lockstep system 100 comprises a first processor 102, a second processor 104, a first buffer 101, a second buffer 103, a fault control unit 106 and a glitch suppressor 110. The dual-core lockstep system 100 is configured to receive a clock signal, a reset signal, a plurality of test signals and a plurality of data signals. Based on the received signals, the dual-core lockstep system 100 generates a plurality of functional output signals and a fault output signal.
[0016] The clock signal is generated by a clock generator (not shown). The clock signal is employed to condition a plurality of intellectual property (IP) components (e.g., communication IP, timer IP and memory IP). It should be noted that Figure 1 illustrates only one clock signal. It is merely an example. The dual-core lockstep system 100 may include a plurality of clock signals. The clock signal illustrated herein is limited solely for the purpose of clearly illustrating the inventive aspects of the various embodiments.
[0017] The reset signal is employed to reset different parts of the dual-core lockstep system 100 before the start of functional operation. It should be noted that Figure 1 illustrates only one reset signal. It is merely an example. Depending on design needs, the dual-core lockstep system 100 may include a plurality of reset signals. The test signals are used when the dual-core lockstep system 100 is configured to operate in a test mode. The data signals are used when the dual-core lockstep system 100 is configured to operate in a functional mode. The data signals are generated by a variety of IPs and fed into the first processor 102 and second processor 104, respectively. The first processor 102 processes the data signals and feed the processed data signals to a plurality of IPs connected to the output of the first processor 102.
[0018] As shown in Figure 1, the clock signal flows through a common signal path. At a node A, the clock signal flows into two different signal paths coupled to the first processor 102 and the second processor 104, respectively. Likewise, the reset signal flows through a common signal path. At a node B, the reset signal flows into two different signal paths coupled to the first processor 102 and the second processor 104, respectively. The plurality of test signals flows through a common signal path. At a node C, the plurality of test signals flows into two different signal paths coupled to the first processor 102 and the second processor 104, respectively. The plurality of data signals flows through a common signal path. At a node D, the plurality of data signals flows into two different signal paths coupled to the first processor 102 and the second processor 104, respectively.
[0019] In some embodiments, the first processor 102 and the second processor 104 are two identical processors. These two processors are reset in the same states and fed with identical input signals. If these two processors operate correctly, identical outputs are generated by these two processors. In operation, a failure may occur and reach the output of one of these two processors. This failure can be detected by comparing the outputs of the two processors. After detecting such a failure, the dual-core lockstep system 100 may take appropriate actions to handle the failure so as to prevent the system from being crashed. In some embodiments, the first processor 102 is configured to perform the system operations. The second processor 104 is configured to confirm the correctness of the operation of the first processor 102. Throughout the description, the first processor 102 may be alternatively referred to as a main core processor 102. The second processor 104 may be referred to as a shadow core processor 104.
[0020] The first buffer 101 comprises a plurality of buffers. Depending on design needs, the plurality of buffers is added on different signal paths connected to the main core processor 102. Each buffer of the plurality of buffers may be implemented as two inverters connected in cascade. Throughout the description, the buffers added on the signal paths connected to the main core processor 102 may be alternatively referred to as a plurality of main buffers. The detailed schematic diagram of the first buffer 101 will be described below with respect to Figure 2.
[0021] The second buffer 103 comprises a plurality of buffers. Depending on design needs, the plurality of buffers is added on different signal paths connected to the shadow core processor 104. Each buffer of the plurality of buffers may be implemented as two inverters connected in cascade. Throughout the description, the buffers added on the signal paths connected to the shadow core processor 104 may be alternatively referred to as a plurality of shadow buffers. The detailed schematic diagram of the second buffer 103 will be described below with respect to Figure 2.
[0022] As shown in Figure 1, the glitch suppressor 110 is placed on the common paths of the clock signal, the reset signal and the test signals. In particular, the glitch suppressor is placed at an end of a common signal path. The glitch suppressor 110 is employed to eliminate glitches occurred on the common signal paths. The detailed schematic diagram of the glitch suppressor 110 will be discussed below with respect to Figures 2-3.
[0023] The fault control unit 106 comprises a comparison unit. In some embodiments, the comparison unit is implemented as a comparator. The comparison unit has a first input connected to the output of the main core processor 102, and a second input connected to the output of the shadow core processor 104. The fault control unit 106 is configured to compare an output signal of the main core processor 102 with an output signal of the shadow core processor 104, and detect whether the output signal of the main core processor 102 matches the output signal of the shadow core processor 104. If any mismatch is found in the results of these two core processors, there is a fault in the dual-core lockstep system. Consequently, the dual-core lockstep system enters into a defined safe mode.
[0024] Figure 2 illustrates a schematic diagram of the dual-core lockstep system shown in Figure 1 in accordance with various embodiments of the present disclosure. The glitch suppressor 110 comprises a plurality of glitch suppression buffers 115, 125 and 135 configured to suppress a plurality of glitches occurred on the clock, reset and test signals. More particularly, a first glitch suppression buffer 115 is employed to suppress the glitches occurred on the clock signal. A second glitch suppression buffer 125 is employed to suppress the glitches occurred on the reset signal. A third glitch suppression buffer 135 is employed to suppress the glitches occurred on the plurality of test signals.
[0025] As shown in Figure 2, the first glitch suppression buffer 115 is placed at an end of a common path of the clock signal before the clock signal is fed into two different paths. At the node A, the clock signal leaves the common path and reaches the main core processor and the shadow core processor through two different paths. As shown in Figure 2, a first path coupled between the node A and the main core processor 102 comprises buffers 111, 112 and 113. A second path coupled between the node B and the shadow core processor 104 comprises buffers 211, 212 and 213.
[0026] At the node B, the reset signal leaves the common path and reaches the main core processor 102 and the shadow core processor 104 through two different paths. As shown in Figure 2, a first path coupled between the node B and the main core processor 102 comprises a buffer 121. A second path coupled between the node B and the shadow core processor 104 comprises a buffer 221. At the node C, the plurality of test signals leaves the common path and reaches the main core processor 102 and the shadow core processor 104 through two different paths. As shown in Figure 2, a first path coupled between the node C and the main core processor 102 comprises a buffer 131. A second path coupled between the node C and the shadow core processor 104 comprises a buffer 231.
[0027] At the node D, the plurality of data signals leaves the common path and reaches the main core processor 102 and the shadow core processor 104 through two different paths. As shown in Figure 2, a first path coupled between the node D and the main core processor 102 comprises a buffer 141. A second path coupled between the node D and the shadow core processor 104 comprises a buffer 241. The buffers (e.g., buffers 111-113, 121, 131, 141, 211-213, 221, 231 and 241) are employed to control the timing of the signals fed into the main core processor 102 and the shadow core processor 104. The buffers may be implemented as two inverters connected in cascade.
[0028] One advantageous feature of having the glitch suppression buffers 115, 125 and 135 is that the glitch suppression buffers are added only on the clock, reset and test signal paths. These glitch suppression buffers help to suppress the transition faults that occur on the common signal paths. There are less number of clock, reset and test signals in the input of a dual-core lockstep system in comparison with the data inputs. Adding the glitch suppression buffers only on the clock, reset and test signal paths helps to reduce the semiconductor area of the dual-core lockstep system. Furthermore, in comparison with the conventional glitch suppression apparatus having delay stage flip-flops on all the signal paths, the system shown in Figure 2 allows to remove delay stage flip-flops, thereby simplifying the system to make it more reliable.
[0029] Figure 3 illustrates a schematic diagram of the glitch suppression buffer shown in Figure 2 in accordance with various embodiments of the present disclosure. The glitch suppression buffers 115, 125 and 135 are of a same structure. For simplicity, the glitch suppression buffer 115 is used as an example herein.
[0030] As shown in Figure 3, the glitch suppression buffer 115 comprises a first NAND gate 302, a second NAND gate 304, a third NAND gate 306, a fourth NAND gate 308 and a delay buffer 310.
[0031] The first NAND gate 302 has a first input connected to an output of the glitch suppression buffer 115, a second input connected to an output of the delay buffer 310, and an output connected to a first input of the fourth NAND gate 308.
[0032] The second NAND gate 304 has a first input connected to the second input of the first NAND gate 302, a second input connected to an input of the glitch suppression buffer 115, and an output connected to a second input of the fourth NAND gate 308.
[0033] The third NAND gate 306 has a first input connected to the input of the glitch suppression buffer 115, a second input connected to the output of the glitch suppression buffer 115, and an output connected to a third input of the fourth NAND gate 308.
[0034] The fourth NAND gate 308 has a first input connected to the output of the first NAND gate 302, a second input connected to the output of the second NAND gate 304, a third input connected to the output of the third NAND gate 306, and an output connected to the output of the glitch suppression buffer 115.
[0035] The delay buffer 310 is connected between the input of the glitch suppression buffer 115 and the first input of the second NAND gate.
[0036] In operation, when the input signal of the glitch suppression buffers 115 is of a logic low state, the output of the glitch suppression buffer 115 generates a logic low signal. A glitch (e.g., a logic high glitch) may occur at the input of the glitch suppression buffer 115. The delay buffer 310 delays the incoming glitch and generates a delayed glitch at the output of the delay buffer 310.
[0037] At a first time instant, the glitch reaches the second input of the second NAND gate 304 and the first input of the third NAND gate 306. Due to the delay generated by the delay buffer 310, a logic low signal is generated at the output of the delay buffer 310 at the first time instant. This logic low signal is applied to the second input of the first NAND gate 302 and the first input of the second NAND gate 304. As shown in Figure 3, the output of the glitch suppression buffer 115 is fed into the first input of the first NAND gate 302 and the second input of the third NAND gate 306. According to the operating principle of the NAND gate, the NAND gates 302, 304 and 306 all generate a logic high signal at the first time instant. The fourth NAND gate 308 maintains the logic low state at the first time instant.
[0038] After the glitch passes through the glitch suppression buffer 115, at a second time instant, the delayed glitch reaches the second input of the first NAND gate 302 and the first input of the second NAND gate 304. The logic low signal is applied to the first input of the first NAND gate 302, the second input of the second NAND gate 304, the inputs of the third NAND gate 306. According to the operating principle of the NAND gate, the NAND gates 302, 304 and 306 all generate a logic high signal at the first time instant. The fourth NAND gate 308 maintains the logic low state at the second time instant. As such, the glitch is eliminated or absorbed by the glitch suppression buffer 115.
[0039] In operation, when the input signal is of a logic high state, the output of the glitch suppression buffer 115 generates a logic high signal. A glitch (e.g., a logic low glitch) may occur at the input of the glitch suppression buffer 115. The glitch suppression buffer 115 is able to eliminate this logic low glitch and maintain the logic high state. The operating principle of eliminating this logic low glitch is similar to that described above, and hence is not discussed herein again.
[0040] It should be noted that the glitch suppression buffer shown in Figure 3 is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications.
[0041] Figure 4 illustrates a flow chart of a method for suppressing the glitches in the dual-core lockstep system shown in Figure 1 in accordance with various embodiments of the present disclosure. This flowchart shown in Figure 4 is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, various steps illustrated in Figure 4 may be added, removed, replaced, rearranged and repeated.
[0042] A dual-core lockstep system comprises a main core processor (e.g., processor I in Figures 1-2) and a shadow core processor (e.g., processor II in Figures 1-2). Both the main core processor and the shadow core processor are configured to receive the same input signals including a clock signal, a reset signal, a plurality of test signals and a plurality of data signals.
[0043] The clock signal flows through a common clock signal path. At a first node (e.g., node A in Figures 1-2), the clock signal is routed to two different signal paths connected to the main core processor and the shadow core processor, respectively. For controlling the timing of the clock signal fed into the main core processor, a plurality of first main buffers (e.g., buffers 111, 112 and 113 in Figure 2) is placed in the signal path between the first node and the main core processor. For controlling the timing of the clock signal fed into the shadow core processor, a plurality of first shadow buffers (e.g., buffers 211, 212 and 213 in Figure 2) is placed in the signal path between the first node and the shadow core processor.
[0044] The reset signal flows through a common reset signal path. At a second node (e.g., node B in Figures 1-2), the reset signal is routed to two different signal paths connected to the main core processor and the shadow core processor, respectively. For controlling the timing of the reset signal fed into the main core processor, a second main buffer (e.g., buffer 121 in Figure 2) is placed in the signal path between the second node and the main core processor. For controlling the timing of the reset signal fed into the shadow core processor, a second shadow buffer (e.g., buffer 221 in Figure 2) is placed in the signal path between the second node and the shadow core processor.
[0045] The plurality of test signals flows through a common test signal path. At a third node (e.g., node C in Figures 1-2), the plurality of test signals is routed to two different signal paths connected to the main core processor and the shadow core processor, respectively. For controlling the timing of the plurality of test signals fed into the main core processor, a third main buffer (e.g., buffer 131 in Figure 2) is placed in the signal path between the third node and the main core processor. For controlling the timing of the plurality of test signals fed into the shadow core processor, a third shadow buffer (e.g., buffer 231 in Figure 2) is placed in the signal path between the third node and the shadow core processor.
[0046] The plurality of data signals flows through a common data signal path. At a fourth node (e.g., node D in Figures 1-2), the plurality of data signals is routed to two different signal paths connected to the main core processor and the shadow core processor, respectively. For controlling the timing of the plurality of data signals fed into the main core processor, a fourth main buffer (e.g., buffer 141 in Figure 2) is placed in the signal path between the fourth node and the main core processor. For controlling the timing of the plurality of data signals fed into the shadow core processor, a fourth shadow buffer (e.g., buffer 241 in Figure 2) is placed in the signal path between the fourth node and the shadow core processor. Both the main core processor and the shadow core processor process the received signals. The output of the main core processor is compared with the output of the shadow core processor at a fault control unit (e.g., fault control unit 106 shown in Figures 1-2). The fault control unit determines whether the output signal of the main core processor matches the output signal of the shadow core processor. If the outputs of these core processors do not match to each other, it indicates there is a fault in the dual-core lockstep system. The dual-core lockstep system enters into a predetermined safe mode to prevent the propagation of the fault.
[0047] In operation, glitches may occur in the common signal paths. The conventional dual-core configuration cannot detect the glitches because the glitches are fed into both the main core processor and the shadow simultaneously. The following steps are employed to suppress the glitches occurred in the common signal paths. At step 402, a first glitch suppression buffer (e.g., first glitch suppression buffer 115 shown in Figure 2) is placed at an end of a first common signal path to suppress glitches of a first signal before the first signal flows into two different signal paths coupled to a main core processor and a shadow core processor, respectively. The first signal is the clock signal. The first common signal path is a common clock signal path. The first glitch suppression buffer is placed at an end of the common clock signal path before the clock signal is routed to the two different signal paths.
[0048] At step 404, a second glitch suppression buffer (e.g., second glitch suppression buffer 125 shown in Figure 2) is placed at an end of a second common signal path to suppress glitches of a second signal before the second signal flows into two different signal paths coupled to the main core processor and the shadow core processor, respectively. The second signal is the reset signal. The second common signal path is a common reset signal path. The second glitch suppression buffer is placed at an end of the common reset signal path before the reset signal is routed to the two different signal paths.
[0049] At step 406, a third glitch suppression buffer (e.g., third glitch suppression buffer 135 shown in Figure 2) is placed at an end of a third common signal path to suppress glitches of a third signal before the third signal flows into two different signal paths coupled to the main core processor and the shadow core processor, respectively. The third signal comprises a plurality of test signals. The third common signal path is a common test signal path. The third glitch suppression buffer is placed at an end of the common test signal path before the plurality of test signals is routed to the two different signal paths.
[0050] Although embodiments of the present disclosure and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the scope of the disclosure as defined by the appended claims.
[0051] Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosure of the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed, that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present disclosure. ,
Claims
1. An apparatus comprising: a main core processor (102) configured to receive a first signal through a first main buffer (111), a second signal through a second main buffer (121), a third signal through a third main buffer (131) and a fourth signal through a fourth main buffer (141); a shadow core processor (104) configured to receive the first signal through a first shadow buffer (211), the second signal through a second shadow buffer (221), the third signal through a third shadow buffer (231) and the fourth signal through a fourth shadow buffer (241); and a first glitch suppression buffer (115) coupled to a common node of an input of the first main buffer (111) and an input of the first shadow buffer (211), wherein the first glitch suppression buffer (115) comprises: a first NAND gate (302) having a first input connected to an output of the first glitch suppression buffer (115); a second NAND gate (304) having a first input connected to a second input of the first NAND gate (302), and a second input connected to an input of the first glitch suppression buffer (115); a third NAND gate (306) having a first input connected to the input of the first glitch suppression buffer (115), and a second input connected to the output of the first glitch suppression buffer (115); a fourth NAND gate (308) having a first input connected to an output of the first NAND gate (302), a second input connected to an output of the second NAND gate (304), a third input connected to an output of the third NAND gate (306), and an output connected to the output of the first glitch suppression buffer (115); and a delay buffer (310) connected between the input of the first glitch suppression buffer (115) and the first input of the second NAND gate (304).
2. The apparatus of claim 1, wherein the first signal is a clock signal.
3. The apparatus of claim 1, further comprising: a second glitch suppression buffer (125) coupled to a common node of an input of the second main buffer (121) and an input of the second shadow buffer (221), wherein the second signal is preferably a reset signal.
4. The apparatus of claim 1, further comprising: a third glitch suppression buffer (135) coupled to a common node of an input of the third main buffer (131) and an input of the third shadow buffer (231), wherein the third signal preferably comprises a plurality of test signals.
5. The apparatus of claim 1, further comprising: a comparator (106) having a first input coupled to an output of the main core processor (102), and a second input coupled to an output of the shadow core processor (104), wherein the comparator is configured to compare an output signal of the main core processor (102) with an output signal of the shadow core processor (104), and detect whether the output signal of the main core processor (102) matches the output signal of the shadow core processor (104), and / or wherein: the first glitch suppression buffer (115) is placed at an end of a common path of the first signal before the first signal is routed to two different signal paths connected to the main core processor (102) and the shadow core processor (104), respectively.