The invention discloses a processor performance optimization method based on the
clock planning deviation
algorithm, which comprises the following steps: the
layout planning phase, the
layout phase and the follow-up phase, wherein in the
layout planning phase, grouping SRAM (
static random access memory) according to the path relation between an SRM (
shared resource module) preceding-stage or backward-stage register and multiple SRM;
clock deviation planning is performed in the layout phase, and the layout phase is divided into two phases, namely before
clock tree synthesis and after
clock tree synthesis; before
clock tree synthesis, SRAM clock
delay is adjusted according to the average surplus capacity between SRAM and multiple paths of the preceding-stage or backward-stage register, and planning the clock
jitter of the register by adopting the partial surplus capacity borrowing
algorithm; after
clock tree synthesis, handling a large number and few
time sequence violations respectively by adopting the clock tree
algorithm correction and the
engineering change; in the follow-up phase, to
handle the storage time violation after wiring, the restoring scheme based on distributed multi-
scenario time sequence analysis, and combining an ECO (
engineering change order) and a script is adopted.