The invention provides a
time sequence repairing method based on time headroom, which comprises the following steps: step 1, extracting
netlist information of all paths in a
chip layout, and then entering a step 2; Step 2, determining a
time sequence violation path in the generated static
time sequence analysis and a corresponding time margin based on the configured time sequence constraint condition, and then entering a step 3; Step 3, judging whether the time margin is greater than a preset threshold value or not, if so, determining a starting point or an end point of a preset analysis pathin the time sequence violation path, and adjusting the magnitude of the
clock delay of the time sequence violation path; Otherwise, analyzing based on the static time sequence; The method comprises the following steps: firstly, extracting logic units on a
data path and a
clock path according to a preset time sequence violation path, further extracting logic modules connected with the time sequenceviolation path and line network information of the logic modules, adjusting the
line length between the logic modules connected with the time sequence violation path, performing optimized
layout according to the optimized
line length, and then returning to the step 1. The design area of the
chip is reduced, and the working frequency of the
chip is improved.