The invention discloses a multi-threshold-value unit replacing method based on hierarchical
processing and cluster constraint. The multi-threshold-value unit replacing method based on hierarchical
processing and cluster constraint comprises the following steps: in parameter extracting stage, reading a
parallel algorithm and a design constraint, counting
combinational logic circuit nodes, and acquiring
cell delay of the circuit nodes, static
power consumption and a sequential
path number; in a parameter analyzing and computing stage, computing
cell delay variable quantity of the circuit nodes,static
power consumption variable quantity and the ratio of the static
power consumption variable quantity to the
cell delay variable quantity; and in a to-be-replaced circuit node selecting stage, layering the circuit nodes on the basis of layering parameters, visiting the circuit nodes from the top layer to the bottom layer, tracing the worst timing sequence path of the circuit nodes, counting same-cluster circuit nodes in the
time sequence path, setting a same-cluster circuit node priority and successively visiting the same-cluster circuit nodes, judging whether the circuit nodes meet design requirements or not, and outputting to-be-replaced circuit nodes. Selection of ASIC design to-be-replaced circuit nodes can be finished automatically, complexity caused by a traditional method is reduced, and the working efficiency is improved.