The invention discloses a circuit
netlist generation method supporting
deep learning model multi-stage reasoning, and belongs to the technical field of
electronic circuit design and
automation, and the method comprises the steps: obtaining a
circuit diagram image through
optical scanning, carrying out the preprocessing of the image, carrying out the recognition of a component through a
deep learning model YOLOv5, and determining the boundary frame coordinates and
class information. And further performing port fine identification on the component, and determining the position and the direction of the port. And eliminating character interference by using an
optical character recognition technology, performing wire recognition, including Hough straight line detection and
jumper processing, and determining starting point and ending point coordinates of the wire. And matching the identification results of the components, the ports and the wires, constructing a topological structure of a
circuit diagram, finally generating a circuit
netlist, and performing error
elimination and
JSON format output. According to the method, automatic
netlist generation of the analog
circuit diagram can be realized, the analog circuit diagram file is converted into the netlist file with device function annotations, and the efficiency and quality of
circuit design and
simulation are improved.