[go: up one dir, main page]

CN118604585B - A behavioral sensor based on ALU - Google Patents

A behavioral sensor based on ALU Download PDF

Info

Publication number
CN118604585B
CN118604585B CN202411080087.8A CN202411080087A CN118604585B CN 118604585 B CN118604585 B CN 118604585B CN 202411080087 A CN202411080087 A CN 202411080087A CN 118604585 B CN118604585 B CN 118604585B
Authority
CN
China
Prior art keywords
alu
pressure
input
sampling
counting module
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202411080087.8A
Other languages
Chinese (zh)
Other versions
CN118604585A (en
Inventor
解维坤
王厚军
戴志坚
黄乐天
杨万渝
粱一凡
邓可为
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202411080087.8A priority Critical patent/CN118604585B/en
Publication of CN118604585A publication Critical patent/CN118604585A/en
Application granted granted Critical
Publication of CN118604585B publication Critical patent/CN118604585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/2851Testing of integrated circuits [IC]
    • G01R31/2855Environmental, reliability or burn-in testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

The invention belongs to the field of electric digital data processing, and provides an ALU-based behavior sensor which provides more accurate behavior data for an artificial intelligent model for SoC chip aging prediction. The invention comprises the following steps: the system comprises a pressure generating module, an ALU group, a state control machine, a sampling counting module and a memory, wherein the ALU group comprises a plurality of ALU combination logic chains, each ALU combination logic chain is configured into a pressure sensor in a pressure mode and a ring oscillator in a test mode, and is used for simulating the behavior state of a tested circuit; the pressure generating module provides pressure input for the pressure sensor, and the sampling counting module samples the vibration frequency information of the ring oscillator and stores the vibration frequency information in the memory; the state control machine is used for controlling the ALU group and the sampling counting module. The invention builds the ring oscillator by taking the ALU as a main body, can describe the behavior of the tested circuit more accurately, and has the advantages of low invasiveness and stronger monitoring capability.

Description

一种基于ALU的行为传感器A behavioral sensor based on ALU

技术领域Technical Field

本发明属于电数字数据处理领域,涉及应用于SoC芯片老化预测的老化传感器,具体提供一种基于ALU(Arithmetic and Logic Unit,算术逻辑单元)的行为传感器。The present invention belongs to the field of electrical digital data processing, relates to an aging sensor applied to SoC chip aging prediction, and specifically provides a behavior sensor based on an ALU (Arithmetic and Logic Unit).

背景技术Background Art

随着SoC芯片的复杂性不断增加,复杂的半导体工艺以及恶劣的工作环境都会加速SoC芯片的老化,因此,SoC芯片的老化检测与老化预测变得尤为关键。SoC芯片主要包括处理器、片上互连、存储及外设等组件,其中,处理器作为核心,负责整个SoC芯片的控制、计算等功能,使得处理器成为SoC芯片中负载最大、温度最高、老化最快的组件;进一步的,处理器的核心部分为ALU构成的运算单元,因此,SoC芯片的老化预测的核心在于对处理器中ALU的老化估计。As the complexity of SoC chips continues to increase, complex semiconductor processes and harsh working environments will accelerate the aging of SoC chips. Therefore, aging detection and aging prediction of SoC chips have become particularly critical. SoC chips mainly include components such as processors, on-chip interconnects, storage and peripherals. Among them, the processor is the core, responsible for the control and calculation functions of the entire SoC chip, making the processor the component with the largest load, highest temperature and fastest aging in the SoC chip; further, the core part of the processor is the computing unit composed of ALU. Therefore, the core of aging prediction of SoC chips lies in the aging estimation of ALU in the processor.

处理器的老化效应主要有热载流子注入(Hot Carrier-Injection,HCI)、负偏压温度不稳定性(Negative Bias-Temperature-Instability,NBTI)及时间介质击穿(Time-Dependent-Dielectric-Breakdown,TDDB),其中,NBTI和HCI对处理器老化影响最大,随着半导体工艺的提升,NBTI逐渐占据主导地位;NBTI效应受到诸多参数的影响,主要包括:电压、温度和信号概率(Signal Probability,SP);因此,在基于人工智能模型的SoC芯片老化预测方法中,需要采用电压传感器、温度传感器及行为传感器等老化传感器对应采集电压、温度及制造工艺偏差等数据,用以完成模型训练及预测。对于行为传感器,一般由环形振荡器构成,环形振荡器通过缓冲器(buffer)构成,通过模拟被测电路的老化过程来表征被测电路在其制造工艺、工作环境下的行为;虽然环形振荡器构成的老化传感器对于大多数电路准确程度较高,但对于复杂的SoC芯片而言,尤其对于处理器中的运算电路,该老化传感器的准确度仍然有待提升。The main aging effects of processors include hot carrier injection (HCI), negative bias temperature instability (NBTI) and time-dependent dielectric breakdown (TDDB). Among them, NBTI and HCI have the greatest impact on processor aging. With the improvement of semiconductor technology, NBTI has gradually become dominant. The NBTI effect is affected by many parameters, mainly including: voltage, temperature and signal probability (SP). Therefore, in the SoC chip aging prediction method based on artificial intelligence model, aging sensors such as voltage sensors, temperature sensors and behavior sensors are needed to collect data such as voltage, temperature and manufacturing process deviation to complete model training and prediction. Behavioral sensors are generally composed of a ring oscillator, which is composed of a buffer. The aging process of the circuit under test is simulated to characterize the behavior of the circuit under test in its manufacturing process and working environment. Although the aging sensor composed of a ring oscillator has a high degree of accuracy for most circuits, for complex SoC chips, especially for the computing circuits in the processor, the accuracy of the aging sensor still needs to be improved.

发明内容Summary of the invention

本发明的目的在于提供一种基于ALU的行为传感器,为用于SoC芯片老化预测的人工智能模型提供更加准确的行为数据,从而使人工智能模型能够更加准确的实现SoC芯片老化预测。The purpose of the present invention is to provide an ALU-based behavior sensor to provide more accurate behavior data for an artificial intelligence model used for SoC chip aging prediction, thereby enabling the artificial intelligence model to more accurately predict SoC chip aging.

为实现上述目的,本发明采用的技术方案为:To achieve the above object, the technical solution adopted by the present invention is:

一种基于ALU的行为传感器,包括:压力产生模块、ALU组、状态控制机、采样计数模块与存储器;其中,ALU组包括:若干条ALU组合逻辑链,每条ALU组合逻辑链在压力模式下配置成为压力传感器、在测试模式下配置成为环形振荡器,用以模拟被测电路的行为状态;压力产生模块为压力传感器提供压力输入,且每条ALU组合逻辑链的压力输入均不相同;采样计数模块对环形振荡器的振动频率信息进行采样,并储存在存储器中;状态控制机用于控制ALU组与采样计数模块。A behavior sensor based on ALU includes: a pressure generating module, an ALU group, a state control machine, a sampling and counting module and a memory; wherein the ALU group includes: a plurality of ALU combination logic chains, each of which is configured as a pressure sensor in a pressure mode and as a ring oscillator in a test mode, so as to simulate the behavior state of a circuit under test; the pressure generating module provides pressure input for the pressure sensor, and the pressure input of each ALU combination logic chain is different; the sampling and counting module samples the vibration frequency information of the ring oscillator and stores it in the memory; the state control machine is used to control the ALU group and the sampling and counting module.

进一步的,ALU组包括:N条ALU组合逻辑链,N≥10;N条ALU组合逻辑链按顺序编号,每条ALU组合逻辑链包括:多路选择器与ALU,ALU组合逻辑链在模式切换信号控制下切换压力模式与测试模式,模式切换信号由控制状态机产生;Further, the ALU group includes: N ALU combination logic chains, N≥10; the N ALU combination logic chains are numbered in sequence, each ALU combination logic chain includes: a multiplexer and an ALU, the ALU combination logic chain switches between a stress mode and a test mode under the control of a mode switching signal, and the mode switching signal is generated by a control state machine;

在压力模式下,ALU的两个输入端通过多路选择器选择输入压力产生模块产生的压力输入,ALU的控制端由控制状态机随机赋予功能码,ALU的输出端输出至采样计数模块;In the pressure mode, the two input ends of the ALU select the pressure input generated by the input pressure generation module through the multiplexer, the control end of the ALU is randomly assigned a function code by the control state machine, and the output end of the ALU is output to the sampling counting module;

在测试模式下,ALU的控制端由控制状态机固定功能码,ALU的一个输入端通过多路选择器选择输入高电平输入,ALU的另一个输入端通过多路选择器选择输入反馈输入,反馈输入的最后一位设置为输出的最后一位的取反结果、其余位均为低电平, ALU的输出端输出至采样计数模块,高电平输入与反馈输入由控制状态机提供。In the test mode, the control end of the ALU is fixed with a function code by the control state machine. One input end of the ALU selects a high-level input through a multiplexer, and the other input end of the ALU selects a feedback input through a multiplexer. The last bit of the feedback input is set to the inverted result of the last bit of the output, and the remaining bits are all low levels. The output end of the ALU is output to the sampling counting module, and the high-level input and feedback input are provided by the control state machine.

进一步的,压力生成模块由线性反馈移位寄存器构成,线性反馈移位寄存器生成随机数,并与高电平、低电平按照预设比例组成压力输入,通过调节预设比例使压力输入的信号概率动态可调,为每条ALU组合逻辑链提供不同压力输入。Furthermore, the pressure generation module is composed of a linear feedback shift register, which generates a random number and combines it with a high level and a low level to form a pressure input in a preset ratio. By adjusting the preset ratio, the signal probability of the pressure input is dynamically adjustable, thereby providing different pressure inputs for each ALU combinational logic chain.

进一步的,采样计数模块包括:寄存器与计数器,在测试模式下,寄存器将ALU的输出作为时钟信号,通过计数器记录寄存器的输出翻转次数,作为环形振荡器的振荡频率信息;采样结束后,计数器清零并将ALU组合逻辑链的编号与计数值一起保存到存储器中。Furthermore, the sampling and counting module includes: a register and a counter. In the test mode, the register uses the output of the ALU as a clock signal, and records the number of output flips of the register through the counter as the oscillation frequency information of the ring oscillator; after the sampling is completed, the counter is cleared and the number of the ALU combinational logic chain and the count value are saved in the memory.

进一步的,状态控制机的控制周期包括N个子周期,对N条ALU组合逻辑链依次进行采样,得到计数值;每个子周期内,状态控制机控制ALU组合逻辑链依次执行压力模式与测试模式,并在测试模式下控制采样计数模块完成采样。Furthermore, the control cycle of the state control machine includes N sub-cycles, which sample N ALU combinational logic chains in sequence to obtain count values; in each sub-cycle, the state control machine controls the ALU combinational logic chain to execute the stress mode and the test mode in sequence, and controls the sampling counting module to complete the sampling in the test mode.

基于上述技术方案,本发明的有益效果在于:Based on the above technical solution, the beneficial effects of the present invention are:

本发明提供一种基于ALU的行为传感器,以ALU为主体搭建环形振荡器,能够更加准确的描述被测电路的行为,在不影响被测电路的功能的情况下,描述被测电路在制造工艺下的行为情况,为人工智能模型提供更加丰富、准确的行为数据,使人工智能模型能够更加准确的预测被测电路的老化情况;相比于现有行为传感器,本发明提供的基于ALU的行为传感器对SoC芯片侵入性更低,对SoC芯片的行为监测能力更强、准确度更高;并且,本发明提供的信息更多,有益于人工智能模型训练。The present invention provides an ALU-based behavior sensor, which uses the ALU as the main body to build a ring oscillator, and can more accurately describe the behavior of a circuit under test. Without affecting the function of the circuit under test, the behavior of the circuit under test under the manufacturing process is described, and more abundant and accurate behavior data is provided for an artificial intelligence model, so that the artificial intelligence model can more accurately predict the aging of the circuit under test. Compared with existing behavior sensors, the ALU-based behavior sensor provided by the present invention is less invasive to SoC chips, and has stronger behavior monitoring capabilities and higher accuracy for SoC chips. In addition, the present invention provides more information, which is beneficial to artificial intelligence model training.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明提供的基于ALU的行为传感器的结构示意图。FIG1 is a schematic diagram of the structure of an ALU-based behavior sensor provided by the present invention.

图2为本发明提供的行为传感器中ALU的结构示意图。FIG. 2 is a schematic diagram of the structure of the ALU in the behavior sensor provided by the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明的目的、技术方案与有益效果更加清楚明白,下面结合附图和实施例对本发明做进一步详细说明。In order to make the purpose, technical solution and beneficial effects of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments.

本实施例提供一种基于ALU的行为传感器,与被测电路同步制造于同一芯片上,通过模拟被测电路的老化过程来表征被测电路在其制造工艺下的偏差;所述行为传感器如图1所示,包括:压力产生模块、ALU组、状态控制机、采样计数模块与存储器;其中,所述ALU组为行为传感器的主体部分,包括:若干条ALU组合逻辑链,每条ALU组合逻辑链在压力模式下配置成为压力传感器、在测试模式下配置成为环形振荡器,用以模拟被测电路的行为状态;所述压力产生模块用以模拟产生动态的压力,为压力传感器提供压力输入,且每条ALU组合逻辑链的压力输入均不相同;所述采样计数模块用以对环形振荡器的振动频率信息进行采样,并储存在存储器中;所述状态控制机用于控制ALU组与采样计数模块。The present embodiment provides an ALU-based behavior sensor, which is manufactured synchronously with the circuit under test on the same chip, and characterizes the deviation of the circuit under test under its manufacturing process by simulating the aging process of the circuit under test; the behavior sensor is shown in FIG1, and includes: a pressure generation module, an ALU group, a state control machine, a sampling and counting module and a memory; wherein the ALU group is the main part of the behavior sensor, including: a plurality of ALU combination logic chains, each ALU combination logic chain is configured as a pressure sensor in a pressure mode and as a ring oscillator in a test mode, so as to simulate the behavior state of the circuit under test; the pressure generation module is used to simulate the generation of dynamic pressure, and provide pressure input for the pressure sensor, and the pressure input of each ALU combination logic chain is different; the sampling and counting module is used to sample the vibration frequency information of the ring oscillator and store it in the memory; the state control machine is used to control the ALU group and the sampling and counting module.

进一步的,所述ALU组包括:N条ALU组合逻辑链,N≥10;N条ALU组合逻辑链按顺序编号,每条ALU组合逻辑链如图2所示,包括:多路选择器(MUX)与ALU,所述ALU组合逻辑链具有压力模式与测试模式,多路选择器在模式切换信号(Test Enable)控制下选择ALU的输入,用以实现模式切换,模式切换信号由控制状态机产生;所述ALU具有两个输入端、一个输出端与一个控制端,在压力模式下,ALU配置为压力传感器,ALU的两个输入端通过多路选择器选择输入压力产生模块产生的压力输入(Stress Input),ALU的控制端由控制状态机随机赋予功能码,ALU完成运算后得到输出(ALU Output);在测试模式下,ALU配置为环形振荡器,ALU的控制端由控制状态机固定功能码,ALU的一个输入端通过多路选择器选择输入高电平输入(每一位均为高电平),ALU的另一个输入端通过多路选择器选择输入反馈输入,反馈输入的最后一位设置为输出(ALU Output)的最后一位的取反结果、其余位均为低电平,高电平输入与反馈输入由控制状态机提供。Further, the ALU group includes: N ALU combination logic chains, N ≥ 10; the N ALU combination logic chains are numbered in sequence, and each ALU combination logic chain is shown in FIG2, including: a multiplexer (MUX) and an ALU, the ALU combination logic chain has a stress mode and a test mode, the multiplexer selects the input of the ALU under the control of a mode switching signal (Test Enable) to achieve mode switching, and the mode switching signal is generated by a control state machine; the ALU has two input terminals, an output terminal and a control terminal, and in the stress mode, the ALU is configured as a pressure sensor, and the two input terminals of the ALU select the pressure input (Stress Input) generated by the input pressure generating module through the multiplexer, and the control terminal of the ALU is randomly assigned a function code by the control state machine, and the ALU obtains an output after completing the operation (ALU Output); In test mode, the ALU is configured as a ring oscillator, the control end of the ALU is fixed by the control state machine with a function code, one input end of the ALU selects a high-level input (each bit is high) through a multiplexer, and the other input end of the ALU selects a feedback input through a multiplexer. The last bit of the feedback input is set to the inverted result of the last bit of the output (ALU Output), and the remaining bits are low. The high-level input and feedback input are provided by the control state machine.

进一步的,所述压力产生模块为每条ALU组合逻辑链提供压力输入,且每条ALU组合逻辑链的压力输入均不相同;压力在老化过程中具体指的是信号概率(SP),也就是信号的占空比,所述压力生成模块由线性反馈移位寄存器(LFSR)构成,为了模拟处理器中ALU在实际运行过程中压力的变化情况,本实施例通过线性反馈移位寄存器(LFSR)生成随机数的方式产生压力输入,然而,生成的随机数在长期老化过程中信号概率(SP)近似于50%,为此,本实施例通过控制高电平(1)、低电平(0)与随机数的比例实现信号概率(SP)动态可调,从而实现为每条ALU组合逻辑链提供不同压力输入,保证数据丰富性;Furthermore, the pressure generation module provides pressure input for each ALU combinational logic chain, and the pressure input for each ALU combinational logic chain is different; the pressure in the aging process specifically refers to the signal probability (SP), that is, the duty cycle of the signal. The pressure generation module is composed of a linear feedback shift register (LFSR). In order to simulate the change of pressure of the ALU in the processor during actual operation, this embodiment generates pressure input by generating random numbers through the linear feedback shift register (LFSR). However, the signal probability (SP) of the generated random number is approximately 50% during the long-term aging process. Therefore, this embodiment realizes dynamic adjustment of the signal probability (SP) by controlling the ratio of the high level (1), the low level (0) and the random number, thereby providing different pressure inputs for each ALU combinational logic chain to ensure data richness;

本实施例中示例性的给出线性反馈移位寄存器(LFSR)产生压力输入的信号概率(SP),如表1所示,由表可见,通过控制高电平(1)、低电平(0)与随机数的比例,能够实现信号概率(SP)动态可调;并且,比例精度越高,相应产生的输入的信号概率(SP)调节精度越高。In this embodiment, a linear feedback shift register (LFSR) is exemplarily given to generate a signal probability (SP) of a pressure input, as shown in Table 1. It can be seen from the table that by controlling the ratio of a high level (1), a low level (0) and a random number, the signal probability (SP) can be dynamically adjusted; and the higher the ratio accuracy, the higher the adjustment accuracy of the corresponding input signal probability (SP) is.

表1Table 1

LFSR IDLFSR ID 时间比Time ratio SPSP 00 0:随机数=7:10: Random number = 7: 1 0.06250.0625 11 0:随机数=5:30: Random number = 5: 3 0.18750.1875 22 0:随机数=3:50: Random number = 3:5 0.31250.3125 33 0:随机数=1:70: random number = 1: 7 0.43750.4375 44 全为随机数All random numbers 0.50000.5000 55 1:随机数=1:71: Random number = 1:7 0.56250.5625 66 1:随机数=3:51: Random number = 3:5 0.68750.6875 77 1:随机数=5:31: Random number = 5:3 0.81250.8125 88 1:随机数=7:11: Random number = 7:1 0.93750.9375

进一步的,所述采样计数模块包括:寄存器与计数器,在测试模式下,寄存器将ALU的输出作为时钟信号,ALU的输出变化时,寄存器的输出翻转一次,通过计数器记录寄存器的输出翻转的次数,对ALU配置的环形振荡器的振荡频率信息完成采样,采样结束后,计数器清零并将ALU组合逻辑链的编号与计数值一起保存到存储器(DPRAM)中;采样开始与结束由状态控制机控制,计数器清零由状态控制机控制;Furthermore, the sampling and counting module includes: a register and a counter. In the test mode, the register uses the output of the ALU as a clock signal. When the output of the ALU changes, the output of the register flips once. The counter records the number of times the output of the register flips, and completes the sampling of the oscillation frequency information of the ring oscillator configured by the ALU. After the sampling is completed, the counter is cleared and the number of the ALU combination logic chain and the count value are saved in the memory (DPRAM); the start and end of the sampling are controlled by the state control machine, and the counter is cleared by the state control machine;

进一步的,所述状态控制机用于控制ALU组与采样计数模块,所述状态控制机的控制周期包括N个子周期,对N条ALU组合逻辑链依次进行采样,得到计数值;每个子周期内,状态控制机控制ALU组合逻辑链依次执行压力模式与测试模式,并在测试模式下控制采样计数模块完成采样;另外,对于每条ALU组合逻辑链,可以在初始状态下进行一次测试。Furthermore, the state control machine is used to control the ALU group and the sampling counting module. The control cycle of the state control machine includes N sub-cycles, and the N ALU combinational logic chains are sampled in sequence to obtain counting values. In each sub-cycle, the state control machine controls the ALU combinational logic chain to execute the stress mode and the test mode in sequence, and controls the sampling counting module to complete the sampling in the test mode. In addition, for each ALU combinational logic chain, a test can be performed once in the initial state.

在实际应用中,上述行为传感器用于监测SoC芯片的行为,在典型的应用场景中,被测SoC芯片的周围布置若干个所述行为传感器,同步制造于同一芯片上,可以最大程度的减少制造过程中的片内误差带来的传感器测量偏差;另外,被测SoC芯片还布置有温度传感器、电压传感器等,每个传感器的数据通过数据传输网络进行传输,通过接口发送到上位机进行处理。上位机中,根据行为传感器中存储的计数值能够计算得到每条ALU组合逻辑链中配置形成的环形振荡器的振荡频率,具体表示为:f=1/t,t=T/X,f为环形振荡器的振荡频率,t为环形振荡器的振荡周期,T为采样时长,X为计数器的计数值;进一步根据振荡频率能够计算得到每条ALU组合逻辑链的延迟值,具体表示为:tp = t/2,由于一个振荡周期需要ALU组合逻辑链发生一次翻转,故半个周期的时间即为组合逻辑链的延迟值。并且,根据行为传感器中存储的ALU组合逻辑链的编号能够先验得到对应的压力值(信号概率,SP),由此得到压力值与延迟值的对照关系。在此基础上,人工智能模型训练过程中,压力值与电压值、温度值共同作为模型的输入,延迟值作为模型的输出,形成训练样本,从而完成模型训练;根据训练完成的人工智能模型,将被测SoC芯片的温度、电压与压力的实时测量值输入模型,由模型输出被测SoC芯片的延迟预测值,通过延迟预测值估计出被测SoC芯片的的实时老化程度。In practical applications, the above-mentioned behavior sensor is used to monitor the behavior of the SoC chip. In a typical application scenario, a number of the above-mentioned behavior sensors are arranged around the SoC chip under test and manufactured synchronously on the same chip, which can minimize the sensor measurement deviation caused by the chip-to-chip error during the manufacturing process; in addition, the SoC chip under test is also arranged with a temperature sensor, a voltage sensor, etc., and the data of each sensor is transmitted through a data transmission network and sent to the host computer through an interface for processing. In the host computer, the oscillation frequency of the ring oscillator configured in each ALU combination logic chain can be calculated according to the count value stored in the behavior sensor, which is specifically expressed as: f=1/t, t=T/X, f is the oscillation frequency of the ring oscillator, t is the oscillation period of the ring oscillator, T is the sampling duration, and X is the count value of the counter; further, the delay value of each ALU combination logic chain can be calculated according to the oscillation frequency, which is specifically expressed as: tp = t/2. Since one oscillation cycle requires the ALU combination logic chain to flip once, the time of half a cycle is the delay value of the combination logic chain. Moreover, the corresponding pressure value (signal probability, SP) can be obtained a priori according to the number of the ALU combinational logic chain stored in the behavior sensor, thereby obtaining the comparison relationship between the pressure value and the delay value. On this basis, during the training of the artificial intelligence model, the pressure value, voltage value, and temperature value are used as the input of the model, and the delay value is used as the output of the model to form a training sample, thereby completing the model training; according to the trained artificial intelligence model, the real-time measurement values of the temperature, voltage, and pressure of the SoC chip under test are input into the model, and the model outputs the delay prediction value of the SoC chip under test, and the real-time aging degree of the SoC chip under test is estimated through the delay prediction value.

以上所述,仅为本发明的具体实施方式,本说明书中所公开的任一特征,除非特别叙述,均可被其他等效或具有类似目的的替代特征加以替换;所公开的所有特征、或所有方法或过程中的步骤,除了互相排斥的特征和/或步骤以外,均可以任何方式组合。The above description is only a specific implementation mode of the present invention. Any feature disclosed in this specification, unless otherwise stated, can be replaced by other alternative features that are equivalent or have similar purposes; all the disclosed features, or all the steps in the methods or processes, except for mutually exclusive features and/or steps, can be combined in any way.

Claims (3)

1.一种基于ALU的行为传感器,其特征在于,包括:压力产生模块、ALU组、状态控制机、采样计数模块与存储器;ALU组包括:若干条ALU组合逻辑链,每条ALU组合逻辑链在压力模式下配置成为压力传感器、在测试模式下配置成为环形振荡器,用以模拟被测电路的行为状态;压力产生模块为压力传感器提供压力输入,且每条ALU组合逻辑链的压力输入均不相同;采样计数模块对环形振荡器的振动频率信息进行采样,并储存在存储器中;状态控制机用于控制ALU组与采样计数模块;1. A behavior sensor based on ALU, characterized in that it includes: a pressure generating module, an ALU group, a state control machine, a sampling and counting module and a memory; the ALU group includes: a plurality of ALU combination logic chains, each of which is configured as a pressure sensor in a pressure mode and as a ring oscillator in a test mode, so as to simulate the behavior state of a circuit under test; the pressure generating module provides a pressure input for the pressure sensor, and the pressure input of each ALU combination logic chain is different; the sampling and counting module samples the vibration frequency information of the ring oscillator and stores it in the memory; the state control machine is used to control the ALU group and the sampling and counting module; ALU组包括:N条ALU组合逻辑链,N≥10;N条ALU组合逻辑链按顺序编号,每条ALU组合逻辑链包括:多路选择器与ALU,ALU组合逻辑链在模式切换信号控制下切换压力模式与测试模式,模式切换信号由控制状态机产生;The ALU group includes: N ALU combination logic chains, N≥10; the N ALU combination logic chains are numbered in sequence, each ALU combination logic chain includes: a multiplexer and an ALU, the ALU combination logic chain switches between a stress mode and a test mode under the control of a mode switching signal, and the mode switching signal is generated by a control state machine; 在压力模式下,ALU的两个输入端通过多路选择器选择输入压力产生模块产生的压力输入,ALU的控制端由控制状态机随机赋予功能码,ALU的输出端输出至采样计数模块;In the pressure mode, the two input ends of the ALU select the pressure input generated by the input pressure generation module through the multiplexer, the control end of the ALU is randomly assigned a function code by the control state machine, and the output end of the ALU is output to the sampling counting module; 在测试模式下,ALU的控制端由控制状态机固定功能码,ALU的一个输入端通过多路选择器选择输入高电平输入,ALU的另一个输入端通过多路选择器选择输入反馈输入,反馈输入的最后一位设置为输出的最后一位的取反结果、其余位均为低电平, ALU的输出端输出至采样计数模块,高电平输入与反馈输入由控制状态机提供;In the test mode, the control end of the ALU is fixed with a function code by the control state machine, one input end of the ALU is selected to input a high-level input through a multiplexer, and the other input end of the ALU is selected to input a feedback input through a multiplexer, the last bit of the feedback input is set to the inverted result of the last bit of the output, and the remaining bits are all low levels, and the output end of the ALU is output to the sampling counting module, and the high-level input and feedback input are provided by the control state machine; 压力生成模块由线性反馈移位寄存器构成,线性反馈移位寄存器生成随机数,并与高电平、低电平按照预设比例组成压力输入,通过调节预设比例使压力输入的信号概率动态可调,为每条ALU组合逻辑链提供不同压力输入。The pressure generation module is composed of a linear feedback shift register. The linear feedback shift register generates a random number and combines it with the high level and the low level to form a pressure input in a preset ratio. By adjusting the preset ratio, the signal probability of the pressure input can be dynamically adjusted to provide different pressure inputs for each ALU combinational logic chain. 2.根据权利要求1所述基于ALU的行为传感器,其特征在于,采样计数模块包括:寄存器与计数器,在测试模式下,寄存器将ALU的输出作为时钟信号,通过计数器记录寄存器的输出翻转次数,作为环形振荡器的振荡频率信息;采样结束后,计数器清零并将ALU组合逻辑链的编号与计数值一起保存到存储器中。2. According to claim 1, the ALU-based behavior sensor is characterized in that the sampling and counting module includes: a register and a counter. In the test mode, the register uses the output of the ALU as a clock signal, and records the number of output flips of the register through the counter as the oscillation frequency information of the ring oscillator; after the sampling is completed, the counter is cleared and the number of the ALU combinational logic chain and the count value are saved in the memory. 3.根据权利要求1所述基于ALU的行为传感器,其特征在于,状态控制机的控制周期包括N个子周期,对N条ALU组合逻辑链依次进行采样,得到计数值;每个子周期内,状态控制机控制ALU组合逻辑链依次执行压力模式与测试模式,并在测试模式下控制采样计数模块完成采样。3. According to claim 1, the ALU-based behavioral sensor is characterized in that the control cycle of the state controller includes N sub-cycles, and N ALU combinational logic chains are sampled in sequence to obtain count values; in each sub-cycle, the state controller controls the ALU combinational logic chain to execute the pressure mode and the test mode in sequence, and controls the sampling counting module to complete the sampling in the test mode.
CN202411080087.8A 2024-08-07 2024-08-07 A behavioral sensor based on ALU Active CN118604585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411080087.8A CN118604585B (en) 2024-08-07 2024-08-07 A behavioral sensor based on ALU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411080087.8A CN118604585B (en) 2024-08-07 2024-08-07 A behavioral sensor based on ALU

Publications (2)

Publication Number Publication Date
CN118604585A CN118604585A (en) 2024-09-06
CN118604585B true CN118604585B (en) 2024-10-25

Family

ID=92561569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411080087.8A Active CN118604585B (en) 2024-08-07 2024-08-07 A behavioral sensor based on ALU

Country Status (1)

Country Link
CN (1) CN118604585B (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236113B (en) * 2007-02-01 2011-03-16 上海飞恩微电子有限公司 All-bridge type piezoresistance type pressure sensor digital type signal conditioning chip
EP2491654A1 (en) * 2009-10-21 2012-08-29 STMicroelectronics S.r.l. Ring oscillator, time-digital converter circuit and relating method of time-digital measure
CN103650345A (en) * 2011-07-22 2014-03-19 辉达公司 Component analysis systems and methods
TWI533615B (en) * 2014-06-13 2016-05-11 瑞昱半導體股份有限公司 Pll status detection circuit and method thereof
CN106709187B (en) * 2016-12-27 2020-06-05 北京航空航天大学 Method and device for building CPU based on model
CN107784969B (en) * 2017-11-15 2021-06-11 武汉天马微电子有限公司 Display panel, display device and pressure sensor detection method
KR20190107368A (en) * 2018-03-12 2019-09-20 삼성전자주식회사 Semiconductor die for determining load of through silicon via and semiconductor device including the same
CN108880509A (en) * 2018-05-02 2018-11-23 东南大学 A kind of the extremely low power dissipation timing circuit and clocking method of anti-flow-route and temperature fluctuation
US11531385B2 (en) * 2018-09-17 2022-12-20 Samsung Electronics Co., Ltd. Voltage droop monitoring circuits, system-on chips and methods of operating the system-on chips
CN112765923B (en) * 2021-01-28 2022-05-20 电子科技大学 Logic circuit aging prediction method based on deep neural network
US11573921B1 (en) * 2021-08-02 2023-02-07 Nvidia Corporation Built-in self-test for a programmable vision accelerator of a system on a chip
US11868109B2 (en) * 2021-09-03 2024-01-09 Apple Inc. Sensor interface circuit controller for multiple sensor types in an integrated circuit device
CN115145139B (en) * 2022-07-13 2023-07-18 合肥工业大学 High-precision time-digital converter and conversion method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Research on Aging State Prediction Method of Computing Chip System;Weikun Xie et;International Conference on Electronics Technology;20230815;第1022-1026页 *

Also Published As

Publication number Publication date
CN118604585A (en) 2024-09-06

Similar Documents

Publication Publication Date Title
JP3920640B2 (en) Test pattern compression method for integrated circuit test environment
CN100395557C (en) Self-test method of scan-based self-test structure using weighted scan strobe
US8779787B2 (en) Apparatus and method for determining variation in a predetermined physical property of a circuit
TW201541103A (en) Aging detection circuit and method thereof
CN105372577B (en) On-chip variation detection method and integrated circuit
Govindaraj et al. Minimum power test pattern generator for testing VLSI circuits
CN101581762B (en) Delay fault testing method and system oriented to the application of FPGA
CN118604585B (en) A behavioral sensor based on ALU
KR20240012406A (en) Testable time-to-digital converter
CN109739715A (en) A fault detection method and device
JPWO2007037017A1 (en) Power consumption analysis method and power consumption analysis apparatus
CN118489067A (en) Path limit monitor integrated with integrated circuit
WO2023151132A1 (en) Simulation method and apparatus for circuit model, computer device and storage medium
CN105067994B (en) System sequence logic error, error rate calculating and its application process on locating plate
Yi et al. A failure prediction strategy for transistor aging
CN110807244B (en) A method and device for electromagnetic transient simulation of power electronic switch
US20150145580A1 (en) Apparatus for controlling semiconductor chip characteristics
Taher et al. A machine learning based hard fault recuperation model for approximate hardware accelerators
US9882564B1 (en) In line critical path delay measurement for accurate timing indication for a first fail mechanism
CN113452381B (en) CRC Implementation System Based on FPGA
CN223078634U (en) A control circuit and a chip testing circuit
JPH07306883A (en) Pattern evaluation support device
US20250272126A1 (en) Logic Level Metric Count Extraction from Emulation Hardware
CN202339397U (en) Process flow optimized testing platform of analog-to-digital hybrid integrated circuit
Wang et al. Compression-Aware ATPG

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant