This application relates to the field of
integrated circuit design
automation technology, and provides a method and
system for verifying analog circuit structures based on
graph neural networks. The method includes: converting a SPICE
netlist into a graph structure representation, where nodes correspond to devices and edges correspond to electrical connections, and extracting feature vectors containing
device type, parameters, functional roles, connection types, and
signal directions; encoding the
circuit diagram using a graph
attention network to obtain node embeddings and graph embeddings; performing multi-task prediction based on the embedding results, including node classification,
graph classification, structure scoring, and error localization; and finally generating a
verification report containing an error
list, location information, and repair suggestions. This application achieves automatic detection and precise localization of errors in analog circuit structures, improving detection accuracy by a significant margin and possessing strong generalization capabilities.