The application provides a boundary-fusing-based
data path comprehensive optimization method,
system, medium, terminal and program product, comprising: performing
syntax analysis on an RTL design file to construct an
abstract syntax tree and identify a plurality of
data path operator nodes; performing bidirectional traversal on the
data path operator nodes to generate a data flow graph; identifying intermediate
signal variables for connecting adjacent data path operator nodes in the data flow graph, and performing data flow node
connectivity fusion by eliminating the intermediate
signal variables to generate a maximum arithmetic
connectivity subgraph; performing algebraic expression reconstruction on the maximum arithmetic
connectivity subgraph to generate an arithmetic expression model, and performing numerical
domain analysis on the arithmetic expression model to obtain a corresponding minimum effective bit width; and taking the minimum effective bit width as a bit width constraint and returning it to the maximum arithmetic connectivity subgraph to generate a data path abstract
graph model with a bit width constraint. The application can reduce the global
delay of a circuit.