The invention relates to a
PCell code data enhancement method and
system and a storage medium, and belongs to the technical field of
artificial intelligence training data construction.The
PCell code data enhancement method comprises the steps that an LLM
large model unit is constructed, and an interface key value pair vector
database is constructed; retrieving a vector
database and a process rule base based on the
PCell code structure template and the code configuration information to generate a first PCell code sample; performing
logic error correction on the first PCell code sample to obtain a second PCell code sample, and performing
compilation error correction to obtain a third PCell code sample; and performing instantiation error correction on the third PCell code to obtain a fourth PCell code sample, and storing the fourth PCell code sample in a sample
library. According to the method, PCell code samples of different types and models of devices can be automatically generated, a large number of high-quality PCell code samples can be generated through multiple error correction, and rapid amplification of PCell code sample data is achieved.