WO2022032526A1 - Monitoring sensor and chip - Google Patents

Monitoring sensor and chip Download PDF

Info

Publication number
WO2022032526A1
WO2022032526A1 PCT/CN2020/108708 CN2020108708W WO2022032526A1 WO 2022032526 A1 WO2022032526 A1 WO 2022032526A1 CN 2020108708 W CN2020108708 W CN 2020108708W WO 2022032526 A1 WO2022032526 A1 WO 2022032526A1
Authority
WO
WIPO (PCT)
Prior art keywords
transistor
signal
monitored
monitoring
xor
Prior art date
Application number
PCT/CN2020/108708
Other languages
French (fr)
Chinese (zh)
Inventor
赛高乐
欧勇盛
段圣宇
王志扬
徐升
熊荣
刘超
冯伟
吴新宇
Original Assignee
深圳先进技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳先进技术研究院 filed Critical 深圳先进技术研究院
Priority to PCT/CN2020/108708 priority Critical patent/WO2022032526A1/en
Publication of WO2022032526A1 publication Critical patent/WO2022032526A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits

Definitions

  • the present application relates to the technical field of integrated circuits, in particular to monitoring sensors and chips.
  • Digital integrated circuits are widely used in key fields such as production, life and military. Driven by market demand, the feature size of integrated circuits has been greatly reduced, with the accompanying increase in process variation in production, voltage and temperature variation during operation, and aging phenomenon (PVTA) during its life cycle. As a result, the reliability of integrated circuits faces severe challenges.
  • the DVFS system dynamically adjusts the operating frequency and voltage of the chip according to the different needs of the applications running on the chip for computing power (for the same chip, the higher the frequency, the higher the required voltage), so as to achieve the purpose of energy saving.
  • the present application provides a monitoring sensor and a chip to solve the problem in the prior art that multi-channel data cannot be monitored for jumps.
  • the present application proposes a monitoring sensor, including a logic operation circuit, which is used to perform an XOR logic operation on a plurality of input signals to be monitored, and output an operation result signal; wherein, the signal to be monitored is It is a digital signal; a monitoring circuit, which is connected to a logic operation circuit, is used to monitor the jumping situation of the operation result signal, so as to monitor multiple monitoring signals.
  • the present application proposes a chip including the above monitoring sensor.
  • the present application discloses a monitoring sensor, comprising a logic operation circuit and a monitoring circuit, wherein the logic operation circuit is used to perform an XOR logic operation on a plurality of input signals to be monitored, and output an operation result signal, and the to-be-monitored signal is a digital signal;
  • the monitoring circuit is connected to the logic operation circuit, and is used for monitoring the jumping situation of the operation result signal, so as to monitor multiple monitoring signals. Since the probability of the same propagation delay of the data of different paths is close to zero, the monitoring sensor in this application can use the logic operation circuit to perform XOR logic operation on a plurality of signals to be monitored to obtain the operation result signal.
  • the operation result signal jumps
  • the monitoring circuit detects that the operation result signal jumps, that is, a corresponding error prompt signal is generated.
  • the monitoring sensor of the present application can perform jump monitoring on multiple channels of data at the same time, thereby improving the monitoring efficiency; in addition, the monitoring sensor has a simple circuit, high compatibility, low space cost during construction, and no additional fault tolerance in the circuit. circuit.
  • FIG. 1 is a schematic structural diagram of an embodiment of a monitoring sensor of the present application.
  • Fig. 2 is the time sequence waveform schematic diagram of the monitoring sensor in Fig. 1;
  • FIG. 3 is a schematic structural diagram of an embodiment of a monitoring circuit of the present application.
  • FIG. 4 is a schematic diagram of a circuit structure of an embodiment of the monitoring circuit in FIG. 1;
  • FIG. 5 is a schematic structural diagram of an embodiment of an XOR gate unit of the present application.
  • FIG. 6 is a schematic diagram of the circuit structure of an embodiment of the XOR gate unit of the present application.
  • FIG. 7 is a schematic structural diagram of an embodiment of a multiplexed logic operation circuit of the present application.
  • FIG. 8 is a schematic structural diagram of another embodiment of a multiplexed logic operation circuit of the present application.
  • FIG. 9 is a schematic structural diagram of another embodiment of a multiplexed logic operation circuit of the present application.
  • FIG. 10 is a waveform diagram of the present application when monitoring a plurality of signals to be monitored at the same time;
  • 11 is a probability analysis diagram of the transition of a plurality of signals to be monitored in the present application.
  • FIG. 12 is a schematic diagram of an application scenario of the monitoring sensor of the present application.
  • FIG. 1 is a schematic structural diagram of an embodiment of a monitoring sensor of the present application
  • FIG. 2 is a schematic diagram of a timing waveform of the monitoring sensor in FIG. 1
  • the monitoring sensor 100 may include a logic operation circuit 110 and a monitoring circuit 120 .
  • the logic operation circuit 110 can be used to perform an exclusive OR logic operation on a plurality of input signals to be monitored, and output an operation result signal X.
  • the signal to be monitored may be a digital signal.
  • a plurality of to-be-monitored signals P 1 ⁇ PN may be included.
  • the signal to be monitored is the information to be monitored in the critical path in the corresponding digital integrated circuit.
  • the monitoring circuit 120 may be connected to the logic operation circuit 110 .
  • the monitoring circuit 120 can be used to monitor the transition of the operation result signal X, so as to monitor a plurality of monitoring signals P 1 ⁇ PN .
  • FIG. 3 is a schematic structural diagram of an embodiment of a monitoring circuit of the present application.
  • the monitoring circuit 120 may include a first input terminal and a second input terminal.
  • the first input terminal can be connected to the logic operation circuit 110, the second input terminal can be used to input the clock signal CLK, and the monitoring circuit 120 can be used to monitor the transition of the operation result signal X during the high level of the clock signal CLK, and generate a corresponding signal.
  • the error prompt signal Error Error.
  • the monitoring circuit 120 does not work and cannot generate the corresponding error prompt signal Error; during the high level period of the clock signal CLK, the monitoring circuit 120 does not monitor the jump of the operation result signal X. If it changes, the corresponding error prompt signal Error will not be generated.
  • the rising edge of the error prompt signal Error can correspond to the transition time of the operation result signal X
  • the falling edge of the error prompt signal Error can correspond to the falling edge of the clock signal CLK. Therefore, in fact, the rising edge of the error prompt signal Error is slightly later than the transition time of the operation result signal X, and the falling edge of the error prompt signal Error is slightly later than the falling edge of the clock signal CLK.
  • the working time of the monitoring circuit 120 is half a clock cycle, the starting point corresponds to the rising edge of the clock signal CLK, and the ending point corresponds to the falling edge of the clock signal CLK.
  • the monitoring circuit 120 monitors the operation result signal X during the working time.
  • the monitoring interval of the monitoring circuit 120 for the signal to be monitored in this embodiment is earlier than the working time of the monitoring circuit 120 by an XOR gate unit propagation delay. time. The time after the signal to be monitored actually jumps to when the operation result signal X is received by the monitoring circuit 120 is regarded as the propagation delay of an XOR gate unit.
  • the monitored signal If the monitored signal is inverted at a certain point in time, it will cause Level inversion occurs, that is, the operation result signal X is inverted.
  • the error prompt signal Error of the monitoring circuit 120 When the to-be-monitored signal flips within the monitoring interval, the error prompt signal Error of the monitoring circuit 120 will be triggered, and the error prompt signal Error will be cleared after the falling edge of the clock signal CLK.
  • FIG. 4 is a schematic diagram of a circuit structure of an embodiment of the monitoring circuit in FIG. 1 .
  • the monitoring circuit may include 10 transistors and 1 inverter.
  • the control end of the first transistor T1 receives the clock signal CLK, and the first end of the first transistor T1 is connected to the working power supply VDD; the control end of the second transistor T2 receives the clock signal CLK, and the first end of the second transistor T2 is connected to the working power supply VDD; The control terminal of the third transistor T3 receives the operation result signal X, and the first terminal of the third transistor T3 is connected to the second terminal of the first transistor T1.
  • the first end of the fourth transistor T4 is connected to the second end of the first transistor T1; the input end of the first inverter N1 receives the operation result signal X; the control end of the fifth transistor T5 is connected to the output end of the first inverter N1 , the first end of the fifth transistor T5 is connected to the second end of the second transistor T2.
  • the first end of the sixth transistor T6 is connected to the second end of the second transistor T2; the control end of the seventh transistor T7 receives the clock signal CLK, and the first end of the seventh transistor T7 is connected to the second end of the fifth transistor T5 and the sixth The second end of the transistor T6 and the second end of the seventh transistor T7 are grounded.
  • the control end of the eighth transistor T8 is connected between the second end of the first transistor T1, the first end of the third transistor T3, and the first end of the fourth transistor T4, and the first end of the eighth transistor T8 is connected to the working power supply VDD .
  • the control terminal of the ninth transistor T9 is connected between the second terminal of the second transistor T2, the first terminal of the fifth transistor T5 and the first terminal of the sixth transistor T6, and the first terminal of the ninth transistor T9 is connected to the eighth transistor The second end of T8.
  • the control end of the tenth transistor T10 is connected to the second end of the third transistor T3, the second end of the fourth transistor T4, the second end of the fifth transistor T5, the second end of the sixth transistor T6 and the first end of the seventh transistor T7.
  • One end, the first end of the tenth transistor T10 is connected to the second end of the ninth transistor T9, and the second end of the tenth transistor T10 is grounded.
  • control terminal of the fourth transistor T4 the control terminal of the sixth transistor T6, the second terminal of the ninth transistor T9 and the first terminal of the tenth transistor T10 are connected, and the node thereof serves as the first output terminal.
  • the first transistor T1, the second transistor T2, the eighth transistor T8 and the ninth transistor T9 may be PMOS transistors
  • the seventh transistor T7 and the tenth transistor T10 may be NMOS transistors.
  • the second end of the first transistor T1, the first end of the third transistor T3, the first end of the fourth transistor T4, and the control end of the eighth transistor T8 are connected, and the node is a; the second end of the second transistor T2 terminal, the first terminal of the fifth transistor T5, the first terminal of the sixth transistor T6 and the control terminal of the ninth transistor T9 are connected, and the node is b; the second terminal of the third transistor T3, the second terminal of the fourth transistor T4 The terminal, the second terminal of the fifth transistor T5, the second terminal of the sixth transistor T6, the first terminal of the seventh transistor T7 and the control terminal of the tenth transistor T10 are connected, and the node is c.
  • the first transistor T1 and the second transistor T2 are turned on, and the seventh transistor T7 is turned off. Nodes a and b are charged and are high.
  • the eighth transistor T8 and the ninth transistor T9 are turned off.
  • One of the third transistor T3 and the fifth transistor T5 is turned on (the third transistor T3 is turned on when the operation result signal X is at a high level, and the fifth transistor T5 is turned on when the operation result signal X is at a low level), the node c is charged (high level), the tenth transistor T10 is turned on, and the first output terminal is discharged and cleared. Therefore, when the clock signal CLK is at a low level, regardless of whether the first input terminal inputs a high level or a low level, the first output terminal is cleared.
  • the first transistor T1 and the second transistor T2 are turned off, the seventh transistor T7 is turned on, the node c is discharged and cleared, and the tenth transistor T10 is turned off.
  • One of the third transistor T3 and the fifth transistor T5 is turned on (the third transistor T3 is turned on when the operation result signal X is at a high level, and the fifth transistor T5 is turned on when the operation result signal X is at a low level), that is, the node Either a or b will be cleared by discharge.
  • one of the eighth transistor T8 and the ninth transistor T9 is not turned on and the tenth transistor T10 is turned off, the first output terminal cannot be charged or discharged, so the value of the first output terminal remains unchanged. It is monitored that the operation result signal X jumps, and the nodes a and b that have not been discharged and cleared will be cleared, resulting in the eighth transistor T8 and the ninth transistor T9 being turned on at the same time, and the first output terminal is charged at this time, that is Output a high level signal to generate the corresponding error prompt signal Error. Therefore, when the clock signal CLK is at a high level, the operation result signal X jumps, and the first output terminal outputs a high level.
  • the XOR gate unit may be a 2-input XOR gate.
  • the logic operation circuit 110 responds that the total number of high levels of the M signals to be monitored is an even number, and the output operation result signal X is a low level; the logic operation circuit 110 outputs an odd number in response to the total number of high levels of the M signals to be monitored.
  • the operation result signal X is high level.
  • FIG. 5 is a schematic structural diagram of an XOR gate unit according to an embodiment of the present application
  • FIG. 6 is a schematic circuit structure diagram of an XOR gate unit according to an embodiment of the present application.
  • the XOR gate unit 111 includes a first XOR input terminal A, a second XOR input terminal B, and a first XOR output terminal Z.
  • first XOR input terminal A and the second XOR input terminal B may be used for receiving the signal to be monitored or the first XOR output terminal of other XOR gate units.
  • the first XOR output terminal Z can be connected to the first XOR input terminal or the second XOR input terminal of other XOR gate units, or connected to the monitoring circuit 120 to output the operation result signal X.
  • the circuit structure of the XOR gate unit 111 may include a second inverter N2 and four transistors T11-T14.
  • the input terminal of the second inverter N2 is connected to the first XOR input terminal.
  • the control terminals of the eleventh transistor T11 and the twelfth transistor T12 are connected to the second XOR input terminal, the first terminal of the eleventh transistor T11 is connected to the first XOR input terminal, and the first terminal of the twelfth transistor T12 is connected to the first XOR input terminal.
  • the second terminal of the twelfth transistor T12, the control terminal of the fourteenth transistor T14 and the output terminal of the second inverter N2 are connected.
  • the first terminal of the eleventh transistor T11 and the control terminal of the thirteenth transistor T13 are connected to the first XOR input terminal.
  • the first end of the thirteenth transistor T13 is connected to the first end of the fourteenth transistor, and its node is connected between the first end of the eleventh transistor T11 and the second end of the twelfth transistor T12, and the node of the four A first XOR output can be connected.
  • the second terminal of the thirteenth transistor T13 is connected to the second terminal of the fourteenth transistor T14, and the node thereof is connected to the second XOR input terminal.
  • the eleventh transistor T11 and the twelfth transistor T12 are turned off, the thirteenth transistor T13 and the fourteenth transistor T14 are turned on, and the first XOR output terminal and the second XOR The levels at the inputs are the same.
  • the first XOR input terminal is at a high level, the thirteenth transistor T13 and the fourteenth transistor T14 are turned off, the inverter composed of the eleventh transistor T11 and the twelfth transistor T12 is turned on, and the first XOR output terminal is turned on. Opposite to the level of the second XOR input. which is
  • the eleventh transistor T11 and the thirteenth transistor T13 may be PMOS transistors, and the twelfth transistor T12 and the fourteenth transistor T14 may be NMOS transistors.
  • FIG. 7 is a schematic structural diagram of an embodiment of the multi-path logic operation circuit of the present application
  • FIG. 8 is a structural schematic diagram of another embodiment of the multi-path logic operation circuit of the present application
  • FIG. 9 is a multi-path logic operation circuit of the present application.
  • Figure 7 is a 3-input XOR gate
  • Figure 8 is a 4-input XOR gate
  • Figure 9 is a 10-input XOR gate.
  • Z represents the output terminal of the multiple-input XOR gate
  • A-J represent each input terminal of the multiple-input XOR gate.
  • two XOR gate units 111 may be included, and the output end of the first XOR gate unit may be connected to the input end of the second XOR gate unit, thus obtaining
  • three XOR gate units 111 may be included, and the output terminal of the first XOR gate unit and the output terminal of the second XOR gate unit may be respectively connected to the third XOR gate unit. the first input and the second input, resulting in
  • nine XOR gate units 111 may be included, and the two input terminals of the fifth XOR gate unit are respectively connected to the output terminal of the first XOR gate unit and the second XOR gate unit.
  • the output terminal of the sixth XOR gate unit is respectively connected to the output terminal of the signal to be monitored and the third XOR gate unit, and the two input terminals of the seventh XOR gate unit are respectively connected to the signal to be monitored and the fourth XOR gate unit.
  • the output terminal of the XOR gate unit; the two input terminals of the eighth XOR gate unit are respectively connected to the output terminal of the sixth XOR gate unit and the output terminal of the seventh XOR gate unit, and the two input terminals of the ninth XOR gate unit are respectively connected.
  • the input terminals are respectively connected to the output terminal of the fifth XOR gate unit and the output terminal of the eighth XOR gate unit, thus obtaining
  • the operation result signal X output by the logic operation circuit 110 is a low level.
  • the fourth XOR gate unit outputs a low level
  • the output terminal Z of the ninth XOR gate unit also outputs a low level, that is, when the same XOR gate unit receives
  • the operation result signal X output by the logic operation circuit 110 is also low level.
  • the first XOR gate unit When only B, C, E, and F input high level, the first XOR gate unit outputs a high level, the second XOR gate unit outputs a high level, and the fifth XOR gate unit outputs a low level; the third XOR gate unit outputs a low level; The XOR gate unit outputs a high level, the sixth XOR gate unit outputs a low level, and finally the output terminal Z of the ninth XOR gate unit also outputs a low level; that is, when different XOR gate units receive even numbers to be monitored When the signals are all input at a high level, the operation result signal X output by the logic operation circuit 110 is also at a low level.
  • the operation result signal X output by the logic operation circuit 110 is a high level.
  • the first XOR gate unit outputs a high level
  • the fifth XOR gate unit also outputs a high level
  • the output terminal Z of the ninth XOR gate unit also outputs a high level .
  • the first XOR gate unit When only A, C, and H input high level, the first XOR gate unit outputs a high level, the second XOR gate unit outputs a high level, the fifth XOR gate unit outputs a low level, and the seventh XOR gate unit outputs a low level.
  • the gate unit outputs a high level, the eighth XOR gate unit outputs a high level, and finally the output terminal Z of the ninth XOR gate unit also outputs a high level, that is, as long as the total number of high levels of the signals to be monitored is odd, the logic
  • the operation result signal X output by the operation circuit 110 is a high level.
  • the number of XOR gate units passing through the path from the input to the output of each signal to be monitored can be (rounded down) to (rounded up).
  • FIG. 10 is a waveform diagram of the present application when multiple signals to be monitored are simultaneously monitored
  • FIG. 11 is a probability analysis diagram of the transition of multiple signals to be monitored in the present application.
  • Pi and Pj are two signals to be monitored.
  • the logic operation circuit 110 responds that the total number of high levels of the M signals to be monitored is an even number, and the output operation result signal X is a low level” and the situation in FIG. (a) Not contradictory: this is due to the propagation delay in the logic operation circuit 110 .
  • the rising edge of the operation result signal X corresponds to the rising edge of Pj (at this time Pi is low level, Pj is high level), and the falling edge of the operation result signal X corresponds to Pi
  • the rising edge of (Pi is high level at this time, Pj is high level).
  • the propagation delay in Figure (a)
  • "Pi is low level, Pj is high level the total number of high levels of the signal to be monitored is an even number, but the operation result signal X is low level. Case".
  • each signal monitoring point has a 50% probability of receiving a signal of '0' or '1'
  • the probability of signal flipping is 25%.
  • the probability of an even number of data in the to-be-monitored signal being inverted is 50%.
  • voltage and frequency are not adjusted for a single false early warning signal. If the adjustment period is 1000 clock cycles, the probability that the signal flips are all even numbers is (50%) 1000 (close to 0).
  • the present application also proposes a chip.
  • the monitoring sensor 100 can be applied in a chip.
  • FIG. 12 is a schematic diagram of an application scenario of the monitoring sensor of the present application.
  • the chip may further include a D flip-flop 200, the D flip-flop 200 may be connected to the signal to be monitored, and the input end of the monitoring sensor 100 may be connected between the interface of the D flip-flop 200 and the signal to be monitored.
  • the present application discloses a monitoring sensor and a chip.
  • the monitoring sensor includes a logic operation circuit and a monitoring circuit, wherein the logic operation circuit is used to perform XOR logic operation on a plurality of input signals to be monitored, and output the operation result signal. It is a digital signal; the monitoring circuit is connected to the logic operation circuit for monitoring the jumping situation of the operation result signal, so as to monitor multiple monitoring signals.
  • the monitoring sensor in this application can use the XOR gate to perform the XOR logic operation on multiple signals to be monitored, and the output of the XOR gate will be reversed by using a single signal transition It extracts the information of the transition of multiple signals to be monitored at the same time, and obtains the operation result signal.
  • the operation result signal jumps, and the monitoring circuit detects that the operation result signal jumps, that is, a corresponding error is generated. cue signal.
  • the current single sensor can only monitor one potential critical path.
  • the system construction cost of DVFS and related applications will increase. and increased complexity.
  • the monitoring sensor of the present application can use a single sensor to monitor multiple signals to be monitored, that is, multiple potential critical paths, so as to reduce the construction cost and complexity of DVFS and related application scenarios.
  • the monitoring sensor circuit of the present application is simple, the number of transistors is greatly reduced, and the input and output signals are simplified.
  • the monitoring sensor of the present application can reduce the system construction cost and complexity in various application scenarios; and the monitoring sensor of the present application can be built without replacing any components of the original circuit, so the monitored circuit can be reserved in the design. The initial optimal solution.
  • the monitoring sensor of the present application can not only be used in the DVFS system, but also can be used to monitor other soft errors, such as single event flipping and the like.

Abstract

A monitoring sensor and a chip. The monitoring sensor comprises: a logical operation circuit (110) used to perform a logical XOR operation on multiple input signals to be monitored, and to output an operation result signal, wherein the signals to be monitored are digital signals; and a monitoring circuit (120) connected to the logical operation circuit (110) and used to monitor for a transition of the operation result signal, thereby performing monitoring of the multiple signals. Using the above method, the monitoring sensor can monitor for signal transitions for multiple data paths, thereby improving monitoring efficiency.

Description

监测传感器及芯片Monitoring sensors and chips 【技术领域】【Technical field】
本申请涉及集成电路技术领域,特别是涉及监测传感器及芯片。The present application relates to the technical field of integrated circuits, in particular to monitoring sensors and chips.
【背景技术】【Background technique】
数字集成电路被广泛应用于生产、生活及军事等关键领域。在市场需求的推动下,集成电路特征尺寸大幅减小,随之而来的是其在生产中工艺偏差、运行时的电压和温度偏差,及其生命周期中老化现象(PVTA)的加剧,这导致集成电路可靠性面临着严峻的挑战。Digital integrated circuits are widely used in key fields such as production, life and military. Driven by market demand, the feature size of integrated circuits has been greatly reduced, with the accompanying increase in process variation in production, voltage and temperature variation during operation, and aging phenomenon (PVTA) during its life cycle. As a result, the reliability of integrated circuits faces severe challenges.
对于这一问题,工程师们提出了在数字集成电路中关键路径(传播性延迟最长的路径)的末尾处加入软错误监测传感器,当传播性延迟即将超越或者刚刚超越系统时钟周期时触发“错误警告”的信号。结合动态电压频率调整(Dynamic Voltage and Frequency Scaling,DVFS)机制,系统在收到“错误警告”后将提高电路供电电压或降低电路运行的频率来确保系统正常的运转。For this problem, engineers proposed adding a soft-error monitoring sensor at the end of the critical path (the path with the longest propagation delay) in the digital integrated circuit, triggering the "error" when the propagation delay is about to exceed or just exceeds the system clock cycle Warning" signal. Combined with the dynamic voltage and frequency adjustment (Dynamic Voltage and Frequency Scaling, DVFS) mechanism, the system will increase the circuit supply voltage or reduce the frequency of circuit operation after receiving a "false warning" to ensure the normal operation of the system.
DVFS系统是根据芯片所运行的应用程序对计算能力的不同需要,动态调节芯片的运行频率和电压(对于同一芯片,频率越高,需要的电压也越高),从而达到节能的目的。The DVFS system dynamically adjusts the operating frequency and voltage of the chip according to the different needs of the applications running on the chip for computing power (for the same chip, the higher the frequency, the higher the required voltage), so as to achieve the purpose of energy saving.
然而数字集成电路中关键路径的排序受到老化机制与工艺偏差的影响而改变,换言之,同一个电路可能存在着多条潜在关键路径。而目前市面上的软错误监测传感器只可对单一关键路径进行监测,无法满足用户的需求。However, the ordering of critical paths in digital integrated circuits is affected by aging mechanisms and process variations. In other words, there may be multiple potential critical paths in the same circuit. However, the current soft error monitoring sensors on the market can only monitor a single critical path, which cannot meet the needs of users.
【发明内容】[Content of the invention]
本申请提供监测传感器及芯片,以解决现有技术中无法对多路数据进行跳变监测的问题。The present application provides a monitoring sensor and a chip to solve the problem in the prior art that multi-channel data cannot be monitored for jumps.
为解决上述技术问题,本申请提出一种监测传感器,包括,逻辑运算电路,逻辑运算电路用于对输入的多个待监测信号进行异或逻辑运算,并输出运算结果信号;其中,待监测信号为数字信号;监测电路,监测电路连接逻辑运算电路,用于监测运算结果信号的跳变情况,从而对多个监测信号进行监测。In order to solve the above-mentioned technical problems, the present application proposes a monitoring sensor, including a logic operation circuit, which is used to perform an XOR logic operation on a plurality of input signals to be monitored, and output an operation result signal; wherein, the signal to be monitored is It is a digital signal; a monitoring circuit, which is connected to a logic operation circuit, is used to monitor the jumping situation of the operation result signal, so as to monitor multiple monitoring signals.
为解决上述技术问题,本申请提出一种芯片,包括上述监测传感器。In order to solve the above technical problem, the present application proposes a chip including the above monitoring sensor.
本申请公开了一种监测传感器,包括逻辑运算电路和监测电路,其中逻辑运算电路用于对输入的多个待监测信号进行异或逻辑运算,并输出运算结果信 号,待监测信号为数字信号;监测电路连接逻辑运算电路,用于监测运算结果信号的跳变情况,从而对多个监测信号进行监测。由于不同路径的数据的传播延迟相同的几率趋近于零,因此本申请中监测传感器可以利用逻辑运算电路对多个待监测信号进行异或逻辑运算,得出运算结果信号,当待监测信号不相同时,运算结果信号发生跳变,监测电路监测到运算结果信号发生跳变,即生成相应的错误提示信号。The present application discloses a monitoring sensor, comprising a logic operation circuit and a monitoring circuit, wherein the logic operation circuit is used to perform an XOR logic operation on a plurality of input signals to be monitored, and output an operation result signal, and the to-be-monitored signal is a digital signal; The monitoring circuit is connected to the logic operation circuit, and is used for monitoring the jumping situation of the operation result signal, so as to monitor multiple monitoring signals. Since the probability of the same propagation delay of the data of different paths is close to zero, the monitoring sensor in this application can use the logic operation circuit to perform XOR logic operation on a plurality of signals to be monitored to obtain the operation result signal. When the signal to be monitored is not At the same time, the operation result signal jumps, and the monitoring circuit detects that the operation result signal jumps, that is, a corresponding error prompt signal is generated.
通过上述方式,本申请的监测传感器可以同时对多路数据进行跳变监测,提高了监测效率;并且,监测传感器的电路简单,兼容性高,搭建时空间成本低,无需在电路中额外增加容错电路。Through the above method, the monitoring sensor of the present application can perform jump monitoring on multiple channels of data at the same time, thereby improving the monitoring efficiency; in addition, the monitoring sensor has a simple circuit, high compatibility, low space cost during construction, and no additional fault tolerance in the circuit. circuit.
【附图说明】【Description of drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请监测传感器一实施例的结构示意图;1 is a schematic structural diagram of an embodiment of a monitoring sensor of the present application;
图2是图1中监测传感器的时序波形示意图;Fig. 2 is the time sequence waveform schematic diagram of the monitoring sensor in Fig. 1;
图3是本申请监测电路一实施例的结构示意图;3 is a schematic structural diagram of an embodiment of a monitoring circuit of the present application;
图4是图1中监测电路一实施例的电路结构示意图;4 is a schematic diagram of a circuit structure of an embodiment of the monitoring circuit in FIG. 1;
图5是本申请异或门单元一实施例的结构示意图;5 is a schematic structural diagram of an embodiment of an XOR gate unit of the present application;
图6是本申请异或门单元一实施例的电路结构示意图;6 is a schematic diagram of the circuit structure of an embodiment of the XOR gate unit of the present application;
图7是本申请多路逻辑运算电路一实施例的结构示意图;7 is a schematic structural diagram of an embodiment of a multiplexed logic operation circuit of the present application;
图8是本申请多路逻辑运算电路另一实施例的结构示意图;8 is a schematic structural diagram of another embodiment of a multiplexed logic operation circuit of the present application;
图9是本申请多路逻辑运算电路又一实施例的结构示意图;9 is a schematic structural diagram of another embodiment of a multiplexed logic operation circuit of the present application;
图10是本申请在对多个待监测信号同时进行监测时的波形图;10 is a waveform diagram of the present application when monitoring a plurality of signals to be monitored at the same time;
图11是本申请多个待监测信号转变的概率分析图;11 is a probability analysis diagram of the transition of a plurality of signals to be monitored in the present application;
图12是本申请监测传感器一应用场景的示意图。FIG. 12 is a schematic diagram of an application scenario of the monitoring sensor of the present application.
【具体实施方式】【detailed description】
为使本领域的技术人员更好地理解本申请的技术方案,下面结合附图和具体实施方式对发明所提供的监测传感器和芯片进一步详细描述。In order to make those skilled in the art better understand the technical solutions of the present application, the monitoring sensor and chip provided by the invention are further described in detail below with reference to the accompanying drawings and specific embodiments.
现有的监测传感器只可对单一关键路径进行监测。在市场对集成电路高性能需求的推动下,集成电路经过优化后路径间的传播性延迟往往相差无几。然而,在老化机制与工艺偏差的共同作用下。这些类关键路径极有可能在生产后或使用过程中转变为关键路径。此时,只对原有的关键路径做出监测会使得DVFS系统失效。但是若利用现有监测传感器对所有潜在关键路径进行监测则会导致系统搭建成本及复杂程度的大幅增加。因此,相关应用在现有的强老化机制与工艺偏差的纳米级工艺集成电路应用中显得不切实际。Existing monitoring sensors can only monitor a single critical path. Driven by the market demand for high performance of integrated circuits, the propagation delays between the optimized paths of integrated circuits are often almost the same. However, under the combined effect of aging mechanism and process deviation. It is highly likely that these class critical paths will turn into critical paths after production or during use. At this time, only monitoring the original critical path will make the DVFS system ineffective. However, if the existing monitoring sensors are used to monitor all potential critical paths, the cost and complexity of the system will be greatly increased. Therefore, the related application is impractical in the existing nano-scale process integrated circuit application with strong aging mechanism and process deviation.
基于以上问题,本申请提出一种监测传感器,可以实现单一传感器同时对多个信号路径进行监测。请参阅图1和图2,图1是本申请监测传感器一实施例的结构示意图,图2是图1中监测传感器的时序波形示意图。在本实施例中,监测传感器100可以包括逻辑运算电路110和监测电路120。Based on the above problems, the present application proposes a monitoring sensor, which can monitor multiple signal paths simultaneously by a single sensor. Please refer to FIG. 1 and FIG. 2 , FIG. 1 is a schematic structural diagram of an embodiment of a monitoring sensor of the present application, and FIG. 2 is a schematic diagram of a timing waveform of the monitoring sensor in FIG. 1 . In this embodiment, the monitoring sensor 100 may include a logic operation circuit 110 and a monitoring circuit 120 .
逻辑运算电路110可以用于对输入的多个待监测信号进行异或逻辑运算,并输出运算结果信号X。其中,待监测信号可以为数字信号。本实施例中可以包括多个待监测信号P 1~P N。待监测信号为对应数字集成电路中的关键路径中需要监测的信息。 The logic operation circuit 110 can be used to perform an exclusive OR logic operation on a plurality of input signals to be monitored, and output an operation result signal X. The signal to be monitored may be a digital signal. In this embodiment, a plurality of to-be-monitored signals P 1 ˜PN may be included. The signal to be monitored is the information to be monitored in the critical path in the corresponding digital integrated circuit.
监测电路120可以连接逻辑运算电路110。监测电路120可以用于监测运算结果信号X的跳变情况,从而对多个监测信号P 1~P N进行监测。 The monitoring circuit 120 may be connected to the logic operation circuit 110 . The monitoring circuit 120 can be used to monitor the transition of the operation result signal X, so as to monitor a plurality of monitoring signals P 1 ˜PN .
请参阅图1和图3,图3是本申请监测电路一实施例的结构示意图。监测电路120可以包括第一输入端和第二输入端。Please refer to FIG. 1 and FIG. 3 . FIG. 3 is a schematic structural diagram of an embodiment of a monitoring circuit of the present application. The monitoring circuit 120 may include a first input terminal and a second input terminal.
第一输入端可以连接逻辑运算电路110,第二输入端可以用于输入时钟信号CLK,监测电路120可以用于在时钟信号CLK的高电平期间监测运算结果信号X的跳变,并生成相应的错误提示信号Error。The first input terminal can be connected to the logic operation circuit 110, the second input terminal can be used to input the clock signal CLK, and the monitoring circuit 120 can be used to monitor the transition of the operation result signal X during the high level of the clock signal CLK, and generate a corresponding signal. The error prompt signal Error.
进一步地,在时钟信号CLK的低电平期间,监测电路120不工作,无法生成相应的错误提示信号Error;在时钟信号CLK的高电平期间,监测电路120没有监测到运算结果信号X的跳变,则不生成相应的错误提示信号Error。Further, during the low level period of the clock signal CLK, the monitoring circuit 120 does not work and cannot generate the corresponding error prompt signal Error; during the high level period of the clock signal CLK, the monitoring circuit 120 does not monitor the jump of the operation result signal X. If it changes, the corresponding error prompt signal Error will not be generated.
理论上,错误提示信号Error的上升沿可以对应运算结果信号X的跳变时刻,错误提示信号Error的下降沿可以对应时钟信号CLK的下降沿,但是由于监测电路120中的电子器件会产生延迟,因此实际上错误提示信号Error的上升沿略晚于运算结果信号X的跳变时刻,错误提示信号Error的下降沿略晚于时钟信号CLK的下降沿。Theoretically, the rising edge of the error prompt signal Error can correspond to the transition time of the operation result signal X, and the falling edge of the error prompt signal Error can correspond to the falling edge of the clock signal CLK. Therefore, in fact, the rising edge of the error prompt signal Error is slightly later than the transition time of the operation result signal X, and the falling edge of the error prompt signal Error is slightly later than the falling edge of the clock signal CLK.
另外,理论上监测电路120的工作时间为半个时钟周期,起始点对应时钟 信号CLK的上升沿,终止点对应时钟信号CLK的下降沿。监测电路120在工作时间内对运算结果信号X进行监测。但是,由于逻辑运算电路110存在传播性延迟,因此本实施例中监测电路120对于待监测信号而言的监测区间,相比于监测电路120的工作时间会提前一个异或门单元传播性延迟的时间。其中,待监测信号实际发生跳变后至该运算结果信号X被监测电路120接收,视为一个异或门单元传播性延迟的时间。In addition, theoretically, the working time of the monitoring circuit 120 is half a clock cycle, the starting point corresponds to the rising edge of the clock signal CLK, and the ending point corresponds to the falling edge of the clock signal CLK. The monitoring circuit 120 monitors the operation result signal X during the working time. However, because the logic operation circuit 110 has a propagation delay, the monitoring interval of the monitoring circuit 120 for the signal to be monitored in this embodiment is earlier than the working time of the monitoring circuit 120 by an XOR gate unit propagation delay. time. The time after the signal to be monitored actually jumps to when the operation result signal X is received by the monitoring circuit 120 is regarded as the propagation delay of an XOR gate unit.
若在某一时间点被监测信号发生了翻转,必将使
Figure PCTCN2020108708-appb-000001
发生电平翻转,即运算结果信号X发生翻转。当待监测信号在监测区间内发生翻转则会触发监测电路120的错误提示信号Error,并且错误提示信号Error会在时钟信号CLK的下降沿后被清零。
If the monitored signal is inverted at a certain point in time, it will cause
Figure PCTCN2020108708-appb-000001
Level inversion occurs, that is, the operation result signal X is inverted. When the to-be-monitored signal flips within the monitoring interval, the error prompt signal Error of the monitoring circuit 120 will be triggered, and the error prompt signal Error will be cleared after the falling edge of the clock signal CLK.
具体地,请参阅图4,图4是图1中监测电路一实施例的电路结构示意图。在本实施例中,监测电路可以包括10个晶体管和1个反相器。Specifically, please refer to FIG. 4 , which is a schematic diagram of a circuit structure of an embodiment of the monitoring circuit in FIG. 1 . In this embodiment, the monitoring circuit may include 10 transistors and 1 inverter.
第一晶体管T1的控制端接收时钟信号CLK,第一晶体管T1的第一端连接工作电源VDD;第二晶体管T2的控制端接收时钟信号CLK,第二晶体管T2的第一端连接工作电源VDD;第三晶体管T3的控制端接收运算结果信号X,第三晶体管T3的第一端连接第一晶体管T1的第二端。The control end of the first transistor T1 receives the clock signal CLK, and the first end of the first transistor T1 is connected to the working power supply VDD; the control end of the second transistor T2 receives the clock signal CLK, and the first end of the second transistor T2 is connected to the working power supply VDD; The control terminal of the third transistor T3 receives the operation result signal X, and the first terminal of the third transistor T3 is connected to the second terminal of the first transistor T1.
第四晶体管T4的第一端连接第一晶体管T1的第二端;第一反相器N1的输入端接收运算结果信号X;第五晶体管T5的控制端连接第一反相器N1的输出端,第五晶体管T5的第一端连接第二晶体管T2的第二端。The first end of the fourth transistor T4 is connected to the second end of the first transistor T1; the input end of the first inverter N1 receives the operation result signal X; the control end of the fifth transistor T5 is connected to the output end of the first inverter N1 , the first end of the fifth transistor T5 is connected to the second end of the second transistor T2.
第六晶体管T6的第一端连接第二晶体管T2的第二端;第七晶体管T7的控制端接收时钟信号CLK,第七晶体管T7的第一端连接第五晶体管T5的第二端和第六晶体管T6的第二端,第七晶体管T7的第二端接地。The first end of the sixth transistor T6 is connected to the second end of the second transistor T2; the control end of the seventh transistor T7 receives the clock signal CLK, and the first end of the seventh transistor T7 is connected to the second end of the fifth transistor T5 and the sixth The second end of the transistor T6 and the second end of the seventh transistor T7 are grounded.
第八晶体管T8的控制端连接在第一晶体管T1的第二端和第三晶体管T3的第一端、第四晶体管T4的第一端之间,第八晶体管T8的第一端连接工作电源VDD。The control end of the eighth transistor T8 is connected between the second end of the first transistor T1, the first end of the third transistor T3, and the first end of the fourth transistor T4, and the first end of the eighth transistor T8 is connected to the working power supply VDD .
第九晶体管T9的控制端连接在第二晶体管T2的第二端和第五晶体管T5的第一端、第六晶体管T6的第一端之间,第九晶体管T9的第一端连接第八晶体管T8的第二端。The control terminal of the ninth transistor T9 is connected between the second terminal of the second transistor T2, the first terminal of the fifth transistor T5 and the first terminal of the sixth transistor T6, and the first terminal of the ninth transistor T9 is connected to the eighth transistor The second end of T8.
第十晶体管T10的控制端连接第三晶体管T3的第二端、第四晶体管T4的第二端、第五晶体管T5的第二端、第六晶体管T6的第二端和第七晶体管T7 的第一端,第十晶体管T10的第一端连接第九晶体管T9的第二端,第十晶体管T10的第二端接地。The control end of the tenth transistor T10 is connected to the second end of the third transistor T3, the second end of the fourth transistor T4, the second end of the fifth transistor T5, the second end of the sixth transistor T6 and the first end of the seventh transistor T7. One end, the first end of the tenth transistor T10 is connected to the second end of the ninth transistor T9, and the second end of the tenth transistor T10 is grounded.
其中,第四晶体管T4的控制端,第六晶体管T6的控制端、第九晶体管T9的第二端和第十晶体管T10的第一端连接,其节点作为第一输出端。Wherein, the control terminal of the fourth transistor T4, the control terminal of the sixth transistor T6, the second terminal of the ninth transistor T9 and the first terminal of the tenth transistor T10 are connected, and the node thereof serves as the first output terminal.
在本实施例中,第一晶体管T1、第二晶体管T2、第八晶体管T8和第九晶体管T9可以为PMOS管,第三晶体管T3、第四晶体管T4、第五晶体管T5、第六晶体管T6、第七晶体管T7和第十晶体管T10可以为NMOS管。In this embodiment, the first transistor T1, the second transistor T2, the eighth transistor T8 and the ninth transistor T9 may be PMOS transistors, the third transistor T3, the fourth transistor T4, the fifth transistor T5, the sixth transistor T6, The seventh transistor T7 and the tenth transistor T10 may be NMOS transistors.
其中,第一晶体管T1的第二端、第三晶体管T3的第一端、第四晶体管T4的第一端、第八晶体管T8的控制端连接,其节点为a;第二晶体管T2的第二端、第五晶体管T5的第一端、第六晶体管T6的第一端和第九晶体管T9的控制端连接,其节点为b;第三晶体管T3的第二端、第四晶体管T4的第二端、第五晶体管T5的第二端、第六晶体管T6的第二端、第七晶体管T7的第一端和第十晶体管T10的控制端连接,其节点为c。The second end of the first transistor T1, the first end of the third transistor T3, the first end of the fourth transistor T4, and the control end of the eighth transistor T8 are connected, and the node is a; the second end of the second transistor T2 terminal, the first terminal of the fifth transistor T5, the first terminal of the sixth transistor T6 and the control terminal of the ninth transistor T9 are connected, and the node is b; the second terminal of the third transistor T3, the second terminal of the fourth transistor T4 The terminal, the second terminal of the fifth transistor T5, the second terminal of the sixth transistor T6, the first terminal of the seventh transistor T7 and the control terminal of the tenth transistor T10 are connected, and the node is c.
当时钟信号CLK为低电平时,第一晶体管T1和第二晶体管T2被打开,第七晶体管T7被关闭。节点a和b被充电,为高电平。第八晶体管T8和第九晶体管T9关闭。第三晶体管T3和第五晶体管T5的其中一个会被打开(当运算结果信号X为高电平时第三晶体管T3被打开,当运算结果信号X为低电平时第五晶体管T5被打开),节点c被充电(为高电平),第十晶体管T10被打开,第一输出端被放电清零。因此,当时钟信号CLK为低电平时,无论第一输入端输入高电平或低电平,第一输出端清零。When the clock signal CLK is at a low level, the first transistor T1 and the second transistor T2 are turned on, and the seventh transistor T7 is turned off. Nodes a and b are charged and are high. The eighth transistor T8 and the ninth transistor T9 are turned off. One of the third transistor T3 and the fifth transistor T5 is turned on (the third transistor T3 is turned on when the operation result signal X is at a high level, and the fifth transistor T5 is turned on when the operation result signal X is at a low level), the node c is charged (high level), the tenth transistor T10 is turned on, and the first output terminal is discharged and cleared. Therefore, when the clock signal CLK is at a low level, regardless of whether the first input terminal inputs a high level or a low level, the first output terminal is cleared.
当时钟信号CLK为高电平时,第一晶体管T1和第二晶体管T2被关闭,第七晶体管T7被打开,节点c被放电清零,第十晶体管T10关闭。第三晶体管T3和第五晶体管T5其中一个会被打开(当运算结果信号X为高电平时第三晶体管T3被打开,当运算结果信号X为低电平时第五晶体管T5被打开),即节点a或b有一个会被放电清零。此时,第八晶体管T8和第九晶体管T9中有一个未被打开且第十晶体管T10关闭,第一输出端无法进行充电或放电,因此第一输出端数值保持不变,若在工作时间内监测到运算结果信号X发生跳变,节点a和b中未被放电清零的节点将被清零,导致第八晶体管T8和第九晶体管T9同时打开,此时第一输出端进行充电,即输出高电平信号,生成相应的错误提示信号Error。因此,当时钟信号CLK为高电平时,运算结果信号X跳变,第一输出端输出高电平。When the clock signal CLK is at a high level, the first transistor T1 and the second transistor T2 are turned off, the seventh transistor T7 is turned on, the node c is discharged and cleared, and the tenth transistor T10 is turned off. One of the third transistor T3 and the fifth transistor T5 is turned on (the third transistor T3 is turned on when the operation result signal X is at a high level, and the fifth transistor T5 is turned on when the operation result signal X is at a low level), that is, the node Either a or b will be cleared by discharge. At this time, one of the eighth transistor T8 and the ninth transistor T9 is not turned on and the tenth transistor T10 is turned off, the first output terminal cannot be charged or discharged, so the value of the first output terminal remains unchanged. It is monitored that the operation result signal X jumps, and the nodes a and b that have not been discharged and cleared will be cleared, resulting in the eighth transistor T8 and the ninth transistor T9 being turned on at the same time, and the first output terminal is charged at this time, that is Output a high level signal to generate the corresponding error prompt signal Error. Therefore, when the clock signal CLK is at a high level, the operation result signal X jumps, and the first output terminal outputs a high level.
继续参阅图1,逻辑运算电路110可以包括N个异或门单元111,逻辑运算电路110可以用于对M个待监测信号进行异或逻辑运算,其中N=M+1。在本实施例中,异或门单元可以为2输入异或门。Continuing to refer to FIG. 1 , the logic operation circuit 110 may include N XOR gate units 111 , and the logic operation circuit 110 may be used to perform XOR logic operation on M to-be-monitored signals, where N=M+1. In this embodiment, the XOR gate unit may be a 2-input XOR gate.
逻辑运算电路110响应于M个待监测信号的高电平总数为偶数,输出的运算结果信号X为低电平;逻辑运算电路110响应于M个待监测信号的高电平总数为奇数,输出的运算结果信号X为高电平。The logic operation circuit 110 responds that the total number of high levels of the M signals to be monitored is an even number, and the output operation result signal X is a low level; the logic operation circuit 110 outputs an odd number in response to the total number of high levels of the M signals to be monitored. The operation result signal X is high level.
请参阅图5和图6,图5是本申请异或门单元一实施例的结构示意图,图6是本申请异或门单元一实施例的电路结构示意图。在本实施例中,异或门单元111包括第一异或输入端和A、第二异或输入端B和第一异或输出端Z。Please refer to FIG. 5 and FIG. 6 , FIG. 5 is a schematic structural diagram of an XOR gate unit according to an embodiment of the present application, and FIG. 6 is a schematic circuit structure diagram of an XOR gate unit according to an embodiment of the present application. In this embodiment, the XOR gate unit 111 includes a first XOR input terminal A, a second XOR input terminal B, and a first XOR output terminal Z.
其中,第一异或输入端A和第二异或输入端B可以用于接收待监测信号或其他异或门单元的第一异或输出端。第一异或输出端Z可以连接其他异或门单元的第一异或输入端或第二异或输入端,或者连接监测电路120以输出运算结果信号X。Wherein, the first XOR input terminal A and the second XOR input terminal B may be used for receiving the signal to be monitored or the first XOR output terminal of other XOR gate units. The first XOR output terminal Z can be connected to the first XOR input terminal or the second XOR input terminal of other XOR gate units, or connected to the monitoring circuit 120 to output the operation result signal X.
如图6所示,异或门单元111的电路结构可以包括第二反相器N2和四个晶体管T11-T14。As shown in FIG. 6 , the circuit structure of the XOR gate unit 111 may include a second inverter N2 and four transistors T11-T14.
具体地,第二反相器N2的输入端连接第一异或输入端。第十一晶体管T11和第十二晶体管T12的控制端连接第二异或输入端,第十一晶体管T11的第一端连接第一异或输入端,第十二晶体管T12的第一端连接第十一晶体管T11的第二端。第十二晶体管T12的第二端、第十四晶体管T14的控制端和第二反相器N2的输出端连接。第十一晶体管T11的第一端、第十三晶体管T13的控制端连接第一异或输入端。Specifically, the input terminal of the second inverter N2 is connected to the first XOR input terminal. The control terminals of the eleventh transistor T11 and the twelfth transistor T12 are connected to the second XOR input terminal, the first terminal of the eleventh transistor T11 is connected to the first XOR input terminal, and the first terminal of the twelfth transistor T12 is connected to the first XOR input terminal. The second terminal of the eleven transistor T11. The second terminal of the twelfth transistor T12, the control terminal of the fourteenth transistor T14 and the output terminal of the second inverter N2 are connected. The first terminal of the eleventh transistor T11 and the control terminal of the thirteenth transistor T13 are connected to the first XOR input terminal.
第十三晶体管T13的第一端和十四晶体管的第一端连接,其节点连接在第十一晶体管T11的第一端和第十二晶体管T12的第二端之间,其四者的节点可以连接第一异或输出端。第十三晶体管T13的第二端和第十四晶体管T14的第二端连接,其节点连接第二异或输入端。The first end of the thirteenth transistor T13 is connected to the first end of the fourteenth transistor, and its node is connected between the first end of the eleventh transistor T11 and the second end of the twelfth transistor T12, and the node of the four A first XOR output can be connected. The second terminal of the thirteenth transistor T13 is connected to the second terminal of the fourteenth transistor T14, and the node thereof is connected to the second XOR input terminal.
当第一异或输入端为低电平时,第十一晶体管T11和第十二晶体管T12关闭,第十三晶体管T13和第十四晶体管T14被打开,第一异或输出端和第二异或输入端的电平相同。当第一异或输入端为高电平时,第十三晶体管T13和第十四晶体管T14关闭,第十一晶体管T11和第十二晶体管T12组成的反相器被开启,第一异或输出端和第二异或输入端的电平相反。即
Figure PCTCN2020108708-appb-000002
When the first XOR input terminal is at a low level, the eleventh transistor T11 and the twelfth transistor T12 are turned off, the thirteenth transistor T13 and the fourteenth transistor T14 are turned on, and the first XOR output terminal and the second XOR The levels at the inputs are the same. When the first XOR input terminal is at a high level, the thirteenth transistor T13 and the fourteenth transistor T14 are turned off, the inverter composed of the eleventh transistor T11 and the twelfth transistor T12 is turned on, and the first XOR output terminal is turned on. Opposite to the level of the second XOR input. which is
Figure PCTCN2020108708-appb-000002
在本实施例中,第十一晶体管T11和第十三晶体管T13可以为PMOS管,第十二晶体管T12和第十四晶体管T14可以为NMOS管。In this embodiment, the eleventh transistor T11 and the thirteenth transistor T13 may be PMOS transistors, and the twelfth transistor T12 and the fourteenth transistor T14 may be NMOS transistors.
可选地,每个待监测信号的输入至输出的路径通过异或门单元的数量为
Figure PCTCN2020108708-appb-000003
Figure PCTCN2020108708-appb-000004
个。请参阅图7-图9,图7是本申请多路逻辑运算电路一实施例的结构示意图;图8是本申请多路逻辑运算电路另一实施例的结构示意图;图9是本申请多路逻辑运算电路又一实施例的结构示意图。
Optionally, the path from the input to the output of each signal to be monitored passes through the number of XOR gate units as
Figure PCTCN2020108708-appb-000003
to
Figure PCTCN2020108708-appb-000004
indivual. Please refer to FIG. 7-FIG. 9. FIG. 7 is a schematic structural diagram of an embodiment of the multi-path logic operation circuit of the present application; FIG. 8 is a structural schematic diagram of another embodiment of the multi-path logic operation circuit of the present application; FIG. 9 is a multi-path logic operation circuit of the present application. A schematic structural diagram of another embodiment of a logic operation circuit.
其中,图7为3输入异或门,图8为4输入异或门,图9为10输入异或门。在图7-9中,Z表示多路输入异或门的输出端,A-J表示多路输入异或门的各个输入端。Among them, Figure 7 is a 3-input XOR gate, Figure 8 is a 4-input XOR gate, and Figure 9 is a 10-input XOR gate. In Figures 7-9, Z represents the output terminal of the multiple-input XOR gate, and A-J represent each input terminal of the multiple-input XOR gate.
在图7的3输入异或门中,可以包括两个异或门单元111,第一异或门单元的输出端可以连接第二异或门单元的输入端,由此得出
Figure PCTCN2020108708-appb-000005
In the 3-input XOR gate of FIG. 7, two XOR gate units 111 may be included, and the output end of the first XOR gate unit may be connected to the input end of the second XOR gate unit, thus obtaining
Figure PCTCN2020108708-appb-000005
在图8的4输入异或门中,可以包括三个异或门单元111,第一异或门单元的输出端和第二异或门单元的输出端可以分别连接第三异或门单元的第一输入端和第二输入端,由此得出
Figure PCTCN2020108708-appb-000006
In the 4-input XOR gate of FIG. 8, three XOR gate units 111 may be included, and the output terminal of the first XOR gate unit and the output terminal of the second XOR gate unit may be respectively connected to the third XOR gate unit. the first input and the second input, resulting in
Figure PCTCN2020108708-appb-000006
在图9的10输入异或门中,可以包括九个异或门单元111,第五异或门单元的两个输入端分别连接第一异或门单元的输出端和第二异或门单元的输出端,第六异或门单元的两个输入端分别连接待监测信号和第三异或门单元的输出端,第七异或门单元的两个输入端分别连接待监测信号和第四异或门单元的输出端;第八异或门单元的两个输入端分别连接第六异或门单元的输出端和第七异或门单元的输出端,第九异或门单元的两个输入端分别连接第五异或门单元的输出端和第八异或门单元的输出端,由此得出
Figure PCTCN2020108708-appb-000007
In the 10-input XOR gate in FIG. 9 , nine XOR gate units 111 may be included, and the two input terminals of the fifth XOR gate unit are respectively connected to the output terminal of the first XOR gate unit and the second XOR gate unit. The output terminal of the sixth XOR gate unit is respectively connected to the output terminal of the signal to be monitored and the third XOR gate unit, and the two input terminals of the seventh XOR gate unit are respectively connected to the signal to be monitored and the fourth XOR gate unit. The output terminal of the XOR gate unit; the two input terminals of the eighth XOR gate unit are respectively connected to the output terminal of the sixth XOR gate unit and the output terminal of the seventh XOR gate unit, and the two input terminals of the ninth XOR gate unit are respectively connected. The input terminals are respectively connected to the output terminal of the fifth XOR gate unit and the output terminal of the eighth XOR gate unit, thus obtaining
Figure PCTCN2020108708-appb-000007
在本实施例中,当M个待监测信号的高电平总数为偶数时,逻辑运算电路110输出的运算结果信号X为低电平。例如,当仅有I和J输入高电平时,第四异或门单元输出低电平,最后第九异或门单元的输出端Z也输出低电平,即当同一个异或门单元接收的两个待监测信号都输入高电平时,逻辑运算电路110输出的运算结果信号X也是低电平。In this embodiment, when the total number of high levels of the M signals to be monitored is an even number, the operation result signal X output by the logic operation circuit 110 is a low level. For example, when only I and J input a high level, the fourth XOR gate unit outputs a low level, and finally the output terminal Z of the ninth XOR gate unit also outputs a low level, that is, when the same XOR gate unit receives When the two signals to be monitored are both input high level, the operation result signal X output by the logic operation circuit 110 is also low level.
当仅有B、C、E、F输入高电平时,第一异或门单元输出高电平,第二异或门单元输出高电平,第五异或门单元输出低电平;第三异或门单元输出高电平,第六异或门单元输出低电平,最后第九异或门单元的输出端Z也输出低电平;即当不同异或门单元接收的偶数个待监测信号都输入高电平时,逻辑运算 电路110输出的运算结果信号X也是低电平。When only B, C, E, and F input high level, the first XOR gate unit outputs a high level, the second XOR gate unit outputs a high level, and the fifth XOR gate unit outputs a low level; the third XOR gate unit outputs a low level; The XOR gate unit outputs a high level, the sixth XOR gate unit outputs a low level, and finally the output terminal Z of the ninth XOR gate unit also outputs a low level; that is, when different XOR gate units receive even numbers to be monitored When the signals are all input at a high level, the operation result signal X output by the logic operation circuit 110 is also at a low level.
当M个待监测信号的高电平总数为奇数时,逻辑运算电路110输出的运算结果信号X为高电平。例如,当仅有A输入高电平时,第一异或门单元输出高电平,第五异或门单元也输出高电平,最后第九异或门单元的输出端Z也输出高电平。When the total number of high levels of the M signals to be monitored is an odd number, the operation result signal X output by the logic operation circuit 110 is a high level. For example, when only A inputs a high level, the first XOR gate unit outputs a high level, the fifth XOR gate unit also outputs a high level, and finally the output terminal Z of the ninth XOR gate unit also outputs a high level .
当仅有A、C、H输入高电平时,第一异或门单元输出高电平,第二异或门单元输出高电平,第五异或门单元输出低电平,第七异或门单元输出高电平,第八异或门单元输出高电平,最后第九异或门单元的输出端Z也输出高电平,即只要待监测信号的高电平总数为奇数时,逻辑运算电路110输出的运算结果信号X即为高电平。When only A, C, and H input high level, the first XOR gate unit outputs a high level, the second XOR gate unit outputs a high level, the fifth XOR gate unit outputs a low level, and the seventh XOR gate unit outputs a low level. The gate unit outputs a high level, the eighth XOR gate unit outputs a high level, and finally the output terminal Z of the ninth XOR gate unit also outputs a high level, that is, as long as the total number of high levels of the signals to be monitored is odd, the logic The operation result signal X output by the operation circuit 110 is a high level.
通过以上方式,可以实现每个待监测信号的输入至输出的路径通过的异或门单元的数量为
Figure PCTCN2020108708-appb-000008
(向下取整)至
Figure PCTCN2020108708-appb-000009
(向上取整)个。
Through the above method, the number of XOR gate units passing through the path from the input to the output of each signal to be monitored can be
Figure PCTCN2020108708-appb-000008
(rounded down) to
Figure PCTCN2020108708-appb-000009
(rounded up).
请参阅图10-11,图10是本申请在对多个待监测信号同时进行监测时的波形图,图11是本申请多个待监测信号转变的概率分析图。在图10中,Pi和Pj为两个待监测信号。Please refer to FIGS. 10-11 , FIG. 10 is a waveform diagram of the present application when multiple signals to be monitored are simultaneously monitored, and FIG. 11 is a probability analysis diagram of the transition of multiple signals to be monitored in the present application. In Figure 10, Pi and Pj are two signals to be monitored.
在(a)中,有Pi和Pj两个待监测信号发生反转,其中Pi翻转于监测区间内,Pj翻转于监测区间外。该反转使运算结果信号X在始终信号CLK为高电平时发生改变,导致错误提示信号Error触发。In (a), two signals to be monitored, Pi and Pj, are inverted, wherein Pi is inverted within the monitoring interval, and Pj is inverted outside the monitoring interval. The inversion causes the operation result signal X to change when the signal CLK is always at a high level, causing the error prompt signal Error to be triggered.
此外,需要说明的是,上述所说的“逻辑运算电路110响应于M个待监测信号相同的高电平总数为偶数,输出的运算结果信号X为低电平”与图(a)的情况并不矛盾:这是由于逻辑运算电路110中存在传播性延迟。在不考虑传播性延迟的理想情况下,运算结果信号X的上升沿是对应Pj的上升沿(此时Pi为低电平,Pj为高电平),运算结果信号X的下降沿是对应Pi的上升沿(此时Pi为高电平,Pj为高电平)。但是由于存在传播性延迟,因此在图(a)中才会出现“Pi为低电平,Pj为高电平,待监测信号的高电平总数为偶数,但是运算结果信号X为低电平的情况”。In addition, it should be noted that the above-mentioned “the logic operation circuit 110 responds that the total number of high levels of the M signals to be monitored is an even number, and the output operation result signal X is a low level” and the situation in FIG. (a) Not contradictory: this is due to the propagation delay in the logic operation circuit 110 . In the ideal case without considering the propagation delay, the rising edge of the operation result signal X corresponds to the rising edge of Pj (at this time Pi is low level, Pj is high level), and the falling edge of the operation result signal X corresponds to Pi The rising edge of (Pi is high level at this time, Pj is high level). However, due to the propagation delay, in Figure (a), "Pi is low level, Pj is high level, the total number of high levels of the signal to be monitored is an even number, but the operation result signal X is low level. Case".
在(b)中,有Pi和Pj两个待监测信号发生反转,其中Pi与Pj同时翻转于监测区间内。该反转使信号运算结果信号X在时钟信号CLK为高电平时产生细小的脉冲信号,该信号被监测电路120感知后触发错误提示信号Error。In (b), there are two signals to be monitored, Pi and Pj, which are inverted, wherein Pi and Pj are inverted in the monitoring interval at the same time. The inversion causes the signal operation result signal X to generate a small pulse signal when the clock signal CLK is at a high level, and the signal is sensed by the monitoring circuit 120 to trigger an error prompt signal Error.
在(c)中,有Pi和Pj两个待监测信号发生反转,其中Pi与Pj同时翻转于监测区间内且非常接近(几乎同时翻转)。此时,由于异或门单元的敏感度不够, 无法触发一个强脉冲信号,导致监测电路120无法感知该信号。In (c), two signals to be monitored, Pi and Pj, are inverted, wherein Pi and Pj are inverted in the monitoring interval at the same time and are very close (almost simultaneously inverted). At this time, since the sensitivity of the exclusive OR gate unit is not enough, a strong pulse signal cannot be triggered, so that the monitoring circuit 120 cannot sense the signal.
然而,从图11的概率分析图可知,当本实施例的待监测信号中有偶数个数发生改变且每个信号之间的传播性延迟差几乎为0时,会导致本实施例的监测传感器失效,如图(c)所示。However, it can be seen from the probability analysis diagram in FIG. 11 that when the even number of the signals to be monitored in this embodiment changes and the propagation delay difference between each signal is almost 0, the monitoring sensor of this embodiment will be affected. failure, as shown in Figure (c).
假设每个信号监测点所接收到信号为‘0’或‘1’的概率均为50%,在最坏的情况下,信号翻转概率为25%。如图11所示,当所监测路径超过20条时,待监测信号中有偶数个数据被翻转的概率为50%。在DVFS的应用中,电压与频率不会因为单一错误预警信号而调整。若调整周期为1000个时钟周期,信号翻转全为偶数个的概率则为(50%) 1000(趋近于0)。 Assuming that each signal monitoring point has a 50% probability of receiving a signal of '0' or '1', in the worst case, the probability of signal flipping is 25%. As shown in FIG. 11 , when there are more than 20 monitored paths, the probability of an even number of data in the to-be-monitored signal being inverted is 50%. In DVFS applications, voltage and frequency are not adjusted for a single false early warning signal. If the adjustment period is 1000 clock cycles, the probability that the signal flips are all even numbers is (50%) 1000 (close to 0).
其中,发生变化的概率分别为:Among them, the probabilities of changes are:
Figure PCTCN2020108708-appb-000010
 奇数变化
Figure PCTCN2020108708-appb-000010
odd change
Figure PCTCN2020108708-appb-000011
              偶数变化
Figure PCTCN2020108708-appb-000011
even change
(1-α) n                                                 无变化 (1-α) n No change
另外,这将是在所有翻转数据传播性延迟差均趋近于0的极端情况,在实际应用中几乎不可能存在。因此,本实施例的监测传感器是可行的。In addition, this will be an extreme case where the propagation delay difference of all flipped data approaches 0, which is almost impossible to exist in practical applications. Therefore, the monitoring sensor of this embodiment is feasible.
基于上述监测传感器100,本申请还提出一种芯片。监测传感器100可应用于芯片中。Based on the above monitoring sensor 100, the present application also proposes a chip. The monitoring sensor 100 can be applied in a chip.
请参阅图12,图12是本申请监测传感器一应用场景的示意图。芯片中还可以包括D触发器200,D触发器200可以连接待监测信号,监测传感器100的输入端可以连接在D触发器200的接口处和待监测信号之间。Please refer to FIG. 12 , which is a schematic diagram of an application scenario of the monitoring sensor of the present application. The chip may further include a D flip-flop 200, the D flip-flop 200 may be connected to the signal to be monitored, and the input end of the monitoring sensor 100 may be connected between the interface of the D flip-flop 200 and the signal to be monitored.
本申请公开了一种监测传感器和芯片,监测传感器包括逻辑运算电路和监测电路,其中逻辑运算电路用于对输入的多个待监测信号进行异或逻辑运算,并输出运算结果信号,待监测信号为数字信号;监测电路连接逻辑运算电路,用于监测运算结果信号的跳变情况,从而对多个监测信号进行监测。由于不同路径的数据的传播延迟相同的几率趋近于零,因此本申请中监测传感器可以利用异或门对多个待监测信号进行异或逻辑运算,利用单一信号转变会使异或门输出翻转的特点同时提取多个待监测信号转变的信息,得出运算结果信号,当待监测信号不相同时,运算结果信号发生跳变,监测电路监测到运算结果信号 发生跳变,即生成相应的错误提示信号。The present application discloses a monitoring sensor and a chip. The monitoring sensor includes a logic operation circuit and a monitoring circuit, wherein the logic operation circuit is used to perform XOR logic operation on a plurality of input signals to be monitored, and output the operation result signal. It is a digital signal; the monitoring circuit is connected to the logic operation circuit for monitoring the jumping situation of the operation result signal, so as to monitor multiple monitoring signals. Since the probability of the same propagation delay of data in different paths is close to zero, the monitoring sensor in this application can use the XOR gate to perform the XOR logic operation on multiple signals to be monitored, and the output of the XOR gate will be reversed by using a single signal transition It extracts the information of the transition of multiple signals to be monitored at the same time, and obtains the operation result signal. When the signals to be monitored are different, the operation result signal jumps, and the monitoring circuit detects that the operation result signal jumps, that is, a corresponding error is generated. cue signal.
跟相关技术相比,目前的单一传感器只可以对一条潜在关键路径进行监测,在现有强老大机制和工艺偏差的工艺下,随着潜在关键路径数目的增加,DVFS及相关应用的系统搭建成本及复杂程度骤增。而通过上述方式,本申请的监测传感器可以利用单一传感器对多个待监测信号,即多条潜在关键路径进行监测,以减少DVFS及相关应用场景的搭建成本和复杂程度。Compared with related technologies, the current single sensor can only monitor one potential critical path. Under the existing technology with strong boss mechanism and process deviation, with the increase of the number of potential critical paths, the system construction cost of DVFS and related applications will increase. and increased complexity. In the above manner, the monitoring sensor of the present application can use a single sensor to monitor multiple signals to be monitored, that is, multiple potential critical paths, so as to reduce the construction cost and complexity of DVFS and related application scenarios.
其次,本申请的监测传感器电路简单,晶体管数量被大大减少,并且做到了输入、输出信号的精简化。使本申请的监测传感器在各个应用场景下都可以减少系统搭建成本及个复杂程度;并且,本申请的监测传感器可以不替换原电路任何元件的情况下进行搭建,因此可保留被监测电路在设计之初的最优解。Secondly, the monitoring sensor circuit of the present application is simple, the number of transistors is greatly reduced, and the input and output signals are simplified. The monitoring sensor of the present application can reduce the system construction cost and complexity in various application scenarios; and the monitoring sensor of the present application can be built without replacing any components of the original circuit, so the monitored circuit can be reserved in the design. The initial optimal solution.
需要说明的是,本申请的监测传感器不仅可以利用在DVFS系统,还可以用于监测其他软错误,例如单粒子翻转等。It should be noted that the monitoring sensor of the present application can not only be used in the DVFS system, but also can be used to monitor other soft errors, such as single event flipping and the like.
可以理解的是,此处所描述的具体实施例仅用于解释本申请,而非对本申请的限定。另外为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, for the convenience of description, the drawings only show some but not all structures related to the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above description is only an embodiment of the present application, and is not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied to other related technologies Fields are similarly included within the scope of patent protection of this application.

Claims (10)

  1. 一种监测传感器,其特征在于,所述监测传感器包括:A monitoring sensor, characterized in that the monitoring sensor comprises:
    逻辑运算电路,所述逻辑运算电路用于对输入的多个待监测信号进行异或逻辑运算,并输出运算结果信号;其中,所述待监测信号为数字信号;a logic operation circuit, the logic operation circuit is used to perform XOR logic operation on a plurality of input signals to be monitored, and output an operation result signal; wherein, the to-be-monitored signal is a digital signal;
    监测电路,所述监测电路连接所述逻辑运算电路,用于监测所述运算结果信号的跳变情况,从而对所述多个监测信号进行监测。A monitoring circuit, which is connected to the logic operation circuit, is used for monitoring the jumping condition of the operation result signal, so as to monitor the plurality of monitoring signals.
  2. 根据权利要求1所述的监测传感器,其特征在于,所述监测电路包括:The monitoring sensor according to claim 1, wherein the monitoring circuit comprises:
    第一输入端,连接所述逻辑运算电路;a first input terminal, connected to the logic operation circuit;
    第二输入端,用于输入时钟信号;a second input terminal for inputting a clock signal;
    所述监测电路用于在所述时钟信号的高电平期间监测所述运算结果信号的跳变,并生成相应的错误提示信号。The monitoring circuit is used to monitor the transition of the operation result signal during the high level period of the clock signal, and generate a corresponding error prompt signal.
  3. 根据权利要求2所述的监测传感器,其特征在于,The monitoring sensor according to claim 2, wherein,
    所述错误提示信号的上升沿对应所述运算结果信号的跳变时刻,所述错误提示信号的下降沿对应所述时钟信号的下降沿。The rising edge of the error prompt signal corresponds to the transition time of the operation result signal, and the falling edge of the error prompt signal corresponds to the falling edge of the clock signal.
  4. 根据权利要求1所述的监测传感器,其特征在于,所述监测电路包括:The monitoring sensor according to claim 1, wherein the monitoring circuit comprises:
    第一晶体管,所述第一晶体管的控制端接收所述时钟信号,所述第一晶体管的第一端连接工作电源;a first transistor, the control end of the first transistor receives the clock signal, and the first end of the first transistor is connected to the working power supply;
    第二晶体管,所述第二晶体管的控制端接收所述时钟信号,所述第二晶体管的第一端连接所述工作电源;a second transistor, the control end of the second transistor receives the clock signal, and the first end of the second transistor is connected to the working power supply;
    第三晶体管,所述第三晶体管的控制端接收所述运算结果信号,所述第三晶体管的第一端连接所述第一晶体管的第二端;a third transistor, the control end of the third transistor receives the operation result signal, and the first end of the third transistor is connected to the second end of the first transistor;
    第四晶体管,所述第四晶体管的第一端连接所述第一晶体管的第二端;a fourth transistor, the first end of the fourth transistor is connected to the second end of the first transistor;
    第一反相器,所述第一反相器的输入端接收所述运算结果信号;a first inverter, the input end of the first inverter receives the operation result signal;
    第五晶体管,所述第五晶体管的控制端连接所述第一反相器的输出端,第五晶体管的第一端连接所述第二晶体管的第二端;a fifth transistor, the control end of the fifth transistor is connected to the output end of the first inverter, and the first end of the fifth transistor is connected to the second end of the second transistor;
    第六晶体管,所述第六晶体管的第一端连接所述第二晶体管的第二端;a sixth transistor, the first end of the sixth transistor is connected to the second end of the second transistor;
    第七晶体管,所述第七晶体管的控制端接收所述时钟信号,所述第七晶体管的第一端连接所述第五晶体管的第二端和第六晶体管的第二端,所述第七晶体管的第二端接地;a seventh transistor, the control end of the seventh transistor receives the clock signal, the first end of the seventh transistor is connected to the second end of the fifth transistor and the second end of the sixth transistor, the seventh transistor The second terminal of the transistor is grounded;
    第八晶体管,所述第八晶体管的控制端连接在第一晶体管的第二端和第三晶体管的第一端、第四晶体管的第一端之间,所述第八晶体管的第一端连接所述工作电源;an eighth transistor, the control end of the eighth transistor is connected between the second end of the first transistor, the first end of the third transistor, and the first end of the fourth transistor, and the first end of the eighth transistor is connected the working power supply;
    第九晶体管,所述第九晶体管的控制端连接在第二晶体管的第二端和第五晶体管的第一端、第六晶体管的第一端之间,所述第九晶体管的第一端连接所述第八晶体管的第二端;A ninth transistor, the control end of the ninth transistor is connected between the second end of the second transistor, the first end of the fifth transistor, and the first end of the sixth transistor, and the first end of the ninth transistor is connected the second end of the eighth transistor;
    第十晶体管,所述第十晶体管的控制端连接所述第三晶体管的第二端、第四晶体管的第二端、第五晶体管的第二端、第六晶体管的第二端和第七晶体管的第一端,所述第十晶体管的第一端连接所述第九晶体管的第二端,所述第十晶体管的第二端接地;A tenth transistor, the control end of the tenth transistor is connected to the second end of the third transistor, the second end of the fourth transistor, the second end of the fifth transistor, the second end of the sixth transistor and the seventh transistor The first end of the tenth transistor is connected to the second end of the ninth transistor, and the second end of the tenth transistor is grounded;
    其中,所述第四晶体管的控制端,所述第六晶体管的控制端、所述第九晶体管的第二端和所述第十晶体管的第一端连接,其节点作为所述第一输出端。Wherein, the control terminal of the fourth transistor, the control terminal of the sixth transistor, the second terminal of the ninth transistor and the first terminal of the tenth transistor are connected, and the node thereof serves as the first output terminal .
  5. 根据权利要求1所述的监测传感器,其特征在于,The monitoring sensor of claim 1, wherein:
    所述逻辑运算电路包括N个异或门单元,所述逻辑运算电路用于对M个待监测信号进行异或逻辑运算,其中N=M+1。The logic operation circuit includes N XOR gate units, and the logic operation circuit is used to perform XOR logic operation on the M signals to be monitored, where N=M+1.
  6. 根据权利要求5所述的监测传感器,其特征在于,The monitoring sensor of claim 5, wherein:
    每个所述待监测信号的输入至输出的路径通过的所述异或门单元的数量为
    Figure PCTCN2020108708-appb-100001
    Figure PCTCN2020108708-appb-100002
    个。
    The number of the XOR gate units passing through the path from the input to the output of each signal to be monitored is:
    Figure PCTCN2020108708-appb-100001
    to
    Figure PCTCN2020108708-appb-100002
    indivual.
  7. 根据权利要求5所述的监测传感器,其特征在于,所述异或门单元包括:The monitoring sensor according to claim 5, wherein the XOR gate unit comprises:
    第一异或输入端和第二异或输入端,用于接收所述待监测信号或其他异或门单元的第一异或输出端;The first XOR input terminal and the second XOR input terminal are used to receive the signal to be monitored or the first XOR output terminal of other XOR gate units;
    第一异或输出端,用于连接所述其他异或门单元的第一异或输入端或第二异或输入端,或者连接所述监测电路以输出所述运算结果信号。The first XOR output terminal is used for connecting to the first XOR input terminal or the second XOR input terminal of the other XOR gate units, or connecting to the monitoring circuit to output the operation result signal.
  8. 根据权利要求5所述的监测传感器,其特征在于,The monitoring sensor of claim 5, wherein:
    响应于所述M个待监测信号的高电平总数为偶数,所述逻辑运算电路输出的运算结果信号为低电平;响应于所述M个待监测信号的高电平总数为奇数,所述逻辑运算电路输出的运算结果信号为高电平。In response to the total number of high levels of the M signals to be monitored being an even number, the operation result signal output by the logic operation circuit is a low level; in response to the total number of high levels of the M signals to be monitored being an odd number, the The operation result signal output by the logic operation circuit is a high level.
  9. 一种芯片,其特征在于,包括上述权利要求1-8任一项所述的监测传感器。A chip, characterized in that it comprises the monitoring sensor according to any one of the above claims 1-8.
  10. 根据权利要求9所述的芯片,其特征在于,所述芯片还包括D触发器, 所述D触发器连接所述待监测信号,所述监测传感器输入端连接在所述D触发器的接口处和所述待监测信号之间。The chip according to claim 9, characterized in that, the chip further comprises a D flip-flop, the D flip-flop is connected to the signal to be monitored, and the monitoring sensor input terminal is connected to the interface of the D flip-flop and the signal to be monitored.
PCT/CN2020/108708 2020-08-12 2020-08-12 Monitoring sensor and chip WO2022032526A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108708 WO2022032526A1 (en) 2020-08-12 2020-08-12 Monitoring sensor and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108708 WO2022032526A1 (en) 2020-08-12 2020-08-12 Monitoring sensor and chip

Publications (1)

Publication Number Publication Date
WO2022032526A1 true WO2022032526A1 (en) 2022-02-17

Family

ID=80246695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108708 WO2022032526A1 (en) 2020-08-12 2020-08-12 Monitoring sensor and chip

Country Status (1)

Country Link
WO (1) WO2022032526A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529052A (en) * 2022-09-28 2022-12-27 苏州浪潮智能科技有限公司 High-frequency digital signal frequency-reducing modulation system
CN115529052B (en) * 2022-09-28 2024-04-30 苏州浪潮智能科技有限公司 High-frequency digital signal down-conversion modulation system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5449960A (en) * 1992-03-30 1995-09-12 Nec Corporation Sample-and-hold circuit
US6016564A (en) * 1996-08-28 2000-01-18 Matsushita Electric Industrial Co., Ltd. Method of design for testability, method of design for avoiding bus error and integrated circuit
CN101841237A (en) * 2009-03-19 2010-09-22 恩益禧电子股份有限公司 The semiconductor integrated circuit that comprises power controllable region
US20120049875A1 (en) * 2010-08-30 2012-03-01 Belser Mitchell A Schmitt trigger with test circuit and method for testing
CN102798815A (en) * 2011-05-27 2012-11-28 Arm有限公司 Verifying state integrity in state retention circuits
CN105631077A (en) * 2014-11-07 2016-06-01 飞思卡尔半导体公司 Integrated circuit with enlarged fault coverage
US9513335B1 (en) * 2015-06-12 2016-12-06 Cadence Design Systems, Inc. Method for using XOR trees for physically efficient scan compression and decompression logic
CN112230130A (en) * 2020-08-12 2021-01-15 深圳先进技术研究院 Monitoring sensor and chip

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5449960A (en) * 1992-03-30 1995-09-12 Nec Corporation Sample-and-hold circuit
US6016564A (en) * 1996-08-28 2000-01-18 Matsushita Electric Industrial Co., Ltd. Method of design for testability, method of design for avoiding bus error and integrated circuit
CN101841237A (en) * 2009-03-19 2010-09-22 恩益禧电子股份有限公司 The semiconductor integrated circuit that comprises power controllable region
US20120049875A1 (en) * 2010-08-30 2012-03-01 Belser Mitchell A Schmitt trigger with test circuit and method for testing
CN102798815A (en) * 2011-05-27 2012-11-28 Arm有限公司 Verifying state integrity in state retention circuits
CN105631077A (en) * 2014-11-07 2016-06-01 飞思卡尔半导体公司 Integrated circuit with enlarged fault coverage
US9513335B1 (en) * 2015-06-12 2016-12-06 Cadence Design Systems, Inc. Method for using XOR trees for physically efficient scan compression and decompression logic
CN112230130A (en) * 2020-08-12 2021-01-15 深圳先进技术研究院 Monitoring sensor and chip

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529052A (en) * 2022-09-28 2022-12-27 苏州浪潮智能科技有限公司 High-frequency digital signal frequency-reducing modulation system
CN115529052B (en) * 2022-09-28 2024-04-30 苏州浪潮智能科技有限公司 High-frequency digital signal down-conversion modulation system

Similar Documents

Publication Publication Date Title
US6731143B2 (en) Power-up circuit
US10024916B2 (en) Sequential circuit with error detection
US8301970B2 (en) Sequential circuit with error detection
US5523707A (en) Fast, low power exclusive or circuit
US20080074151A1 (en) Dual-edge-triggered, clock-gated logic circuit and method
US7233184B1 (en) Method and apparatus for a configurable latch
US20060226874A1 (en) Interface circuit including voltage level shifter
CN112230130A (en) Monitoring sensor and chip
US8384437B2 (en) Method and apparatus for gating a clock signal
JP2002158567A (en) Generation of pulse signal from clock signal
US7843219B2 (en) XOR logic circuit
WO2022032526A1 (en) Monitoring sensor and chip
US10331592B2 (en) Communication apparatus with direct control and associated methods
JP3211952B2 (en) Synchronization circuit
JP2009130441A (en) Data holding circuit
US6448862B1 (en) Single event upset immune oscillator circuit
CN109217860B (en) Semiconductor device with power gating scheme
US8686778B2 (en) Integrated pulse-control and enable latch circuit
JPH03223918A (en) Output circuit
US6879186B2 (en) Pseudo-dynamic latch deracer
JP2870453B2 (en) Pulse width correction circuit
US20050189977A1 (en) Double-edge-trigger flip-flop
JPH07326961A (en) Synchronous counter using carrier signal
WO2024082455A1 (en) Memory device and control method therefor
JP3992543B2 (en) Register circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20949025

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.07.2023)