CN112104343B - A current type level transition monitoring unit - Google Patents
A current type level transition monitoring unit Download PDFInfo
- Publication number
- CN112104343B CN112104343B CN202010982845.0A CN202010982845A CN112104343B CN 112104343 B CN112104343 B CN 112104343B CN 202010982845 A CN202010982845 A CN 202010982845A CN 112104343 B CN112104343 B CN 112104343B
- Authority
- CN
- China
- Prior art keywords
- charging path
- path unit
- monitoring unit
- transistors
- data signal
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 57
- 230000007704 transition Effects 0.000 title claims abstract description 18
- 230000004044 response Effects 0.000 claims abstract description 9
- 230000003044 adaptive effect Effects 0.000 abstract description 15
- 238000005516 engineering process Methods 0.000 abstract description 12
- 230000008901 benefit Effects 0.000 abstract description 5
- 238000013461 design Methods 0.000 description 16
- 238000000034 method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000005265 energy consumption Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 238000000342 Monte Carlo simulation Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000012938 design process Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011065 in-situ storage Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 235000012431 wafers Nutrition 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/125—Discriminating pulses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Logic Circuits (AREA)
Abstract
本发明公开了一种电流型电平跳变监测单元,用于自适应电压频率调节调整技术中监测晚到的数据跳变,其特征在于包括:充电路径单元1、充电路径单元2、可控开关M9、反相器U1和高阈值缓冲器U2。本发明跳变监测单元在响应时间和最低工作电压两方面有明显的优势,能在低至近阈值区稳定工作,从而使电压调节的范围扩大至近阈值区,整体功耗收益较大;此外,它的响应时间很短,能在极短时间监测到时钟高电平期间的数据跳变情况。
The invention discloses a current-type level jump monitoring unit, which is used for monitoring late-arriving data jump in an adaptive voltage and frequency adjustment technology, and is characterized by comprising: a charging path unit 1, a charging path unit 2, a controllable Switch M9, inverter U1 and high threshold buffer U2. The jump monitoring unit of the present invention has obvious advantages in response time and minimum operating voltage, and can work stably in the region as low as the near-threshold value, thereby expanding the range of voltage regulation to the near-threshold region, and the overall power consumption benefit is relatively large; The response time of the clock is very short, and the data transition during the high level of the clock can be monitored in a very short time.
Description
技术领域technical field
本发明涉及一种应用于自适应电压技术中的基于电流型电平跳变监测单元,该电路可以用于自适应电压调整技术,用于对电路时序错误的监测,从而对时序违反发出预警,并避免时序错误的产生。整个电路用纯数字逻辑实现,属于集成电路设计领域。The invention relates to a current-type level jump monitoring unit applied in the adaptive voltage technology. The circuit can be used in the adaptive voltage adjustment technology to monitor circuit timing errors, so as to issue early warnings for timing violations. and avoid timing errors. The whole circuit is realized by pure digital logic, which belongs to the field of integrated circuit design.
背景技术Background technique
随着集成电路的规模与计算能力的不断增长,以及物联网、嵌入式设备、移动终端、超级计算机与数据中心等应用场景对器件的能耗提出的越来越高的要求。在物联网应用中,终端设备往往需要较长的续航时间,因此,能耗对于物联网设备的生存能力与功能完整性起着至关重要的作用。对于移动终端来说,对于其待机时间提出了较高的要求,但由于近年电池技术发展缓慢,所以器件功耗成为影响移动互联时代用户体验的重要因素。对于超级计算机和数据中心,计算机性能的向上扩展也受到能耗的严重制约。With the continuous growth of the scale and computing power of integrated circuits, and application scenarios such as the Internet of Things, embedded devices, mobile terminals, supercomputers and data centers, the energy consumption of devices is increasingly demanding. In IoT applications, terminal devices often require a long battery life. Therefore, energy consumption plays a vital role in the survivability and functional integrity of IoT devices. For mobile terminals, higher requirements are put forward for their standby time. However, due to the slow development of battery technology in recent years, device power consumption has become an important factor affecting user experience in the mobile Internet era. For supercomputers and data centers, scaling up computer performance is also severely constrained by energy consumption.
发展高能效集成电路,是解决计算系统能耗问题的一个重要手段,而降低芯片的工作电压能极大地降低芯片的功耗,因此,如何进一步降低芯片工作电压从而实现能效跨越式提升成为亟需解决的问题之一。The development of high-energy-efficiency integrated circuits is an important means to solve the problem of energy consumption in computing systems, and reducing the operating voltage of chips can greatly reduce the power consumption of chips. One of the problems solved.
近阈值集成电路设计通过将芯片或电路的供电电压降低到接近晶体管阈值电压水平,能取得大幅度的效能提升,被认为是未来提升计算效能最有前景的技术之一。Near-threshold integrated circuit design can achieve substantial performance improvement by reducing the power supply voltage of a chip or circuit to a level close to the threshold voltage of a transistor. It is considered to be one of the most promising technologies for improving computing performance in the future.
近阈值技术在带来大幅芯片能效提升的同时,同样对设计者提出了挑战。近阈值技术的应用中,集成电路的性能受工艺(Process)、电压(Voltage)、温度(Temperature)偏差,即PVT偏差的影响。使得电路的延时分布较大,进而导致路径延时的偏差成倍增加。为了保证芯片在各个条件下都能稳定地工作,传统设计者通常需要预留大量的时序余量以满足最坏情况下的时序约束。同时,为了防止电路老化、随机噪声、1/f噪声等因素的影响,设计者也需要在设计过程中留下一些余量。这就造成了性能和功耗的极大浪费,大大削弱了近阈值设计所带来的能效提升。While near-threshold technology brings about a substantial improvement in chip energy efficiency, it also poses challenges to designers. In the application of near-threshold technology, the performance of integrated circuits is affected by process (Process), voltage (Voltage), temperature (Temperature) deviations, that is, PVT deviations. This makes the delay distribution of the circuit larger, which in turn causes the deviation of the path delay to increase exponentially. In order to ensure that the chip can work stably under various conditions, traditional designers usually need to reserve a large amount of timing margin to meet the worst-case timing constraints. At the same time, in order to prevent the influence of circuit aging, random noise, 1/f noise and other factors, designers also need to leave some margin in the design process. This results in a great waste of performance and power consumption, which greatly weakens the energy efficiency improvement brought by the near-threshold design.
为降低电路这种过多的设计余量,更好的释放宽电压设计的潜能,克服低电压下的PVT偏差剧烈的问题,自适应电压频率调节(Adaptive Voltage Frequency Scaling,AVFS)技术应运而生。在芯片实际运行的情况中,出现极端环境的概率极低,而自适应电压设计方案根据工作环境的不同可以自适应地调节芯片的工作电压和频率,既可以保证芯片功能的正确性,也可以尽可能地减少芯片预留的设计余量,从而达到节省功耗的目的。In order to reduce the excessive design margin of the circuit, better release the potential of wide voltage design, and overcome the problem of severe PVT deviation under low voltage, Adaptive Voltage Frequency Scaling (AVFS) technology came into being . In the actual operation of the chip, the probability of extreme environments is extremely low, and the adaptive voltage design scheme can adaptively adjust the working voltage and frequency of the chip according to the different working environments, which can not only ensure the correctness of the chip function, but also Reduce the design margin reserved by the chip as much as possible, so as to achieve the purpose of saving power consumption.
自适应电压频率调节技术的核心是通过在线监测电路的时序情况,并根据时序松紧情况实时调节控制芯片工作电压/频率,当前自适应电压设计的研究,尤其宽电压下的自适应电压技术以直接监测法为主。直接监测最典型的代表是密歇根大学研究的Razor系列,然而该方法通常将关键路径末端触发器替换为时序监测单元和锁存器。The core of the adaptive voltage frequency adjustment technology is to monitor the timing of the circuit on-line, and adjust the operating voltage/frequency of the control chip in real time according to the tightness of the timing. The current research on adaptive voltage design, especially the adaptive voltage technology under wide voltage. Surveillance is the main method. The most typical representative of direct monitoring is the Razor series researched by the University of Michigan. However, this method usually replaces the flip-flop at the end of the critical path with a timing monitoring unit and a latch.
时序监测可通过跳变监测器实现,它可以监测是否存在晚到的数据跳变。一个合格的跳变单元应具有如下几个特点:一是,有效监测电路时序,因为监测单元模块最核心的功能就是监测电路时序;二是,对于原设计时序影响尽可能小,因为基于错误预测的原地监测方法需要插入监测单元模块到原设计中,需要对原设计进行修改,会影响被插入路径的时序;三是,面积开销尽可能的小。而本发明完全符合这三点的要求。Timing monitoring can be achieved with a transition monitor, which monitors for late arriving data transitions. A qualified jump unit should have the following characteristics: First, it can effectively monitor the timing of the circuit, because the core function of the monitoring unit module is to monitor the timing of the circuit; The in-situ monitoring method needs to insert the monitoring unit module into the original design, and the original design needs to be modified, which will affect the timing of the inserted path; third, the area overhead should be as small as possible. And the present invention fully meets the requirements of these three points.
发明内容Contents of the invention
发明目的:Purpose of the invention:
本发明的发明目的是提供一种稳定、快速、面积代价小的时序监测单元,来监测晚到的数据跳变情况,为自适应电压频率调节提供时序是否违规的信息。The object of the present invention is to provide a stable, fast, and small area cost timing monitoring unit to monitor late data transitions and provide information on timing violations for adaptive voltage and frequency adjustment.
技术方案:Technical solutions:
为实现上述发明目的,本发明的技术方案为一款适合在宽电压下稳定工作、面积代价小和响应速度快的跳变监测单元,用来监测数字集成电路的时序是否违规,即,是否出现晚到的数据跳变,若有,则产生一个脉冲信号。In order to achieve the purpose of the above invention, the technical solution of the present invention is a jump monitoring unit suitable for stable operation under wide voltage, small area cost and fast response speed, which is used to monitor whether the timing of the digital integrated circuit is violated, that is, whether there is a Late data jumps, if any, generate a pulse signal.
一种电流型电平跳变监测单元,其特征在于包括:充电路径单元1、充电路径单元2、可控开关M9、反相器U1和缓冲器U2;所述反相器U1的输入端连接输入数据信号D,所述缓冲器U2的输入端连接反相器U1的输出端,缓冲器U2的输出端输出反相输入数据信号DN;所述充电路径单元1包括三个控制输入端,分别连接反相时钟信号输入数据信号D、反相输入数据信号DN;所述充电路径单元2包括三个控制输入端,分别连接时钟信号Pck、输入数据信号D、反相输入数据信号DN;所述充电路径单元1、充电路径单元2的输出端均连接至可控开关M9的一端形成节点Error,可控开关M9的另一端接地,其控制端连接反相时钟信号当时钟信号Pck为有效电平时,使能跳变监测单元,可控开关M9断开,充电路径单元1或充电路径单元2响应输入数据信号D的电平跳变对节点Error进行充电,节点Error输出时序预警信号。A current-type level jump monitoring unit is characterized in that it includes: a
本发明中的跳变监测单元,在时钟信号处于有效电平(本发明具体实施例中设计为高电平)时,监测数据信号是否发生跳变,并产生时序预警信号,而在时钟信号处于无效电平时(本发明具体实施例中设计为低电平)对数据发生的跳变不予响应。本发明将数据信号的跳变分为两种情况,分别为:1)数据信号由低到高的跳变;2)数据信号由高到低的跳变。采用两条充电路径分别响应这两种形式的跳变,并完成对输出节点Error的充电。The jump monitoring unit in the present invention monitors whether the data signal jumps when the clock signal is at an effective level (designed as a high level in the specific embodiment of the invention), and generates a timing warning signal, and when the clock signal is at When the level is inactive (designed as a low level in the specific embodiment of the present invention), it does not respond to the transition of data. The present invention divides the transition of the data signal into two cases, respectively: 1) transition of the data signal from low to high; 2) transition of the data signal from high to low. Two charging paths are used to respond to these two forms of jumps respectively, and to complete the charging of the output node Error.
本发明具体实施例中,缓冲器采用高阈值晶体管实现,使其具有较大延时,保证了两种情况下上述充电路径具有足够的时间将节点Error充电至与VDD相同的电位,从而保证了该跳变监测单元能在低至近阈值区稳定工作。In the specific embodiment of the present invention, the buffer is implemented by a high-threshold transistor, so that it has a relatively large delay, which ensures that the above-mentioned charging path has enough time to charge the node Error to the same potential as VDD in the two cases, thereby ensuring The jump monitoring unit can work stably in the low to near-threshold area.
本发明的跳变监测单元在用到被检测的主电路中进行时序监测时,通常放置一组跳变监测单元到主电路的若干关键路径中,所有输出的Error信号可被动态或门收集产生总预警信号,再结合下游控制逻辑进行电压和频率的自适应调节,可以有效避免可能发生的时序错误。本发明的跳变监测单元能在极短时间监测到时钟高电平期间的数据跳变情况,从而给整个系统赢得更多的电压频率调节时间。When the jump monitoring unit of the present invention is used for timing monitoring in the detected main circuit, a group of jump monitoring units are usually placed in several critical paths of the main circuit, and all output Error signals can be collected and generated by dynamic OR gates The total early warning signal, combined with the downstream control logic for adaptive adjustment of voltage and frequency, can effectively avoid possible timing errors. The jump monitoring unit of the present invention can monitor the data jump during the high level of the clock in a very short time, thereby gaining more time for voltage frequency adjustment for the whole system.
有益效果:Beneficial effect:
本发明提供的跳变监测单元,能对数字集成电路路径中的时序错误进行监测,在自适应电压频率调节(AVS)技术应用中,能有效减少设计过程中为避免PVT偏差等因素的影响而预留的余量,从而极大程度地激发集成电路的潜能,提高能效。与国际上同类时序监测单元相比,本发明中所述的跳变监测单元在响应时间和最低工作电压两方面有明显的优势,能在低至近阈值区稳定工作,从而使电压调节的范围扩大至近阈值区,整体功耗收益更大;此外,它的响应时间很短,能在极短时间监测到时钟高电平期间的数据跳变情况。The jump monitoring unit provided by the present invention can monitor timing errors in the digital integrated circuit path, and in the application of adaptive voltage frequency adjustment (AVS) technology, can effectively reduce the influence of PVT deviation and other factors in the design process. The reserved margin can greatly stimulate the potential of integrated circuits and improve energy efficiency. Compared with similar timing monitoring units in the world, the jump monitoring unit described in the present invention has obvious advantages in response time and minimum operating voltage, and can work stably in the low to near-threshold region, thereby expanding the range of voltage regulation In the near-threshold area, the overall power consumption gain is greater; in addition, its response time is very short, and the data transition during the high level of the clock can be monitored in a very short time.
附图说明Description of drawings
图1为跳变监测单元的应用示意图;Figure 1 is a schematic diagram of the application of the jump monitoring unit;
图2为跳变监测单元晶体管结构图;Fig. 2 is a transistor structure diagram of the jump monitoring unit;
图3为跳变监测单元的工作原理时序图;Fig. 3 is the timing diagram of the working principle of the jump monitoring unit;
图4为跳变监测单元HSPICE仿真图;Figure 4 is a HSPICE simulation diagram of the jump monitoring unit;
图5为应用跳变监测单元的自适应电压频率调节的频率收益。Figure 5 shows the frequency gain of the adaptive voltage frequency regulation using the jump monitoring unit.
具体实施方式Detailed ways
本发明的监测电路在主电路中的应用方式见图1所示,属于直接监测法,将关键路径末端触发器替换为时序监测单元和锁存器。时序监测单元由本发明的跳变监测单元实现。The application mode of the monitoring circuit of the present invention in the main circuit is shown in FIG. 1 , which belongs to the direct monitoring method, and the trigger at the end of the critical path is replaced by a timing monitoring unit and a latch. The timing monitoring unit is realized by the jump monitoring unit of the present invention.
下面结合附图和具体实施例进一步阐述本发明内容。The content of the present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.
本实施例的主要结构如图2所示。本发明中所述的跳变监测单元由3个NMOS晶体管M5、M6、M9,6个PMOS晶体管M1、M2、M3、M4、M7、M8,1个反相器U1和1个缓冲器U2组成,总共15个晶体管组成。其中晶体管M1、M2、M3组成充电路径单元1,晶体管M4、M5、M6、M7、M8组成充电路径单元2,分别完成对节点Error的充电。跳变监测单元的错误预警信号Error输出直接与动态或门的NMOS管的栅极输入相连。缓冲器U2的输入与反相器U1的输出相连,用以产生输入数据信号D的反相信号DN。需要注意的是,在不同的PVT条件下,D和DN的延时必须保持足够大以保证正常的时序预警功能,因此,本发明缓冲单元U2采用高阈值(HVT)晶体管来增加D和DN的延时,其它单元采用低阈值(LVT)晶体管。The main structure of this embodiment is shown in FIG. 2 . The jump monitoring unit described in the present invention is composed of 3 NMOS transistors M5, M6, M9, 6 PMOS transistors M1, M2, M3, M4, M7, M8, 1 inverter U1 and 1 buffer U2 , consisting of a total of 15 transistors. The transistors M1, M2, and M3 form a
NMOS晶体管M9的源级接地,漏极为虚拟地节点Error,栅极接时钟的反信号。M9起到开关的作用,在时钟信号Pck为低电平时始终导通,将节点Error放电至低电平,此时整个跳变监测电路不工作,其输出始终为零;而当时钟信号为高电平时,M9关闭,这时跳变监测单元行使其功能,通过节点Error产生高电平脉冲,表示监测到了时序违规。The source of the NMOS transistor M9 is grounded, the drain is the virtual ground node Error, and the gate is connected to the inverse signal of the clock. M9 plays the role of a switch, it is always on when the clock signal Pck is low level, and discharges the node Error to low level, at this time the whole transition monitoring circuit does not work, and its output is always zero; and when the clock signal is high When the level is high, M9 is closed, and the jump monitoring unit performs its function at this time, and generates a high-level pulse through the node Error, indicating that a timing violation has been detected.
PMOS管M1的源极与电源VDD相连,漏极与PMOS管M2的源极相连,栅极输入为反相的时钟信号PMOS管M2的源极与PMOS管M1的漏极相连,而PMOS管M2的漏极,则是与PMOS管M3的源极相连,PMOS管M2的栅极输入为反相输入数据信号DN。PMOS管M3的源极与PMOS管M2的漏极相连,PMOS管M3的漏极与节点Error相连,PMOS管M3的栅极与输入数据信号D相连。上述3个晶体管M1、M2、M3组成充电路径单元1,监测时钟高电平期间数据D是否发生了从高到低的跳变。The source of the PMOS transistor M1 is connected to the power supply VDD, the drain is connected to the source of the PMOS transistor M2, and the gate input is an inverted clock signal The source of the PMOS transistor M2 is connected to the drain of the PMOS transistor M1, and the drain of the PMOS transistor M2 is connected to the source of the PMOS transistor M3, and the gate input of the PMOS transistor M2 is an inverted input data signal DN. The source of the PMOS transistor M3 is connected to the drain of the PMOS transistor M2, the drain of the PMOS transistor M3 is connected to the node Error, and the gate of the PMOS transistor M3 is connected to the input data signal D. The above three transistors M1, M2 and M3 form a charging
PMOS管M4的源极与电源VDD相连,漏极与节点m相连,栅极接入时钟信号。NMOS管M5的漏极与节点m相连,源极与NMOS管M6的漏极相连,栅极输入为反相数据信号DN。NMOS管M6的漏极与NMOS管M5的漏极相连,源极接地,数据信号D则是作为其栅极输入。节点m作为PMOS晶体管M7、M8的输入,M7和M8串行相接。PMOS管M8的漏极与节点Error连接。上述5个晶体管M7、M8与M4、M5、M6共同组成充电路径单元2,监测时钟高电平期间数据D是否发生了从低到高的跳变。其中,晶体管M7、M8构成了充电路径,晶体管M4、M5、M6构成了控制单元,为充电路径M7、M8提供充电控制信号。节点Error则是作为电路时序错误预警信号的输出端,与下游的动态或门相连。The source of the PMOS transistor M4 is connected to the power supply VDD, the drain is connected to the node m, and the gate is connected to a clock signal. The drain of the NMOS transistor M5 is connected to the node m, the source is connected to the drain of the NMOS transistor M6, and the gate input is the inverted data signal DN. The drain of the NMOS transistor M6 is connected to the drain of the NMOS transistor M5, the source is grounded, and the data signal D is used as its gate input. Node m serves as the input of PMOS transistors M7 and M8, and M7 and M8 are connected in series. The drain of the PMOS transistor M8 is connected to the node Error. The above five transistors M7, M8, M4, M5, M6 together form a charging
跳变监测单元工作原理如下:The working principle of the jump monitoring unit is as follows:
当数据D由低到高变化时,数据DN从高到低变化,但是由于高阈值的缓冲器U2存在较大延时,数据DN相对于数据D的变化也有一定的延时,在这段时间内数据D和DN都保持高电平。晶体管M5和M6保持导通,此时,节点m的电荷通过晶体管M5和M6进行放电,节点m的电平被放电到低电平。而节点m作为PMOS晶体管M7和M8的输入,使得M7和M8导通,从而对节点Error充电,产生高电平预警信号。When the data D changes from low to high, the data DN changes from high to low, but because there is a large delay in the high-threshold buffer U2, there is also a certain delay in the change of the data DN relative to the data D. During this time The internal data D and DN are kept high. The transistors M5 and M6 are kept turned on. At this time, the charges at the node m are discharged through the transistors M5 and M6, and the level of the node m is discharged to a low level. The node m is used as the input of the PMOS transistors M7 and M8, so that M7 and M8 are turned on, thereby charging the node Error and generating a high-level warning signal.
当数据D由高到低变化,数据DN从低到高变化,但同样是是由于反相器U1和缓冲器U2的延时,数据DN相对于数据D的变化有一定的延后。这段时间里数据D与DN都保持低电平,晶体管M2与M3保持导通,节点Error将被充电至与VDD相同的电位,发出预警信号。When the data D changes from high to low, the data DN changes from low to high, but also due to the delay of the inverter U1 and the buffer U2, the change of the data DN relative to the data D has a certain delay. During this period of time, the data D and DN are kept at low level, the transistors M2 and M3 are kept on, the node Error will be charged to the same potential as VDD, and an early warning signal is issued.
跳变监测单元的时序图如图3所示,主要分为以下4种情况:The timing diagram of the jump monitoring unit is shown in Figure 3, which is mainly divided into the following four situations:
·Case1,Case2:当时钟信号为低电平时,无论数据D从低到高变化或者从高到低变化,由于此时晶体管M9保持导通,节点Error保持为“0”,此时预警信号始终保持为低电平。Case1, Case2: When the clock signal is at low level, regardless of the change of data D from low to high or from high to low, since the transistor M9 remains on at this time, the node Error remains "0", and the warning signal is always remains low.
·Case3:时钟信号为高电平期间,数据D发生从低到高变化时,此时发出预警信号。当时钟为高电平时,晶体管M9关闭,晶体管M4关闭,当数据D由低到高变化时,数据DN从高到低变化,但是由于单元U1和U2的延时,数据DN相对于数据D的变化有一定的延时,这段时间数据D和DN都保持高电平,晶体管M5和M6保持导通,此时,节点m的电荷通过晶体管M5和M6进行放电,节点m的电平被放电到低电平,此时晶体管M7和M8保持导通。节点Error在数据D和DN都保持高电平时间内将被充电至与VDD相同的电位,即预警信号Error变为高电平。在不同的PVT条件下,D和DN的延时必须保持足够大以保证正常的时序预警功能,因此,在本发明中,单元U2采用高阈值(HVT)单元来增加D和DN的延时,其它单元采用低阈值(LVT)。·Case3: When the clock signal is at a high level, when the data D changes from low to high, an early warning signal is issued at this time. When the clock is at a high level, the transistor M9 is turned off, and the transistor M4 is turned off. When the data D changes from low to high, the data DN changes from high to low, but due to the delay of the units U1 and U2, the data DN relative to the data D There is a certain delay in the change. During this period, the data D and DN are kept at high level, and the transistors M5 and M6 are kept on. At this time, the charge of node m is discharged through transistors M5 and M6, and the level of node m is discharged. to a low level, at this time transistors M7 and M8 remain turned on. The node Error will be charged to the same potential as VDD while the data D and DN are both at a high level, that is, the warning signal Error becomes a high level. Under different PVT conditions, the time delay of D and DN must be kept large enough to guarantee the normal sequence early warning function. Therefore, in the present invention, unit U2 adopts a high threshold value (HVT) unit to increase the time delay of D and DN, Other cells use low threshold (LVT).
·Case4:时钟信号为高电平期间,当数据D发生从高到低变化,此时发出预警信号。当时钟为高电平时,晶体管M9关闭,MOS管M1导通,当数据D由高到低变化,数据DN从低到高变化,但是由于单元U1和U2的延时,数据DN相对于数据D的变化有一定的延后,这段时间数据D和DN都保持低电平,此时,晶体管M2和M3保持导通,节点Error将被充电至与VDD相同的电位,即预警信号Error变为高电平。·Case4: When the clock signal is at a high level, when the data D changes from high to low, an early warning signal is issued at this time. When the clock is at a high level, the transistor M9 is turned off, and the MOS transistor M1 is turned on. When the data D changes from high to low, the data DN changes from low to high, but due to the delay of the units U1 and U2, the data DN is relative to the data D There is a certain delay in the change of the data D and DN during this period. At this time, the transistors M2 and M3 are kept on, and the node Error will be charged to the same potential as VDD, that is, the warning signal Error becomes high level.
·其他情况:在时钟高电平或者低电平期间,数据D不发生翻转,此时无时序预警。当数据D不发生翻转时,没有对节点Error的充电通路,节点Error保持为低电平。·Other situations: During the high or low level period of the clock, the data D does not flip, and there is no timing warning at this time. When the data D does not flip, there is no charging path to the node Error, and the node Error remains at a low level.
在正常操作下,当没有错误发生时,数据在时钟的上升沿之前到达,此时错误预警信号保持低电平。当由于信号的延迟到达而产生时序错误时,产生正脉冲作为错误预警信号。为了减少错误预警信号的传播延迟,使用动态或门来聚集来自不同路径的所有预警信号。一个动态或门可以收集来自至多10个跳变监测单元的错误预警信号。动态或门的输出信号则是由传统的或门进行或运算,产生全局错误预警信号,用于控制时钟门控电路,并通过复位信号复位为0。Under normal operation, when no errors occur, data arrives before the rising edge of the clock, and the error pre-alarm signal remains low at this time. When a timing error occurs due to delayed arrival of a signal, a positive pulse is generated as an error warning signal. To reduce the propagation delay of false early warning signals, a dynamic OR gate is used to aggregate all early warning signals from different paths. A dynamic OR gate can collect error warning signals from up to 10 transition detection units. The output signal of the dynamic OR gate is ORed by the traditional OR gate to generate a global error warning signal, which is used to control the clock gating circuit and reset to 0 by the reset signal.
当检测到有时序错误信号产生时,通过锁存器的时间借用(Time-borrowing)仍可以正确传输数据,以避免真正的时序错误。When a timing error signal is detected, the time borrowing (Time-borrowing) of the latch can still transmit data correctly, so as to avoid real timing errors.
图4为本发明的仿真结果。为了验证本发明中所述跳变监测单元功能的正确性,在28nm CMOS工艺下进行设计,对其进行Monte Carlo仿真,仿真的工作条件是0.46V、25℃,Monte Carlo仿真(5000次),时钟工作频率为50MHz,具体的仿真结果如图4所示,其中信号Pck为时钟信号,D为数据输入信号,Error是预警信号。从图中可以看出,当数据D在时钟信号高电平期间发生跳变时,预警信号Error变为高电平;在其他情况下,节点Error的电平始终保持为低电平。Fig. 4 is the simulation result of the present invention. In order to verify the correctness of the transition monitoring unit function described in the present invention, design is carried out under the 28nm CMOS technology, and Monte Carlo simulation is carried out to it, and the working condition of simulation is 0.46V, 25 ℃, Monte Carlo simulation (5000 times), The operating frequency of the clock is 50MHz, and the specific simulation results are shown in Figure 4, where the signal Pck is the clock signal, D is the data input signal, and Error is the early warning signal. It can be seen from the figure that when the data D jumps during the high level period of the clock signal, the warning signal Error becomes high level; in other cases, the level of the node Error is always kept at low level.
如图5跳变监测单元应用于自适应电压频率调节设计的效果。采用的验证平台是8-bit AES(Advanced Encryption Standard,AES)电路。本次测试的芯片总共有24颗,从FF、TT、SS三个晶圆中分别选取8个芯片进行测试。基准频率指的是考虑芯片所预留时序余量后的最高工作频率,考虑到实际测试条件,在测试温度的范围为0℃~85℃,最差工艺角用这批性能最差的那颗芯片来代替。根据筛选标准,对这批芯片进行实际测试,找到基准频率。根据基准频率的寻找方法,测试出了不同电压下的基准频率,同时选择一颗工艺角为Typical的芯片,测出其在0.55V~1.1V下的最高频率,测试的最高工作频率和基准频率分布图如图所示。在0.55V电压下,芯片的最高工作频率是其基准频率的3倍,因此采取本文设计的自适应电压设计在0.55V下,性能有3倍的提升。需要特别指出的是,由于温度反转效应,芯片在0.8V~1.1V最差工作温度是85℃,而在0.5V~0.7V最差工作温度是0℃。As shown in Figure 5, the effect of the jump monitoring unit applied to the adaptive voltage frequency adjustment design. The verification platform adopted is 8-bit AES (Advanced Encryption Standard, AES) circuit. There are a total of 24 chips tested this time, and 8 chips were selected from the three wafers of FF, TT, and SS for testing. The reference frequency refers to the highest operating frequency after considering the timing margin reserved by the chip. Considering the actual test conditions, the test temperature range is 0°C to 85°C, and the worst process corner uses the worst performance chip in this batch. chip instead. According to the screening criteria, conduct actual tests on these chips to find the reference frequency. According to the method of finding the reference frequency, the reference frequency under different voltages was tested. At the same time, a chip with a typical process angle was selected to measure its highest frequency under 0.55V ~ 1.1V, the highest operating frequency and reference frequency of the test. The distribution diagram is shown in the figure. Under the voltage of 0.55V, the maximum operating frequency of the chip is three times of its reference frequency, so the adaptive voltage design designed in this paper can improve the performance by three times under the voltage of 0.55V. It should be pointed out that due to the temperature inversion effect, the worst operating temperature of the chip at 0.8V~1.1V is 85°C, and the worst operating temperature at 0.5V~0.7V is 0°C.
如果上述系统改成调节电压以消除余量,所述的跳变监测单元的自适应电压设计与传统的留有余量设计相比,可获得功耗收益。If the above system is changed to adjust the voltage to eliminate the margin, compared with the traditional design with margin, the adaptive voltage design of the jump monitoring unit can obtain power consumption benefits.
表1为本发明的跳变监测单元与国际上同类时序监测单元的参数对比,其中表格中作为对比基准的标准锁存器(Latch)的晶体管数目为19(带有复位端),额外增加的晶体管数目、面积代价、功耗代价和响应时间均是与标准锁存器相比较而来。与国外优秀的时序监测单元设计相比,本发明设计的跳变监测单元在响应时间和最低工作电压两方面有明显的优势,其最低工作电压为0.46V。Table 1 is a parameter comparison between the jump monitoring unit of the present invention and the same kind of timing monitoring unit in the world, wherein the number of transistors of the standard latch (Latch) as a comparison reference in the table is 19 (with a reset terminal), and the additional Transistor count, area penalty, power consumption penalty and response time are compared to standard latches. Compared with the foreign excellent timing monitoring unit design, the jump monitoring unit designed in the present invention has obvious advantages in response time and minimum working voltage, and its minimum working voltage is 0.46V.
表1跳变监测单元与国际上同类时序监测单元的参数对比Table 1 Comparison of parameters between the jump monitoring unit and similar timing monitoring units in the world
如上所述,尽管参照特定的优选实施例已经表示和表述了本发明,但其不得解释为对本发明自身的限制。在不脱离所附权利要求定义的本发明的精神和范围前提下,可对其在形式上和细节上做出各种变化。As stated above, while the invention has been shown and described with reference to certain preferred embodiments, this should not be construed as limiting the invention itself. Various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
[参考文献][references]
[1]Seongjong Kim and Mingoo Seok.Variation-Tolerant,Ultra-Low-VoltageMicroprocessor with a Low-Overhead,Within-a-Cycle In-Situ Timing-ErrorDetection and Correction Technique[J].IEEE J.Solid-State Circuits,2015,50(6):1478-1490[1] Seongjong Kim and Mingoo Seok. Variation-Tolerant, Ultra-Low-Voltage Microprocessor with a Low-Overhead, Within-a-Cycle In-Situ Timing-ErrorDetection and Correction Technique[J].IEEE J.Solid-State Circuits, 2015, 50(6): 1478-1490
[2]S.Das et al.A 1GHz hardware loop-accelerator with razor-baseddynamic adaptation for energy-efficient operation[J].IEEE Transactions onCircuits and Systems I:Regular Papers,2014,61(8):2290-2298[2]S.Das et al.A 1GHz hardware loop-accelerator with razor-baseddynamic adaptation for energy-efficient operation[J].IEEE Transactions on Circuits and Systems I: Regular Papers, 2014, 61(8): 2290-2298
[3]Zhang Y,Khayatzadeh M,Yang K,et al.iRazor:3-transistor current-based error detection and correction in an arm cortex-r4 processor[C].IEEESolid-State Circuits Conference(ISSCC),2016:160-162[3] Zhang Y, Khayatzadeh M, Yang K, et al. iRazor: 3-transistor current-based error detection and correction in an arm cortex-r4 processor [C]. IEEE Solid-State Circuits Conference (ISSCC), 2016: 160 -162
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010982845.0A CN112104343B (en) | 2020-09-17 | 2020-09-17 | A current type level transition monitoring unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010982845.0A CN112104343B (en) | 2020-09-17 | 2020-09-17 | A current type level transition monitoring unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112104343A CN112104343A (en) | 2020-12-18 |
CN112104343B true CN112104343B (en) | 2022-11-01 |
Family
ID=73760083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010982845.0A Active CN112104343B (en) | 2020-09-17 | 2020-09-17 | A current type level transition monitoring unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112104343B (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106100617B (en) * | 2016-06-27 | 2017-11-07 | 东南大学 | A kind of on-line monitoring unit and its control circuit towards super wide voltage |
CN106603042A (en) * | 2016-12-15 | 2017-04-26 | 东南大学 | Fully symmetrical online monitoring unit capable of stable working within near-threshold region and control circuit |
CN107565953B (en) * | 2017-10-18 | 2024-04-09 | 南京邮电大学南通研究院有限公司 | Control circuit of jump detector and clock frequency adjusting system |
-
2020
- 2020-09-17 CN CN202010982845.0A patent/CN112104343B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112104343A (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhang et al. | irazor: Current-based error detection and correction scheme for pvt variation in 40-nm arm cortex-r4 processor | |
Kim et al. | Variation-tolerant, ultra-low-voltage microprocessor with a low-overhead, within-a-cycle in-situ timing-error detection and correction technique | |
Kwon et al. | Razor-lite: A light-weight register for error detection by observing virtual supply rails | |
Lutkemeier et al. | A 65 nm 32 b subthreshold processor with 9T multi-Vt SRAM and adaptive supply voltage control | |
Liu et al. | A 0.25 V 460 nW asynchronous neural signal processor with inherent leakage suppression | |
US20100019818A1 (en) | Device and method for power management | |
US10268790B2 (en) | Online monitoring unit and control circuit for ultra-wide voltage range applications | |
CN106209060A (en) | A kind of timing error monitoring system based on current monitoring | |
Truesdell et al. | A 6–140-nW 11 Hz–8.2-kHz DVFS RISC-V microprocessor using scalable dynamic leakage-suppression logic | |
CN106603042A (en) | Fully symmetrical online monitoring unit capable of stable working within near-threshold region and control circuit | |
Alghareb et al. | Designing and evaluating redundancy-based soft-error masking on a continuum of energy versus robustness | |
Shan et al. | A wide-voltage-range half-path timing error-detection system with a 9-transistor transition-detector in 40-nm CMOS | |
Shan et al. | Timing error prediction AVFS with detection window tuning for wide-operating-range ICs | |
Hong et al. | A variation-resilient microprocessor with a two-level timing error detection and correction system in 28-nm CMOS | |
US8018247B2 (en) | Apparatus and method for reducing power consumption using selective power gating | |
Shan et al. | A bi-directional, zero-latency adaptive clocking circuit in a 28-nm wide AVFS system | |
Huang et al. | Anti-interference low-power double-edge triggered flip-flop based on C-elements | |
Shen et al. | Beyond eliminating timing margin: An efficient and reliable negative margin timing error detection for neural network accelerator without accuracy loss | |
Shan et al. | In-situ timing monitor-based adaptive voltage scaling system for wide-voltage-range applications | |
Shang et al. | A wide-voltage-range transition-detector with in-situ timing-error detection and correction based on pulsed-latch design in 28 nm CMOS | |
Cerqueira et al. | Temporarily fine-grained sleep technique for near-and subthreshold parallel architectures | |
Dai et al. | HTD: A light-weight holosymmetrical transition detector for wide-voltage-range variation resilient ICs | |
CN112104343B (en) | A current type level transition monitoring unit | |
Zhao et al. | Near-threshold wide-voltage design review | |
US12119074B2 (en) | Data correction of redundant data storage |
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 |