WO2021134200A1 - 芯片设计方法、芯片设计装置、芯片及电子设备 - Google Patents
芯片设计方法、芯片设计装置、芯片及电子设备 Download PDFInfo
- Publication number
- WO2021134200A1 WO2021134200A1 PCT/CN2019/129895 CN2019129895W WO2021134200A1 WO 2021134200 A1 WO2021134200 A1 WO 2021134200A1 CN 2019129895 W CN2019129895 W CN 2019129895W WO 2021134200 A1 WO2021134200 A1 WO 2021134200A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- power
- domain
- state
- chip
- power domain
- Prior art date
Links
- 238000013461 design Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012795 verification Methods 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 claims abstract description 3
- 238000002955 isolation Methods 0.000 claims description 54
- 101100520505 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) PMU1 gene Proteins 0.000 description 16
- 238000010586 diagram Methods 0.000 description 15
- 238000004088 simulation Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000012938 design process Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/32—Circuit design at the digital level
- G06F30/33—Design verification, e.g. functional simulation or model checking
- G06F30/3308—Design verification, e.g. functional simulation or model checking using simulation
- G06F30/3312—Timing analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/32—Circuit design at the digital level
- G06F30/327—Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/06—Power analysis or power optimisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/12—Timing analysis or timing optimisation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the embodiments of the present disclosure relate to the field of chip technology, and in particular to a chip design method, a chip design device, a chip, and an electronic device.
- EDA Electronics Design Automation
- VHDL hardware description languages
- the embodiments of the present disclosure provide a chip design method, a chip design device, a chip, and an electronic device.
- the method can determine the timing dependence of the power domain during the verification stage of the register conversion level of the chip, so as to ensure the circuit performance when the power domain is turned off. Stability provides the possibility.
- An embodiment of the present disclosure provides a chip design method, which is applied to the register transfer level (RTL) verification stage of the chip, and the chip design method includes:
- At least one power state of the chip wherein one of the at least one power state includes the switching state of each power domain on the chip in a chip working mode, and the at least one power state
- the state includes the first power state
- determining the at least one power state of the chip includes:
- the power state table of the unified power supply format file is analyzed to determine the at least one power state of the chip; the power state table describes the switching state of each power domain on the chip in each chip working mode.
- analyzing the timing dependence between the control signals, and determining the timing dependence between the power domains affected by the control signal in the first power state includes:
- the power supply relationship includes: the power supply domain supplied by the power supply, and the domain cross-line connection mode of the power supply domain supplied by the power supply;
- the chip design method further includes:
- determining the power source corresponding to the control signal includes:
- the power source corresponding to the power source control line can be traced back through the power source control line.
- determining the power control line corresponding to the domain crossing line includes:
- Backtracking the power supply corresponding to the power control line through the power control line includes:
- the power supply corresponding to the power control line is determined through the mode information of the power management unit.
- the chip design method further includes:
- the domain crossover line is affected by the switching state of the power supply, and an isolation unit is designed in the power domain connected to the output end of the domain crossover line, wherein the isolation unit is used at the input end of the domain crossover line Before the connected power domain is turned off, isolate the power domain connected to the input end of the domain crossing line and the power domain connected to the output end of the domain crossing line.
- the at least one power state further includes a second power state
- the control signal sent by the changed power domain in each power domain includes:
- the switch states of the power domains in the second power state and the switch states of the power domains in the first power state it is determined that the power state of the chip changes from the second power state The changed power domain when switching to the first power state;
- the embodiment of the present disclosure also provides a chip design device, including:
- a power state determination circuit for determining at least one power state of the chip, wherein one power state in the at least one power state includes the switching state of each power domain on the chip in a chip working mode , The at least one power state includes a first power state;
- the control signal determining circuit is used to determine the control signal sent by the power domain of the change in each power domain when the power state of the chip is switched to the first power state, wherein the power state of the chip is switched When the first power state is reached, the switch state of the changing power domain changes;
- An analysis circuit is used to analyze the timing dependence between the control signals, and determine the timing dependence between the power domains that the control signals act on in the first power state.
- the embodiment of the present disclosure also provides a chip, including:
- a power management unit configured to obtain the timing dependency between the first power domain and the second power domain
- a first power source and a second power source connected to the power management unit
- the first power domain connected to the first power source, where the first power source supplies power to the first power domain;
- the second power source supplies power to the second power domain; wherein, the timing dependency indicates that in the current power state, the second power domain is Depends on the first power domain in timing;
- the second power domain includes an isolation unit configured to isolate the first power domain from the second power domain before the first power domain is turned off.
- the first input terminal of the isolation unit is connected to a control line between the first power supply domain and the second power supply domain, and the control line is a crossover from the first power supply domain to the second power supply The domain crossing line of the domain; the second input terminal of the isolation unit is connected to the power management unit.
- the power management unit is configured to send an isolation signal to the isolation unit before sending a power-down signal to the first power source to turn off the first power domain based on the timing dependency, So that the isolation unit isolates the control line between the first power domain and the second power domain; and the control line between the first power domain and the second power domain After isolation, a power-down signal is sent to the first power source to turn off the first power domain.
- the embodiments of the present disclosure also provide an electronic device, including the chip described in any of the above embodiments.
- the embodiments of the present disclosure can determine at least one power state of the chip during the RTL verification stage of the chip design, where one power state in the at least one power source includes that each power domain on the chip works in one chip.
- the at least one power state includes the first power state; thus, it is determined that when the power state of the chip is switched to the first power state, the change power domain in each power domain sends control Signal, wherein when the power state of the chip is switched to the first power state, the switch state of the changing power domain changes; further, the timing dependence between the control signals is analyzed to determine the control signal According to the timing dependence between the control signals, determine the timing dependence between the power domains that each control signal acts on in the first power state, so as to realize that the power domain is determined in each power state Timing dependency between.
- the embodiments of the present disclosure can analyze the timing dependence between the control signals sent by the power domain whose switch state changes when the power state is switched, so as to determine the power domain under the switched power state.
- the timing dependence between the power domains can be used to determine the timing dependence of the power domain; and the embodiments of the present disclosure can analyze and determine the timing dependency of the power domain during the RTL verification stage, without having to implement it at the gate-level stage of the chip design. Therefore, the embodiments of the present disclosure can relatively simply implement the analysis and determination of the timing dependence of the power domain.
- Figure 1 is a schematic diagram of a power management unit with a power domain to manage power
- Figure 2 is a schematic diagram of the structure of a chip
- FIG. 3 is a schematic diagram of turning off the first power domain according to an embodiment of the present disclosure
- FIG. 4 is a schematic diagram of signals corresponding to turning off the first power domain according to an embodiment of the present disclosure
- FIG. 5 is a schematic diagram of another structure of a chip provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram of another signal corresponding to turning off the first power domain according to an embodiment of the present disclosure
- FIG. 7 is a flowchart of a chip design method provided by an embodiment of the present disclosure.
- FIG. 8 is an exemplary diagram of a power state provided by an embodiment of the present disclosure.
- FIG. 9 is a flowchart of a method for implementing step S120 in the process shown in FIG. 7;
- FIG. 10 is a block diagram of a chip design device provided by an embodiment of the present disclosure.
- FIG. 11 is another block diagram of a chip design apparatus provided by an embodiment of the disclosure.
- chip design In addition to considering performance and cost, chip design also needs to consider chip-level or system-level power consumption requirements. Therefore, chip low-power design is also a key task of chip design; current chip low-power design can use multiple power domains (Power Domain ) Design and implementation, by running certain power domains under a lower power supply voltage, or turning off the power domains in an idle state, thereby reducing the power consumption of the chip.
- Power Domain power domains
- the inventor of the present invention found that: based on the current chip low-power design, when the power domain needs to be turned off, if the timing dependency of the power domain is not considered, it is very likely to cause the instability of the chip circuit; therefore, how to determine the power domain The timing dependence becomes very important.
- the power domain of the chip can be turned off by the PMU (Power Management Unit).
- the PMU can be connected to the power source, and the power source can be connected to the power domain.
- the power domain can refer to a group of design elements that share power in the chip.
- the power domain may include, for example, Host Interface and CGC (Clock Gating Control) modules, Processor and Baseband Subsystem modules, For the RF subsystem (radio frequency subsystem) module, it should be noted that there may also be connections between power domains (not shown in Figure 1); the form of the power domain shown in Figure 1 is only an optional example.
- Embodiments Any power domain described below can be any of the multiple forms of power domains; of course, the embodiments of the present disclosure also support any power domain described below as other forms of power domains, and are not limited to the above Example.
- FIG. 2 an example of a chip may be shown in FIG. 2.
- the chip may include: PMU1, first power supply 2, first power supply domain 3, second power supply 4, and second power supply domain 5; for example, first power supply 2 Output voltage Vdd1 to the first power domain 3 to supply power to the first power domain 3, and the second power source 4 outputs voltage Vdd2 to the second power domain 5 to supply power to the second power domain 5; Power-up and power-down can be controlled by PMU1.
- Figure 3 shows an optional schematic diagram of turning off the first power domain 3.
- the PMU1 can output PD ( Power Down signal, the first power supply 2 is powered off (correspondingly, the voltage Vdd1 output by the first power supply 2 to the first power supply domain 3 becomes 0 volts), so that the first power supply domain 3 is turned off.
- PD Power Down signal
- the PMU1 can output a PD signal to the second power source 4, and the second power source 4 is powered down (correspondingly, the voltage Vdd2 output by the second power source 4 to the second power domain 5 changes Is 0 volts), so that the second power domain 5 is turned off.
- the PMU1 can output a power-on signal to the first power source 2, and the first power source 2 is powered on (correspondingly, the voltage Vdd1 output by the first power source 2 to the first power domain 3 changes Is a positive value), so that the first power domain 3 is turned on;
- the PMU1 can output a power-on signal to the second power source 4, and the second power source 4 is powered on (correspondingly, the second The voltage Vdd2 output by the power supply 4 to the second power domain 5 becomes a positive value), so that the second power domain 5 is turned on;
- the power-on signal and the power-off signal are power control signals for the PMU1 to control the power supply (for example, the first power supply 2 and the second power supply 4 shown in FIG. 2).
- FIG. 4 shows a schematic diagram of signal changes in the process of turning off the first power domain. ; It can be seen from Figure 4 that if the PMU1 outputs the PD signal to the first power supply 2, the first power supply domain 3 is turned off immediately, then the signal a output from the first power supply domain 3 to the second power supply domain 5 will be determined by The value becomes unknown.
- Vdd2 maintains the power-on state (positive value), the PD signal is in a low-level state to indicate that the PD signal is not activated, and the PD signal is in a high-level state to indicate that the PD signal is activated, and Vdd1 is in a low-power state
- the flat state indicates that the first power supply 2 is powered off, that is, the first power supply domain 3 is off, and the Vdd1 is in a high state indicates that the first power supply 2 is powered on, that is, the first power supply domain 3 is turned on.
- the power domain (for example, the first power domain 3 or the second power domain 5 shown in FIG. 2) will change between an on state and an off state ; And there are generally timing dependencies between multiple power domains. If the power domain is not considered when the PMU1 turns off the power domain, it is very easy to cause the instability of the chip circuit.
- the embodiments of the present disclosure provide an improved chip and a corresponding solution for turning off the power domain; alternatively, the chip provided in the embodiments of the present disclosure may As shown in FIG. 5, referring to FIG. 5, the chip may include: PMU1, first power supply 2, first power supply domain 3, second power supply 4, second power supply domain 5, and an isolation unit arranged in the second power supply domain 5. 6. The first power domain 3 to which the first power source 2 is connected, and the first power source 2 provides power to the first power domain 3; the second power domain 4 to which the second power source 3 is connected, and the second power source 3 is the second power domain 5 powered by. The isolation unit 6 is used to isolate the first power domain 3 and the second power domain 5 before the first power domain 3 is turned off.
- PMU1 is used to obtain the timing dependency between the first power domain and the second power domain.
- the timing dependence is determined based on the chip design method described below.
- Timing dependency means that in the current power state, the second power domain 5 depends on the first power domain 3 in timing; optionally, the isolation unit 6 may be a power gate (for example, a logic gate such as a NAND gate).
- the embodiment of the present disclosure may first pass through the isolation unit in the second power domain 5 6 Isolate the first power domain 3 and the second power domain 5, for example, isolate the control line connected between the first power domain 3 and the second power domain 5, and then turn off the first power domain 3, so that the first power domain 3 After the power domain 3 is turned off, the instability of the second power domain 5 that depends on the first power domain 3 is reduced, thereby achieving the purpose of reducing the instability of the chip circuit when the first power domain 3 is turned off.
- the first input terminal of the isolation unit 6 provided in the second power domain 5 can be connected to the control line between the first power domain 3 and the second power domain 5, and the control line can be the first power domain 3 to the second power domain.
- Domain Crossing of power domain 5, the second input terminal of isolation unit 6 is connected to PMU1, the second input terminal of isolation unit 6 can detect the isolation signal, that is, receive the isolation signal, and the output terminal of isolation unit 6 can be connected to The second power domain 5, and the output terminal of the isolation unit 6 can output signal b;
- the embodiment of the present disclosure can be set: PMU1 based on the timing dependence, before sending the PD signal to the first power supply 2, can be set to the second power supply
- the isolation unit 6 in the domain 5 sends out an isolation signal, so that the isolation unit 6 can isolate the control line connected between the first power domain 3 and the second power domain 5 to realize the isolation of the first power domain 3 and the second power domain 5 , And then the PMU1 sends a PD signal to the first power supply 2 to switch off the first
- FIG. 6 shows a schematic diagram of signal changes in the process of turning off the first power domain in the embodiment of the present disclosure.
- the isolation signal acts before the PD signal, that is, the first power domain 3 and the second power domain 3
- the signal a becomes unknown, that is, The signal a may cause the second power domain 5 to be unstable, but since the first power domain 3 and the second power domain 5 have been isolated in advance, the unknown state of the signal a will have a smaller impact on the second power domain 5, so The instability of the second power domain 5 that depends on the first power domain 3 can be reduced, and the purpose of reducing the instability of the chip circuit when the first power domain 3 is turned off is realized.
- the core idea of turning off the power domain in the embodiment of the present disclosure is: when the first power domain 3 on which the second power domain 5 depends needs to be turned off, the embodiment of the present disclosure can be isolated by the second power domain 5
- the unit first isolates the first power domain 3 and the second power domain 5, and then turns off the first power domain 3 on which the second power domain 5 depends, thereby reducing the instability of the chip circuit when the first power domain 3 is turned off
- the first power domain 3 and the second power domain 5 are any two power domains in the chip that are dependent on timing, and the second power domain 5 depends on the first power domain 3.
- the solution for shutting down the power domain provided by the embodiments of the present disclosure, it is necessary to determine the timing dependency between the power domains, that is, there are some timing requirements for the power supply control signal of the PMU1 to shut down the power supply domain.
- the PMU shuts down the power domain
- the solution of turning off the power domain provided by the embodiments of the present disclosure is implemented; however, in the chip design process, the analysis of the timing dependency is generally at the gate-level stage of the chip, such as by using SDF( Standard Delay format) gate-level simulation determines the timing dependence between power domains; however, the circuit scale of the gate-level stage is undoubtedly very complex and huge.
- SDF gate-level simulation to determine the timing dependence between power domains is undoubtedly extremely complex.
- mainstream chip design is mainly divided into specifications, algorithm-level description, RTL-level (register transfer level, register transfer level) description, gate-level netlist, layout and other design processes.
- RTL-level and gate-level design are chip designs. Two key stages: RTL level uses hardware description language (such as Verilog or VHDL) to describe chip functions, RTL level is logically synthesized to obtain gate level (such as gate-level netlist), and gate level uses specific logic units (depending on Cell library) to implement chip functions.
- the gate level introduces timing relationships (including timing dependencies between power domains referred to in the embodiments of the present disclosure).
- RTL-level simulation and gate-level simulation are respectively for the RTL-level and gate-level simulation verification stages; RTL-level simulation is to verify the syntax and basic functions of the chip function described by the hardware description language (not including timing information); Level simulation is mainly for the simulation verification of the gate-level timing after logic synthesis; it can be seen that although the timing verification can be achieved at the gate-level simulation, the gate-level is represented by specific logic units, and the circuit scale is very complex and large, so Using SDF gate-level simulation to analyze the timing dependence between power domains is undoubtedly extremely complicated.
- the embodiment of the present disclosure provides a novel chip design method to determine the timing dependency between power domains in a relatively simple manner, so that the PMU can be based on
- the timing dependence between power domains realizes the solution of turning off the power domain provided in the embodiments of the present disclosure, and further, when the designed chip needs to turn off the power domain, it is possible to ensure the stability of the circuit.
- FIG. 7 shows an optional process of the chip design method provided by the embodiment of the present disclosure, and the chip design method can be applied in the RTL verification stage of the chip design;
- a tool for implementing the chip design method provided by the embodiment of the present disclosure can be configured in a chip design tool (for example, EDA), so that the tool can be executed to implement the chip design method provided by the embodiment of the present disclosure.
- a chip design tool for example, EDA
- the chip design method may include:
- Step S100 Determine at least one power state of the chip, where one power state of the at least one power state includes the switching state of each power domain on the chip in a chip working mode.
- the at least one power state includes a first power state.
- the chip may have multiple chip working modes, such as power off (power off), standby (standby), sleep (sleep), etc.
- the chip may also have other chip working modes not shown, which will not be shown here. Expand the explanation; in different chip working modes, the on-off state of each power domain on the chip is also different. For example, in the power-off chip working mode, most of the power domains corresponding to the power supply are powered off, so most of the power domains It is the off state. In the standby chip working mode, the power supply corresponding to some power domains is powered on, and the power supply of some power domains is powered off. Therefore, some power domains are in the on state, and some power domains are in the off state.
- PDA Power Domain A
- PDB Power Domain B
- PDC Power Domain C
- RF subsystem modules as an example, as shown in Fig. 8 exemplarily An example diagram of each power state is shown, and each power state can represent the switch state of the power domain in each chip working mode.
- the switching state of each power domain can constitute a power state (power state): on, off, off; in the chip working mode of standby, the switching state of each power domain can be constituted Power state: on, off, off; that is to say, for any chip working mode, the set of switch states of each power domain in the chip working mode can be used as the power state of the chip working mode; that is, the analyzed A power state includes the switching state of each power domain in a chip working mode.
- the embodiments of the present disclosure may determine the switching states of each power domain in each chip working mode, respectively, so as to aggregate the switching states of each power domain in each chip working mode to obtain at least one power state of the chip.
- the switch state of the power domain in any chip working mode can be described by a UPF (United Power Format) file, and the embodiment of the present disclosure may determine the switch state of each power domain in each chip working mode according to the UPF file.
- UPF United Power Format
- the UPF file is a standard power format file widely used in the IEEEl801 standard for low-power design and verification.
- the UPF file consists of a set of commands similar to Tool Command Language (tool command language) to describe the chip Low power intent in the design.
- Step S110 It is determined that when the power state of the chip is switched to the first power state, the changed power domain in each power domain sends a control signal.
- variable power domain may be a part of the power domain on the chip, that is, each power domain includes a variable power domain.
- the switch state of the changing power domain changes.
- the determined control signal can be multiple; optionally, the first power state and the second power state can be set as two power states of the power state of the chip That is, at least one power state further includes a second power state.
- the embodiments of the present disclosure can determine that the switch state changes when the second power state is switched to the first power state. Power domain, and determine the control signal sent by the power domain of the switch state change.
- the power state switching referred to in step S110 should be a legal power state switching, that is, the allowed power state switching during chip design.
- the at least one power state further includes a second power state.
- Step S110 includes: determining the switching state of each power domain in the second power state; determining the switching state of each power domain in the first power state; according to the switching state of each power domain in the second power state and the switching state of each power domain in the first power state; The switch state of each power domain in the state determines the changed power domain when the power state of the chip is switched from the second power state to the first power state; determines the control signal sent by the changed power domain.
- the switch state for example, the on state
- the switch state for example, the off state
- Step S120 Analyze the timing dependence between the control signals, and determine the timing dependence between the power domains that each control signal acts on in the first power state (that is, the power state switched to).
- the embodiment of the present disclosure may use a static timing analysis (Timing Analysis, STA) method to analyze the timing dependence between the control signals, and determine the power state to which the power domains acted by the control signals are switched.
- STA Timing Analysis
- the timing dependence under.
- the power domain to which each control signal acts includes the power domain that sends the control signal and the power domain to which the control signal crosses.
- the embodiments of the present disclosure can determine at least one power state of the chip during the RTL verification stage of the chip design, where one power state of the at least one power state includes the switching state of each power domain in a chip working mode; Therefore, when the power state is switched, the control signal sent by the power domain (that is, the changing power domain) of the switch state is determined; further, the timing dependence between the control signals is analyzed, and the power domain that each control signal acts on is determined to be between the power domains. The timing dependence of the switched power state is realized in each power state, and the timing dependence between power domains is determined.
- the embodiments of the present disclosure can analyze the timing dependence between the control signals sent by the power domains whose switch state changes when the power state is switched, so as to determine the power state between the power domains when the power state is switched to.
- Timing dependence is to realize the determination of the timing dependence of the power domain; and the embodiment of the present disclosure is to analyze and determine the timing dependence of the power domain in the RTL verification stage, without having to implement it at the gate-level stage of the chip design.
- the example can be relatively simple to realize the analysis and determination of the timing dependence of the power domain.
- FIG. 9 shows the flow of an optional implementation method of step S120 in the flow shown in FIG. 7.
- the flow may include:
- Step S200 Determine the domain crossing line corresponding to the control signal.
- Domain Crossing is a domain crossing line between power domains, indicating the control signal crossing from one power domain to another power domain; for example, as shown in FIG. 5, the first power source
- the connection between the domain and the second power domain can be considered as a domain crossing line.
- the embodiment of the present disclosure may determine the domain crossing line from the power domain that sends the control signal to the power domain to which the control signal crosses.
- Step S210 Determine the power control line corresponding to the domain crossover line.
- the embodiments of the present disclosure can combine the Power State Table and PMU model information to determine the power control line corresponding to the domain crossing line, and the power control line corresponding to the domain crossing line
- the line can be considered as the power control line of the power domain that outputs the control signal connected to the domain crossing line.
- Step S220 through the power control line, trace back the power corresponding to the power control line.
- the embodiments of the present disclosure can determine the power supply corresponding to the power control line.
- Step S230 Determine the power supply relationship of the power supply according to the characteristics of the power supply; the power supply relationship includes: the power supply domain supplied by the power supply and the cross-line connection mode of all domains of the power supply domain supplied by the power supply.
- Step S240 According to the power supply relationship of the power supply, it is determined whether the domain crossing line of the power supply domain supplied by the power supply is affected by the switching state of the power supply. If so, step S250 is executed, and if not, step S260 is executed.
- the switching state of the power supply includes a power-on state and a power-off state.
- the domain crossing line of the power domain supplied by the power supply is affected by the switch state of the power supply, indicating that when the power supply changes between the power-on state and the power-down state, the corresponding control signal of the domain crossing line of the power domain supplied by the power supply will change.
- Step S250 Determine that the power domain connected to the domain crossover line affected by the switching state of the power source has a timing dependency in the first power state.
- the power domain connected to the domain crossing line includes the power domain connected to the input end of the domain crossing line and the power domain connected to the output end of the domain crossing line, and the power domain to which the domain crossing line is affected by the switching state of the power source is connected.
- the control signal spans from the power domain connected to the input end of the domain crossing line to the power domain connected to the output end of the domain crossing line.
- the embodiment of the present disclosure may provide an isolation unit in the power domain connected to the output end of the domain crossing line, and the isolation unit may be connected to the power source at the input end of the domain crossing line.
- the power domain connected to the input end of the isolation domain crossover line and the power domain connected to the output end of the domain crossover line are used to realize the solution of shutting down the power domain provided by the embodiments of the present disclosure;
- the power domains that are affected by the switching state of the domain crossover line are the first power domain and the second power domain, and the second power domain depends on the first power domain as an example (that is, the power domain connected to the input end of the domain crossover line is In the first power domain, the power domain connected to the output end of the domain crossing line is the second power domain), when it is necessary to turn off the first power domain on which the second power domain depends, the embodiment of the present disclosure can pass through the second power domain
- the isolation unit first isolates the first power domain and the second power domain, and then turns off the first power domain on which the second power domain depends, thereby reducing the instability of the chip circuit when the first power domain is turned off.
- Step S260 It is determined that the power domain connected to the domain crossover line that is not affected by the switching state of the power source does not have a timing dependency in the first power state.
- the power consumption intent of the chip design described in the UPF file may cover the power supply network, the isolation unit, and the power switch unit managed by the PMU.
- the UPF file can specify how to establish the power supply network, the behavior between each power line, and additional logic functions to support the design of dynamic power domain shutdown.
- the UPF file can define the power domain; the UPF file can accurately describe the power network of each power domain according to the power distribution, and define the power supply of each power domain in detail Line name and the connection relationship with the original power input port of the chip, etc.; in a design with power domain shutdown, UPF can define the power domain shutdown unit (Power Gating cell), describing the power domain input and output of the power domain shutdown unit As well as the connection relationship of the control signal, the power domain shutdown unit can be inserted in the physical realization stage of the chip design.
- Power Gating cell Power Gating cell
- the chip design device provided by the embodiment of the present disclosure is introduced below.
- the chip design device described below can be considered as a functional module required by a chip design tool (such as EDA) to implement the chip design method provided by the embodiment of the present disclosure.
- the content of the chip design device described below can be referred to correspondingly with the content of the chip design method described above.
- FIG. 10 is a block diagram of a chip design apparatus provided by an embodiment of the disclosure.
- the chip design apparatus may include:
- the power state determining circuit 100 is used to determine at least one power state of the chip, wherein one of the at least one power state includes the switching state of each power domain on the chip in a chip working mode, and at least one One power state includes the first power state.
- the control signal determining circuit 110 is used to determine the control signal sent by the changing power domain in each power domain when the power state of the chip is switched to the first power state, wherein, when the power state of the chip is switched to the first power state, The switch state of the power domain changes.
- the analysis circuit 120 is configured to analyze the timing dependence between the control signals, and determine the timing dependence between the power domains that each control signal acts on in the first power state (that is, the power state switched to).
- the power state determining circuit 100 is specifically configured to: analyze the PST of the UPF file to determine at least one power state of the chip; the PST describes each of the chip The switch state of the power domain in the working mode of each chip.
- the analysis circuit 120 when performing an analysis of the timing dependence between the control signals to determine the timing dependence operation between the power domains that the control signals act on in the first power state, the analysis circuit 120 is specifically configured to:
- the power supply relationship includes: the power supply domain supplied by the power supply and the cross-line connection mode of the power supply domain supplied by the power supply;
- the analysis circuit 120 when performing an analysis of the timing dependence between the control signals to determine the timing dependence operation between the power domains that the control signals act on in the first power state, the analysis circuit 120 may also be used to:
- the analysis circuit 120 is specifically configured to:
- the power control line corresponding to the domain crossover line is determined.
- the analysis circuit 120 when performing the operation of tracing the power supply corresponding to the power control line through the power control line, the analysis circuit 120 is specifically configured to:
- the power supply corresponding to the power control line is determined.
- FIG. 11 shows another block diagram of a chip design apparatus provided by an embodiment of the present disclosure.
- the chip design apparatus may further include:
- the isolation design circuit 130 is used to design an isolation unit in the power domain connected to the output end of the domain crossover line if the domain crossover line is affected by the switching state of the power supply; the isolation unit is used for the power supply connected at the input end of the domain crossover line Before the domain is turned off, the power domain connected to the input end of the isolation domain crossover line and the power domain connected to the output end of the domain crossover line.
- the above-mentioned chip design apparatus may be a program module in a chip design tool (such as EDA).
- the embodiments of the present disclosure also provide an electronic device, and the electronic device may include the chip shown in FIG. 5 above. That is, the electronic device may include a chip, and the chip includes: a power management unit for obtaining the timing dependency between the first power domain and the second power domain; the first power source and the second power source connected to the power management unit Power supply; a first power supply domain connected to the first power supply, the first power supply supplying power for the first power supply domain; a second power supply domain connected to the second power supply, the second power supply supplying power for the second power supply domain, wherein the timing depends It means that in the current power state, the second power domain depends on the first power domain in time sequence; the second power domain includes an isolation unit, and the isolation unit is used to isolate the first power domain from the first power domain before the first power domain is turned off. Two power domain.
- the first input terminal of the isolation unit is connected to the control line between the first power domain and the second power domain, and the control line is a domain crossing line from the first power domain to the second power domain; the second input terminal of the isolation unit is connected Power management unit.
- the power management unit is used to send an isolation signal to the isolation unit before sending a power-down signal to the first power source to turn off the first power domain, so that the isolation unit separates the first power domain from the second power domain.
- the control lines between the power domains are isolated; and after the control lines between the first power domain and the second power domain are isolated, a power-down signal is sent to the first power source to turn off the first power domain.
- the electronic device may be a terminal device or a server device, and the electronic device may include the chip described in the embodiments of the present disclosure.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
Claims (15)
- 一种芯片设计方法,应用于芯片的寄存器转换级验证阶段,其中,所述芯片设计方法包括:确定芯片的至少一种电源状态,其中,所述至少一种电源状态中的一种电源状态包括所述芯片上的各电源域在一种芯片工作模式下的开关状态,所述至少一种电源状态包括第一电源状态;确定在所述芯片的电源状态切换到所述第一电源状态时,所述各电源域中的变化电源域发送的控制信号,其中,在所述芯片的电源状态切换到所述第一电源状态时,所述变化电源域的开关状态发生变化;对所述控制信号间的时序依赖进行分析,确定所述控制信号所作用的电源域之间在所述第一电源状态下的时序依赖性。
- 根据权利要求1所述的芯片设计方法,其中,确定所述芯片的所述至少一种电源状态包括:分析统一电源格式文件的电源状态表,确定所述芯片的所述至少一种电源状态,其中,所述电源状态表描述有所述芯片上的各电源域在各芯片工作模式下的开关状态。
- 根据权利要求2所述的芯片设计方法,其中,对所述控制信号间的时序依赖进行分析,确定所述控制信号所作用的电源域之间在所述第一电源状态下的所述时序依赖性包括:确定所述控制信号相应的电源;根据所述电源的特性,确定所述电源的供电关系,其中,所述供电关系包括:所述电源所供电的电源域,以及所述电源所供电的所述电源域的域跨越线连接方式;根据所述电源的供电关系,确定所述电源所供电的所述电源域的所述域跨越线是否受所述电源的开关状态影响;确定受所述电源的开关状态影响的域跨越线所连接的电源域在所述第一电源状态下存在时序依赖性。
- 根据权利要求3所述的芯片设计方法,还包括:确定未受所述电源的开关状态影响的域跨越线所连接的电源域在所述第 一电源状态下不存在时序依赖性。
- 根据权利要求3所述的芯片设计方法,其中,确定所述控制信号相应的所述电源包括:确定所述控制信号相应的所述域跨越线;确定所述域跨越线所对应的电源控制线;通过所述电源控制线,回溯所述电源控制线相应的所述电源。
- 根据权利要求5所述的芯片设计方法,其中,确定所述域跨越线所对应的所述电源控制线包括:根据所述电源状态表与电源管理单元的模式信息,确定所述域跨越线所对应的所述电源控制线;通过所述电源控制线,回溯所述电源控制线相应的所述电源包括:通过所述电源管理单元的模式信息,确定所述电源控制线相应的所述电源。
- 根据权利要求3所述的芯片设计方法,还包括:确定所述域跨越线受所述电源的开关状态影响,在所述域跨越线的输出端连接的电源域中设计隔离单元;其中,所述隔离单元用于在所述域跨越线的输入端连接的电源域关断前,隔离所述域跨越线的输入端连接的所述电源域和所述域跨越线的输出端连接的所述电源域。
- 根据权利要求1所述的芯片设计方法,其中,所述至少一种电源状态还包括第二电源状态;确定在所述芯片的电源状态切换到所述第一电源状态时,所述各电源域中的变化电源域发送的控制信号包括:确定在所述第二电源状态时所述各电源域的开关状态;确定在所述第一电源状态时所述各电源域的开关状态;根据在所述第二电源状态时所述各电源域的开关状态和在所述第一电源状态时所述各电源域的开关状态,确定在所述芯片的电源状态从所述第二电源状态切换到所述第一电源状态时的所述变化电源域;确定所述变化电源域发送的所述控制信号。
- 一种芯片设计装置,包括:电源状态确定电路,用于确定芯片的至少一种电源状态,其中,所述至少一种电源状态中的一种电源状态包括所述芯片上的各电源域在一种芯片工作模式下的开关状态,所述至少一种电源状态包括第一电源状态;控制信号确定电路,用于确定在所述芯片的电源状态切换到所述第一电源状态时,所述各电源域中的变化电源域发送的控制信号,其中,在所述芯片的电源状态切换到所述第一电源状态时,所述变化电源域的开关状态发生变化;分析电路,用于对所述控制信号间的时序依赖进行分析,确定所述控制信号所作用的电源域之间在所述第一电源状态下的时序依赖性。
- 一种芯片,包括:电源管理单元,用于获取所述第一电源域和所述第二电源域之间的时序依赖性;与所述电源管理单元连接的第一电源和第二电源;与所述第一电源连接的所述第一电源域,所述第一电源为所述第一电源域供电;与所述第二电源连接的所述第二电源域,所述第二电源为所述第二电源域供电,其中,所述时序依赖性表示在当前电源状态下,所述第二电源域在时序上依赖于所述第一电源域;所述第二电源域包括隔离单元,所述隔离单元用于在所述第一电源域关断前,隔离所述第一电源域和所述第二电源域。
- 根据权利要求10所述的芯片,其中,所述隔离单元的第一输入端连接所述第一电源域和所述第二电源域间的控制线,所述控制线为所述第一电源域跨越到所述第二电源域的域跨越线;所述隔离单元的第二输入端连接所述电源管理单元。
- 根据权利要求11所述的芯片,其中,所述电源管理单元用于基于所述时序依赖性,在向所述第一电源发送掉电信号以使所述第一电源域关断前,向所述隔离单元发送隔离信号,以使所述隔离单元将所述第一电源域和所述第二电源域间的所述控制线进行隔离;及在所述第一电源域和所述第二电源域间的所述控制线隔离后,向所述第一电源发送掉电信号,以使所述第一电源域关断。
- 一种电子设备,包括权利要求10所述的芯片。
- 根据权利要求13所述的电子设备,其中,所述隔离单元的第一输入端连接所述第一电源域和所述第二电源域间的控制线,所述控制线为所述第一电源域跨越到所述第二电源域的域跨越线;所述隔离单元的第二输入端连接所述电源管理单元。
- 根据权利要求14所述的电子设备,其中,所述电源管理单元用于基于 所述时序依赖性,在向所述第一电源发送掉电信号以使所述第一电源域关断前,向所述隔离单元发送隔离信号,以使所述隔离单元将所述第一电源域和所述第二电源域间的所述控制线进行隔离;及在所述第一电源域和所述第二电源域间的所述控制线隔离后,向所述第一电源发送掉电信号,以使所述第一电源域关断。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/129895 WO2021134200A1 (zh) | 2019-12-30 | 2019-12-30 | 芯片设计方法、芯片设计装置、芯片及电子设备 |
US17/254,242 US11775717B2 (en) | 2019-12-30 | 2019-12-30 | Chip design method, chip design device, chip, and electronic device |
CN201980006491.1A CN113330388B (zh) | 2019-12-30 | 2019-12-30 | 芯片设计方法、芯片设计装置、芯片及电子设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/129895 WO2021134200A1 (zh) | 2019-12-30 | 2019-12-30 | 芯片设计方法、芯片设计装置、芯片及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021134200A1 true WO2021134200A1 (zh) | 2021-07-08 |
Family
ID=76686110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/129895 WO2021134200A1 (zh) | 2019-12-30 | 2019-12-30 | 芯片设计方法、芯片设计装置、芯片及电子设备 |
Country Status (3)
Country | Link |
---|---|
US (1) | US11775717B2 (zh) |
CN (1) | CN113330388B (zh) |
WO (1) | WO2021134200A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021134200A1 (zh) * | 2019-12-30 | 2021-07-08 | 成都海光集成电路设计有限公司 | 芯片设计方法、芯片设计装置、芯片及电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251870A (zh) * | 2008-03-21 | 2008-08-27 | 北京中星微电子有限公司 | 一种仿真验证多电源域中的隔离单元的方法 |
US20080222436A1 (en) * | 2007-03-06 | 2008-09-11 | Fujitsu Limited | Power supply voltage regulator circuit and microcomputer |
CN102545574A (zh) * | 2010-12-27 | 2012-07-04 | 北京中电华大电子设计有限责任公司 | 一种soc芯片的低功耗电源网络设计方法 |
CN102694542A (zh) * | 2012-05-09 | 2012-09-26 | 北京华大信安科技有限公司 | 信号隔离方法、装置及芯片 |
CN104156049A (zh) * | 2014-08-11 | 2014-11-19 | 福州瑞芯微电子有限公司 | 电源域验证装置、设备和方法 |
CN107862155A (zh) * | 2017-11-30 | 2018-03-30 | 青岛海信电器股份有限公司 | 对芯片进行功能覆盖率模型验证的方法和装置 |
CN109617544A (zh) * | 2018-12-04 | 2019-04-12 | 凌云光技术集团有限责任公司 | 一种新型上电时序控制设备、系统及方法 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100809684B1 (ko) * | 2005-08-22 | 2008-03-06 | 삼성전자주식회사 | 디바이스의 전원차단효과를 rtl에서 검증할 수 있는 검증 장치 및 전원차단효과를 모델링 하는 방법 |
US7791406B1 (en) * | 2006-04-04 | 2010-09-07 | Marvell International Ltd. | Low leakage power management |
US7669165B2 (en) * | 2006-10-25 | 2010-02-23 | Cadence Design Systems, Inc. | Method and system for equivalence checking of a low power design |
US7694251B2 (en) * | 2006-10-30 | 2010-04-06 | Cadence Design Systems, Inc. | Method and system for verifying power specifications of a low power design |
US8607177B2 (en) * | 2008-04-10 | 2013-12-10 | Nvidia Corporation | Netlist cell identification and classification to reduce power consumption |
CN101859172B (zh) * | 2009-04-07 | 2012-02-08 | 上海摩波彼克半导体有限公司 | 集成电路SoC芯片实现功耗降低的电路结构及其方法 |
US8321824B2 (en) * | 2009-04-30 | 2012-11-27 | Synopsys, Inc. | Multiple-power-domain static timing analysis |
US8601288B2 (en) * | 2010-08-31 | 2013-12-03 | Sonics, Inc. | Intelligent power controller |
US9275178B1 (en) * | 2012-06-29 | 2016-03-01 | Altera Corporation | Method and apparatus for considering paths influenced by different power supply domains in timing analysis |
US10601217B2 (en) * | 2017-04-27 | 2020-03-24 | Qualcomm Incorporated | Methods for detecting an imminent power failure in time to protect local design state |
CN107704418A (zh) * | 2017-11-16 | 2018-02-16 | 上海华虹集成电路有限责任公司 | 一种开关电源域并行接口到常开电源域串行接口的转接电路 |
WO2021134200A1 (zh) * | 2019-12-30 | 2021-07-08 | 成都海光集成电路设计有限公司 | 芯片设计方法、芯片设计装置、芯片及电子设备 |
-
2019
- 2019-12-30 WO PCT/CN2019/129895 patent/WO2021134200A1/zh active Application Filing
- 2019-12-30 US US17/254,242 patent/US11775717B2/en active Active
- 2019-12-30 CN CN201980006491.1A patent/CN113330388B/zh active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080222436A1 (en) * | 2007-03-06 | 2008-09-11 | Fujitsu Limited | Power supply voltage regulator circuit and microcomputer |
CN101251870A (zh) * | 2008-03-21 | 2008-08-27 | 北京中星微电子有限公司 | 一种仿真验证多电源域中的隔离单元的方法 |
CN102545574A (zh) * | 2010-12-27 | 2012-07-04 | 北京中电华大电子设计有限责任公司 | 一种soc芯片的低功耗电源网络设计方法 |
CN102694542A (zh) * | 2012-05-09 | 2012-09-26 | 北京华大信安科技有限公司 | 信号隔离方法、装置及芯片 |
CN104156049A (zh) * | 2014-08-11 | 2014-11-19 | 福州瑞芯微电子有限公司 | 电源域验证装置、设备和方法 |
CN107862155A (zh) * | 2017-11-30 | 2018-03-30 | 青岛海信电器股份有限公司 | 对芯片进行功能覆盖率模型验证的方法和装置 |
CN109617544A (zh) * | 2018-12-04 | 2019-04-12 | 凌云光技术集团有限责任公司 | 一种新型上电时序控制设备、系统及方法 |
Also Published As
Publication number | Publication date |
---|---|
US20220222407A1 (en) | 2022-07-14 |
CN113330388B (zh) | 2023-06-13 |
US11775717B2 (en) | 2023-10-03 |
CN113330388A (zh) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7669165B2 (en) | Method and system for equivalence checking of a low power design | |
CN101436225B (zh) | 一种动态局部可重构嵌入式数据控制器芯片的实现方法 | |
Frenkil | The practical engineer [A multi-level approach to low-power IC design] | |
US7747971B1 (en) | State retention for formal verification | |
Palumbo et al. | Evaluation on power reduction applying gated clock approaches | |
Kapoor et al. | Digital systems power management for high performance mixed signal platforms | |
US10216217B1 (en) | Adaptive compilation and execution for hardware acceleration | |
WO2021134200A1 (zh) | 芯片设计方法、芯片设计装置、芯片及电子设备 | |
CN112597724B (zh) | 基于risc-v的芯片设计方法、导航芯片及接收机 | |
Macii et al. | Integrating clock gating and power gating for combined dynamic and leakage power optimization in digital cmos circuits | |
Sharafinejad et al. | UPF-based formal verification of low power techniques in modern processors | |
Kaiser et al. | ESL solutions for low power design | |
Macko et al. | Power-management high-level synthesis | |
Mukherjee et al. | Formal verification of hardware/software power management strategies | |
Hazra et al. | POWER-TRUCTOR: An integrated tool flow for formal verification and coverage of architectural power intent | |
US11868696B2 (en) | Lightweight unified power format implementation for emulation and prototyping | |
Ahmed et al. | Optimization of cloning in clock gating cells for high-performance clock networks | |
Bailey et al. | Low power design and verification techniques | |
Groma et al. | Simplified introduction of power intent into a register-transfer level model | |
CN101039155B (zh) | 控制通信接口的同步时钟的方法、装置及系统 | |
US11574099B2 (en) | Simulation framework | |
Macko | PMHLS 2.0: An automated optimization of power management during high-level synthesis | |
Mehta et al. | Low-Power Verification | |
Wang et al. | A multi-level collaboration low-power design based on embedded system | |
Kumar Sharma et al. | Multi-Voltage Design of RISC Processor for Low Power Application: A Survey |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19958422 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19958422 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19958422 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.04.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19958422 Country of ref document: EP Kind code of ref document: A1 |