CN108983870A - A kind of time restorative procedure and device - Google Patents

A kind of time restorative procedure and device Download PDF

Info

Publication number
CN108983870A
CN108983870A CN201710400317.8A CN201710400317A CN108983870A CN 108983870 A CN108983870 A CN 108983870A CN 201710400317 A CN201710400317 A CN 201710400317A CN 108983870 A CN108983870 A CN 108983870A
Authority
CN
China
Prior art keywords
current timing
timing path
time
settling time
unit
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.)
Granted
Application number
CN201710400317.8A
Other languages
Chinese (zh)
Other versions
CN108983870B (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.)
Sanechips Technology Co Ltd
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics Technology Co Ltd
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 Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201710400317.8A priority Critical patent/CN108983870B/en
Publication of CN108983870A publication Critical patent/CN108983870A/en
Application granted granted Critical
Publication of CN108983870B publication Critical patent/CN108983870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The embodiment of the invention discloses a kind of time restorative procedure and devices.Time restorative procedure in the embodiment of the present invention includes: when judging the Buffer insertion in current timing path, and whether the settling time surplus of current timing path is less than default Margin threshold;Wherein, which is used to break rules to the retention time of current timing path and repair;When judging that settling time surplus is less than default Margin threshold, the settling time window of current timing path is adjusted.The problem of embodiment of the present invention solves time restorative procedure in the prior art, effective repair time can not break rules under application scenes and lead to repairing failure, to improve the scope of application of time restorative procedure.

Description

A kind of time restorative procedure and device
Technical field
The present invention relates to, but not limited to technical field of integrated circuits, espespecially a kind of time restorative procedure and device.
Background technique
In the design of chip, digital integrated electronic circuit (Integrated Circuit's, referred to as are as follows: IC) is designed primarily to The design of synchronous circuit, the core devices of synchronous circuit are register.
Register is in normal work, it is desirable that between the data-signal of register and the clock signal of register when establishing Between and the retention time need to meet certain specification.That is, settling time and retention time collective effect are wanted in register Ask the arrival time of data-signal relative to the effective between of the clock signal of register, it is necessary to be in a suitable model Enclose, cannot it is too early can not be too late.If the arrival time of data-signal is too late before effective edge, settling time will lead to It breaks rules, in this way, data cannot be correctly stored in register;If the arrival time of data-signal is too early, just effective after It will lead to retention time fault, at this point, data equally cannot be correctly stored in register.Repair time breaks rules in the prior art Method are as follows: complete settling time break rules reparation after to the retention time break rules repair, by increasing in repair process Big entire timing path is delayed to achieve the purpose that repair the retention time, for example, being inserted into suitable buffering in timing path Device introduces additional delay.Above-mentioned time restorative procedure relatively fills the bigger and settling time surplus of retention time fault For the circuit divided, there is preferable repairing effect.
However, for there are retention time fault in timing path, and for the insufficient circuit of settling time surplus, if Using time restorative procedure in the prior art, can be added in timing path while repairing retention time fault additional Delay, the delay of addition can make settling time new fault occur, lead to time repairing failure.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of time restorative procedure and devices, to solve Time restorative procedure in the prior art can not break rules under application scenes and lead to repairing failure effective repair time The problem of, to improve the scope of application of time restorative procedure.
In a first aspect, the embodiment of the present invention provides a kind of time restorative procedure, comprising:
When judging the Buffer insertion in current timing path, whether the settling time surplus of the current timing path is small In default Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path and repair;
When judging that the settling time surplus is less than the default Margin threshold, the current timing path is built Vertical time window is adjusted.
In the first possible implementation of the first aspect, the settling time window to the current timing path Mouth is adjusted, comprising:
Minimum settling time surplus needed for the buffer is inserted into calculating in current timing path;
It is adjusted, is adjusted according to settling time window of the calculated settling time surplus to the current timing path Settling time surplus afterwards is greater than or equal to the minimum settling time surplus.
In the second possible implementation of the first aspect, the settling time window to the current timing path Mouth is adjusted, including one of following adjustment mode or a variety of:
The current timing path Plays unit is replaced with into first unit, the driving of the first unit is greater than described Standard block;
The number of loads of the current timing path Plays unit is reduced by way of partition load;
The current timing path Plays unit is replaced with into second unit, the second unit and the standard block Driving it is identical, and the operating rate of the second unit be greater than the first unit operating rate.
It is in the third possible implementation, described to institute according to second of possible implementation of first aspect The settling time window for stating current timing path is adjusted, comprising:
Select the adjustment mode for being adjusted to the settling time window;
Judge whether selected adjustment mode hinders the reparation to break rules to the retention time;
When judging that selected adjustment mode is not blocked from the reparation to retention time fault, pass through the selection Adjustment mode the settling time window is adjusted;
When judging that selected adjustment mode hinders the reparation to break rules to the retention time, reselects and be used for pair The adjustment mode that the settling time window is adjusted, until judging that all adjustment modes were hindered to the retention time The reparation of fault.
According to first aspect, first aspect the first into the third possible implementation any one, the 4th In the possible implementation of kind, the method also includes:
According to the size that the retention time in the current timing path breaks rules, calculate needed for repairing the retention time fault Delay;
It is used to repair the buffer of the retention time fault according to the calculated delay selection.
It is in a fifth possible implementation, described to institute according to the 4th of first aspect the kind of possible implementation State current timing path settling time window be adjusted after, the method also includes:
It is reselected according to the settling time surplus of the current timing path adjusted and the delay for repairing The buffer that the retention time breaks rules;
It is broken rules and is repaired according to retention time of the buffer reselected to the current timing path.
Second aspect, the embodiment of the present invention provide a kind of time prosthetic device, comprising:
Judgment module, when being used to judge the Buffer insertion in current timing path, the foundation of the current timing path Whether time margin is less than default Margin threshold;Wherein, the buffer is used for the retention time to the current timing path Fault is repaired;
Module is adjusted, for judging that the settling time surplus is less than the default Margin threshold when the judgment module When, the settling time window of the current timing path is adjusted.
In the first possible implementation of the second aspect, the adjustment module includes:
Computing unit, for calculate be inserted into the buffer in current timing path needed for more than minimum settling time Amount;
Adjustment unit, for according to the calculated settling time surplus of the computing unit to the current timing path Settling time window is adjusted, and settling time surplus adjusted is greater than or equal to the minimum settling time surplus.
In a second possible implementation of the second aspect, the adjustment module builds the current timing path Vertical time window is adjusted, including one of following adjustment mode or a variety of:
The current timing path Plays unit is replaced with into first unit, the driving of the first unit is greater than described Standard block;
The number of loads of the current timing path Plays unit is reduced by way of partition load;
The current timing path Plays unit is replaced with into second unit, the second unit and the standard block Driving it is identical, and the operating rate of the second unit be greater than the first unit operating rate.
According to second of possible implementation of second aspect, in the third possible implementation, the adjustment Module includes:
Selecting unit, for selecting the adjustment mode for being adjusted to the settling time window;
Judging unit, for judging whether the adjustment mode of the selecting unit selection hinders to break rules to the retention time Reparation;
Adjustment unit, for judging that selected adjustment mode was not blocked to the retention time when the judging unit When the reparation of fault, the adjustment mode selected by the selecting unit is adjusted the settling time window;
The selecting unit is also used to judge that selected adjustment mode is hindered to the holding when the judging unit When the reparation that the time breaks rules, the adjustment mode for being adjusted to the settling time window is reselected, until judging All adjustment modes hinder the reparation to break rules to the retention time.
According to second aspect, second aspect the first into the third possible implementation any one, the 4th In the possible implementation of kind, described device further include:
Computing module, the size for being broken rules according to the retention time in the current timing path, calculates and repairs the guarantor Delay needed for holding time fault;
Selecting module, for being used to repair the retention time according to the calculated delay selection of the computing module The buffer of fault.
According to the 4th of second aspect the kind of possible implementation, in a fifth possible implementation,
The selecting module is also used to carry out in settling time window of the adjustment module to the current timing path It is calculated described according to the settling time surplus of the current timing path adjusted and the computing module after adjustment Delay reselects the buffer for repairing the retention time fault;
Described device further include:
Repair module, holding of the buffer to the current timing path for being reselected according to the selecting module Time fault is repaired.
The third aspect, the embodiment of the present invention provide a kind of time prosthetic device, comprising: memory and processor;
The memory, for saving executable instruction;
The processor, the executable instruction saved for executing the memory, proceeds as follows:
When judging the Buffer insertion in current timing path, whether the settling time surplus of the current timing path is small In default Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path and repair;
When judging that the settling time surplus is less than the default Margin threshold, the current timing path is built Vertical time window is adjusted.
In the first possible implementation of the third aspect, when the processor executes the executable instruction, also It proceeds as follows:
According to the size that the retention time in the current timing path breaks rules, calculate needed for repairing the retention time fault Delay;
It is used to repair the buffer of the retention time fault according to the calculated delay selection;
After the settling time window to the current timing path is adjusted, according to adjusted described current The settling time surplus of timing path and the delay reselect the buffer for repairing the retention time fault;
It is broken rules and is repaired according to retention time of the buffer reselected to the current timing path.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with computer executable instructions and proceeds as follows when the processor executes the computer executable instructions:
When judging the Buffer insertion in current timing path, whether the settling time surplus of the current timing path is small In default Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path and repair;
When judging that the settling time surplus is less than the default Margin threshold, the current timing path is built Vertical time window is adjusted.
Time restorative procedure and device provided in an embodiment of the present invention are buffered by judging to be inserted into current timing path After device, whether the settling time surplus of the current timing path is less than default Margin threshold, and is judging more than settling time When amount is less than default Margin threshold, the settling time window of the current timing path is adjusted, the principle of adjustment can be Increase the size of settling time window, after meeting current timing path addition buffer, settling time surplus meets default remaining Measure the requirement of threshold value;Above-mentioned buffer is used to break rules to the retention time of current timing path and repair;The embodiment of the present invention The technical solution of offer, by introducing the mode of the adjustment to settling time window during repairing retention time fault, So that time restorative procedure provided in an embodiment of the present invention breaks rules suitable for timing path there are the retention time and settling time It in the insufficient situation of surplus, solves time restorative procedure in the prior art, can not effectively be repaired under application scenes The problem of multiple time breaks rules and leads to repairing failure, to improve the scope of application of time restorative procedure.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the relation schematic diagram of data-signal and clock signal in timing path;
Fig. 2 is a kind of flow chart of time restorative procedure provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another time restorative procedure provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another time restorative procedure provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another time restorative procedure provided in an embodiment of the present invention;
Fig. 6 is the flow chart of another time restorative procedure provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of time prosthetic device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Before describing time restorative procedure provided in an embodiment of the present invention, one of timing path in circuit is first simply introduced A little basic conceptions.Had been described above in above-mentioned background technique required in circuit the arrival time of data-signal relative to register when Clock signal it is effective along between, it is necessary to be in a suitable range, the range refer specifically to settling time and retention time and when The relationship on the effective edge of clock signal.As shown in Figure 1, for the relation schematic diagram of data-signal and clock signal in timing path.
Settling time refers to that before effective edge of the clock signal (CLK) of register is arrived, data-signal (Data) must It must keep stablizing the constant time, if the delay of timing path is too big, it is understood that there may be the inadequate situation of settling time surplus, just It will lead to settling time fault, in this way, data cannot be correctly stored in register.
Retention time refers to that after effective edge of the clock signal of register is arrived, data-signal must keep stablizing not The time of change, if the diameter delay on timing road is too small, it is understood that there may be retention time inadequate situation, will lead to the retention time disobeys Example, at this point, data equally cannot be accurately stored in register.
Technical solution of the present invention is described in detail below by specific embodiment, the following embodiment of the present invention In timing path be circuit in timing path, which is, for example, the synchronous circuit in digital integrated electronic circuit.The present invention mentions It can be combined with each other for following specific embodiment, it may be in some embodiments for the same or similar concept or process It repeats no more.
Fig. 2 is a kind of flow chart of time restorative procedure provided in an embodiment of the present invention.Time provided in this embodiment repairs In the case where compound method is repaired suitable for circuit there are retention time fault, this method can be by time prosthetic device It executes, which realizes that the device can integrate in circuit chip hardware and software in conjunction with by way of In processor, calls and use for processor.As shown in Fig. 2, the method for the embodiment of the present invention may include steps of:
S110, when judging the Buffer insertion in current timing path, the settling time surplus of the current timing path is It is no to be less than default Margin threshold;Wherein, the buffer being inserted into is used to break rules to the retention time of current timing path and repair It is multiple.
Time restorative procedure provided in an embodiment of the present invention breaks rules to the retention time present in circuit and repairs Mode.The embodiment of the present invention is mainly for the synchronous circuit in digital integrated electronic circuit, since the core devices of synchronous circuit are to post Storage, when register works normally, it is desirable that settling time and retention time between data-signal and clock signal meet certain Requirement.As shown in Figure 1, if settling time surplus is too small (being, for example, less than a certain default Margin threshold), when will lead to establish Between break rules, if the retention time is too small, i.e., clock signal effectively along arrive after, data-signal holding stablize constant time mistake It is short, then it will lead to retention time fault;Above-mentioned two situations will cause data and can not correctly be stored in register, thus nothing Method guarantees circuit performance.
It breaks rules and repair mode that the retention time breaks rules, can be usually repaired in advance when establishing for settling time in circuit Between break rules, on this basis to the retention time break rules repair.The embodiment of the present invention mainly illustrates repairing settling time On the basis of fault, to the mode that retention time fault is repaired, what the retention time broke rules is formed as in circuit current The delay of timing path is too small, and causes the retention time inadequate.In the prior art, it is delayed by being added in current timing path Mode, increase the retention time, thus achieve the effect that repair the retention time break rules.When above-mentioned time repair mode is for keeping Between break rules for the bigger and more sufficient circuit of settling time surplus, there is preferable repairing effect;But if when current There are retention time fault in sequence path, and settling time surplus is inadequate, using above-mentioned time restorative procedure, keep repairing Additional delay can be added in time in current timing path while fault, it is new that the delay of addition can be such that settling time occurs It breaks rules, so as to cause time repairing failure.
Method provided in an embodiment of the present invention can first judge working as before to buffer is inserted into current timing path In preceding timing path after Buffer insertion, whether settling time surplus meets the requirement of Buffer insertion, i.e., after Buffer insertion, Whether settling time surplus is less than default Margin threshold, which is that facing for settling time fault occurs for timing path Dividing value will lead to settling time fault after illustrating Buffer insertion, if building if settling time surplus is less than default Margin threshold Vertical time margin is greater than or equal to default Margin threshold, then not will lead to settling time fault after illustrating Buffer insertion, can be with Retention time fault is repaired by way of being inserted directly into buffer.
It should be noted that the buffer being inserted into the embodiment of the present invention is used to disobey the retention time of current timing path Example is repaired, which can be circuit maintenance personnel during repairing retention time fault, according to the retention time What the size of fault determined.
S120, when judging that settling time surplus is less than default Margin threshold, to the current timing path when establishing Between window be adjusted.
In the prior art, if judging, settling time surplus is less than default Margin threshold, that is, judges in current timing In path after Buffer insertion, the delay of introducing can make settling time new fault occur, then it is assumed that in current timing path not Energy Buffer insertion, i.e., do not execute the operation of Buffer insertion, terminates to repair process, breaks rules so as to cause the retention time and repair mistake It loses.
In embodiments of the present invention, when judging that settling time surplus is less than default Margin threshold, do not terminate to repair The operation that retention time breaks rules, but the settling time window of current timing path is adjusted, Adjustment principle is to increase to work as Settling time surplus in preceding timing path increases the size of settling time window, the purpose for increasing settling time window is After meeting current timing path addition buffer, so that settling time surplus meets the requirement of default Margin threshold, that is, build Vertical time margin is greater than or equal to default Margin threshold, so as to by way of buffer is added in current timing path Retention time is repaired.The scope of application of time restorative procedure provided in an embodiment of the present invention is relatively broad, for timing There are retention time fault in path, and the insufficient situation of settling time surplus is equally applicable.
It should be noted that in the S110 of the embodiment of the present invention, if it is default to judge that settling time surplus is greater than or equal to When Margin threshold, illustrate that settling time surplus can satisfy the needs that delay is introduced in current timing path, it can directly exist Buffer insertion in current timing path.
Time restorative procedure provided in an embodiment of the present invention, by judging in current timing path after Buffer insertion, Whether the settling time surplus of the current timing path is less than default Margin threshold, and is judging that settling time surplus is less than When default Margin threshold, the settling time window of the current timing path is adjusted, the principle of adjustment can build to increase The size of vertical time window, after meeting current timing path addition buffer, settling time surplus meets default Margin threshold Requirement;Above-mentioned buffer is used to break rules to the retention time of current timing path and repair;It is provided in an embodiment of the present invention Method, by the mode of the adjustment to settling time window being introduced, so that of the invention during repairing retention time fault The time restorative procedure that embodiment provides breaks rules suitable for timing path there are the retention time and settling time surplus is insufficient In the case of, it solves time restorative procedure in the prior art, can not break rules effective repair time under application scenes And the problem of leading to repairing failure, to improve the scope of application of time restorative procedure.
Further, time restorative procedure in the prior art, will lead in time repair process unnecessary iteration and The reparation of timing path, need to carry out in the prior art additional settling time cross reparation and by the retention time repair circulation come Carry out final timing closure.Method provided in an embodiment of the present invention, by repair the retention time break rules during, introduce pair The mode of the adjustment of settling time window, not needing to carry out additional settling time again crosses reparation, reduce time reparation repeatedly Generation number improves the efficiency and effect of retention time reparation.
Optionally, Fig. 3 is the flow chart of another time restorative procedure provided in an embodiment of the present invention.In above-described embodiment On the basis of, the method provided in the embodiment of the present invention may include:
S110, when judging the Buffer insertion in current timing path, whether settling time surplus is less than default surplus threshold Value;When settling time surplus is less than default Margin threshold, S120 is executed, when settling time surplus is greater than or equal to default surplus When threshold value, S130 is executed.
S120 is adjusted the settling time window of current timing path.
S130, the Buffer insertion in current timing path.
In the embodiment of the present invention, to the implementation that the settling time window of current timing path is adjusted, i.e. S120 Implementation, may include:
S121 calculates the minimum settling time surplus needed for Buffer insertion in current timing path;
S122 is adjusted according to settling time window of the calculated settling time surplus to current timing path, is adjusted Settling time surplus after whole is greater than or equal to minimum settling time surplus.
In embodiments of the present invention, the foundation for adjusting settling time window in current timing path can be with are as follows: when this is established Between window whether meet influence of the delay after Buffer insertion, additionally introduced in current timing path to settling time surplus Whether will lead to settling time breaks rules.If after Buffer insertion, influence of the delay additionally introduced to settling time surplus It is not enough to that current timing path is caused new settling time fault occur, then buffer can be inserted;If after Buffer insertion, volume Influence of the delay of outer introducing to settling time surplus will lead to current timing path and new settling time fault occur, then cannot It is inserted directly into buffer, at this point it is possible to minimum settling time surplus needed for Buffer insertion in current timing path is calculated, it should Minimum settling time surplus is that after Buffer insertion, settling time surplus can be made to be more than or equal to pre- in current timing path If the margin value of Margin threshold.That is, as long as settling time window adjusted (settling time surplus adjusted) is big In or be equal to the minimum settling time surplus, after Buffer insertion, influence of the delay additionally introduced to settling time surplus is not It will cause current timing path and new settling time fault occur.The embodiment of the present invention is through the above way to current timing path Settling time window be adjusted after, the operation of Buffer insertion can be executed, with repair the retention time fault.
Optionally, in embodiments of the present invention, the settling time window of current timing path is adjusted, may include One of following adjustment mode is a variety of:
Current timing path Plays unit is replaced with first unit by mode one, and the driving of the first unit is greater than mark Quasi- unit;
Mode two reduces the number of loads of current timing path Plays unit by way of partition load;
Current timing path Plays unit is replaced with second unit by mode three, the second unit and standard block Drive it is identical, and the operating rate of second unit be greater than first unit operating rate.
Above-mentioned standard unit is, for example, functional device in circuit or for buffer, in embodiments of the present invention, right Retention time break rules reparation, can for current timing path different situations selection distinct methods to settling time window into Row adjustment.For example, the standard block can be replaced with to big drive when there is the lesser standard block of driving on current timing path Dynamic unit (i.e. above-mentioned first unit), so as to effectively adjust settling time window.For another example when standard list on path The driving of member is very big, then changes big driving without space, can reduce big driving in such a way that replicated logic decouples load The number of loads of unit achievees the purpose that adjust settling time window.For another example it is normal for driving, load normal standard For unit, standard block can be replaced by the faster unit of operating rate under the identical driving of selection, to reach adjustment The purpose of settling time window.In practical applications, it can choose one way in which adjustment settling time window, can also select Select the combination adjustment settling time window of various ways.
It should be noted that the concrete mode of adjustment settling time window is not limited in the embodiment of the present invention, above-mentioned three kinds Mode and corresponding application scenarios are only illustrative explanation, as long as can carry out to the settling time window in realizing route It adjusts to meet the adjustment mode of the purpose of Buffer insertion, can be used as adjustment settling time window in the embodiment of the present invention Mode.
Optionally, Fig. 4 is the flow chart of another time restorative procedure provided in an embodiment of the present invention.Based on above-mentioned implementation A variety of adjustment modes that settling time window is adjusted in example, in the embodiment of the present invention to current timing path when establishing Between the implementation that is adjusted of window, the i.e. implementation of S120, may include:
S123 selects the adjustment mode for being adjusted to settling time window;
S124, judges whether selected adjustment mode hinders the reparation to break rules to the retention time;It is selected when judging Adjustment mode be not blocked to the retention time break rules reparation when, execute S125;When judging that selected adjustment mode hinders To the retention time break rules reparation when, execute S126.
S125 is adjusted settling time window by the adjustment mode of selection, that is, terminates process.
S126 judges whether to selected every kind of adjustment mode;When judging to selected every kind of adjustment mode, terminate Process, i.e. retention time fault repairing failure;It when judging to have adjustment mode non-selected, returns and executes S123, until judgement It selected all adjustment modes out, and every kind of adjustment mode hinders the reparation to break rules to the retention time, and terminated process.
In practical applications, while being adjusted to settling time window, need to comprehensively consider adjustment operation to working as The influence of retention time in preceding timing path.That is, it is required that the operation of adjustment settling time window is to the retention time It has no adverse effect, alternatively, positive influences caused by the operation of adjustment settling time window can be covered to the retention time Negative effect, in these cases, can be adjusted correspondingly settling time window.However, when adjustment settling time window Mouthful operation when being less than the detrimental extent to break rules to the retention time to the less advantageous of settling time surplus, then cannot execute adjustment Operation, needs to reselect other adjustment modes, until without available adjustment mode it can be selected that i.e. the retention time repairs mistake It loses.
Optionally, Fig. 5 is the flow chart of another time restorative procedure provided in an embodiment of the present invention.It is above-mentioned in the present invention On the basis of each embodiment, time restorative procedure provided in this embodiment can also include: before S110
S100 is calculated and is repaired needed for retention time fault according to the size that the retention time in current timing path breaks rules Delay;
S101 is used to repair the buffer of retention time fault according to calculated delay selection.
Embodiment illustrated in fig. 5 on the basis of the process shown in above-mentioned Fig. 3 for shown, repaired in the embodiment of the present invention The method that the multiple retention time breaks rules is similarly Buffer insertion.It is possible, firstly, in the existing standard cell lib of circuit, to all Candidate buffer computation delay, from small to large can also be ranked up buffer according to the size of delay, form a time Select list.Then, it according to the size that the retention time in current timing path breaks rules, calculates needed for repairing retention time fault Delay, and based on it is calculated delay and above-mentioned candidate list, select suitable buffer, the buffer be in S110 insert Enter the buffer in current timing path.It it should be noted that the buffer selected can be a buffer, or is multiple The combination of buffer.
Optionally, the embodiment of the present invention can also include: after S120
S140 is reselected according to the settling time surplus of current timing path adjusted and delay and is kept for repairing The buffer that time breaks rules;
S150 breaks rules according to retention time of the buffer reselected to current timing path and repairs.
It in embodiments of the present invention, can be based on more than settling time adjusted after the adjustment for completing settling time window In amount and S100 it is calculated repair the retention time break rules needed for delay, reselect suitable buffer, at this time can be at The insertion of function completion target buffer.
The time restorative procedure provided through the embodiment of the present invention, it is possible to reduce Buffer Insertion fails and causes to keep protecting The probability of time fault repairing failure is held, repairing effect and efficiency that the retention time breaks rules farthest is improved, reduces iteration Number, accelerate the retention time break rules reparation speed.
Further, Fig. 6 is the flow chart of another time restorative procedure provided in an embodiment of the present invention.The present invention is implemented The method that example provides may include steps of, i.e. S201~S210:
S201, calculates the delay of the buffer of all candidates, and is ranked up according to delay.
S202 is calculated and is repaired needed for retention time fault according to the size that the retention time in current timing path breaks rules Delay.
S203 is used to repair the buffer of retention time fault according to calculated delay selection.
S204, when judging the Buffer insertion in current timing path, whether settling time surplus is less than default surplus threshold Value;When judging that settling time surplus is less than default Margin threshold, S205 is executed;When judge settling time surplus be greater than or When equal to default Margin threshold, S209 is executed.
S205 selects the adjustment mode for being adjusted to settling time window;The adjustment mode includes but is not limited to For the adjustment mode in above-described embodiment.
S206, judges whether selected adjustment mode hinders the reparation to break rules to the retention time;It is selected when judging Adjustment mode be not blocked to the retention time break rules reparation when, execute S207;When judging that selected adjustment mode hinders To the retention time break rules reparation when, execute S208.
S207 is adjusted settling time window by the adjustment mode of selection;It is then returned to and executes S203.
S208 judges whether to selected every kind of adjustment mode;When judging to selected every kind of adjustment mode, terminate Process, i.e. retention time fault repairing failure;When judging to have adjustment mode non-selected, returns and execute S205.
S209, the Buffer insertion in current timing path.
S210, judges the retention time breaks rules whether repair success;If failed repair, returns and execute S203;If success It repairs, then terminates process.
Fig. 7 is a kind of structural schematic diagram of time prosthetic device provided in an embodiment of the present invention.When provided in this embodiment Between in the case where prosthetic device breaks rules and repairs there are the retention time suitable for circuit, which passes through hard Part and software in conjunction with mode realize that the device can integrate in the processor of circuit chip, call and use for processor. As shown in fig. 7, the time prosthetic device 10 of the present embodiment may include: judgment module 11 and adjustment module 12.
Wherein, judgment module 11, when being used to judge the Buffer insertion in current timing path, the current timing path Whether settling time surplus is less than default Margin threshold;Wherein, the buffer being inserted into is for the holding to current timing path Time fault is repaired.
Time prosthetic device provided in an embodiment of the present invention is carried out for executing to break rules to the retention time present in circuit The mode of reparation.The embodiment of the present invention is mainly for the synchronous circuit in digital integrated electronic circuit, due to the core device of synchronous circuit Part is register, when register works normally, it is desirable that the settling time and retention time between data-signal and clock signal are full The certain requirement of foot.It is also shown in FIG. 1, it, will if settling time surplus is too small (being, for example, less than a certain default Margin threshold) Settling time is caused to break rules, if the retention time is too small, i.e. clock signal effectively after arriving, stablize constant by data-signal holding Time it is too short, then will lead to the retention time fault;Above-mentioned two situations, which will cause data, can not correctly be stored in register In, to not can guarantee circuit performance.
It breaks rules and repair mode that the retention time breaks rules, can be usually repaired in advance when establishing for settling time in circuit Between break rules, on this basis to the retention time break rules repair.The embodiment of the present invention mainly illustrates repairing settling time On the basis of fault, to the mode that retention time fault is repaired, what the retention time broke rules is formed as in circuit current The delay of timing path is too small, and causes the retention time inadequate.In the prior art, it is delayed by being added in current timing path Mode, increase the retention time, thus achieve the effect that repair the retention time break rules.When above-mentioned time repair mode is for keeping Between break rules for the bigger and more sufficient circuit of settling time surplus, there is preferable repairing effect;But if when current There are retention time fault in sequence path, and settling time surplus is inadequate, using above-mentioned time restorative procedure, keep repairing Additional delay can be added in time in current timing path while fault, it is new that the delay of addition can be such that settling time occurs It breaks rules, so as to cause time repairing failure.
Device provided in an embodiment of the present invention can be by judgment module before to buffer is inserted into current timing path 11 first judge in current timing path after Buffer insertion, whether settling time surplus meets the requirement of Buffer insertion, i.e., After Buffer insertion, whether settling time surplus is less than default Margin threshold, which is that timing path is built The critical value to break rules between immediately illustrates to will lead to after Buffer insertion to build if settling time surplus is less than default Margin threshold It breaks rules between immediately, if settling time surplus is greater than or equal to default Margin threshold, illustrates not will lead to after Buffer insertion to build It breaks rules between immediately, retention time fault can be repaired by way of being inserted directly into buffer.
It should be noted that the buffer being inserted into the embodiment of the present invention is used to disobey the retention time of current timing path Example is repaired, which can be circuit maintenance personnel during repairing retention time fault, according to the retention time What the size of fault determined.
Module 12 is adjusted, for when judgment module 11 judges that settling time surplus is less than default Margin threshold, to working as The settling time window of preceding timing path is adjusted.
In the prior art, if judging, settling time surplus is less than default Margin threshold, that is, judges in current timing In path after Buffer insertion, the delay of introducing can make settling time new fault occur, then it is assumed that in current timing path not Energy Buffer insertion, i.e., do not execute the operation of Buffer insertion, terminates to repair process, breaks rules so as to cause the retention time and repair mistake It loses.
In embodiments of the present invention, when judgment module 11 judges that settling time surplus is less than default Margin threshold, and Do not terminate to repair the operation of retention time fault, but the settling time window progress by adjustment module 12 to current timing path Adjustment, Adjustment principle are the settling time surplus increased in current timing path, that is, increase the size of settling time window, increase The purpose of settling time window be in order to meet after buffer is added in current timing path so that settling time surplus meet it is default The requirement of Margin threshold, i.e. settling time surplus are greater than or equal to default Margin threshold, so as to by current timing road The mode that buffer is added in diameter repairs the retention time.Time prosthetic device provided in an embodiment of the present invention executes the time The scope of application of reparation is relatively broad, and for there are retention time fault in timing path, and settling time surplus is insufficient Situation is equally applicable.
It should be noted that when the execution of judgment module 11 of the embodiment of the present invention judges, if judging settling time surplus When more than or equal to default Margin threshold, illustrate that settling time surplus can satisfy the need that delay is introduced in current timing path It wants, it can the Buffer insertion directly in current timing path.
The time prosthetic device that inventive embodiments provide is used to execute the time reparation that embodiment illustrated in fig. 2 of the present invention provides Method has corresponding functional module, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Optionally, Fig. 8 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention.In above-mentioned dress In the structure basis set, the adjustment module 12 in the embodiment of the present invention may include:
Computing unit 121, for calculating the minimum settling time surplus needed for Buffer insertion in current timing path;
Adjustment unit 122, for according to the calculated settling time surplus of computing unit 121 to the current timing path Settling time window is adjusted, and settling time surplus adjusted is greater than or equal to minimum settling time surplus.
In embodiments of the present invention, the foundation for adjusting settling time window in current timing path can be with are as follows: when this is established Between window whether meet influence of the delay after Buffer insertion, additionally introduced in current timing path to settling time surplus Whether will lead to settling time breaks rules.If after Buffer insertion, influence of the delay additionally introduced to settling time surplus It is not enough to that current timing path is caused new settling time fault occur, then buffer can be inserted;If after Buffer insertion, volume Influence of the delay of outer introducing to settling time surplus will lead to current timing path and new settling time fault occur, then cannot It is inserted directly into buffer, at this point it is possible to minimum settling time surplus needed for Buffer insertion in current timing path is calculated, it should Minimum settling time surplus is that after Buffer insertion, settling time surplus can be made to be more than or equal to pre- in current timing path If the margin value of Margin threshold.That is, as long as settling time window adjusted (settling time surplus adjusted) is big In or be equal to the minimum settling time surplus, after Buffer insertion, influence of the delay additionally introduced to settling time surplus is not It will cause current timing path and new settling time fault occur.The embodiment of the present invention is by above-mentioned apparatus to current timing path Settling time window be adjusted after, the operation of Buffer insertion can be executed, with repair the retention time fault.
Optionally, in embodiments of the present invention, adjustment module 12 adjusts the settling time window of current timing path It is whole, may include one of following adjustment mode or a variety of:
Current timing path Plays unit is replaced with first unit by mode one, and the driving of the first unit is greater than mark Quasi- unit;
Mode two reduces the number of loads of current timing path Plays unit by way of partition load;
Current timing path Plays unit is replaced with second unit by mode three, the second unit and standard block Drive it is identical, and the operating rate of second unit be greater than first unit operating rate.
It should be noted that the application scenarios and implementation of above-mentioned adjustment mode are in the above-described embodiments specifically It is bright, therefore details are not described herein.The concrete mode of adjustment settling time window, above-mentioned three kinds of modes are not limited in the embodiment of the present invention It is only illustrative explanation with corresponding application scenarios, as long as can be adjusted to the settling time window in realizing route To meet the adjustment mode of the purpose of Buffer insertion, the side that settling time window is adjusted in the embodiment of the present invention can be used as Formula.
The time prosthetic device that inventive embodiments provide is used to execute the time reparation that embodiment illustrated in fig. 3 of the present invention provides Method has corresponding functional module, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Optionally, Fig. 9 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention.Based on above-mentioned A variety of adjustment modes that module 12 is adjusted settling time window, the adjustment mould in the embodiment of the present invention are adjusted in embodiment Block 12 may include:
Selecting unit 123, for selecting the adjustment mode for being adjusted to settling time window;
Judging unit 124, for judging whether the adjustment mode that selecting unit 123 selects hinders to retention time fault It repairs;
Adjustment unit 125 disobeys the retention time for judging that selected adjustment mode is not blocked from when judging unit 124 When the reparation of example, the adjustment mode selected by selecting unit 123 is adjusted settling time window;
Selecting unit 123 is also used to judge that selected adjustment mode hinders to disobey the retention time when judging unit 124 When the reparation of example, the adjustment mode for being adjusted to settling time window is reselected, until judging all adjustment sides Formula hinders the reparation to break rules to the retention time.
In practical applications, while being adjusted to settling time window, need to comprehensively consider adjustment operation to working as The influence of retention time in preceding timing path.That is, it is required that the operation of adjustment settling time window is to the retention time It has no adverse effect, alternatively, positive influences caused by the operation of adjustment settling time window can be covered to the retention time Negative effect, in these cases, can be adjusted correspondingly settling time window.However, when adjustment settling time window Mouthful operation when being less than the detrimental extent to break rules to the retention time to the less advantageous of settling time surplus, then cannot execute adjustment Operation, needs to reselect other adjustment modes, until without available adjustment mode it can be selected that i.e. the retention time repairs mistake It loses.
The time prosthetic device that inventive embodiments provide is used to execute the time reparation that embodiment illustrated in fig. 4 of the present invention provides Method has corresponding functional module, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Optionally, Figure 10 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention.In this hair On the basis of bright the various embodiments described above, time prosthetic device 10 provided in this embodiment can also include: computing module 13 and choosing Select module 14.Embodiment illustrated in fig. 10 is shown in the structure basis in above-mentioned Fig. 7 shown device.
Computing module 13, the size for being broken rules according to the retention time in current timing path, calculates and repairs the retention time Delay needed for breaking rules;
Selecting module 14, for being used to repair the slow of retention time fault according to the calculated delay selection of computing module 13 Rush device.
Optionally, in time prosthetic device 10 provided in this embodiment, selecting module 14, it is right in adjustment module 12 to be also used to After the settling time window of current timing path is adjusted, according to the settling time surplus of current timing path adjusted The buffer for repairing retention time fault is reselected with the calculated delay of computing module 13;
Time prosthetic device 10 provided in this embodiment can also include:
Repair module 15, the retention time of buffer for being reselected according to selecting module 14 to current timing path Fault is repaired.
It in embodiments of the present invention, can be based on more than settling time adjusted after the adjustment for completing settling time window Delay needed for amount and the calculated reparation retention time fault of computing module 13, reselects suitable buffer, at this time may be used To successfully complete the insertion of target buffer.
The time prosthetic device that inventive embodiments provide is used to execute the time reparation that embodiment illustrated in fig. 5 of the present invention provides Method has corresponding functional module, and it is similar that the realization principle and technical effect are similar, and details are not described herein again.
In practical applications, the judgment module 11 in each embodiment shown in Fig. 7 to Figure 10 of the present invention, adjustment module 12, meter Calculating module 13, selecting module 14 and repair module 15 can realize that the processor for example may be used by the processor of circuit chip To be central processing unit (Central Processing Unit, referred to as are as follows: CPU) or specific integrated circuit (Application Specific Integrated Circuit, referred to as are as follows: ASIC), or complete to implement the present invention in fact Apply one or more integrated circuits of example.
Figure 11 is the structural schematic diagram of another time prosthetic device provided in an embodiment of the present invention.The embodiment of the present invention mentions The time prosthetic device 20 of confession may include: memory 21 and processor 22.
Wherein, memory 21, for saving executable instruction;
Processor 22, the executable instruction saved for executing memory 21, proceeds as follows:
S31, when judging the Buffer insertion in current timing path, whether the settling time surplus of the current timing path Less than default Margin threshold;Wherein, the buffer being inserted into is used to break rules to the retention time of current timing path and repair;
S32, when judging that settling time surplus is less than default Margin threshold, to the settling time of the current timing path Window is adjusted.
Optionally, in embodiments of the present invention, when processor 22 executes executable instruction, the realization side of operation S32 is executed Formula may include:
S321 calculates the minimum settling time surplus needed for Buffer insertion in current timing path;
S322 is adjusted according to settling time window of the calculated settling time surplus to current timing path, is adjusted Settling time surplus after whole is greater than or equal to minimum settling time surplus.
Optionally, in embodiments of the present invention, when processor 22 executes executable instruction, to working as in executing operation S32 The settling time window of preceding timing path is adjusted, and may include one of following adjustment mode or a variety of:
Current timing path Plays unit is replaced with first unit by mode one, and the driving of the first unit is greater than mark Quasi- unit;
Mode two reduces the number of loads of current timing path Plays unit by way of partition load;
Current timing path Plays unit is replaced with second unit by mode three, the second unit and standard block Drive it is identical, and the operating rate of second unit be greater than first unit operating rate.
It should be noted that the application scenarios and implementation of above-mentioned adjustment mode are in the above-described embodiments specifically It is bright, therefore details are not described herein.The concrete mode of adjustment settling time window, above-mentioned three kinds of modes are not limited in the embodiment of the present invention It is only illustrative explanation with corresponding application scenarios, as long as can be adjusted to the settling time window in realizing route To meet the adjustment mode of the purpose of Buffer insertion, the side that settling time window is adjusted in the embodiment of the present invention can be used as Formula.
Optionally, in embodiments of the present invention, based on a variety of adjustment modes being adjusted to settling time window, processing When device 22 executes executable instruction, the implementation of operation S32 is executed, may include:
S323 selects the adjustment mode for being adjusted to settling time window;
S324, judges whether selected adjustment mode hinders the reparation to break rules to the retention time;
S325 passes through selection when judging that selected adjustment mode is not blocked from the reparation to retention time fault Adjustment mode is adjusted settling time window;
S326 is reselected and is used for when judging that selected adjustment mode hinders the reparation to break rules to the retention time To the adjustment mode that settling time window is adjusted, until judging that all adjustment modes are hindered to retention time fault It repairs.
Optionally, in embodiments of the present invention, it when processor 22 executes executable instruction, before executing S31, also carries out Following operation:
S301 is calculated and is repaired needed for retention time fault according to the size that the retention time in current timing path breaks rules Delay;
S302 is used to repair the buffer of retention time fault according to calculated delay selection.
Optionally, in embodiments of the present invention, it when processor 22 executes executable instruction, after executing S32, also carries out Following operation:
S33 is reselected according to the settling time surplus of current timing path adjusted and delay and is kept for repairing The buffer that time breaks rules.
S34 breaks rules according to retention time of the buffer reselected to current timing path and repairs.
The embodiment of the present invention also provides a kind of computer readable storage medium, which has meter Calculation machine executable instruction proceeds as follows when the processor executes the computer executable instructions:
S41, when judging the Buffer insertion in current timing path, whether the settling time surplus of the current timing path Less than default Margin threshold;Wherein, the buffer being inserted into is used to break rules to the retention time of current timing path and repair;
S42, when judging that settling time surplus is less than default Margin threshold, to the settling time of the current timing path Window is adjusted.
Optionally, in embodiments of the present invention, when which executes the computer executable instructions, operation S42 is executed Implementation, may include:
S421 calculates the minimum settling time surplus needed for Buffer insertion in current timing path;
S422 is adjusted according to settling time window of the calculated settling time surplus to current timing path, is adjusted Settling time surplus after whole is greater than or equal to minimum settling time surplus.
Optionally, in embodiments of the present invention, when which executes the computer executable instructions, operation is being executed The settling time window of current timing path is adjusted in S42, may include one of following adjustment mode or a variety of:
Current timing path Plays unit is replaced with first unit by mode one, and the driving of the first unit is greater than mark Quasi- unit;
Mode two reduces the number of loads of current timing path Plays unit by way of partition load;
Current timing path Plays unit is replaced with second unit by mode three, the second unit and standard block Drive it is identical, and the operating rate of second unit be greater than first unit operating rate.
It should be noted that the application scenarios and implementation of above-mentioned adjustment mode are in the above-described embodiments specifically It is bright, therefore details are not described herein.The concrete mode of adjustment settling time window, above-mentioned three kinds of modes are not limited in the embodiment of the present invention It is only illustrative explanation with corresponding application scenarios, as long as can be adjusted to the settling time window in realizing route To meet the adjustment mode of the purpose of Buffer insertion, the side that settling time window is adjusted in the embodiment of the present invention can be used as Formula.
Optionally, in embodiments of the present invention, based on a variety of adjustment modes being adjusted to settling time window, at this When reason device executes the computer executable instructions, the implementation of operation S42 is executed, may include:
S423 selects the adjustment mode for being adjusted to settling time window;
S424, judges whether selected adjustment mode hinders the reparation to break rules to the retention time;
S425 passes through selection when judging that selected adjustment mode is not blocked from the reparation to retention time fault Adjustment mode is adjusted settling time window;
S426 is reselected and is used for when judging that selected adjustment mode hinders the reparation to break rules to the retention time To the adjustment mode that settling time window is adjusted, until judging that all adjustment modes are hindered to retention time fault It repairs.
Optionally, in embodiments of the present invention, when which executes the computer executable instructions, execute S41 it Before, also proceed as follows:
S401 is calculated and is repaired needed for retention time fault according to the size that the retention time in current timing path breaks rules Delay;
S402 is used to repair the buffer of retention time fault according to calculated delay selection.
Optionally, in embodiments of the present invention, when which executes the computer executable instructions, execute S42 it Afterwards, it also proceeds as follows:
S43 is reselected according to the settling time surplus of current timing path adjusted and delay and is kept for repairing The buffer that time breaks rules.
S44 breaks rules according to retention time of the buffer reselected to current timing path and repairs.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be referred to by program Related hardware (such as processor) is enabled to complete, described program can store in computer readable storage medium, such as read-only storage Device, disk or CD etc..Optionally, one or more integrated circuits also can be used in all or part of the steps of above-described embodiment To realize.Correspondingly, each module/unit in above-described embodiment can take the form of hardware realization, such as pass through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as is stored in by processor execution Program/instruction in memory realizes its corresponding function.The embodiment of the present invention be not limited to any particular form hardware and The combination of software.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (15)

1. a kind of time restorative procedure characterized by comprising
When judging the Buffer insertion in current timing path, it is pre- whether the settling time surplus of the current timing path is less than If Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path and repair;
When judging that the settling time surplus is less than the default Margin threshold, to the current timing path when establishing Between window be adjusted.
2. time restorative procedure according to claim 1, which is characterized in that the foundation to the current timing path Time window is adjusted, comprising:
Minimum settling time surplus needed for the buffer is inserted into calculating in current timing path;
It is adjusted according to settling time window of the calculated settling time surplus to the current timing path, it is adjusted Settling time surplus is greater than or equal to the minimum settling time surplus.
3. time restorative procedure according to claim 1, which is characterized in that the foundation to the current timing path Time window is adjusted, including one of following adjustment mode or a variety of:
The current timing path Plays unit is replaced with into first unit, the driving of the first unit is greater than the standard Unit;
The number of loads of the current timing path Plays unit is reduced by way of partition load;
The current timing path Plays unit is replaced with into second unit, the drive of the second unit and the standard block Move it is identical, and the operating rate of the second unit be greater than the first unit operating rate.
4. time restorative procedure according to claim 3, which is characterized in that the foundation to the current timing path Time window is adjusted, comprising:
Select the adjustment mode for being adjusted to the settling time window;
Judge whether selected adjustment mode hinders the reparation to break rules to the retention time;
When judging that selected adjustment mode is not blocked from the reparation to retention time fault, pass through the selected tune Perfect square formula is adjusted the settling time window;
When judging that selected adjustment mode hinders the reparation to break rules to the retention time, reselect for described The adjustment mode that settling time window is adjusted, until judging that all adjustment modes hinder to break rules to the retention time Reparation.
5. time restorative procedure according to any one of claims 1 to 4, which is characterized in that the method also includes:
According to the size that the retention time in the current timing path breaks rules, calculates and prolong needed for repairing the retention time fault When;
It is used to repair the buffer of the retention time fault according to the calculated delay selection.
6. time restorative procedure according to claim 5, which is characterized in that the foundation to the current timing path After time window is adjusted, the method also includes:
It is reselected according to the settling time surplus of the current timing path adjusted and the delay described for repairing The buffer that retention time breaks rules;
It is broken rules and is repaired according to retention time of the buffer reselected to the current timing path.
7. a kind of time prosthetic device characterized by comprising
Judgment module, when being used to judge the Buffer insertion in current timing path, the settling time of the current timing path Whether surplus is less than default Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path It is repaired;
Adjust module, for when the judgment module judge the settling time surplus be less than the default Margin threshold when, The settling time window of the current timing path is adjusted.
8. time prosthetic device according to claim 7, which is characterized in that the adjustment module includes:
Computing unit, for calculate be inserted into the buffer in current timing path needed for minimum settling time surplus;
Adjustment unit, for the foundation according to the calculated settling time surplus of the computing unit to the current timing path Time window is adjusted, and settling time surplus adjusted is greater than or equal to the minimum settling time surplus.
9. time prosthetic device according to claim 7, which is characterized in that the adjustment module is to the current timing road The settling time window of diameter is adjusted, including one of following adjustment mode or a variety of:
The current timing path Plays unit is replaced with into first unit, the driving of the first unit is greater than the standard Unit;
The number of loads of the current timing path Plays unit is reduced by way of partition load;
The current timing path Plays unit is replaced with into second unit, the drive of the second unit and the standard block Move it is identical, and the operating rate of the second unit be greater than the first unit operating rate.
10. time prosthetic device according to claim 9, which is characterized in that the adjustment module includes:
Selecting unit, for selecting the adjustment mode for being adjusted to the settling time window;
Judging unit, for judging whether the adjustment mode of the selecting unit selection hinders to repair the retention time fault It is multiple;
Adjustment unit breaks rules to the retention time for judging that selected adjustment mode is not blocked from when the judging unit Reparation when, the adjustment mode selected by the selecting unit is adjusted the settling time window;
The selecting unit is also used to judge that selected adjustment mode was hindered to the retention time when the judging unit When the reparation of fault, the adjustment mode for being adjusted to the settling time window is reselected, until judging own Adjustment mode hinders the reparation to break rules to the retention time.
11. the time prosthetic device according to any one of claim 7~10, which is characterized in that described device further include:
Computing module, the size for being broken rules according to the retention time in the current timing path, when calculating the reparation holding Between break rules required delay;
Selecting module, for being broken rules according to the calculated delay selection of the computing module for repairing the retention time Buffer.
12. time prosthetic device according to claim 11, which is characterized in that
The selecting module is also used to be adjusted the settling time window of the current timing path in the adjustment module Later, according to the settling time surplus of the current timing path adjusted and the calculated delay of the computing module Reselect the buffer for repairing the retention time fault;
Described device further include:
Repair module, the retention time of buffer for being reselected according to the selecting module to the current timing path Fault is repaired.
13. a kind of time prosthetic device characterized by comprising memory and processor;
The memory, for saving executable instruction;
The processor, the executable instruction saved for executing the memory, proceeds as follows:
When judging the Buffer insertion in current timing path, it is pre- whether the settling time surplus of the current timing path is less than If Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path and repair;
When judging that the settling time surplus is less than the default Margin threshold, to the current timing path when establishing Between window be adjusted.
14. time prosthetic device according to claim 13, which is characterized in that the processor executes the executable finger When enabling, also proceed as follows:
According to the size that the retention time in the current timing path breaks rules, calculates and prolong needed for repairing the retention time fault When;
It is used to repair the buffer of the retention time fault according to the calculated delay selection;
After the settling time window to the current timing path is adjusted, according to the current timing adjusted The settling time surplus in path and the delay reselect the buffer for repairing the retention time fault;
It is broken rules and is repaired according to retention time of the buffer reselected to the current timing path.
15. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer can It executes instruction, when the processor executes the computer executable instructions, proceeds as follows:
When judging the Buffer insertion in current timing path, it is pre- whether the settling time surplus of the current timing path is less than If Margin threshold;Wherein, the buffer is used to break rules to the retention time of the current timing path and repair;
When judging that the settling time surplus is less than the default Margin threshold, to the current timing path when establishing Between window be adjusted.
CN201710400317.8A 2017-05-31 2017-05-31 Time restoration method and device Active CN108983870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710400317.8A CN108983870B (en) 2017-05-31 2017-05-31 Time restoration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710400317.8A CN108983870B (en) 2017-05-31 2017-05-31 Time restoration method and device

Publications (2)

Publication Number Publication Date
CN108983870A true CN108983870A (en) 2018-12-11
CN108983870B CN108983870B (en) 2021-12-28

Family

ID=64501052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710400317.8A Active CN108983870B (en) 2017-05-31 2017-05-31 Time restoration method and device

Country Status (1)

Country Link
CN (1) CN108983870B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110111020A (en) * 2019-05-16 2019-08-09 天津飞腾信息技术有限公司 Retention time restorative procedure, system and medium based on automatic assessment settling time surplus
CN110598235A (en) * 2019-06-25 2019-12-20 眸芯科技(上海)有限公司 Method and system for repairing time sequence violation in chip design
CN110738019A (en) * 2019-09-26 2020-01-31 北京华大九天软件有限公司 method and device for repairing time sequence violation by automatic clustering of load units
CN111881637A (en) * 2020-07-08 2020-11-03 广芯微电子(广州)股份有限公司 Method, system and storage medium for optimizing power consumption of digital circuit
CN112131810A (en) * 2020-09-29 2020-12-25 天津飞腾信息技术有限公司 Method and device for restoring set-up time violation, electronic equipment and readable storage medium
CN112214097A (en) * 2020-10-20 2021-01-12 天津飞腾信息技术有限公司 Method, device, equipment and storage medium for reducing low threshold unit
CN112232005A (en) * 2020-09-25 2021-01-15 山东云海国创云计算装备产业创新中心有限公司 Method, system, equipment and storage medium for repairing hold time violation
CN114861578A (en) * 2022-07-05 2022-08-05 飞腾信息技术有限公司 Method, device, equipment and storage medium for repairing hold time violation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306646A (en) * 2000-04-25 2001-11-02 Nec Microsystems Ltd Timing verifying method for logical simulation
CN103632001A (en) * 2013-11-27 2014-03-12 中国人民解放军国防科学技术大学 Retention time sequence optimization method based on multiplexing of buffer unit
CN104881507A (en) * 2014-02-28 2015-09-02 国际商业机器公司 Method and apparatus for repairing hold time violations in circuit
CN105787213A (en) * 2016-04-01 2016-07-20 中国人民解放军国防科学技术大学 Repairing method of retention time violation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306646A (en) * 2000-04-25 2001-11-02 Nec Microsystems Ltd Timing verifying method for logical simulation
CN103632001A (en) * 2013-11-27 2014-03-12 中国人民解放军国防科学技术大学 Retention time sequence optimization method based on multiplexing of buffer unit
CN104881507A (en) * 2014-02-28 2015-09-02 国际商业机器公司 Method and apparatus for repairing hold time violations in circuit
CN105787213A (en) * 2016-04-01 2016-07-20 中国人民解放军国防科学技术大学 Repairing method of retention time violation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾宏: ""布线后修复时序违规的方法研究"", 《中国集成电路》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110111020A (en) * 2019-05-16 2019-08-09 天津飞腾信息技术有限公司 Retention time restorative procedure, system and medium based on automatic assessment settling time surplus
CN110111020B (en) * 2019-05-16 2021-03-02 天津飞腾信息技术有限公司 Method, system and medium for repairing retention time based on automatic evaluation of establishment time margin
CN110598235A (en) * 2019-06-25 2019-12-20 眸芯科技(上海)有限公司 Method and system for repairing time sequence violation in chip design
CN110598235B (en) * 2019-06-25 2023-04-18 眸芯科技(上海)有限公司 Method and system for repairing time sequence violation in chip design
CN110738019A (en) * 2019-09-26 2020-01-31 北京华大九天软件有限公司 method and device for repairing time sequence violation by automatic clustering of load units
CN110738019B (en) * 2019-09-26 2022-05-24 北京华大九天科技股份有限公司 Method and device for repairing time sequence violation by utilizing automatic clustering of load units
CN111881637B (en) * 2020-07-08 2021-05-04 广芯微电子(广州)股份有限公司 Method, system and storage medium for optimizing power consumption of digital circuit
CN111881637A (en) * 2020-07-08 2020-11-03 广芯微电子(广州)股份有限公司 Method, system and storage medium for optimizing power consumption of digital circuit
CN112232005A (en) * 2020-09-25 2021-01-15 山东云海国创云计算装备产业创新中心有限公司 Method, system, equipment and storage medium for repairing hold time violation
CN112232005B (en) * 2020-09-25 2023-03-28 山东云海国创云计算装备产业创新中心有限公司 Method, system, equipment and storage medium for repairing hold time violation
CN112131810A (en) * 2020-09-29 2020-12-25 天津飞腾信息技术有限公司 Method and device for restoring set-up time violation, electronic equipment and readable storage medium
CN112131810B (en) * 2020-09-29 2024-03-22 飞腾信息技术有限公司 Method and device for repairing setup time violations, electronic equipment and readable storage medium
CN112214097B (en) * 2020-10-20 2021-11-05 飞腾信息技术有限公司 Method, device, equipment and storage medium for reducing low threshold unit
CN112214097A (en) * 2020-10-20 2021-01-12 天津飞腾信息技术有限公司 Method, device, equipment and storage medium for reducing low threshold unit
CN114861578A (en) * 2022-07-05 2022-08-05 飞腾信息技术有限公司 Method, device, equipment and storage medium for repairing hold time violation

Also Published As

Publication number Publication date
CN108983870B (en) 2021-12-28

Similar Documents

Publication Publication Date Title
CN108983870A (en) A kind of time restorative procedure and device
CN110377922B (en) Method, device and equipment for repairing hold time violations
US7784003B2 (en) Estimation of process variation impact of slack in multi-corner path-based static timing analysis
KR101471237B1 (en) System and method for designing integrated circuits that employ adaptive voltage scaling optimization
US7647467B1 (en) Tuning DRAM I/O parameters on the fly
JP4619172B2 (en) Timing analysis method, timing analysis program, and timing analysis apparatus
CN109376467B (en) Clock tree layout flow method and clock tree deviation compensation device in integrated circuit
US20090213732A1 (en) Preserving packet order when migrating network flows between cores
EP2610702A2 (en) Power consumption prediction method for clock-gating integrated circuit device
CN110738019B (en) Method and device for repairing time sequence violation by utilizing automatic clustering of load units
CN109388813B (en) Method and device for constructing clock tree for integrated circuit design
CN114861578B (en) Method, device, equipment and storage medium for repairing hold time violation
US8201117B2 (en) Method for scalable derivation of an implication-based reachable state set overapproximation
WO2021197128A1 (en) Traffic rate-limiting method and apparatus
US9684751B2 (en) Slack redistribution for additional power recovery
CN110515870A (en) A kind of method, equipment and the readable medium of the communication of server power supply front stage
CN109800511B (en) Correction method and system for maintaining time violation for finding optimal common point
CN105487989A (en) Interruption controller and interruption control method for reducing response delay and improving system efficiency
US9965581B1 (en) Fanout optimization to facilitate timing improvement in circuit designs
CN107357206A (en) A kind of method, apparatus and system of the computing optimization based on FPGA boards
CN111047504A (en) TLM microstructure for GPU sub-image processing based on SystemC
US9021280B1 (en) Power saving for FIFO buffer without performance degradation
US6986119B2 (en) Method of forming tree structure type circuit, and computer product
JPH10254925A (en) Logic synthesis system for test simplification and method thereof
CN113055496B (en) Block chain transaction system based on DAG and method thereof

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