The invention provides a
macro-
cell layout evaluation optimization method based on a large
language model, and belongs to the field of
electronic design automation. According to the method, a large
language model is introduced to assist
layout generation, a current initial
layout is improved in combination with connection
weight analysis, on the other hand, an improved result is judged and continuously iterated according to
natural language feedback of an experience manual or an expert, and closed-
loop optimization is formed; carrying out weight quantization on direct and indirect
signal paths among
macro units, constructing a logic association strength matrix, and realizing accurate identification and priority
ranking of key
time sequence paths; the availability
score of each candidate layout scheme is calculated through a layout availability scoring module, dynamic measurement is carried out on surrounding standard unit resources, the
resource distribution state is evaluated in real time, the position of a
macro unit is actively adjusted, and resource congestion or waste is avoided; the method is deeply integrated with an
open source EDA tool, the dependence on a commercial tool is reduced, the tool chain deployment and iteration period is shortened, and the transportability and
usability of the method are guaranteed.