The application discloses a design method and device of a
silicon optical circuit, a storage medium and an electronic device. The method comprises the following steps: obtaining an optical design file input by a user and a preset
process description file, and analyzing the optical design file and the
process description file to obtain design parameters of the
silicon optical circuit; generating path parameters meeting a first target dimension constraint condition based on the design parameters through a pre-trained
path generation network; wherein the first target dimension at least comprises a geometric dimension, an optical dimension and a
process dimension; constructing a path geometric model based on the path parameters, converting the path geometric model into
layout data under a target process, and generating an initial
layout file of the
silicon optical circuit based on the
layout data; performing photoelectric consistency
verification on the initial layout file, and determining a target layout file corresponding to the initial layout file based on a
verification result. Through the technical scheme provided by the application, the layout and wiring of the silicon optical circuit can be optimized to meet the design requirements of the silicon optical circuit.