Isolation strategy automatic generation method and device, equipment and medium

By automatically analyzing the power domain information and status information in the isolation policy violation report, and combining the clamp value of the isolation unit, the isolation strategy is automatically generated, which solves the problem of slow isolation strategy confirmation process in low-power designs, and improves the efficiency and accuracy of design file generation.

CN119886030APending Publication Date: 2025-04-25SHENZHEN CITY TECHWIN SEMICONDUCTOR COMPANY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411802183.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In deep submicron integrated circuit design, low-power design requires front-end and mid-range engineers to jointly confirm the isolation strategy between signal interactions under different low-power states, resulting in slow development progress and low communication efficiency.

Method used

Through the power domain information and power status information in the isolation policy violation report, the policy information is automatically analyzed and combined with the clamp value of the isolation unit to automatically generate the isolation strategy to improve the accuracy and efficiency of generation.

Benefits of technology

It improves the accuracy and efficiency of isolation strategy generation, reduces the confirmation process of front-end and mid-range engineers, and improves the efficiency of target power design file generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119886030A_ABST
    Figure CN119886030A_ABST
Patent Text Reader

Abstract

The invention provides an isolation strategy automatic generation method and device, equipment and a medium, and relates to the technical field of integrated circuits, and the method comprises the steps: inputting an initial power supply design file and a function design file into a third-party low-power-consumption inspection tool, and obtaining an isolation strategy violation report; the initial power supply design file is used for defining a power supply connection mode, a power supply domain and a power supply state; determining strategy information corresponding to a plurality of isolation units according to power domain information and power domain state information in the isolation strategy violation report; acquiring a clamp value corresponding to each isolation unit; and for each isolation unit, taking the clamp value and the strategy information as isolation strategies, and adding the isolation strategies into an initial power supply design file to obtain a target power supply design file. According to the technical scheme, the isolation strategy can be automatically generated, and the accuracy of the isolation strategy and the development efficiency of the target power supply design file are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of integrated circuit technology, and in particular to an isolation strategy automatic generation method, device, equipment and medium. Background Art

[0002] With the rapid development of semiconductor technology and the increase in chip operating frequency, power consumption has become an important consideration in the design of deep submicron integrated circuits.

[0003] Since most front-end designers are not familiar with the UPF (unified power format) syntax, mid-end engineers are generally responsible for developing the UPF. However, mid-end engineers lack knowledge of the functional modes and application scenarios of the design, so low-power design requires front-end and mid-end engineers to jointly confirm the isolation strategy between signal interactions in different low-power states.

[0004] As the design scale increases and the number of power domain state combinations increases, mid-end engineers often need to align the isolation strategy definitions of signal interfaces with multiple front-end engineers, resulting in slow progress in UPF development. If there are changes in the interactive interface or power domain architecture during the design process, front-end and mid-end engineers will have to go through a complicated confirmation process again. Front-end engineers are often unfamiliar with UPF syntax, which indirectly results in low communication efficiency and seriously affects the progress of UPF development. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for automatically generating an isolation strategy, which automatically analyzes the strategy information through the power domain information and power status information in the isolation strategy violation report, and combines it with the clamping value of the isolation unit to automatically generate an isolation strategy, thereby improving the accuracy and efficiency of the isolation strategy generation, thereby improving the efficiency of the target power design file generation.

[0006] In a first aspect, an embodiment of the present invention provides a method for automatically generating an isolation strategy, comprising:

[0007] Input the initial power design file and functional design file into a third-party low-power check tool to obtain an isolation policy violation report; the initial power design file is used to define the power connection method, power domain, and power state;

[0008] Determine the policy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation policy violation report;

[0009] Obtain the clamp value corresponding to each isolation unit;

[0010] For each isolation unit, the clamp value and strategy information are added to the initial power design file as an isolation strategy to obtain a target power design file.

[0011] In a preferred embodiment of the present invention, the policy information includes the insertion position, power supply domain, level, control signal and isolation object of the isolation unit; the policy information corresponding to the plurality of isolation units is determined according to the power supply domain information and power supply domain status information in the isolation policy violation report, including:

[0012] Get power domain information, power domain status information and isolation objects in the isolation policy violation report;

[0013] Determine the position where the isolation unit is to be inserted according to the isolation object;

[0014] According to the power domain type and the power signal direction in the power domain information, the insertion position to be inserted is screened to determine the insertion position of at least one isolation unit and at least one isolated power domain corresponding to the isolation unit; wherein the isolation unit corresponds to the insertion position one by one;

[0015] For each isolation unit, each isolated power domain is screened according to the power domain status information to determine the power supply domain corresponding to the isolation unit;

[0016] For each isolation unit, according to the power domain level in the power domain information, the power domain level to which the power supply domain belongs is used as the level of the isolation unit;

[0017] For each isolation unit, a control signal corresponding to the isolation unit is obtained according to the power domain state information.

[0018] In a preferred embodiment of the present invention, the insertion positions are screened according to the power domain type and the power signal direction in the power domain information, and the insertion positions of multiple isolation units and at least one isolated power domain corresponding to each isolation unit are determined, including:

[0019] According to the power signal direction, a power domain associated with the position to be inserted is obtained as the associated power domain;

[0020] According to the power domain type and the power signal direction, the output direction of the associated power domain whose power domain type is a shut-down power domain is determined as the insertion position of the isolation unit;

[0021] According to the output direction of the associated power domain whose power domain type is a shut-down power domain, the associated power domain corresponding to the output direction is used as at least one isolated power domain corresponding to the isolation unit.

[0022] In a preferred embodiment of the present invention, the above-mentioned screening of each isolated power domain according to the power domain state information to determine the power supply domain corresponding to the isolation unit includes:

[0023] Determine the power status of each isolated power domain according to the power domain status information;

[0024] When the power state is the power-on state, the isolated power domain is determined as the power supply domain.

[0025] In a preferred embodiment of the present invention, the initial power design file and the functional design file are input into a third-party low power consumption check tool to obtain an isolation strategy violation report, including:

[0026] Input the initial power design file and the functional design file into a third-party low power consumption check tool, perform a consistency check on the initial power design file and the functional design file, and obtain the check result;

[0027] According to the inspection result, the initial power supply design file is updated to obtain an updated power supply design file;

[0028] Use a third-party low-power check tool to run the isolation policy check command, check the updated power design file, and obtain an isolation policy violation report.

[0029] In a preferred embodiment of the present invention, after determining the policy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation policy violation report, the method includes:

[0030] Obtaining a preset clamp value corresponding to each isolation unit;

[0031] For each isolation unit, the preset clamp value and strategy information are added as an isolation strategy to the initial power design file to obtain a temporary power design file;

[0032] Perform structural checks on temporary power supply design files to obtain error information;

[0033] Updated temporary power design files when including structural error information in error messages.

[0034] In a preferred embodiment of the present invention, for each isolation unit, the clamp value and strategy information are added as an isolation strategy to the initial power design file to obtain a target power design file, including:

[0035] For each isolation unit, the temporary power supply design file is updated according to the clamp value to obtain a target power supply design file.

[0036] In a second aspect, an embodiment of the present invention further provides an automatic isolation strategy generation device, comprising:

[0037] A violation report acquisition module is used to input the initial power design file and the functional design file into a third-party low-power check tool to obtain an isolation strategy violation report; the initial power design file is used to define the power supply connection mode, power domain and power status;

[0038] A strategy information acquisition module, used to determine the strategy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation strategy violation report;

[0039] A clamp value acquisition module, used to obtain the clamp value corresponding to each isolation unit;

[0040] The merging module is used for adding the clamping value and the strategy information as the isolation strategy for each isolation unit to the initial power supply design file to obtain the target power supply design file.

[0041] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method for automatically generating isolation strategies of the first aspect above.

[0042] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the isolation strategy automatic generation method of the above-mentioned first aspect.

[0043] The embodiments of the present invention bring the following beneficial effects:

[0044] An embodiment of the present invention provides a method for automatically generating an isolation strategy. An isolation strategy violation report is obtained through a third low-power inspection tool. The strategy information corresponding to the isolation unit is automatically analyzed based on the power domain information and the power domain status information in the isolation strategy violation report. The accuracy and efficiency of the strategy information can be improved. By obtaining the clamp value corresponding to the isolation unit, the clamp value and the strategy information are combined and added to the initial power design file to obtain the target power design file. The accuracy and efficiency of generating the target power design file can be improved.

[0045] Other features and advantages of the present invention will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present invention.

[0046] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A flowchart of a method for automatically generating an isolation strategy provided by an embodiment of the present invention;

[0049] Figure 2a A flowchart of another method for automatically generating an isolation strategy provided by an embodiment of the present invention;

[0050] Figure 2b A schematic diagram of an isolation unit insertion provided by an embodiment of the present invention;

[0051] Figure 3 A flowchart of another method for automatically generating an isolation strategy provided by an embodiment of the present invention;

[0052] Figure 4 A schematic diagram of the structure of an automatic isolation strategy generation device provided by an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.

[0055] With the rapid development of semiconductor technology and the increase in chip operating frequency, the power consumption of chips has increased rapidly, and the increase in power consumption will lead to increased chip heat generation and reduced reliability. Therefore, power consumption has become an important consideration in the design of deep submicron integrated circuits.

[0056] The power consumption of COMS circuit (Complementary Metal-Oxide-Semiconductor) chips can be divided into dynamic power consumption and static power consumption. Power gating reduces the static power consumption of a specified circuit by shutting off the power supply of the circuit. The signal interaction between the shut-off power domain and the power supply domain requires the insertion of an isolation unit to ensure the normal operation of the non-shut-off power domain. The insertion of the isolation unit is achieved by defining the isolation strategy in the UPF.

[0057] Because most front-end designers are not familiar with UPF syntax, mid-end engineers are generally responsible for developing and designing UPF. However, mid-end engineers lack knowledge of the functional modes and application scenarios of designs, so low-power design requires front-end and mid-end engineers to jointly confirm the isolation strategy between signal interactions in different low-power states.

[0058] As the design scale increases and the number of power domain state combinations increases, the UPF mid-end often needs to align the isolation strategy definition of the signal interface with the multi-bit RTL front-end, and the UPF development progresses slowly. If the interactive interface between designs changes or the power domain architecture changes, the front-end and mid-end engineers will go through a complicated confirmation process again. In addition, front-end engineers are often unfamiliar with UPF syntax, which indirectly leads to low communication efficiency.

[0059] Based on this, an automatic isolation strategy generation method provided by an embodiment of the present invention can automatically analyze the strategy information through the power domain information and power status information in the isolation strategy violation report, and combine it with the clamping value of the isolation unit to automatically generate the isolation strategy, thereby improving the accuracy and efficiency of the isolation strategy generation, thereby improving the efficiency of the target power design file generation.

[0060] To facilitate understanding of this embodiment, a method for automatically generating an isolation strategy disclosed in an embodiment of the present invention is first introduced in detail.

[0061] Example 1

[0062] The embodiment of the present invention provides a method for automatically generating an isolation strategy, which is executed by an automatic isolation strategy generation system. Figure 1 A flowchart of a method for automatically generating an isolation strategy provided by an embodiment of the present invention. Figure 1 As shown, the isolation strategy automatic generation method may include the following steps:

[0063] Step S101: input the initial power design file and the functional design file into a third-party low power consumption checking tool to obtain an isolation strategy violation report.

[0064] The power design file is equivalent to the instruction manual for multi-voltage domain design. It is a standard file format that guides and describes the power intent of the design. It can also be called a UPF file. The initial power design file is used to define the power connection method, power domain, and power state. The functional design file refers to the description file used for the chip circuit behavior during the chip design process, which can also be called an RTL (Register-tranfer Level) file. A third-party low-power checking tool is used to check syntax errors and isolation strategy violations in the UPF file based on the functional design file. An exemplary tool can be a VCLP (VC Low Power) tool. The isolation strategy violation report is used to describe the places in the UPF file that violate the low-power design principles, especially the places where the isolation strategy of the power domain is inappropriate or missing. The isolation strategy violation report can list all power domains that do not meet the low-power design requirements and related violation details.

[0065] Specifically, the initial power design file and the functional design file are input into a third-party low power consumption check tool, and by running the check instructions in the third-party low power consumption check tool, a low power consumption check is performed on the initial power design file, and an isolation strategy violation report is output.

[0066] Step S102 : determining the policy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation policy violation report.

[0067] A power domain refers to a collection of electronic circuits in a circuit that work under the power of a specific power combination. In the UPF file, power domain information is used to define and describe these power domains. Power domain state information is used to describe the power management strategy of the power domain in different working states. For example, the power domain includes power domain 1, power domain 2, and power domain 3. In working state 1, power domain 1 is powered on, power domain 2 is powered off, and power domain 3 is powered off. Strategy information includes the insertion position of the isolation unit, power supply domain, hierarchy, control signal, and isolation object. Among them, the insertion position of the isolation unit refers to the position where the isolation unit needs to be deployed in the circuit. The power supply domain refers to the power domain that provides power for the isolated power supply. In low-power design, power domains are usually divided into different hierarchical levels based on the hierarchical boundaries of RTL to reflect their power supply objects and working voltage information. The hierarchy in the strategy information refers to the position of the isolation unit in the power hierarchy structure. The hierarchy can help engineers understand how the isolation unit interacts with power domains at other levels. The control signal refers to the signal used to control the state of the isolation unit. The isolation object refers to the signal interaction path between the power-off power domain and the power-on power domain. It can be understood that for two power domains with signal interaction, if one power domain is in the power-on state, that is, the power-on power domain, and the other power domain is in the power-off state, that is, the power-off power domain, it is necessary to insert an isolation unit between the two power domains to isolate the signal interaction path between the two power domains to ensure the normal operation of the power-on power domain. At this time, the isolation object is the signal interaction path between the power-off power domain and the power-on power domain.

[0068] According to the power domain information and power domain status information in the isolation policy violation report, the power domain information and the power domain status information are matched according to the pre-designed policy information determination logic to obtain the insertion position, power supply domain, level, control signal and isolation object of the isolation unit, and determine them as the policy information corresponding to the isolation unit.

[0069] Step S103, obtaining the clamping value corresponding to each isolation unit.

[0070] The clamp value refers to the constant value 0 or 1 output by the isolation unit when the control signal is enabled. Specifically, the system can send the policy information corresponding to the isolation unit to the front-end engineer in the form of a table, and the front-end engineer sets the clamp value for the isolation unit in the table according to the policy information corresponding to each isolation unit, and feeds the table including the clamp value back to the system, and the system can read the clamp value corresponding to each isolation unit from the fed-back table.

[0071] Step S104 , for each isolation unit, adding the clamping value and the strategy information as an isolation strategy to the initial power design file to obtain a target power design file.

[0072] For each isolation unit, the clamp value and strategy information are used as isolation strategies, converted into UPF format statements, and added to the initial power design file to obtain the target power design file. You can also directly convert the table including the clamp value fed back by the front-end engineer into UPF format content to describe the isolation strategy of each isolation unit, and add the converted UPF format content to the initial power design file to obtain the target power design file.

[0073] The method for automatically generating an isolation strategy provided by an embodiment of the present invention inputs a power design file that does not contain strategy information, that is, an initial power design file, into a third-party low-power inspection tool for inspection, obtains an isolation strategy violation report, and can inspect the position where the isolation unit needs to be inserted in the initial power design file, thereby avoiding the occurrence of isolation unit omission and redundant insertion problems, and improving the accuracy of isolation unit insertion. The strategy information is automatically analyzed through the power domain information and power status information in the isolation strategy violation report, thereby improving the efficiency and accuracy of strategy information generation. The strategy information is sent to the front-end engineer in a tabular form, and the front-end engineer sets the clamp value, thereby improving the correctness of the clamp value setting, and facilitating communication between the front-end engineer and the mid-end engineer, thereby improving communication efficiency, accelerating the progress of UPF development, realizing automatic generation of isolation strategies, and improving the accuracy of isolation strategies and the development efficiency of target power design files.

[0074] Example 2

[0075] An embodiment of the present invention also provides another method for automatically generating isolation strategies; this method is implemented on the basis of the method of the above-mentioned embodiment; this method focuses on describing the specific implementation method of determining the strategy information corresponding to multiple isolation units respectively according to the power domain information and power domain status information in the isolation strategy violation report.

[0076] Figure 2a A flowchart of another method for automatically generating an isolation strategy provided by an embodiment of the present invention is shown in FIG. Figure 2a As shown, the isolation strategy automatic generation method may include the following steps:

[0077] Step S201 , inputting the initial power design file and the functional design file into a third-party low power consumption checking tool to obtain an isolation strategy violation report.

[0078] Step S202, obtaining power domain information, power domain status information and isolation objects in the isolation policy violation report.

[0079] The isolation strategy violation report includes power domain information, power domain status information, and isolation objects, which are used to describe the isolation strategy that does not meet the low power design requirements. The power domain information, power domain status information, and isolation objects can be directly read from the isolation strategy violation report.

[0080] Step S203, determining the position where the isolation unit is to be inserted according to the isolation object.

[0081] The position to be inserted refers to a position where the isolation unit is allowed to be inserted. The isolation policy violation report may include multiple isolation objects, and for each isolation object, the input direction of the power domain connected to the isolation object and the output direction of the power domain may be used as the position to be inserted of the isolation unit.

[0082] Exemplarily, the power domain includes power domain A, power domain B and power domain C, wherein power domain A and power domain B interact with each other by signals, and power domain A and power domain C interact with each other by signals. Therefore, the isolation object a is the path for signal interaction between power domain A and power domain B, and the isolation object b is the path for signal interaction between power domain A and power domain C. If power domain A sends a signal to power domain B, and power domain A sends a signal to power domain C, the isolation object a connects the output direction of power domain A, the input direction of power domain B and the input direction of power domain C, and the position to be inserted of the isolation unit may be the output direction of power domain A, the input direction of power domain B and the input direction of power domain C. If power domain B sends a signal to power domain A, and power domain C sends a signal to power domain A, the isolation object b connects the input direction of power domain A, the output direction of power domain B and the output direction of power domain C, and the position to be inserted of the isolation unit is the input direction of power domain A, the output direction of power domain B and the output direction of power domain C.

[0083] Step S204 , screening the insertion positions according to the power domain type and the power signal direction in the power domain information, and determining the insertion position of at least one isolation unit and at least one isolated power domain corresponding to the isolation unit.

[0084] The isolation unit corresponds to the insertion position one by one, that is, one insertion position is used to insert one isolation unit. The power domain type is used to describe the function of the power domain, which can specifically include a normally-on power domain and a shutoff power domain. Among them, the normally-on power domain refers to a power domain that always remains powered on, and the shutoff power domain refers to a power domain that can be powered on or off as needed. The power signal direction refers to the direction of signal interaction between power domains. The power signal direction includes the output direction and the input direction, where the output direction is used to describe the signal output power domain, and the input direction is used to describe the power signal input power domain. The isolated power domain refers to the power domain located in the input direction of the isolation unit after the isolation unit is inserted.

[0085] Specifically, determine whether the position to be inserted is the output direction of the power domain type that can be turned off. If so, retain the position to be inserted and use it as the insertion position of the isolation unit, and use the power domain located in the input direction of the isolation unit as the isolated power domain, that is, the isolated power domain is a turnable power domain; if not, remove the position to be inserted.

[0086] For example, Figure 2b A schematic diagram of an isolation unit insertion provided by an embodiment of the present invention. Figure 2b As shown in the figure, the power domain includes modules A, B, and C. Modules B and C are located in the normally open power domain aon, that is, the power domain type of modules B and C is the normally open power domain. Module A is located in the power-off power domain pd, that is, the power domain type of module A is the power-off power domain. There is signal interaction between modules A and B and C, which is determined by Figure 2b The direction of the arrow in describes the direction of the power signal. When the power supply of pd is turned off, the signal path between the module output to modules B and C needs to be inserted into an isolation unit. If the isolation unit ISO is inserted in the output direction of pd, then one isolation unit ISO can control two modules at the same time, that is, modules B and C. If the input of aon is selected, that is, the number of isolation units ISO in the input direction of modules B and C is greater. However, modules B and C can customize the clamping value as needed, without sharing between modules B and C, and are more flexible. There is no absolute good or bad in the two methods, which depends on the specific engineering implementation. Therefore, the position to be inserted includes the output direction of module A, the input direction of module B, and the input direction of module C. In actual engineering, there are more direct signal connections between different power domains, so the insertion method of the output of pd is preferred. If modules B and C have different clamping requirements in the future, the front-end engineer can propose modifications. Therefore, in the embodiment of the present invention, the insertion position of the isolation unit is the output direction of module A. Correspondingly, after the isolation unit is inserted, the power domain located in the input direction of the isolation unit is module A, and therefore, the isolated power domain is module A.

[0087] Furthermore, the insertion position of the isolation unit can be determined through steps A1 to A3.

[0088] Step A1, according to the direction of the power signal, obtaining the power domain associated with the position to be inserted as the associated power domain.

[0089] According to the direction of the power signal, the power domain connected with the same power signal is used as the power domain associated with the position to be inserted, that is, the associated power domain. Exemplarily, the position to be inserted is the output direction of the power domain A. According to the direction of the power signal, the power domain A sends out a power signal, and the power domain B and the power domain C receive the power signal sent by the power domain A, that is, the power signal sent by the power domain A connects the power domain A, the power domain B and the power domain C. The power domains associated with the position to be inserted include the power domain A, the power domain B and the power domain C, and serve as the associated power domain.

[0090] Step A2: according to the power domain type and the power signal direction, the output direction of the associated power domain whose power domain type is the shut-down power domain is determined as the insertion position of the isolation unit.

[0091] According to the power domain type and the power signal direction, the associated power domain whose power type is the shutoff power domain is reserved, and the output direction of the reserved associated power domain is used as the insertion position of the isolation unit.

[0092] Step A3: according to the output direction of the associated power domain whose power domain type is the shut-down power domain, the associated power domain corresponding to the output direction is used as at least one isolated power domain corresponding to the isolation unit.

[0093] According to the output direction of the associated power domain whose power domain type is a shut-down power domain, the associated power domain corresponding to the output direction is the power domain located at the input direction of the isolation unit after the isolation unit is inserted. The power domain at the input direction of the isolation unit is used as the isolated power domain corresponding to the isolation unit.

[0094] Step S205 , for each isolation unit, screening each isolated power domain according to the power domain status information, and determining the power supply domain corresponding to the isolation unit.

[0095] The power supply domain refers to the power supply domain that supplies power to the isolation unit. Specifically, the power state of each isolated power domain is determined according to the power domain state information; when the power state is the power-on state, the isolated power domain is determined as the power supply domain.

[0096] It is understandable that, for each isolation unit, the power domain state associated with the isolation unit is queried from the power domain state information. The power domain state associated with the isolation unit is used to describe the state of each power domain when the isolation unit needs to be inserted. The state of the power domain includes a power-on state and a power-off state. From the power domain state associated with the isolation unit, the power state of the isolated power domain is obtained, and the isolated power domain with a power-on state is used as the power supply domain corresponding to the isolation unit.

[0097] Step S206 , for each isolation unit, according to the power domain level in the power domain information, the power domain level to which the power supply domain belongs is used as the level of the isolation unit.

[0098] The power domain level to which each power domain belongs is specified in the power domain information. For each isolation unit, the power domain level to which the power supply domain corresponding to the isolation unit belongs is queried from the power domain information, and is used as the level of the isolation unit. Exemplarily, if the power domain level of power domain A in the power domain information is level 2, and power domain A is the power supply domain corresponding to isolation unit a, then the level of isolation unit a is level 2.

[0099] Step S207 , for each isolation unit, obtaining a control signal corresponding to the isolation unit according to the power domain state information.

[0100] For each isolation unit, the power domain state information corresponding to the insertion of the isolation unit is queried from the power domain state information, that is, the power domain state associated with the isolation unit, and is used as a control signal corresponding to the isolation unit.

[0101] Step S208, obtaining the clamping value corresponding to each isolation unit.

[0102] Step S209 , for each isolation unit, adding the clamping value and the strategy information as an isolation strategy to the initial power design file to obtain a target power design file.

[0103] The policy information includes the isolation unit's insertion location, power supply domain, hierarchy, control signals, and isolation objects.

[0104] The isolation strategy automatic generation method provided by the embodiment of the present invention determines various contents included in the strategy information by automatically analyzing the power domain information and the power domain status information, thereby improving the efficiency and accuracy of determining the strategy information.

[0105] Example 3

[0106] An embodiment of the present invention also provides another method for automatically generating isolation strategies; this method is implemented on the basis of the method of the above-mentioned embodiment; this method focuses on describing the specific implementation method after determining the strategy information corresponding to multiple isolation units respectively according to the power domain information and power domain status information in the isolation strategy violation report.

[0107] Figure 3 A flowchart of another method for automatically generating an isolation strategy provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the isolation strategy automatic generation method may include the following steps:

[0108] Step S301: input the initial power design file and the functional design file into a third-party low power consumption checking tool to obtain an isolation strategy violation report.

[0109] Furthermore, the initial power design file and the functional design file are input into a third-party low power consumption check tool to obtain an isolation policy violation report, including: inputting the initial power design file and the functional design file into the third-party low power consumption check tool, performing a consistency check on the initial power design file and the functional design file, and obtaining a check result; updating the initial power design file according to the check result to obtain an updated power design file; and running an isolation policy check command through the third-party low power consumption check tool to check the updated power design file and obtain an isolation policy violation report.

[0110] The consistency check is used to determine the consistency of the initial power design file and the functional design file and the syntax problems in the initial power design file. It can be understood that the functional design file is used to describe the functions that the chip circuit can achieve under different power supply and power supply states, and the initial power design file describes the power supply and power supply state of the chip circuit through UPF statements. Since the initial power design file and the functional design file are based on the same electronic circuit, they have the consistency of the target object. Therefore, the consistency check can determine whether there are statement errors in the initial power design file. If there are errors, it indicates that there are syntax errors in the initial power design file, or the initial power design file is inconsistent with the more powerful design file. The check result is used to describe whether there are statement error problems in the initial power design file. If there are, the check result is also used to describe the statement error problems that exist after the consistency check is completed. The isolation policy check command refers to the command used in the third-party low power check tool for isolation policy check. By executing the isolation policy check command, the third-party low power check tool can generate an isolation policy violation report.

[0111] Specifically, after the initial power design file and the functional design file are input into the third-party low-power inspection tool, the check_lp command is executed to check the consistency of the initial power design file and the functional design file, and then the report_lp-filter command is executed to output a report that filters out the isolation strategy-related violations, that is, the inspection result. If the inspection result indicates that there is a statement error problem, according to the inspection result, the mid-end engineer modifies the UPF statement with the statement error in the initial power design file, and inputs the modified UPF statement into the initial power design file, updates the initial power design file, and obtains the updated power design file. For the updated power design file, the isolation strategy check command is run through the third-party low-power inspection tool, that is, the isolation strategy check command includes the check_lp command and the report_lp-tag command. The check_lp command is used to check the updated power design file. When there is no statement error problem in the inspection result, the inspection result is limited by running the report_lp-tag command to obtain an isolation strategy violation report. If the inspection result indicates that there is no statement error problem, the isolation strategy check command is run to check the initial power design file to obtain an isolation strategy violation report.

[0112] Step S302 : determining the policy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation policy violation report.

[0113] Step S303, obtaining a preset clamping value corresponding to each isolation unit.

[0114] The preset clamp value refers to a clamp value pre-set for the isolation unit in the system. In the embodiment of the present invention, the preset clamp value of each isolation unit can be set to 0.

[0115] Step S304 , for each isolation unit, adding the preset clamp value and strategy information as an isolation strategy to the initial power design file to obtain a temporary power design file.

[0116] The preset clamping value and strategy information are used as the isolation strategy of the isolation unit, converted into UPF format content, added to the initial power supply design file, and obtained as a temporary power supply design file.

[0117] Step S305, performing a structural check on the temporary power supply design file to obtain error information.

[0118] Structural checking refers to checking the rationality of the distribution of logic circuits of a chip in different power domains. For example, structural checking checks whether there are combinational logic circuits passing through different power domains. Error information is used to describe the results of structural checking.

[0119] Specifically, an inspection tool may be selected according to actual conditions to perform a structural inspection on the temporary power supply design file to obtain error information.

[0120] Step S306: when the error information includes structural error information, update the temporary power supply design file.

[0121] Structural error information is used to describe information that the logic circuits of the chip do not meet the rationality of the distribution in different power domains. When the structural error information is included in the error information, the mid-end engineer modifies the temporary power design file according to the error information, and uses the modified temporary power design file as the updated temporary power design file.

[0122] Step S307, obtaining the clamping value corresponding to each isolation unit.

[0123] Step S308 , for each isolation unit, updating the temporary power design file according to the clamp value to obtain a target power design file.

[0124] For each isolation unit, the obtained clamping value may replace the preset clamping value in the temporary power supply design file, and the temporary power supply design file may be updated to obtain the target power supply design file.

[0125] The automatic generation method of the isolation strategy provided by the embodiment of the present invention can set all the clamping values ​​of the isolation objects to 0 when the design is too complex and the front-end engineer may need more time to confirm the clamping value, and generate a temporary UPF file. Then, the temporary UPF file is used to perform subsequent low-power design structural inspections to discover potential structural problems in advance, thereby improving the development efficiency of the target power design file.

[0126] Example 4

[0127] Corresponding to the above method embodiment, the embodiment of the present invention provides an automatic isolation strategy generation device, Figure 4 A schematic diagram of the structure of an automatic isolation strategy generation device provided by an embodiment of the present invention, such as Figure 4 As shown, the isolation strategy automatic generation device may include:

[0128] The violation report acquisition module 401 is used to input the initial power design file and the functional design file into a third-party low power consumption check tool to obtain an isolation strategy violation report; the initial power design file is used to define the power supply connection mode, power domain and power state;

[0129] A policy information acquisition module 402, used to determine policy information corresponding to a plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation policy violation report;

[0130] A clamp value acquisition module 403, used to acquire the clamp value corresponding to each isolation unit;

[0131] The merging module 404 is used to add the clamping value and the strategy information as the isolation strategy for each isolation unit to the initial power supply design file to obtain a target power supply design file.

[0132] The automatic isolation strategy generation device provided by the embodiment of the present invention inputs the power design file that does not contain strategy information, that is, the initial power design file, into a third-party low-power inspection tool for inspection, obtains an isolation strategy violation report, can check the position where the isolation unit needs to be inserted in the initial power design file, can avoid the occurrence of isolation unit omission and redundant insertion problems, and improve the accuracy of isolation unit insertion. Through the power domain information and power status information in the isolation strategy violation report, the strategy information is automatically analyzed, the efficiency and accuracy of strategy information generation are improved, and the strategy information is sent to the front-end engineer in a tabular form. The front-end engineer sets the clamp value, which can improve the correctness of the clamp value setting, and can also facilitate communication between the front-end engineer and the mid-end engineer, thereby improving communication efficiency, accelerating the progress of UPF development, realizing automatic generation of isolation strategy, and improving the accuracy of isolation strategy and the development efficiency of the target power design file.

[0133] In some embodiments, the policy information includes the insertion position, power supply domain, level, control signal and isolation object of the isolation unit; the policy information acquisition module 402 further includes:

[0134] A report reading unit, used for obtaining power domain information, power domain status information and isolation objects in the isolation policy violation report;

[0135] A position determination unit, used to determine a position where the isolation unit is to be inserted according to the isolation object;

[0136] A position screening unit, used to screen the positions to be inserted according to the power domain type and the power signal direction in the power domain information, and determine the insertion position of at least one isolation unit and at least one isolated power domain corresponding to the isolation unit; wherein the isolation unit corresponds to the insertion position one by one;

[0137] The power supply confirmation unit is used to screen each isolated power domain according to the power domain status information for each isolation unit, and determine the power supply domain corresponding to the isolation unit;

[0138] A level confirmation unit, for each isolation unit, according to the power domain level in the power domain information, taking the power domain level to which the power supply domain belongs as the level of the isolation unit;

[0139] The control signal confirmation unit is used to obtain the control signal corresponding to each isolation unit according to the power domain status information.

[0140] In some embodiments, the location screening unit is further configured to:

[0141] According to the power signal direction, a power domain associated with the position to be inserted is obtained as the associated power domain;

[0142] According to the power domain type and the power signal direction, the output direction of the associated power domain whose power domain type is a shut-down power domain is determined as the insertion position of the isolation unit;

[0143] According to the output direction of the associated power domain whose power domain type is a shut-down power domain, the associated power domain corresponding to the output direction is used as at least one isolated power domain corresponding to the isolation unit.

[0144] In some embodiments, the power supply confirmation unit is further used to:

[0145] Determine the power status of each isolated power domain according to the power domain status information;

[0146] When the power state is the power-on state, the isolated power domain is determined as the power supply domain.

[0147] In some embodiments, the violation report acquisition module 401 is further used to:

[0148] Input the initial power design file and the functional design file into a third-party low power consumption check tool, perform a consistency check on the initial power design file and the functional design file, and obtain the check result;

[0149] According to the inspection result, the initial power supply design file is updated to obtain an updated power supply design file;

[0150] Use a third-party low-power check tool to run the isolation policy check command, check the updated power design file, and obtain an isolation policy violation report.

[0151] In some embodiments, the apparatus further comprises:

[0152] A preset value acquisition module, used to obtain a preset clamp value corresponding to each isolation unit;

[0153] A temporary file acquisition module is used to add the preset clamp value and strategy information as the isolation strategy to the initial power design file for each isolation unit to obtain a temporary power design file;

[0154] Structural check module, used to perform structural check on temporary power supply design files and obtain error information;

[0155] Returns module used to update temporary power design files when structural error information is included in the error message.

[0156] In some embodiments, the merging module 404 is further configured to:

[0157] For each isolation unit, the temporary power supply design file is updated according to the clamp value to obtain a target power supply design file.

[0158] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0159] Example 5

[0160] The embodiment of the present invention also provides an electronic device for executing the above isolation strategy automatic generation method; see Figure 5 A structural schematic diagram of an electronic device is shown, which includes a memory 500 and a processor 501, wherein the memory 500 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 501 to implement the above-mentioned isolation strategy automatic generation method.

[0161] Further, Figure 5 The electronic device shown further includes a bus 502 and a communication interface 503 , and the processor 501 , the communication interface 503 and the memory 500 are connected via the bus 502 .

[0162] The memory 500 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 503 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 502 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0163] The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 501. The above processor 501 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 500, and the processor 501 reads the information in the memory 500 and completes the steps of the method of the above embodiment in combination with its hardware.

[0164] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned isolation strategy automatic generation method. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0165] The computer program product for the automatic generation method of isolation strategies provided in the embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0167] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0170] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0171] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for automatically generating an isolation strategy, characterized in that: include: Input the initial power design files and functional design files into a third-party low-power checker to obtain isolation strategy violation reports; The initial power design file is used to define the power supply connection mode, power domain and power state; Determine, according to the power domain information and the power domain status information in the isolation strategy violation report, the strategy information corresponding to the plurality of isolation units respectively; Obtaining a clamp value corresponding to each of the isolation units; For each of the isolation units, the clamp value and the strategy information are used as an isolation strategy and added to an initial power supply design file to obtain a target power supply design file.

2. The method according to claim 1, characterized in that The policy information includes the insertion position, power supply domain, level, control signal and isolation object of the isolation unit; the policy information corresponding to the plurality of isolation units is determined according to the power supply domain information and power supply domain status information in the isolation policy violation report, including: Obtaining power domain information, power domain status information and isolation objects in the isolation policy violation report; According to the isolation object, determining a position where the isolation unit is to be inserted; According to the power domain type and the power signal direction in the power domain information, the to-be-inserted position is screened to determine the insertion position of at least one isolation unit and at least one isolated power domain corresponding to the isolation unit; wherein the isolation unit corresponds to the insertion position one by one; For each of the isolation units, screening each of the isolated power domains according to the power domain status information, and determining the power supply domain corresponding to the isolation unit; For each of the isolation units, according to the power domain level in the power domain information, the power domain level to which the power supply domain belongs is used as the level of the isolation unit; For each of the isolation units, a control signal corresponding to the isolation unit is obtained according to the power domain state information.

3. The method according to claim 2, characterized in that The method of screening the to-be-inserted position according to the power domain type and the power signal direction in the power domain information, determining the insertion positions of multiple isolation units, and at least one isolated power domain corresponding to each isolation unit, includes: According to the power signal direction, acquiring a power domain associated with the to-be-inserted position as an associated power domain; According to the power domain type and the power signal direction, determining the output direction of the associated power domain whose power domain type is a turn-off power domain as the insertion position of the isolation unit; According to the output direction of the associated power domain whose power domain type is a shut-down power domain, the associated power domain corresponding to the output direction is used as at least one isolated power domain corresponding to the isolation unit.

4. The method according to claim 2, characterized in that: The screening of each of the isolated power domains according to the power domain state information to determine the power supply domain corresponding to the isolation unit includes: Determining the power status of each of the isolated power domains according to the power domain status information; When the power state is a power-on state, the isolated power domain is determined as a power supply domain.

5. The method according to claim 1, characterized in that The initial power design file and the functional design file are input into a third-party low power check tool to obtain an isolation strategy violation report, including: Inputting the initial power design file and the functional design file into a third-party low power consumption check tool, performing a consistency check on the initial power design file and the functional design file, and obtaining a check result; According to the inspection result, the initial power supply design file is updated to obtain an updated power supply design file; The isolation strategy check command is run through the third-party low power consumption check tool to check the updated power design file and obtain an isolation strategy violation report.

6. The method according to claim 1, characterized in that After determining the policy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation policy violation report, the method further includes: Obtaining a preset clamping value corresponding to each of the isolation units; For each of the isolation units, the preset clamp value and the strategy information are added as an isolation strategy to an initial power supply design file to obtain a temporary power supply design file; Performing a structural check on the temporary power supply design file to obtain error information; When the error information includes structural error information, the temporary power supply design file is updated.

7. The method according to claim 6, characterized in that For each of the isolation units, the clamp value and the strategy information are added as an isolation strategy to an initial power supply design file to obtain a target power supply design file, including: For each of the isolation units, the temporary power supply design file is updated according to the clamp value to obtain a target power supply design file.

8. An automatic generation device for an isolation strategy, characterized in that: include: A violation report acquisition module, used to input the initial power design file and the functional design file into a third-party low-power check tool to obtain an isolation strategy violation report; The initial power design file is used to define the power supply connection mode, power domain and power state; A strategy information acquisition module, used to determine the strategy information corresponding to the plurality of isolation units respectively according to the power domain information and the power domain status information in the isolation strategy violation report; A clamp value acquisition module, used to acquire the clamp value corresponding to each of the isolation units; The merging module is used to add the clamping value and the strategy information as the isolation strategy to the initial power supply design file for each isolation unit to obtain a target power supply design file.

9. An electronic device, characterized in that: It includes a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the isolation strategy automatic generation method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the isolation strategy automatic generation method described in any one of claims 1 to 7.