The present invention discloses an automatic
layout generation method. First, for a process
library PDK specified by an analog circuit or a mixed-analog circuit, a
cell library compiler AcellGen is used to generate the minimum analog unit Acell of each circuit component required for automatic
layout. Then, each parameterized unit
Pcell in a
schematic diagram constructed using the parameterized unit
Pcell is replaced with the corresponding minimum analog unit Acell. Then, based on the currently obtained
schematic diagram, a corresponding circuit
netlist is generated, and the Acell used in the
schematic diagram is placed in the same schematic to extract a GDS file. Finally, based on the circuit
netlist, GDS and the minimum analog unit of each circuit component required for automatic circuit
layout, an automatic
place and route tool (PNR) is used to perform final layout generation. The method has the advantages that it can be used for the layout design of analog circuits or mixed-analog circuits, the layout area is small, and no manual intervention is required when performing layout design on analog circuits or mixed-analog circuits, so the efficiency is high.