Method for performing automated pipeline processing on schematic diagram, and scheduling server
Through the integration of the scheduling server with ECAD software and continuous integration tools, automated pipeline processing of circuit schematics is realized, solving the problems of low manual processing efficiency and inconsistent netlist configuration, and improving the efficiency and quality of circuit design.
Patent Information
- Application Number
- PCT/CN2023/132688
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2023-11-20
- Publication Date
- 2024-08-29
AI Technical Summary
In the existing technology, the processing of circuit schematic diagrams relies on manual labor, resulting in low efficiency, inconsistent generated netlist configurations, low inspection efficiency and low quality, and inability to effectively control module circuits.
The scheduling server is integrated with ECAD software and continuous integration tools (such as Jenkins) to realize automated pipeline processing of schematic diagrams, and improves the efficiency and quality of circuit design through automated inspection, configuration and netlist generation.
It achieves the consistency between configuration and environment during the schematic design process, improves the efficiency and quality of circuit design, solves the problems of inconsistent netlist configuration, generation errors and low efficiency of manual inspection, and ensures effective management and control of module circuits.
Smart Images

Figure CN2023132688_29082024_PF_FP_ABST
Abstract
Description
Method and scheduling server for automated pipeline processing of schematic diagrams
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to a Chinese patent application filed with the Patent Office of China on February 20, 2023, with application number 202310171835.2 and invention name “Method and Scheduling Server for Automated Pipeline Processing of Schematics”. The entire contents of the Chinese patent application are incorporated herein by reference. Technical Field
[0003] The present application belongs to the field of circuit design, and specifically relates to a method and a scheduling server for automated pipeline processing of schematic diagrams. Background Art
[0004] With the development of technology, circuit schematics are used in more and more occasions.
[0005] Related technologies often rely on manual processing of schematic diagrams, which is often inefficient.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a method and a scheduling server for performing automated pipeline processing on schematic diagrams, which solve the problem of low efficiency of manual processing of schematic diagrams.
[0008] In a first aspect, a method for performing automated pipeline processing on a schematic diagram is provided, comprising: a scheduling server obtains a schematic diagram to be automatically pipelined from a storage server; the scheduling server obtains a target library used in the schematic diagram from the storage server; the scheduling server sets target configuration parameters by executing a target script, the target configuration parameters including parameters for generating a target netlist, wherein the target netlist is used to represent the information in the schematic diagram in text data; the scheduling server calls computer-aided electronic design software to process the schematic diagram and the target library based on the target configuration parameters to obtain a processing result; wherein the processing result is a result related to the target netlist.
[0009] In a second aspect, a scheduling server is provided, comprising: a processor and a memory, wherein the memory stores a program, and when the program is executed, the method described in the first aspect is implemented.
[0010] In a third aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed, the steps of the method described in the first aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a framework diagram of an implementation environment of a method for performing automated pipeline processing on a schematic diagram provided by an embodiment of the present application;
[0012] FIG2 is a flow chart of a method for performing automated pipeline processing on a schematic diagram provided by an embodiment of the present application;
[0013] FIG3 is a flow chart of another method for performing automated pipeline processing on a schematic diagram provided by an embodiment of the present application;
[0014] FIG4 is a schematic diagram of a scheduling server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0016] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0017] The method for automating pipeline processing of schematics provided by the embodiment of the present application applies the automation integration idea of software to the field of circuit design, which can improve the efficiency and quality of circuit design. This method utilizes an operating platform integrated with ECAD software and a continuous integration tool (such as Jenkins) to achieve continuous integration and automation of a series of processes such as schematic pulling, configuration, netlist generation, and automatic inspection, so that the software development method is effectively applied in the field of circuit design, ensuring the consistency of configuration and environment, and improving the efficiency and quality of circuit design. The embodiment of the present application can integrate ECAD software with a continuous integration tool (such as Jenkins) to form a complete schematic automation integration operating platform, which can effectively solve the pain points such as inconsistent netlist configuration generated during schematic design, long time-consuming solution when generating netlist errors, low efficiency and quality of manual inspection, and inability to control module circuits.
[0018] FIG1 is a framework diagram of an implementation environment for a method for automated pipeline processing of schematic diagrams provided in an embodiment of the present application. Referring to FIG1 , FIG1 involves a user device 101, a first storage server 102, a scheduling server 103, and a second storage server 104. The user device 101 may be, for example, a developer's computer, the first storage server 102 may be, for example, a Gerrit storage server, the scheduling server 103 may be, for example, a Jenkins scheduling server, and the second storage server 104 may be a storage server for ECAD (Electronic Computer Aided Design) software. The scheduling server may be connected to the first storage server and the second storage server, respectively. For example, the Jenkins scheduling server may be connected to the Gerrit storage server and the ECAD storage server, respectively. Jenkins and ECAD software may be connected via a Docker container. It should be understood that the first storage server, scheduling server, and second storage server shown in FIG1 may each be a single server or a server cluster. The framework diagram shown in FIG1 is merely an example. In one embodiment, there may be no second storage server.
[0019] Jenkins is an open-source continuous integration (CI) tool primarily used for continuously and automatically building / testing software projects and monitoring the execution of external tasks. In this application embodiment, Jenkins can be used to build a schematic automation integration platform, automating and configuring a series of processes such as configuration, netlist generation, and automatic inspection. This allows for unified netlist configuration, automatic identification of netlist errors and provision of solutions, and automatic closed-loop inspection, significantly improving R&D efficiency and quality.
[0020] FIG2 is a flow chart of a method for automatically processing a schematic diagram in an embodiment of the present application. The method for automatically processing a schematic diagram in an embodiment of the present application can be applied to a scheduling server. Referring to FIG2 , the method for automatically processing a schematic diagram in an embodiment of the present application can include steps 210 to 240.
[0021] Step 210: The scheduling server obtains the schematic diagram to be processed by the automated pipeline from the storage server.
[0022] In an embodiment of the present application, the user equipment may send various schematic diagrams to the storage server, which may be configured to store the received schematic diagrams.
[0023] In one embodiment of the present application, after the scheduling server obtains the schematic diagram to be processed in an automated pipeline from the storage server in step 210, the method for automated pipeline processing of the schematic diagram provided in this embodiment of the present application may further include: the scheduling server checking the standardization of the schematic diagram by executing a first check script to obtain a first check result; and the scheduling server outputting the first check result. The standardization check of the schematic diagram may include, for example, whether a cover page is placed on the first page, whether a frame is added to each page, and so on. In this way, automated inspection can solve the problems of low efficiency and quality of manual inspection.
[0024] Step 220: The scheduling server obtains the target library used in the schematic diagram from the storage server.
[0025] In one embodiment of the present application, the target library may include a device library.
[0026] In another embodiment of the present application, the target library may include: a device library and a module circuit library; the module circuit library is a library stored in the storage server that has been reviewed and archived. Thus, since the module circuit library is a library stored in the storage server that has been reviewed and archived, each netlist generation uses the reviewed and archived module circuit library, rendering locally modifiable module circuits ineffective, thus resolving the pain point of unmanageable module circuits.
[0027] In step 230 , the scheduling server sets target configuration parameters by executing a target script, wherein the target configuration parameters include parameters for generating a target netlist, wherein the target netlist is used to represent information in the schematic diagram in text data.
[0028] The target script can be applied to various schematics obtained. The target configuration parameters set by the target script can be unified parameters. For example, parameters that do not require personalization can be included in the target configuration parameter range, while parameters that require personalization can be excluded from the target configuration parameter range. This ensures that the parameters within the target configuration parameter range remain unified, to a certain extent resolving the problem of inconsistent configuration in the generated target netlist.
[0029] The information in the schematic diagram may include device information in the schematic diagram and related information about the connection relationship of device pins.
[0030] In step 240 , the scheduling server calls computer-aided electronic design software to process the schematic diagram and the target library based on the target configuration parameters to obtain a processing result; wherein the processing result is a result related to the target netlist.
[0031] In step 240, the scheduling server invoking the computer-aided electronic design software to process the schematic diagram and the target library based on the target configuration parameters may include: the scheduling server launching a Docker container based on an image containing the computer-aided electronic design software operating environment; and the scheduling server invoking the computer-aided electronic design software in the Docker container to process the schematic diagram and the target library based on the target configuration parameters. In this way, by introducing the Docker container during the processing process, the portability of the processing can be improved.
[0032] In an embodiment of the present application, after obtaining the processing results, the method for automated pipeline processing of a schematic diagram provided in an embodiment of the present application may further include: the scheduling server checks the logic of the content of the schematic diagram by executing a second check script to obtain a second check result; and the scheduling server outputs the second check result. The content logic check may include whether the logical connection and device selection of the schematic diagram are correct, such as checking the polarity of capacitors, checking whether the power pins are not connected to the power network, checking single networks and dangling pins, etc. In this way, the problems of low efficiency and quality of manual inspection can be solved through automated inspection.
[0033] The present invention provides a method for automated pipeline processing of schematics, wherein a scheduling server obtains a schematic to be automatically pipelined from a storage server; the scheduling server obtains a target library used in the schematic from the storage server; the scheduling server sets target configuration parameters by executing a target script, wherein the target configuration parameters include parameters for generating a target netlist, wherein the target netlist is used to represent information about devices in the schematic as text data; the scheduling server invokes computer-aided electronic design software to process the schematic and the target library based on the target configuration parameters to obtain a processing result; wherein the processing result is a result related to the target netlist. In this way, during the entire schematic processing process, no human intervention is required, and the scheduling server can conveniently and automatically pipeline process the schematic, greatly improving the efficiency of schematic processing. At the same time, during the pipeline processing process, the scheduling server sets target configuration parameters by executing a target script, wherein the target configuration parameters include parameters for generating a target netlist, without the need for human intervention in setting the target configuration parameters, and can also solve the problem of inconsistent netlist configuration.
[0034] It should be understood that in the embodiment of the present application, the processing result obtained in step 240 may include a first processing result or a second processing result. The first processing result indicates that the target netlist corresponding to the schematic diagram was successfully generated, while the second processing result indicates that the target netlist corresponding to the schematic diagram failed to be generated. Thus, the generation status of the target netlist, such as success or failure, can be conveniently determined using the first processing result or the second processing result.
[0035] After obtaining the processing result, the method for performing automated pipeline processing on the schematic diagram provided by the embodiment of the present application may also include: in response to the first processing result, pushing first target information to the target user, the first target information including the first processing result; or, in response to the second processing result, pushing second target information to the target user, the second target information including the second processing result and the solution. In this way, by pushing the first target information or the second target information to the target user, the target user can be informed of the generation status of the target netlist in a timely manner. Moreover, in the event that the target netlist fails to be generated, the netlist error or fault can be quickly resolved through the solution, thereby solving the pain point of taking a long time to resolve errors when generating the netlist.
[0036] In an embodiment of the present application, after obtaining the processing result in step 240, the method for automated pipeline processing of a schematic diagram provided in this embodiment of the present application may further include: the scheduling server analyzing the schematic diagram by executing a schematic analysis script to obtain an analysis result; and the scheduling server outputting the analysis result. The scope of the schematic diagram analyzed by executing the schematic analysis script may include the number of components, the number of pins, the number of nets, the material optimization rate, the standard mold rate, and so on. In this way, the analysis result of the schematic diagram can be obtained automatically without the need for manual analysis of the schematic diagram, greatly improving analysis efficiency.
[0037] As discussed above, the processing result obtained in step 240 may include a first processing result or a second processing result. In one embodiment, the processing result includes the first processing result. After obtaining the processing result, the method for automated pipeline processing of a schematic diagram provided in the embodiment of the present application may further include: the scheduling server archiving the schematic diagram and the target netlist to the storage server. This facilitates subsequent retrieval of the schematic diagram and the target netlist from the storage server.
[0038] In one embodiment, after obtaining the processing result in step 240, the method for automated pipeline processing of schematic diagrams provided in the embodiments of the present application may further include: the scheduling server copying the contents of the target library to a local library of the scheduling server, and modifying the reference to the target library to point to the local library. In this way, the contents of the target library can be conveniently used in the local library without having to obtain the contents of the target library from other external devices each time, greatly improving operational convenience.
[0039] In one embodiment, after obtaining the processing results in step 240, if the processing results include a first processing result, i.e., a result indicating that a target netlist corresponding to the schematic diagram was successfully generated, the method for automated pipeline processing of schematic diagrams provided in this embodiment of the application may further include: the scheduling server archiving the schematic diagram, the target netlist, and the target library into an artifact library, where the artifact library is located on a server different from the storage server. This facilitates subsequent retrieval of at least one of the schematic diagram, the target netlist, and the target library from the artifact library.
[0040] It should be understood that, in another embodiment, before the scheduling server archives the schematic diagram, the target netlist, and the target library into the product library, the method for automated pipeline processing of the schematic diagram provided in the embodiment of the present application may further include: the scheduling server sends review information to the reviewer; and the scheduling server receives the review result of the reviewer. The review information can be selected as needed, for example, the review information may include information related to the schematic diagram, the target netlist, and the target library. Accordingly, the scheduling server archives the schematic diagram, the target netlist, and the target library into the product library, including: if the review result indicates that the review is passed, the scheduling server archives the schematic diagram, the target netlist, and the target library into the product library. In this way, the operation of archiving into the product library can be guaranteed to have a high reliability. Of course, if the review fails, the pipeline can be terminated without performing the archiving operation.
[0041] The following discussion further explores specific application scenarios. It's important to note that the continuous integration tool mentioned below uses Jenkins as an example, not a limitation. That is, the Jenkins pipeline tasks, Jenkins task spaces, and Jenkins execution scripts are examples, and they will change accordingly if the continuous integration tool changes. Furthermore, the Gerrit repository server is also an example, not a limitation.
[0042] FIG3 is a flow chart of another method for automatically processing a schematic diagram in an embodiment of the present application. Referring to FIG3 , the method for automatically processing a schematic diagram in an embodiment of the present application may include steps 311 to 327.
[0043] In step 311, the user device submits a new version of the schematic diagram to the storage server through a version management tool. In the case where the storage server is a Gerrit storage server, a Gerrit version management system may be provided on the Gerrit storage server.
[0044] Step 312: After the new version of the schematic is successfully submitted, the version management tool automatically triggers the creation of a new Jenkins pipeline task and a new Jenkins task space.
[0045] In an embodiment of the present application, the trigger mode of Jenkins can be set in the version management tool. Through the relevant settings, step 312 can be automatically completed when a new version of the schematic is checked in (archived to the storage server).
[0046] Step 313: The scheduling server executes a script through Jenkins to pull the schematic diagram from the Gerrit storage server (ie, the Gerrit warehouse) to the Jenkins task space.
[0047] Step 314: The scheduling server executes a script through Jenkins to pull the device library and module circuit library used by the schematic project from the Gerrit repository. Each netlist generation uses the device and module circuit libraries in the Gerrit repository, eliminating the user's locally modified module circuits, thus resolving the pain point of unmanageable module circuits.
[0048] Step 315: The scheduling server calls the automated inspection tool script (i.e., the first inspection script) to perform a schematic diagram standardization check (i.e., static inspection). This mainly checks whether the schematic diagram is set up in a standardized manner, such as whether the cover page is placed on the first page, whether a frame is added to each page, etc. The inspection results are automatically pushed to the user. The automated inspection implemented by the first inspection script solves the problems of low efficiency and quality of manual inspection.
[0049] Step 316: The scheduling server starts the Docker container based on the image containing the ECAD operating environment, and mounts the ECAD software into the container during startup.
[0050] In the embodiments of this application, Docker is an open source application container engine that allows developers to easily package any application and its dependencies into a lightweight, portable, self-sufficient container. This container can then be deployed to any popular Linux machine. A Docker image is equivalent to a root file system. The relationship between a container and an image is like that between a class and an instance in object-oriented programming: an image is a static definition, while a container is the runtime entity of the image. Containers can be created, started, stopped, deleted, paused, and so on.
[0051] By leveraging Docker's Volume mechanism for persistent container data, different containers can share the same ECAD software. Volumes do not increase the size of the container using them, and their contents persist beyond the lifecycle of the Docker container. That is, when the container is deleted, the volume is not deleted. This approach saves storage space and improves the efficiency of image loading and container operation.
[0052] Step 317: The scheduling server solves the pain point of inconsistent configuration of the generated netlist by executing a script (ie, a target script) for setting configuration related to the generated netlist in the container.
[0053] Step 318: The scheduling server executes the script for generating the netlist using the ECAD software in the container.
[0054] In the embodiment of the present application, the netlist generation process is automated by executing a script that starts ECAD and generates a netlist. The script first pulls the new version of the schematic into the task space, calls the netlist generation script, and completes the netlist generation.
[0055] Step 319: The scheduling server sends the netlist-related processing results to the target user. If the netlist generation is successful, the scheduling server extracts the successful results and log information and sends them to the target user via email. If the netlist generation fails, the scheduling server analyzes the logs, matches the error message keywords to corresponding solutions, and sends the solution and log information to the target user via email. This solves the problem of time-consuming resolution when generating netlist errors.
[0056] In the embodiment of the present application, the results of generating the netlist can be either successful or failed. If the result is a failure, the cause of the failure can be automatically determined based on the keyword; by setting the email sending rules, the email sending process can be automatically completed.
[0057] Step 320: The scheduling server executes the call of the automated inspection tool script (i.e., the second inspection script) to perform a schematic logic check. This mainly checks whether the logical connection and device selection of the schematic are correct, such as checking the polarity of the capacitor, the positive and negative power supply, checking if the power pin is not connected to the power network, checking single network and dangling pins, etc. In this way, the second inspection script can realize automated inspection to solve the problems of low efficiency and quality of manual inspection.
[0058] Step 321: The dispatch server extracts and analyzes the inspection results and generates an inspection report;
[0059] Step 322: The scheduling server pushes the inspection report to the target user via email or other means. The target user may be, for example, the user and / or the project manager;
[0060] Step 323: The scheduling server executes the schematic analysis script to analyze the schematic data. The server can extract and summarize the analysis results into a report and push it to the target user. The analysis content may include the number of components, number of pins, number of nets, material optimization rate, standard model rate, etc.
[0061] Step 324: The scheduling server executes the first archiving script to automatically archive the schematic diagram and the generated netlist after the inspection is completed into the Gerrit repository.
[0062] Step 325: The scheduling server executes the second archiving script to copy the target library including the device library and the module circuit library to the local library, such as the local project directory, and modifies the reference to the target library to point to the local library.
[0063] Step 326: The scheduling server executes the third archiving script to automatically archive the schematic diagram, the generated netlist, and the target library into the artifact library.
[0064] Step 327: The scheduling server cleans up the related resources of this Jenkins pipeline task.
[0065] It should be noted that some steps of the Jenkins Pipeline mentioned above can be selectively executed as needed, and the order of execution can also be set.
[0066] The method for automating pipeline processing of schematics provided in the embodiment of the present application may involve version management of schematic data, automatic pulling of schematic data, automatic generation of netlists by ECAD (Electronic Computer Aided Design) software, automatic checking of schematics by inspection tools, etc. Among them, the version management tool can be a tool integrated with ECAD software, and the drawings generated by ECAD software can be pushed to a storage server for storage. By utilizing an operation platform integrated with ECAD software and a continuous integration tool (such as Jenkins), continuous integration and automation of a series of processes such as schematic pulling, configuration, netlist generation, and automatic inspection are achieved, so that the software development method is effectively applied in the field of circuit design, ensuring the consistency of configuration and environment, and improving the efficiency and quality of circuit design. The embodiment of the present application can integrate ECAD software with a continuous integration tool (such as Jenkins) to form a complete schematic automation integrated operation platform, which can effectively solve the pain points such as inconsistent netlist configuration generation in the schematic design process, long time-consuming solution when generating netlist errors, low manual inspection efficiency and quality, and inability to control module circuits.
[0067] In addition, the embodiment of the present application combines Jenkins with ECAD software, leveraging the advantages of both tools to form a complete operating platform, while supporting rule configurability and strong scalability, thus achieving continuous integrated development in the field of circuit design.
[0068] The following further discusses the method for automating pipeline processing of schematic diagrams provided by the embodiments of the present application through multiple specific scenarios. It should be understood that in the following embodiments, the continuous integration tool Jenkins is used as an example for discussion, but it is not limiting.
[0069] Taking the typical process of a R&D staff editing a schematic project named diagram_project_demo in Cadence software, submitting changes, and triggering a Jenkins pipeline as an example, the method for automated pipeline processing of schematics provided in the embodiments of the present application may include:
[0070] The R&D personnel submit a new version of the schematic to the Gerrit version management system through the version management tool. After the push is successful, the corresponding submission number will be generated in the Gerrit repository of diagram_project_demo, such as 6f17a900c12930cc4ed3aa49e9d6579615fcf989.
[0071] After the new version of the schematic is successfully submitted, the version management tool automatically triggers the creation of a new Jenkins pipeline task. The Gerrit repository address (https: / / gerrit.xxx.com.cn / xxx / xxxx / diagram_project_demo) and the Gerrit submission record number of the schematic project diagram_project_demo are transmitted via the HTTPS protocol as the startup parameters of the pipeline task, thereby locating the diagram_project_demo project information.
[0072] After the Jenkins pipeline is successfully launched, it executes the pre-configured Jenkins Pipeline Script (from SCM), running each step of the pipeline in sequence: pulling the schematic project - pulling the device library and module circuit library - static checking - packaging - logic checking - analyzing data extraction - first archiving - second archiving - third archiving. Each step launches a new Docker container based on the image containing the ECAD runtime environment. Mounting the ECAD software directory into the container is supported during startup. The container is destroyed upon completion of each step, but the data generated within the container is not cleaned up until the pipeline ends.
[0073] The Jenkins pipeline executes the schematic pull step. It pulls the schematic project information into the Jenkins task space based on the Gerrit repository address and Gerrit commit record number of the diagram_project_demo specified in the pipeline startup parameters.
[0074] The Jenkins pipeline executes the device library and module circuit library pull step. It pulls the device library and module circuit library used in the diagram_project_demo project into the Jenkins task space, making the project ready for packaging (i.e., generating a netlist).
[0075] The Jenkins pipeline performs a compliance check (static check) on schematics. This static check is performed on the diagram_project_demo project. For example, the schematic table of contents format must comply with the requirements of Section 5.4 of Q / ZX 01333.2. The page numbers in the table of contents must match the title bar of each schematic page. Except for the schematic cover and table of contents, the functional description in the lower left corner of each schematic page must match the description in the table of contents. The check results are extracted and analyzed, and a report is generated and recorded. The report is then sent to the user and their project manager for confirmation via email or other means. If the check fails, the result is ignored and the subsequent steps are executed.
[0076] The Jenkins pipeline performs unified configuration and packaging steps. Within the container, Jenkins executes a script that configures netlist generation and sets the PKGRXL parameters for the diagram_project_demo.cpm file. The diagram_project_demo project is packaged (corresponding to netlist generation) and the packaging results are output. The log for a successful package contains the keyword "Packager-XL execution done." If the pipeline determines that the package was successful, it extracts the successful result and log information and sends it to the user via email, continuing with the next steps. If the package failed, the log contains the keyword "FATAL ERROR Packager-XL exiting with." If the package failed, the error message keyword automatically determines the cause of the failure, matches the solution, and sends the solution and log information to the user via email, terminating the pipeline task prematurely.
[0077] The Jenkins pipeline performs content logic checks on the schematic. Within the container, Jenkins performs logic checks, including polarity checks for capacitors, positive and negative power supplies, checking for series resistance in clock networks, and differential consistency checks for resistors and capacitors. The results are extracted and analyzed, and a report is generated and recorded. The report is then sent to the user and their project manager for confirmation via email or other means. If the check fails, the result is ignored and the subsequent steps are executed.
[0078] The Jenkins pipeline executes the schematic analysis step. Within the container, Jenkins executes the schematic data analysis script, analyzing data related to the diagram_project_demo project. Analyzing dimensions such as device count, pin count, net count, material optimization rate, and standard mold rate, Jenkins then compiles the analysis results into a report and sends it to the user and their project manager.
[0079] The Jenkins pipeline completes the first archiving step by executing the first archiving script. Specifically, Jenkins resubmits the diagram_project_demo project, which has been packaged and checked, to the Gerrit repository within the container and generates a corresponding Gerrit commit number.
[0080] The Jenkins pipeline executes the second archive script, completing the second archiving step. Specifically, Jenkins executes the schematic archive script within the container, copies the device library and standard model library to the project directory, and modifies the references.
[0081] The Jenkins pipeline executes the third archiving script, completing the third archiving step. Specifically, the archived schematic project is automatically archived into the artifact library, for example, the artifact library file address is https: / / artxxx.com.cn / artifactory / xxxx / diagram_project_demo / V0.1 / diagram_project_demo_archive.zip.
[0082] Clean up the related resources of this Jenkins pipeline task.
[0083] The embodiment of the present application combines Jenkins with ECAD software, leveraging the advantages of both tools to form a comprehensive operating platform that supports configurable rules and has strong scalability, thus achieving continuous integrated development in the field of circuit design. The embodiment of the present application integrates ECAD software with continuous integration tools (such as Jenkins) to form a complete schematic automation integrated operating platform, which can effectively solve the pain points of inconsistent netlist configuration generated during schematic design, long time-consuming resolution of errors in netlist generation, low efficiency and quality of manual inspection, and inability to control module circuits.
[0084] Taking the streamlined process of a R&D staff editing a schematic project named diagram_project_demo in Cadence software and submitting changes to trigger a Jenkins pipeline as an example, the method for automated pipeline processing of schematics provided in the embodiments of the present application may include:
[0085] The R&D personnel submit a new version of the schematic to the Gerrit version management system through the version management tool. After the push is successful, the corresponding submission number will be generated in the Gerrit repository of diagram_project_demo, such as 6f17a900c12930cc4ed3aa49e9d6579615fcf989.
[0086] After the new version of the schematic is successfully submitted, the version management tool automatically triggers the creation of a new Jenkins pipeline task. The Gerrit repository address (https: / / gerrit.xxx.com.cn / xxx / xxxx / diagram_project_demo) and Gerrit submission record number of the schematic project diagram_project_demo are transmitted via the HTTPS protocol as the startup parameters of the pipeline task, thereby locating the diagram_project_demo project information.
[0087] After the Jenkins pipeline is successfully launched, it executes the pre-configured Jenkins Pipeline Script (from SCM), running each pipeline step in sequence: pulling the schematic project - pulling the component library and module circuit library - packaging - first archive - second archive - third archive. Each step launches a new Docker container based on the image containing the ECAD runtime environment. Mounting the ECAD software directory into the container is supported during startup. The container is destroyed upon completion of each step, but the data generated within the container is not cleaned up until the pipeline ends.
[0088] The Jenkins pipeline executes the schematic pull step. It pulls the schematic project information into the Jenkins task space based on the Gerrit repository address and Gerrit commit record number of the diagram_project_demo specified in the pipeline startup parameters.
[0089] The Jenkins pipeline executes the device library and module circuit library pull step. It pulls the device library and module circuit library used in the diagram_project_demo project into the Jenkins task space, making the project ready for packaging.
[0090] The Jenkins pipeline performs unified configuration and packaging steps. Within the container, Jenkins executes a script that configures netlist generation and sets the PKGRXL parameters for the diagram_project_demo.cpm file. It then packages the diagram_project_demo project and outputs the packaged results.
[0091] The Jenkins pipeline completes the first archiving step by executing the first archiving script. Within the container, Jenkins resubmits the packaged and checked diagram_project_demo project and pushes it to the Gerrit repository, generating a corresponding Gerrit commit number.
[0092] The Jenkins pipeline completes the second archiving step by executing the second archive script. Jenkins executes the schematic archive script within the container, copies the device library and standard model library to the project directory, and modifies the references.
[0093] The Jenkins pipeline completes the third archiving step by executing the third archiving script. The archived schematic project is automatically archived to the artifact repository. For example, the artifact repository file address is https: / / artxxx.com.cn / artifactory / xxxx / diagram_project_demo / V0.1 / diagram_project_demo_archive.zip.
[0094] Clean up the related resources of this Jenkins pipeline task.
[0095] The embodiment of the present application combines Jenkins with ECAD software, leveraging the advantages of both tools to form a comprehensive operating platform that supports configurable rules and has strong scalability, thus achieving continuous integrated development in the field of circuit design. The embodiment of the present application integrates ECAD software with continuous integration tools (such as Jenkins) to form a complete schematic automation integrated operating platform, which can effectively solve the pain points of inconsistent netlist configuration generated during schematic design, long time-consuming resolution of errors in netlist generation, low efficiency and quality of manual inspection, and inability to control module circuits.
[0096] Taking the example of a R&D staff editing a schematic project named diagram_project_demo in Cadence software and submitting changes to trigger the quality control process of the Jenkins pipeline, the method for automated pipeline processing of schematics provided in the embodiment of the present application may include:
[0097] The R&D personnel submit a new version of the schematic to the Gerrit version management system through the version management tool. After the push is successful, the corresponding submission number will be generated in the Gerrit repository of diagram_project_demo, such as 6f17a900c12930cc4ed3aa49e9d6579615fcf989.
[0098] After the new version of the schematic is successfully submitted, the version management tool automatically triggers the creation of a new Jenkins pipeline task. The Gerrit repository address (https: / / gerrit.xxx.com.cn / xxx / xxxx / diagram_project_demo) and Gerrit submission record number of the schematic project diagram_project_demo are transmitted via the HTTPS protocol as the startup parameters of the pipeline task, thereby locating the diagram_project_demo project information.
[0099] After the Jenkins pipeline is successfully launched, it executes the pre-configured Jenkins Pipeline Script (from SCM), running each step of the pipeline in sequence: schematic project pull - device library and module circuit library pull - static check - packaging - logic check - analytical data extraction - first archive - second archive - online review - third archive. Each step launches a new Docker container based on the image containing the ECAD runtime environment. Mounting the ECAD software directory into the container is supported during startup. The container is destroyed upon completion of each step, but the data generated within the container is not cleaned up until the pipeline ends.
[0100] The Jenkins pipeline executes the schematic pull step: it pulls the schematic project information into the Jenkins task space based on the Gerrit repository address and Gerrit submission record number of diagram_project_demo in the pipeline startup parameters.
[0101] The Jenkins pipeline executes the device library and module circuit library pull step. It pulls the device library and module circuit library used in the diagram_project_demo project into the Jenkins task space, making the project ready for packaging (i.e., generating a netlist).
[0102] The Jenkins pipeline performs a compliance check (static check) on schematics. This static check is performed on the diagram_project_demo project. For example, the schematic table of contents format must comply with the requirements of Section 5.4 of Q / ZX 01333.2. The page numbers in the table of contents must match the title bar of each schematic page. Except for the schematic cover and table of contents, the functional description in the lower left corner of each schematic page must match the description in the table of contents. The check results are extracted and analyzed, and a report is generated and recorded. The report is then sent to the user and their project manager for confirmation via email or other means. If the check fails, the pipeline task ends prematurely.
[0103] The Jenkins pipeline performs unified configuration and packaging steps. Within the container, Jenkins executes a script that configures netlist generation and sets the PKGRXL parameters in the diagram_project_demo.cpm file. The diagram_project_demo project is packaged and the packaging results are output. The log for successful packaging contains the keyword "Packager-XL execution done." If packaging is successful, the successful result and log information are extracted and sent to the user via email, allowing subsequent steps to proceed. The log for failed packaging contains the keyword "FATAL ERROR Packager-XL exiting with." If packaging fails, the error message automatically identifies the cause of the failure based on the keyword, matches the solution, and sends the solution and log information to the user via email, terminating the pipeline task prematurely.
[0104] The Jenkins pipeline performs logic checks on the schematic. Within the container, Jenkins performs logic checks, including polarity checks for capacitors, positive and negative power supplies, checking for series resistance in clock networks, and differential consistency checks for resistors and capacitors. The results are extracted and analyzed, and a report is generated and recorded. The report is then sent to the user and their project manager for confirmation via email or other means. If the check fails, the pipeline task ends prematurely.
[0105] The Jenkins pipeline executes the schematic analysis step. Within the container, Jenkins executes the schematic data analysis script, analyzing data related to the diagram_project_demo project. Analyzing metrics such as device count, pin count, net count, material optimization rate, and standard mold rate, Jenkins then aggregates the metrics into a report and compares them against set limits. If metrics do not meet the requirements, the pipeline terminates prematurely and is notified to the user and their project manager.
[0106] The Jenkins pipeline completes the first archiving step by executing the first archiving script. Within the container, Jenkins resubmits the packaged and checked diagram_project_demo project and pushes it to the Gerrit repository, generating a corresponding Gerrit commit number.
[0107] The Jenkins pipeline executes the second archive script, completing the second archiving step. Jenkins executes the schematic archive script within the container, copies the device library and standard model library to the project directory, and modifies the references.
[0108] The Jenkins pipeline executes the review step. The relevant reviewers for the diagram_project_demo project conduct an online review. Only after the review passes can the third archiving step be completed. If the review fails, the pipeline ends prematurely.
[0109] The Jenkins pipeline executes the third archiving script, completing the third archiving step. The archived schematic project is automatically archived to the artifact repository. For example, the artifact repository file address is https: / / artxxx.com.cn / artifactory / xxxx / diagram_project_demo / V0.1 / diagram_project_demo_archive.zip.
[0110] Clean up the related resources of this Jenkins pipeline task.
[0111] The embodiment of the present application combines Jenkins with ECAD software, leveraging the advantages of both tools to form a comprehensive operating platform that supports configurable rules and has strong scalability, thus achieving continuous integrated development in the field of circuit design. The embodiment of the present application integrates ECAD software with continuous integration tools (such as Jenkins) to form a complete schematic automation integrated operating platform, which can effectively solve the pain points of inconsistent netlist configuration generated during schematic design, long time-consuming resolution of errors in netlist generation, low efficiency and quality of manual inspection, and inability to control module circuits.
[0112] In addition, as shown in FIG4 , an embodiment of the present application further provides a scheduling server 400 , which can be any type of server. The scheduling server 400 includes a processor 410 and a memory 420 . The memory 420 stores programs or instructions that, when executed by the processor 410 , implement any of the steps described above in the method for automated pipeline processing of schematic diagrams.
[0113] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the steps of any one of the methods described above for automatically pipeline processing a schematic diagram are implemented.
[0114] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0115] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0116] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0118] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0119] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0120] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0121] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0122] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A method for automated pipeline processing of a schematic diagram, comprising: The scheduling server obtains the schematic diagram to be processed by the automated assembly line from the storage server; The scheduling server obtains the target library used in the schematic diagram from the storage server; The scheduling server sets target configuration parameters by executing a target script, wherein the target configuration parameters include parameters for generating a target netlist, wherein the target netlist is used to represent information in the schematic diagram in text data; The scheduling server calls computer-aided electronic design software to process the schematic diagram and the target library based on the target configuration parameters to obtain a processing result; The processing result is a result related to the target netlist.
2. The method according to claim 1, wherein: The target library includes: a device library and a module circuit library; the module circuit library is a library stored in the storage server and has been reviewed and archived.
3. The method according to claim 1, wherein: The processing result includes a first processing result or a second processing result; the first processing result indicates that a target netlist corresponding to the schematic diagram is generated successfully, and the second processing result indicates that a target netlist corresponding to the schematic diagram is generated unsuccessfully.
4. The method according to claim 3, wherein: After obtaining the processing result, the method further includes: In response to the first processing result, push first target information to a target user, where the first target information includes the first processing result; Alternatively, in response to the second processing result, second target information is pushed to the target user, where the second target information includes the second processing result and a solution.
5. The method according to any one of claims 1 to 4, wherein: After the scheduling server obtains the schematic diagram to be processed by the automated assembly line from the storage server, the method further includes: The scheduling server checks the standardization of the schematic diagram by executing a first checking script to obtain a first checking result; The scheduling server outputs the first inspection result.
6. The method according to any one of claims 1 to 4, wherein: After obtaining the processing result, the method further includes: The scheduling server checks the logic of the content of the schematic diagram by executing a second check script to obtain a second check result; The scheduling server outputs the second inspection result.
7. The method according to any one of claims 1 to 4, wherein: After obtaining the processing result, the method further includes: The scheduling server analyzes the schematic diagram by executing a schematic diagram analysis script to obtain an analysis result; The scheduling server outputs the analysis result.
8. The method according to claim 3, wherein: The processing result includes a first processing result. After obtaining the processing result, the method further includes: The scheduling server archives the schematic diagram and the target netlist into the storage server.
9. The method according to any one of claims 1 to 4, wherein: After obtaining the processing result, the method further includes: The scheduling server copies the content of the target library to the local library of the scheduling server, and modifies the reference to the target library to point to the local library.
10. The method according to claim 3, wherein: The processing result includes a first processing result. After obtaining the processing result, the method further includes: The scheduling server archives the schematic diagram, the target netlist, and the target library into a product library, and the product library is located on a server different from the storage server.
11. The method according to claim 10, wherein: Before the scheduling server archives the schematic diagram, the target netlist, and the target library into the product library, the method further includes: The scheduling server sends review information to the reviewer; The scheduling server receives the review result of the reviewer; The scheduling server archives the schematic diagram, the target netlist, and the target library into a product library, including: If the review result indicates that the review is passed, the scheduling server sends the schematic diagram, The target netlist and the target library are archived into a product library.
12. The method according to claim 1, wherein: The scheduling server calls computer-aided electronic design software to process the schematic diagram and the target library based on the target configuration parameters, including: The scheduling server starts a Docker container based on an image including a computer-aided electronic design software operating environment; The scheduling server calls computer-aided electronic design software in the Docker container to process the schematic diagram and the target library based on the target configuration parameters.
13. A scheduling server, comprising a memory and a processor, wherein the memory stores programs or instructions, and when the programs or instructions are executed by the processor, the method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
A software integration method and device
CN109683899A
DevOps-based free arrangement monitoring system and use method thereof
CN111930421A
Code execution method and device based on assembly line, electronic equipment and medium
CN114048135A
Logic synthesis method and device and storage medium
CN114117973A
Assembly line script generation method, system and equipment based on Jenkins plug-in and medium
CN115098082A
