Design rule creation method and device, electronic equipment and storage medium
By generating and storing design rules in electronic design automation tools, the problem of limited number of design rules and confusing version management is solved, and more comprehensive and convenient design rules inspection and management is achieved, improving design quality and reliability.
Patent Information
- Application Number
- CN202411246060.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The limited number of design rules in the existing electronic design automation tools and do not support rule expansion, resulting in limitations and inconvenience in design rule checking, unable to prevent design errors more comprehensively, and version management is chaotic, reducing the efficiency of design rule management.
Without relying on the component model library, a method and device is provided to generate and verify design rules by obtaining user input rule information, supporting rule extensions, and storing target design rules and version information into the design rule storage area , realize version distinction and management of design rules.
It increases the convenience and comprehensiveness of design rule inspection, improves the quality and reliability of electronic design automation design, simplifies design rule management, and improves the efficiency of user design rule management.
Smart Images

Figure CN119127171A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic design automation, and in particular to a method, device, electronic device and storage medium for creating a design rule. Background Art
[0002] In electronic design automation (EDA) design, design rule checking (DRC) can prevent EDA design errors, thereby ensuring the quality and reliability of EDA design and improving the production efficiency of EDA design.
[0003] However, the number of design rules built into existing electronic design automation tools is limited, and although the design rule checking tool built into the electronic design automation tool can supplement some design rules, the tool needs to be used based on the component model library and does not support rule expansion, resulting in technicians being able to use only a limited number of design rules for design rule checking, and being unable to prevent electronic design automation design errors more comprehensively, which brings great limitations and inconveniences to technicians in performing design rule checking, and the quality and reliability of electronic design automation designs cannot be better guaranteed; in addition, due to the chaotic version management of design rules, when technicians need to manage different versions of design rules, they cannot quickly determine the corresponding design rules, which brings inconvenience to technicians in managing design rules and reduces the efficiency of technicians in design rule management. Summary of the invention
[0004] The present invention provides a method, device, electronic device and storage medium for creating design rules, which can add design rules that meet the design rule checking requirements without relying on a component model library, achieve the purpose of supporting the rule extension of the design rules, better meet the design rule checking requirements of users, reduce the limitations of the design rule checking, increase the convenience of the design rule checking, and solve the problem that the number of design rules provided in the electronic design automation tool is limited and the rule extension is not supported, resulting in users being able to use only a limited number of design rules to check the design rules, which brings great limitations and inconvenience to the technical personnel in checking the design rules; in addition, since the target design rules that meet the actual needs can be automatically generated based on the rule information, that is, the number of design rules is no longer limited, the electronic design automation design errors can be prevented more comprehensively, thereby increasing the comprehensiveness of preventing the electronic design automation design errors and improving the quality and reliability of the electronic design automation design; finally, the target design rules and version information are stored in the design rule storage area correspondingly, which is equivalent to adding version attributes to the design rules, so as to achieve the purpose of distinguishing the versions of the target design rules. When the user needs to manage the design rules of different versions, the corresponding design rules can be quickly determined according to the version information, so as to increase the convenience and efficiency of the design rule management and improve the design rule management efficiency of the user.
[0005] According to a first aspect of the present invention, a method for creating a design rule is provided, the method comprising:
[0006] Acquire a rule creation method, and display a rule creation interface according to the rule creation method, so that a user can input rule information on the rule creation interface;
[0007] Acquiring the rule information, and generating initial design rules based on the rule information;
[0008] Performing rule checking on the initial design rules to obtain a checking result of the initial design rules;
[0009] When the inspection result is inspection passed, determining the initial design rule as a target design rule;
[0010] The target design rule and the rule information are stored in a design rule storage area, wherein the rule information includes version information of the initial design rule.
[0011] According to a second aspect of the present invention, there is provided a device for creating a design rule, the device comprising:
[0012] An interface display module, used to obtain a rule creation method and display a rule creation interface according to the rule creation method, so that a user can input rule information on the rule creation interface;
[0013] A rule generation module, used to obtain the rule information and generate initial design rules based on the rule information;
[0014] A rule checking module, used for performing rule checking on the initial design rules to obtain a checking result of the initial design rules;
[0015] A rule determination module, configured to determine the initial design rule as a target design rule when the inspection result is that the inspection is passed;
[0016] The rule storage module is used to store the target design rule and the rule information in a design rule storage area, wherein the rule information includes version information of the initial design rule.
[0017] According to a third aspect of the present invention, there is provided an electronic device, comprising a processor and a memory.
[0018] The memory is used to store codes and related data;
[0019] The processor is used to execute the code in the memory to implement the method for creating design rules as described in any one of the embodiments of the present invention.
[0020] According to a fourth aspect of the present invention, there is provided a storage medium on which a computer program is stored, and when the program is executed by a processor, the method for creating a design rule as described in any one of the embodiments of the present invention is implemented.
[0021] In an embodiment of the present invention, a rule creation method is obtained, and a rule creation interface is displayed according to the rule creation method, so that the user can input rule information in the rule creation interface; obtain rule information, and generate initial design rules based on the rule information; perform rule inspection on the initial design rules to obtain the inspection result of the initial design rules; when the inspection result is inspection passed, the initial design rules are determined as target design rules; the target design rules and rule information are stored in the design rule storage area, and the rule information includes the version information of the initial design rules. That is, the technical solution of the present invention can obtain rule information and automatically generate target design rules that meet the actual needs based on the rule information after the user (technician) inputs rule information according to actual needs when the existing design rules cannot meet the inspection requirements of the design rules, that is, without relying on the component model library, add design rules that meet the design rule inspection requirements, achieve the purpose of supporting the rule extension of design rules, better meet the user's design rule inspection requirements, reduce the limitations of design rule inspection, increase the convenience of design rule inspection, solve the problem that the number of design rules provided in the electronic design automation tool is limited and does not support rule extension, resulting in users can only use a limited number of design rules to check the design rules, and provide technicians with design rule inspection In addition, since the target design rules that meet the actual needs can be automatically generated based on the rule information, that is, the number of design rules is no longer limited, it can prevent electronic design automation design errors more comprehensively, thereby increasing the comprehensiveness of preventing electronic design automation design errors and improving the quality and reliability of electronic design automation design; finally, storing the target design rules and version information in the design rule storage area is equivalent to adding version attributes to the design rules, so as to achieve the purpose of version differentiation of the target design rules. When the user needs to manage different versions of design rules, the corresponding design rules can be quickly determined according to the version information, which increases the convenience and efficiency of design rule management and improves the user's design rule management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 is a flow chart of a method for creating a design rule provided by an embodiment of the present invention;
[0024] Figure 2 is another flowchart of a method for creating a design rule provided by an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of a second basic information sub-interface in the method for creating a design rule provided in an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of a second parameter information sub-interface in the method for creating a design rule provided in an embodiment of the present invention;
[0027] Figure 5 It is a schematic diagram of the second script information sub-interface in the method for creating a design rule provided in an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of a method for creating a design rule provided by an embodiment of the present invention;
[0029] Figure 7 is a structural schematic diagram of a device for creating a design rule provided by an embodiment of the present invention;
[0030] Figure 8 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0034] Figure 1 1 is a flow chart of a method for creating a design rule provided by an embodiment of the present invention. The method can be executed by a device for creating a design rule, and the device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated into an electronic device, such as a computer, a server, etc. The following embodiments will be described by taking the device integrated into an electronic device as an example. Figure 1 , the method may specifically include the following steps:
[0035] Step 101, obtaining a rule creation method, and displaying a rule creation interface according to the rule creation method, so that the user can input rule information in the rule creation interface.
[0036] Among them, the rule creation methods can include ordinary creation, template creation and wizard creation. Ordinary creation can be understood as a method in which users create design rules by themselves without any rule creation prompt information. Template creation can be understood as a method in which users create design rules based on rule creation templates; wizard creation can be understood as a method in which users create design rules under the guidance of rule creation prompt information; rule creation interface can include ordinary creation interface, template creation interface and wizard creation interface; rule information can be understood as information required to create design rules.
[0037] In an optional implementation, after detecting user login information, a rule creation mode selection interface can be displayed to the user, so that the user can determine the rule creation mode in the rule creation mode selection interface; the rule creation mode determined by the user is obtained, and when the rule creation mode is ordinary creation, the rule creation interface corresponding to the rule creation mode is determined to be an ordinary creation interface, and the ordinary creation interface is displayed, so that the user can input rule information in the ordinary creation interface; when the rule creation mode is template creation, the rule creation interface corresponding to the rule creation mode is determined to be a template creation interface, and the template creation interface is displayed, so that the user can input rule information in the template creation interface; when the rule creation mode is wizard creation, the rule creation interface corresponding to the rule creation mode is determined to be a wizard creation interface, and the wizard creation interface is displayed, so that the user can input rule information in the wizard creation interface.
[0038] For example, after detecting the user login information, a rule creation method selection interface can be displayed to the user, so that the user can determine the rule creation method in the rule creation method selection interface; the rule creation method determined by the user is obtained. If the rule creation method determined by the user is ordinary creation, the rule creation interface corresponding to the rule creation method can be determined as an ordinary creation interface, and the ordinary creation interface can be displayed, so that the user can enter rule information in the ordinary creation interface.
[0039] Step 102: Obtain rule information, and generate initial design rules based on the rule information.
[0040] Among them, the rule information may include basic rule information, rule parameter information and rule script information; the basic rule information may include rule name, rule classification, rule level and rule description, and the rule level can be understood as the level of the design rule; the rule description can be understood as the explanatory information added by the user to the design rule; the rule parameter information may include parameter information required to create the design rule, and the rule parameter information may include parameter value and parameter name, and the type of rule parameter may include but is not limited to string, regular expression, set, Boolean, etc.; the rule script information can be understood as the code information required to create the design rule.
[0041] In an optional implementation, the basic rule information and the rule parameter information may be fed back to the rule script information to generate the initial design rules.
[0042] For example, the basic rule information includes: rule name S, rule category (component), rule level (level 1) and rule description (T); the rule parameter information includes: parameter name A and parameter value TRUE; the rule script information is: XXXXXX; the basic rule information and rule parameter information can be returned to the corresponding preset area in the rule script information to automatically generate the initial design rules.
[0043] Step 103: Perform rule verification on the initial design rules to obtain verification results of the initial design rules.
[0044] In an optional implementation, an electronic design file may be obtained from an electronic design automation tool, and then data analysis may be performed on the electronic design file to obtain data to be tested; and initial design rules may be used to perform rule testing on the data to be tested to obtain test results of the initial design rules.
[0045] For example, an electronic design file F is obtained from an electronic design automation tool, and then data is parsed on the electronic design file to obtain data D to be checked; the data to be checked is checked using the initial design rules to obtain the checking results of the initial design rules.
[0046] Step 104 : when the inspection result is that the inspection is passed, the initial design rules are determined as target design rules.
[0047] Step 105 , storing the target design rule and rule information in a design rule storage area, wherein the rule information includes version information of the initial design rule.
[0048] In an optional implementation, a rule file with the file name of the target design rule can be generated according to the target design rule, basic rule information, rule parameter information, rule script information and version information, and then the rule file is stored in the design rule storage area. In this way, when the user needs to view the target design rule, the rule file corresponding to the target design rule can be directly opened in the design rule storage area to quickly view the basic rule information, rule parameter information, rule script information and version information of the target design rule, thereby improving the user's design rule viewing speed; when the user needs to optimize the target design rule, the optimization method of the target design rule can be quickly determined based on the basic rule information, rule parameter information, rule script information and version information of the target design rule, thereby improving the optimization efficiency of the design rule.
[0049] In the embodiment of the present invention, when the existing design rules cannot meet the design rule checking requirements, the user (technician) can input rule information according to actual requirements, obtain rule information and automatically generate target design rules that meet the actual requirements based on the rule information, that is, without relying on the component model library, add design rules that meet the design rule checking requirements, achieve the purpose of supporting rule extension of design rules, better meet the user's design rule checking requirements, reduce the limitations of design rule checking, increase the convenience of design rule checking, solve the problem that the number of design rules provided in the electronic design automation tool is limited and does not support rule extension, resulting in users can only use a limited number of design rules to check the design rules, and provide technicians with design rule checking In addition, since the target design rules that meet the actual needs can be automatically generated based on the rule information, that is, the number of design rules is no longer limited, it can prevent electronic design automation design errors more comprehensively, thereby increasing the comprehensiveness of preventing electronic design automation design errors and improving the quality and reliability of electronic design automation design; finally, storing the target design rules and version information in the design rule storage area is equivalent to adding version attributes to the design rules, so as to achieve the purpose of version differentiation of the target design rules. When the user needs to manage different versions of design rules, the corresponding design rules can be quickly determined according to the version information, which increases the convenience and efficiency of design rule management and improves the user's design rule management efficiency.
[0050] In some embodiments, when the inspection result is a failure, an initial inspection report is generated based on the basic information of the rules, the inspection results and the initial design rules; the report level of the initial inspection report is determined based on the rule level, and then a target inspection report is generated based on the initial inspection report and the report level. In this way, when the initial design rule inspection fails, the user can determine the reason for the failure of the initial design rule inspection based on the target inspection report, and then more quickly determine the optimization method of the initial design rule, thereby improving the optimization efficiency and speed of the initial design rule.
[0051] The report level may include a prompt level, an error level, and a warning level. The priority of the prompt level is lower than the error level, and the priority of the error level is lower than the warning level.
[0052] For example, when the rule level of the initial design rule S is level one, the corresponding report level is a warning level; when the inspection result is that the inspection fails, an initial inspection report is generated based on the basic information of the rule, the inspection result and the initial design rule; the report level (warning level) of the initial inspection report is determined based on the rule level (level one), and then the initial inspection report and the rule level are automatically integrated into the same document to obtain a target inspection report. In this way, when the user optimizes the design rules, the user can determine the optimization order of the design rules that fail the rule inspection based on the report level, thereby improving the optimization efficiency and flexibility of the design rules.
[0053] The following further describes the electronic design file inspection method provided by the embodiment of the present invention. Figure 2 As shown, Figure 2 FIG. 4 is another flow chart of a method for creating a design rule provided by an embodiment of the present invention, which may specifically include the following steps:
[0054] Step 201, obtaining a rule creation method.
[0055] Step 202, determine whether the rule creation method is ordinary creation, if so, execute step 203; if not, execute step 204.
[0056] Step 203: determine that the rule creation interface corresponding to the rule creation method is a common creation interface, and display the common creation interface so that the user can input rule information in the common creation interface.
[0057] Among them, the general creation interface includes a creation rule control, a first basic information sub-interface, a first parameter information sub-interface and a first script information sub-interface; the first basic information sub-interface includes a first basic information input box and a first end control; the first parameter information sub-interface includes a first parameter information input box and a second end control; the first script information sub-interface includes a first script information input box and a third end control; the first basic information input box is used to input rule basic information, the first parameter information input box is used to input rule parameter information, and the first script input box is used to input rule script information.
[0058] In an optional embodiment, a normal creation interface is displayed so that the user clicks on a create rule control; after receiving a click operation on the create rule control, a first basic information sub-interface is displayed in the normal creation interface so that the user enters the rule basic information in the first basic information input box and clicks on the first end control; after receiving a click operation on the first end control, the first basic information sub-interface is replaced with a first parameter information sub-interface so that the user enters the rule parameter information in the first parameter information input box and clicks on the second end control; after receiving a click operation on the second end control, the first parameter information sub-interface is replaced with a first script information sub-interface so that the user enters the rule script information in the first script information input box and clicks on the third end control; after receiving a click operation on the third end control, an operation to obtain the rule information is triggered.
[0059] For example, the basic information of the rule includes: rule name S, rule classification (component), rule level (level 1) and rule description (T), the rule parameter information includes: parameter name A and parameter value TRUE, and the rule script information is: XXXXXX; a normal creation interface is displayed so that the user clicks on the create rule control; after receiving a click operation on the create rule control, a first basic information sub-interface is displayed in the normal creation interface so that the user enters the basic information of the rule (rule name S, rule classification (component), rule level (level 1) and rule description (T)) in the first basic information input box and clicks the first end control; after receiving a click operation on the first end control, the first basic information sub-interface is replaced with the first parameter information sub-interface so that the user enters the rule parameter information (parameter name A and parameter value TRUE) in the first parameter information input box and clicks the second end control; after receiving a click operation on the second end control, the first parameter information sub-interface is replaced with the first script information sub-interface so that the user enters the rule script information (XXXXXX) in the first script information input box and clicks the third end control. After receiving the click operation of the third end control, the operation of obtaining rule information is triggered. In this way, when the existing design rules cannot meet the design rule checking requirements, users (technicians) with professional knowledge can input rule information according to actual needs, and then obtain the rule information and automatically generate target design rules that meet the actual needs based on the rule information, that is, without relying on the component model library, add design rules that meet the design rule checking requirements, achieve the purpose of supporting rule expansion of design rules, better meet the design rule creation needs of users with professional knowledge, and better meet the design rule checking needs of users, reduce the limitations of design rule checking, increase the convenience of design rule checking, and solve the problem that the number of design rules provided in electronic design automation tools is limited and does not support rule extension, resulting in users can only use a limited number of design rules to check design rules, which brings great limitations and inconvenience to technicians in design rule checking.
[0060] After executing step 203 , execute step 207 .
[0061] Step 204, determine whether the rule creation method is template creation, if so, execute step 205; if not, execute step 206.
[0062] Step 205: determine that the rule creation interface corresponding to the rule creation method is a template creation interface, and display the template creation interface so that the user can input rule information in the template creation interface.
[0063] Among them, the template creation interface includes a template selection sub-interface, a basic information editing sub-interface, a parameter information editing sub-interface and a script information editing sub-interface. The template selection sub-interface includes a template selection list and a template confirmation control. The basic information editing sub-interface includes a basic information editing box and a fourth end control. The basic information editing box includes pre-set initial basic information. The user can edit the initial basic information in the basic information editing box to obtain the rule basic information; the parameter information editing sub-interface includes a parameter information editing box and a create rule control. The parameter information editing box includes pre-set initial parameter information. The user can edit the initial parameter information in the parameter information editing box to obtain the rule parameter information; the script information editing sub-interface includes a script information editing box and a fifth end control. The script information editing box includes pre-set initial script information. The user can edit the initial script information in the script information editing box to obtain the rule script information.
[0064] In an optional embodiment, a template selection sub-interface is displayed in the template creation interface, so that the user can determine the target rule template in the template selection list and click the template confirmation control; after receiving the click operation on the template confirmation control, the parameter information editing sub-interface corresponding to the target rule template is displayed, so that the user can edit the initial parameter information in the parameter information editing box to obtain the rule parameter information and click the create rule control; after receiving the click operation on the create rule control, the parameter information editing sub-interface in the template creation interface is replaced with the basic information editing sub-interface, so that the user can edit the initial basic information in the basic information editing box to obtain the rule basic information and click the fourth end control; after receiving the click operation on the fourth end control, the basic information editing sub-interface in the template creation interface is replaced with the script information editing sub-interface, so that the user can edit the initial script information in the script information editing box to obtain the rule script information and click the fifth end control, and after receiving the click operation on the fifth end control, the operation of obtaining the rule information is triggered.
[0065] For example, the basic information of the rule includes: rule name S, rule category (element), rule level (level 1) and rule description (T); the rule parameter information includes: parameter name A and parameter value TRUE; the rule script information is: XXXXXX; a template selection sub-interface is displayed in the template creation interface, so that the user can determine the target rule template in the template selection list and click the template confirmation control; after receiving the click operation of the template confirmation control, the parameter information editing sub-interface corresponding to the target rule template is displayed, so that the user can edit the initial parameter information (parameter name A and parameter value TRUE) in the parameter information editing box to obtain the rule parameter information (parameter name a and parameter value TRUE) and click the create rule control; after receiving the click operation of the create rule control, the template creation interface is displayed. The parameter information editing sub-interface is replaced with the basic information editing sub-interface, so that the user edits the initial basic information (rule name S, rule category (component), rule level (secondary) and rule description (T)) in the basic information editing box, obtains the rule basic information (rule name s, rule category (component), rule level (secondary) and rule description (t)) and clicks the fourth end control; after receiving the click operation of the fourth end control, the basic information editing sub-interface in the template creation interface is replaced with the script information editing sub-interface, so that the user edits the initial script information (XXXXXX) in the script information editing box to obtain the rule script information (YYYYYY) and clicks the fifth end control, and after receiving the click operation of the fifth end control, the operation of obtaining the rule information is triggered. In this way, users can select a rule template according to actual needs, and then modify the initial rule information (initial basic information, initial parameter information and initial script information) pre-set in the parameter editing sub-interface, basic information editing sub-interface and script information editing sub-interface corresponding to the rule template to the rule information (rule basic information, rule parameter information and rule script information) that meets actual needs. There is no need for users to re-enter the rule information, which saves users' time in entering rule information, reduces the difficulty of users entering rule information, and increases the speed of users entering rule information, thereby increasing the speed and efficiency of users creating design rules, reducing the difficulty of creating design rules, and at the same time ensuring the consistency and accuracy of the created design rules.
[0066] After executing step 205, execute step 207.
[0067] Step 206: determine that the rule creation interface corresponding to the rule creation method is a wizard creation interface, and display the wizard creation interface so that the user can input rule information in the wizard creation interface.
[0068] Among them, the wizard creation interface includes a second basic information sub-interface, a second parameter information sub-interface and a second script information sub-interface, the second basic information sub-interface includes a basic information input prompt, a second basic information input box and a sixth end control, the second parameter information sub-interface includes a parameter information input prompt, a second parameter information input box and a seventh end control, and the second script information sub-interface includes a script information input prompt, a second script information input box and an eighth end control; the basic information input prompt can be a text prompt or an option list prompt, the second basic information input box is used to enter the basic information of the rule, and the parameter information input prompt can be a text prompt or an option list prompt; the second parameter information input box is used to enter the rule parameter information, the script information input prompt can be a text prompt or an option list prompt, and the second script input box is used to enter the rule script information.
[0069] In an optional embodiment, a second basic information sub-interface is displayed in the wizard creation interface, so that the user can enter the rule basic information in the second basic information input box according to the basic information input prompt and click the sixth end control; after receiving the click operation of the sixth end control, the second basic information sub-interface is replaced with the second parameter information sub-interface, so that the user can enter the rule parameter information in the second parameter information input box according to the parameter information input prompt and click the seventh end control; after receiving the click operation of the seventh end control, the second parameter information sub-interface is replaced with the second script information sub-interface, so that the user can enter the rule script information in the second script information input box according to the script information input prompt and click the eighth end control; after receiving the click operation of the eighth end control, the operation of obtaining the rule information is triggered.
[0070] For example, the basic information of the rule includes: rule name S, rule category (element), rule level (level one) and rule description (T); the rule parameter information includes: parameter name A and parameter value TRUE; the rule script information is: XXXXXX; the basic information input prompt can be: please enter the rule name, rule category, rule level and rule description in sequence; the parameter information input prompt can be: please enter the parameter name and parameter value; the script information input prompt can be: script general template XXXXXX.
[0071] The second basic information sub-interface is displayed in the wizard creation interface, so that the user can enter the basic information of the rule (rule name S, rule category (component), rule level (level 1) and rule description (T)) in the second basic information input box according to the basic information input prompt and click the sixth end control; after receiving the click operation of the sixth end control, the second basic information sub-interface is replaced with the second parameter information sub-interface, so that the user can enter the rule parameter information (parameter name A and parameter value TRUE) in the second parameter information input box according to the parameter information input prompt and click the seventh end control; after receiving the click operation of the seventh end control, the second parameter information sub-interface is replaced with the second script information sub-interface, so that the user can enter the rule script information (XXXXXX) in the second script information input box according to the script information input prompt and click the eighth end control; after receiving the click operation of the eighth end control, the operation of obtaining the rule information is triggered. Since the prompt information of each information sub-interface will provide input prompts for users, users can complete the input of corresponding information according to the prompt information of each information sub-interface without in-depth professional instructions, thereby improving the user's information input speed and reducing the difficulty of users creating design rules. The speed and efficiency of generating initial design rules based on the information input by users are improved, providing users with a more convenient, simple and flexible method for creating design rules.
[0072] As another example, the basic information input prompt may include a rule name input prompt, a drop-down option list of a rule category selection box, a drop-down option list of a rule level selection box, and a rule description prompt; the second basic information input box includes a rule name input box, a rule category selection box, a rule level selection box, and a rule description input box. The parameter information input prompt in the second parameter information sub-interface may include a parameter name input prompt and a drop-down option list of a parameter value selection box, and the second parameter information input box in the second parameter information sub-interface may include a parameter name input box and a parameter value selection box. The third script information sub-interface may include a script information input prompt, a second script information input box, and an eighth end control. Figure 3 As shown, the second basic information sub-interface can be displayed in the wizard creation interface, so that the user can enter the rule name (S) in the rule name input box according to the rule name input prompt, select the rule category (component) in the drop-down option list of the rule category selection box, select the rule level (level 1) in the drop-down option list of the rule level selection box, enter the rule description (T) in the rule description input box according to the rule description prompt, and click the sixth end control; after receiving the click operation of the sixth end control, as shown in FIG. Figure 4As shown, the second basic information sub-interface is replaced with the second parameter information sub-interface, so that the user enters the parameter name (A) in the parameter name input box according to the parameter name input prompt, selects the parameter value (TRUE) in the drop-down option list of the parameter value selection box, and clicks the seventh end control; after receiving the click operation of the seventh end control, as shown Figure 5 As shown, the second parameter information sub-interface is replaced with the second script information sub-interface, so that the user can input the rule script information (XXXXXX) in the second script information input box according to the script information input prompt and click the eighth end control; after receiving the click operation of the eighth end control, the operation of obtaining the rule information is triggered. Since the prompt information of each information sub-interface will provide the user with input prompts or optional items, the user can enter the relevant information according to the input prompt, or select an option in the drop-down option list to complete the input of the relevant information. The user does not need to have in-depth professional instructions, and can complete the input of the corresponding information according to the prompt information of each information sub-interface, thereby improving the user's information input speed, reducing the difficulty of the user to create design rules, and thereby improving the speed and efficiency of generating initial design rules based on the information input by the user, providing the user with a more convenient and flexible method for creating design rules.
[0073] Step 207, the rule basic information and rule parameter information are fed back to the rule script information to generate initial design rules.
[0074] Step 208 , obtaining electronic design files from an electronic design automation tool.
[0075] Step 209, performing data analysis on the electronic design file to obtain data to be tested.
[0076] Step 210 , using the initial design rules to perform rule verification on the data to be verified, and obtaining verification results of the initial design rules.
[0077] Step 211, determine whether the inspection result is inspection passed, if so, execute step 212; if not, execute step 214.
[0078] Step 212: determine the initial design rules as target design rules.
[0079] Step 213: storing the target design rule and rule information in a design rule storage area, wherein the rule information includes version information of the initial design rule.
[0080] Step 214, generating an initial inspection report according to the basic rule information, the inspection results and the initial design rules.
[0081] Step 215, determining the report level of the initial inspection report according to the rule level.
[0082] Step 216, generating a target inspection report according to the initial inspection report and the report level.
[0083] In the embodiment of the present invention, when the existing design rules cannot meet the design rule checking requirements, the user (technician) can input rule information according to actual requirements, obtain rule information and automatically generate target design rules that meet the actual requirements based on the rule information, that is, without relying on the component model library, add design rules that meet the design rule checking requirements, achieve the purpose of supporting rule extension of design rules, better meet the user's design rule checking requirements, reduce the limitations of design rule checking, increase the convenience of design rule checking, solve the problem that the number of design rules provided in the electronic design automation tool is limited and does not support rule extension, resulting in users can only use a limited number of design rules to check the design rules, and provide technicians with design rule checking In addition, since the target design rules that meet the actual needs can be automatically generated based on the rule information, that is, the number of design rules is no longer limited, it can prevent electronic design automation design errors more comprehensively, thereby increasing the comprehensiveness of preventing electronic design automation design errors and improving the quality and reliability of electronic design automation design; finally, storing the target design rules and version information in the design rule storage area is equivalent to adding version attributes to the design rules, so as to achieve the purpose of version differentiation of the target design rules. When the user needs to manage different versions of design rules, the corresponding design rules can be quickly determined according to the version information, which increases the convenience and efficiency of design rule management and improves the user's design rule management efficiency.
[0084] The following is a specific example to further illustrate the method for creating a design rule provided by an embodiment of the present invention. Figure 6 is a schematic diagram of a method for creating a design rule provided by an embodiment of the present invention, such as Figure 6 As shown, the rule creation method is obtained. If the creation method is ordinary creation, the rule creation interface corresponding to the rule creation method is determined to be the ordinary creation interface, and the ordinary creation interface is displayed so that the user clicks on the create rule control; after receiving the click operation of the create rule control, the first basic information sub-interface is displayed in the ordinary creation interface, so that the user enters the rule basic information in the first basic information input box and clicks the first end control; after receiving the click operation of the first end control, the first basic information sub-interface is replaced with the first parameter information sub-interface, so that the user enters the rule parameter information in the first parameter information input box and clicks the second end control; after receiving the click operation of the second end control, the first parameter information sub-interface is replaced with the first script information sub-interface, so that the user enters the rule script information in the first script information input box and clicks the third end control; after receiving the click operation of the third end control, the operation of obtaining the rule information is triggered.
[0085] If the creation method is template creation, determine that the rule creation interface corresponding to the rule creation method is the template creation interface, and display the template selection sub-interface in the template creation interface, so that the user can determine the target rule template in the template selection list and click the template confirmation control; after receiving the click operation of the template confirmation control, display the parameter information editing sub-interface corresponding to the target rule template, so that the user can edit the initial parameter information in the parameter information editing box to obtain the rule parameter information, and click the create rule control; after receiving the click operation of the create rule control, replace the parameter information editing sub-interface in the template creation interface with the basic information editing sub-interface, so that the user can edit the initial basic information in the basic information editing box to obtain the rule basic information and click the fourth end control; after receiving the click operation of the fourth end control, replace the basic information editing sub-interface in the template creation interface with the script information editing sub-interface, so that the user can edit the initial script information in the script information editing box to obtain the rule script information, and click the fifth end control; after receiving the click operation of the fifth end control, trigger the operation of obtaining the rule information.
[0086] If the creation method is wizard creation, determine that the rule creation interface corresponding to the rule creation method is the wizard creation interface, and display the second basic information sub-interface in the wizard creation interface, so that the user can enter the rule basic information in the second basic information input box according to the basic information input prompt and click the sixth end control; after receiving the click operation of the sixth end control, replace the second basic information sub-interface with the second parameter information sub-interface, so that the user can enter the rule parameter information in the second parameter information input box according to the parameter information input prompt and click the seventh end control; after receiving the click operation of the seventh end control, replace the second parameter information sub-interface with the second script information sub-interface, so that the user can enter the rule script information in the second script information input box according to the script information input prompt and click the eighth end control; after receiving the click operation of the eighth end control, trigger the operation of obtaining the rule information.
[0087] Then, the rule information is obtained, and initial design rules are generated based on the rule information. The initial design rules are subjected to rule verification to obtain verification results of the initial design rules. When the verification result is that the verification passes, the initial design rules are determined as target design rules, and the target design rules and the rule information are stored in a design rule storage area. When the verification result is that the verification fails, an initial verification report is generated based on the basic rule information, the verification results and the initial design rules, and the report level of the initial verification report is determined based on the rule level. Then, the target verification report is generated based on the initial verification report and the report level.
[0088] In the embodiment of the present invention, when the existing design rules cannot meet the design rule checking requirements, the user (technician) can select a suitable design rule creation method according to the personal professional knowledge reserve, that is, a plurality of design rule creation methods suitable for the user's professional knowledge reserve are provided for the user to choose, thereby reducing the difficulty of the user's design rule creation; the user can input rule information according to actual needs, and then automatically generate target design rules that meet the actual needs based on the rule information, that is, without relying on the component model library, increase the design rules that meet the design rule checking requirements, achieve the purpose of supporting the rule extension of the design rules, better meet the user's design rule checking requirements, reduce the limitations of the design rule checking, increase the convenience of the design rule checking, and solve the problem that the number of design rules provided in the electronic design automation tool is limited and does not support rule extension, resulting in Users can only use a limited number of design rules to check design rules, which brings great limitations and inconveniences to technical personnel in checking design rules. In addition, since target design rules that meet actual needs can be automatically generated based on rule information, that is, the number of design rules is no longer limited, it can more comprehensively prevent electronic design automation design errors, thereby increasing the comprehensiveness of preventing electronic design automation design errors and improving the quality and reliability of electronic design automation designs. Finally, storing the target design rules and version information in the design rule storage area is equivalent to adding version attributes to the design rules, thereby achieving the purpose of version differentiation of the target design rules. When users need to manage different versions of design rules, they can quickly determine the corresponding design rules according to the version information, thereby increasing the convenience and efficiency of design rule management and improving the user's design rule management efficiency.
[0089] Figure 7 1 is a schematic diagram of a structure of a device for creating a design rule provided in an embodiment of the present invention, and the device is suitable for executing a method for creating a design rule provided in an embodiment of the present invention. Figure 7 As shown, the device may specifically include:
[0090] The interface display module 301 is used to obtain a rule creation method and display a rule creation interface according to the rule creation method so that the user can input rule information on the rule creation interface;
[0091] A rule generation module 302, used to obtain the rule information and generate initial design rules based on the rule information;
[0092] A rule checking module 303 is used to perform rule checking on the initial design rules to obtain a checking result of the initial design rules;
[0093] A rule determination module 304, configured to determine the initial design rule as a target design rule when the inspection result is inspection passed;
[0094] The rule storage module 305 is used to store the target design rule and the rule information in a design rule storage area, wherein the rule information includes version information of the initial design rule.
[0095] Optionally, the interface display module 301 displays a rule creation interface according to the rule creation method so that the user can input rule information in the rule creation interface, including:
[0096] When the rule creation mode is common creation, determining that a rule creation interface corresponding to the rule creation mode is a common creation interface, and displaying the common creation interface, so that the user can input the rule information in the common creation interface;
[0097] When the rule creation mode is template creation, determining that the rule creation interface corresponding to the rule creation mode is a template creation interface, and displaying the template creation interface so that the user can input the rule information in the template creation interface;
[0098] When the rule creation mode is wizard creation, the rule creation interface corresponding to the rule creation mode is determined to be a wizard creation interface, and the wizard creation interface is displayed so that the user can input the rule information in the wizard creation interface.
[0099] Optionally, the rule information also includes basic rule information, rule parameter information and rule script information.
[0100] Optionally, the common creation interface includes a creation rule control, a first basic information sub-interface, a first parameter information sub-interface, and a first script information sub-interface, the first basic information sub-interface includes a first basic information input box and a first end control, the first parameter information sub-interface includes a first parameter information input box and a second end control, the first script information sub-interface includes a first script information input box and a third end control, and the interface display module 301 displays the common creation interface so that the user enters the rule information in the common creation interface, including:
[0101] Displaying the common creation interface so that the user clicks the create rule control;
[0102] After receiving a click operation of the create rule control, displaying the first basic information sub-interface in the common creation interface, so that the user enters the rule basic information in the first basic information input box and clicks the first end control;
[0103] After receiving a click operation of the first end control, replacing the first basic information sub-interface with the first parameter information sub-interface, so that the user enters the rule parameter information in the first parameter information input box and clicks the second end control;
[0104] After receiving a click operation of the second end control, replacing the first parameter information sub-interface with the first script information sub-interface, so that the user inputs the rule script information in the first script information input box and clicks the third end control;
[0105] After receiving the click operation of the third end control, an operation of obtaining the rule information is triggered.
[0106] Optionally, the template creation interface includes a template selection sub-interface, a basic information editing sub-interface, a parameter information editing sub-interface and a script information editing sub-interface, the template selection sub-interface includes a template selection list and a template confirmation control, the basic information editing sub-interface includes a basic information editing box and a fourth end control, the parameter information editing sub-interface includes a parameter information editing box and a creation rule control, and the script information editing sub-interface includes a script information editing box and a fifth end control. The interface display module 301 displays the template creation interface so that the user can input the rule information in the template creation interface, including:
[0107] Displaying the template selection sub-interface in the template creation interface so that the user can determine the target rule template in the template selection list and click a template confirmation control;
[0108] After receiving the click operation of the template confirmation control, displaying the parameter information editing sub-interface corresponding to the target rule template, so that the user edits the initial parameter information in the parameter information editing box to obtain the rule parameter information, and clicks the create rule control;
[0109] After receiving a click operation of the create rule control, the parameter information editing sub-interface in the template creation interface is replaced with the basic information editing sub-interface, so that the user edits the initial basic information in the basic information editing box to obtain the rule basic information and clicks the fourth end control;
[0110] After receiving the click operation of the fourth end control, the basic information editing sub-interface in the template creation interface is replaced with the script information editing sub-interface, so that the user edits the initial script information in the script information editing box to obtain the rule script information, and clicks the fifth end control,
[0111] After receiving the click operation of the fifth end control, an operation of obtaining the rule information is triggered.
[0112] Optionally, the wizard creation interface includes a second basic information sub-interface, a second parameter information sub-interface, and a second script information sub-interface, the second basic information sub-interface includes a basic information input prompt, a second basic information input box, and a sixth end control, the second parameter information sub-interface includes a parameter information input prompt, a second parameter information input box, and a seventh end control, the second script information sub-interface includes a script information input prompt, a second script information input box, and an eighth end control, and the interface display module 301 displays the wizard creation interface so that the user enters the rule information in the wizard creation interface, including:
[0113] Displaying the second basic information sub-interface in the wizard creation interface, so that the user enters the rule basic information in the second basic information input box according to the basic information input prompt and clicks the sixth end control;
[0114] After receiving a click operation of the sixth end control, replacing the second basic information sub-interface with the second parameter information sub-interface, so that the user enters the rule parameter information in the second parameter information input box according to the parameter information input prompt and clicks the seventh end control;
[0115] After receiving a click operation of the seventh end control, the second parameter information sub-interface is replaced with the second script information sub-interface, so that the user enters the rule script information in the second script information input box according to the script information input prompt and clicks the eighth end control;
[0116] After receiving the click operation of the eighth end control, an operation of obtaining the rule information is triggered.
[0117] Optionally, the rule generation module 302 generates initial design rules based on the rule information, including:
[0118] The rule basic information and the rule parameter information are fed back to the rule script information to generate the initial design rule.
[0119] Optionally, the rule checking module 303 is specifically configured to:
[0120] Acquire electronic design files from electronic design automation tools;
[0121] Performing data analysis on the electronic design file to obtain data to be tested;
[0122] The initial design rules are used to perform rule checking on the data to be checked, and a checking result of the initial design rules is obtained.
[0123] Optionally, the basic rule information includes a rule name, a rule category, a rule level and a rule description.
[0124] Furthermore, the device also includes:
[0125] An initial report generating module, used for generating an initial inspection report according to the basic information of the rule, the inspection result and the initial design rule when the inspection result is inspection failure;
[0126] A report level determination module, used to determine the report level of the initial inspection report according to the rule level;
[0127] A template report generating module is used to generate a target inspection report according to the initial inspection report and the report level.
[0128] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0129] The device for creating design rules provided in the embodiment of the present invention can obtain rule information and automatically generate target design rules that meet the actual needs based on the rule information after the user (technician) inputs rule information according to actual needs when the existing design rules cannot meet the design rule checking needs. That is, without relying on the component model library, the device can add design rules that meet the design rule checking needs, achieve the purpose of supporting rule extension of design rules, better meet the user's design rule checking needs, reduce the limitations of design rule checking, increase the convenience of design rule checking, solve the problem that the number of design rules provided in the electronic design automation tool is limited and does not support rule extension, resulting in users can only use a limited number of design rules to check the design rules, and provide technicians with a better understanding of the design rules. In addition, since the target design rules that meet the actual needs can be automatically generated based on the rule information, that is, the number of design rules is no longer limited, it can more comprehensively prevent electronic design automation design errors, thereby increasing the comprehensiveness of preventing electronic design automation design errors and improving the quality and reliability of electronic design automation design; finally, the target design rules and version information are stored in the design rule storage area accordingly, which is equivalent to adding version attributes to the design rules, so as to achieve the purpose of version differentiation of the target design rules. When the user needs to manage different versions of design rules, the corresponding design rules can be quickly determined according to the version information, which increases the convenience and efficiency of design rule management and improves the user's design rule management efficiency.
[0130] Figure 8 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0131] Please refer to Figure 8 , an electronic device 50 is provided, comprising:
[0132] a processor 51; and
[0133] A memory 52, used to store executable instructions of the processor;
[0134] The processor 51 is configured to execute the above-mentioned method by executing the executable instructions.
[0135] The processor 51 can communicate with the memory 52 via a bus 53 .
[0136] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned method is implemented.
[0137] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for creating a design rule, characterized in that: The method comprises: Acquire a rule creation method, and display a rule creation interface according to the rule creation method, so that a user can input rule information on the rule creation interface; Acquiring the rule information, and generating initial design rules based on the rule information; Performing rule checking on the initial design rules to obtain a checking result of the initial design rules; When the inspection result is inspection passed, determining the initial design rule as a target design rule; The target design rule and the rule information are stored in a design rule storage area, wherein the rule information includes version information of the initial design rule.
2. The method according to claim 1, characterized in that The displaying of a rule creation interface according to the rule creation method so that the user can input rule information on the rule creation interface includes: When the rule creation mode is common creation, determining that a rule creation interface corresponding to the rule creation mode is a common creation interface, and displaying the common creation interface, so that the user can input the rule information in the common creation interface; When the rule creation mode is template creation, determining that the rule creation interface corresponding to the rule creation mode is a template creation interface, and displaying the template creation interface so that the user can input the rule information in the template creation interface; When the rule creation mode is wizard creation, the rule creation interface corresponding to the rule creation mode is determined to be a wizard creation interface, and the wizard creation interface is displayed so that the user can input the rule information in the wizard creation interface.
3. The method according to claim 2, characterized in that The rule information also includes basic rule information, rule parameter information and rule script information.
4. The method according to claim 3, characterized in that: The common creation interface includes a creation rule control, a first basic information sub-interface, a first parameter information sub-interface, and a first script information sub-interface, wherein the first basic information sub-interface includes a first basic information input box and a first end control, the first parameter information sub-interface includes a first parameter information input box and a second end control, and the first script information sub-interface includes a first script information input box and a third end control. Displaying the common creation interface so that the user can input the rule information in the common creation interface includes: Displaying the common creation interface so that the user clicks the create rule control; After receiving a click operation of the create rule control, displaying the first basic information sub-interface in the common creation interface, so that the user enters the rule basic information in the first basic information input box and clicks the first end control; After receiving a click operation of the first end control, replacing the first basic information sub-interface with the first parameter information sub-interface, so that the user enters the rule parameter information in the first parameter information input box and clicks the second end control; After receiving a click operation of the second end control, replacing the first parameter information sub-interface with the first script information sub-interface, so that the user inputs the rule script information in the first script information input box and clicks the third end control; After receiving the click operation of the third end control, an operation of obtaining the rule information is triggered.
5. The method according to claim 3, characterized in that: The template creation interface includes a template selection sub-interface, a basic information editing sub-interface, a parameter information editing sub-interface and a script information editing sub-interface. The template selection sub-interface includes a template selection list and a template confirmation control. The basic information editing sub-interface includes a basic information editing box and a fourth end control. The parameter information editing sub-interface includes a parameter information editing box and a creation rule control. The script information editing sub-interface includes a script information editing box and a fifth end control. The template creation interface is displayed so that the user can input the rule information in the template creation interface, including: Displaying the template selection sub-interface in the template creation interface, so that the user can determine the target rule template in the template selection list and click a template confirmation control; After receiving the click operation of the template confirmation control, displaying the parameter information editing sub-interface corresponding to the target rule template, so that the user edits the initial parameter information in the parameter information editing box to obtain the rule parameter information, and clicks the create rule control; After receiving a click operation of the create rule control, the parameter information editing sub-interface in the template creation interface is replaced with the basic information editing sub-interface, so that the user edits the initial basic information in the basic information editing box to obtain the rule basic information and clicks the fourth end control; After receiving the click operation of the fourth end control, the basic information editing sub-interface in the template creation interface is replaced with the script information editing sub-interface, so that the user edits the initial script information in the script information editing box to obtain the rule script information, and clicks the fifth end control, After receiving the click operation of the fifth end control, an operation of obtaining the rule information is triggered.
6. The method according to claim 3, characterized in that The wizard creation interface includes a second basic information sub-interface, a second parameter information sub-interface, and a second script information sub-interface, the second basic information sub-interface includes a basic information input prompt, a second basic information input box, and a sixth end control, the second parameter information sub-interface includes a parameter information input prompt, a second parameter information input box, and a seventh end control, the second script information sub-interface includes a script information input prompt, a second script information input box, and an eighth end control, and the display of the wizard creation interface so that the user enters the rule information in the wizard creation interface includes: Displaying the second basic information sub-interface in the wizard creation interface, so that the user enters the rule basic information in the second basic information input box according to the basic information input prompt and clicks the sixth end control; After receiving a click operation of the sixth end control, replacing the second basic information sub-interface with the second parameter information sub-interface, so that the user enters the rule parameter information in the second parameter information input box according to the parameter information input prompt and clicks the seventh end control; After receiving a click operation of the seventh end control, the second parameter information sub-interface is replaced with the second script information sub-interface, so that the user enters the rule script information in the second script information input box according to the script information input prompt and clicks the eighth end control; After receiving the click operation of the eighth end control, an operation of obtaining the rule information is triggered.
7. The method according to claim 3, characterized in that The generating of initial design rules based on the rule information comprises: The rule basic information and the rule parameter information are fed back to the rule script information to generate the initial design rule.
8. The method according to claim 1, characterized in that The performing rule checking on the initial design rule to obtain the checking result of the initial design rule includes: Acquire electronic design files from electronic design automation tools; Performing data analysis on the electronic design file to obtain data to be tested; The initial design rules are used to perform rule checking on the data to be checked, and a checking result of the initial design rules is obtained.
9. The method according to claim 3, characterized in that: The basic rule information includes rule name, rule category, rule level and rule description.
10. The method according to claim 9, characterized in that The method further comprises: When the inspection result is that the inspection fails, generating an initial inspection report according to the rule basic information, the inspection result and the initial design rule; determining a report level of the initial inspection report according to the rule level; A target inspection report is generated according to the initial inspection report and the report level.
11. A device for creating a design rule, characterized in that: The device comprises: An interface display module, used to obtain a rule creation method and display a rule creation interface according to the rule creation method, so that a user can input rule information on the rule creation interface; A rule generation module, used to obtain the rule information and generate initial design rules based on the rule information; A rule checking module, used for performing rule checking on the initial design rules to obtain a checking result of the initial design rules; A rule determination module, configured to determine the initial design rule as a target design rule when the inspection result is that the inspection is passed; The rule storage module is used to store the target design rule and the rule information in a design rule storage area, wherein the rule information includes version information of the initial design rule.
12. An electronic device, characterized in that: Including processor and memory, The memory is used to store codes and related data; The processor is used to execute the code in the memory to implement the method for creating design rules according to any one of claims 1 to 10.
13. A storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for creating a design rule according to any one of claims 1 to 10 is implemented.
