Generation method and device of customization unit with power-on control, customization unit and chip
By introducing a customized unit with power-on control in the standard unit library, the combination of POC IP core and standard unit modules can monitor the power state in real time and control the working state of the standard unit module, the power abnormality caused by the multi-power voltage solution is solved Logic errors and power consumption waste problems achieve the stability and reliability of the circuit system.
Patent Information
- Application Number
- CN202411717731.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-02-18
AI Technical Summary
Under the multi-power voltage scheme, the standard unit library cannot effectively judge the power supply abnormality, causing some circuits to continue working while the other circuits to fail to work properly, resulting in logic errors and waste of power consumption.
The customized EDA tool generates a customized unit with power-on control. The combination of POC IP core and standard unit modules can monitor the power status in real time and generate control signals to control the standard unit module to stop or resume work in the abnormal power supply.
It effectively avoids logic errors and power consumption waste caused by power supply abnormalities, and ensures the stability and reliability of the circuit system in the case of abnormal power supply voltage.
Smart Images

Figure CN119476180A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of chip IP core and EDA technology, and in particular to a method and device for generating a customized unit with power-on control, a customized unit and a chip. Background Art
[0002] In the field of integrated circuit and chip design, the Standard Cell Library (STD) is an indispensable basic part of the back-end design process. The Standard Cell Library usually includes layout library, symbol library, circuit logic library, etc., covering combinational logic, sequential logic, functional units and special type units, providing designers with pre-designed and optimized library units. These library units are widely used in the process of automatic logic synthesis and layout layout and routing, greatly improving design efficiency and shortening product time to market.
[0003] When forming a semiconductor integrated circuit, standardized logic elements are designed in advance, and then the logic elements are combined to obtain multiple standard cells, which are pre-registered in the standard cell library. By configuring and wiring the standard cells registered in the standard cell library, semiconductor integrated circuits such as large-scale integration (LSI) are designed.
[0004] In integrated circuit chip design, in order to meet the performance and power consumption requirements of different circuit modules, it is often necessary to adopt a multi-power supply voltage solution. For example, in a complex circuit system, there may be two power supply voltages, 5V / 3.3V and 1.8V, which are used to drive circuit modules of different voltage levels. These circuit modules are connected and interacted through cells in the standard cell library to jointly complete complex logical functions.
[0005] However, in the prior art, when a multi-power supply voltage solution is adopted, the circuit system faces some challenges. In particular, when one of the power supply voltages is suddenly powered off for some reason, the subsequent circuit cannot make a judgment on this situation, so that part of the circuit still works normally, while the other part of the circuit cannot work normally. Errors have already occurred before the two signals are transmitted to the subsequent standard unit module, which will have a serious impact on the entire circuit system. Taking 5V / 3.3V and 1.8V dual power supply as an example, when the 5V / 3.3V power supply is normal and the 1.8V power supply is suddenly powered off, the 1.8V circuit module cannot work normally, thereby affecting the subsequent standard unit module. Similarly, when the 5V / 3.3V power supply is suddenly powered off and the 1.8V power supply is normal, although the 1.8V circuit module can continue to output logic signals, the 5V / 3.3V circuit module outputs wrong logic signals or does not output signals due to power failure.
[0006] In the case of outputting wrong logic signals or no output signals, the standard cell will not be able to correctly perform its intended logic function. This logic error may be transmitted along the circuit chain, eventually causing the entire circuit system to produce wrong results or fail to perform the expected tasks, burying major hidden dangers in the industrial production process. At the same time, since standard cells are the basic units that make up integrated circuits, their erroneous outputs will directly affect the overall performance of the chip. For example, in a processor, an erroneous logic signal may cause instruction execution errors, thereby affecting the correct operation of the program; in a communication chip, an erroneous logic signal may cause data transmission errors, affecting the quality of communication. What's more serious is that when the logic circuit is unaware of the error, the circuit system will still generate a lot of power consumption, which will not only waste energy, but may also damage the chip and affect the normal operation of the entire circuit system.
[0007] Therefore, how to solve the problems existing in the prior art standard cell library under the multi-power supply voltage solution to ensure the stability and reliability of the circuit system under abnormal power supply voltage conditions is an issue that needs to be solved urgently. Summary of the invention
[0008] In order to solve the problems in the related art, the embodiments of the present disclosure provide a method, device, customized unit and chip for generating a customized unit with power-on control.
[0009] In a first aspect, an embodiment of the present disclosure provides a method for generating a customized unit with power-on control, the method being implemented based on a customized EDA tool, the method comprising:
[0010] Obtaining a POC IP core and a standard cell module through the customized EDA tool; wherein the POC IP core comprises: a first power input terminal, a second power input terminal and a control signal output terminal; the standard cell module comprises: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a cell signal output terminal;
[0011] Connecting the POC IP core and the standard cell module through the custom EDA tool to generate a custom cell with power-on control;
[0012] The first logic control signal input terminal of the standard cell module is connected to a first power circuit module powered by a first power supply, so that the standard cell module obtains a first logic control signal through the first power circuit module; the second logic control signal input terminal of the standard cell module is connected to a second power circuit module powered by a second power supply, so that the standard cell module obtains a second logic control signal through the second power circuit module;
[0013] The power input terminal of the standard unit module is connected to the power supply;
[0014] The first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply, so that the POC IP core obtains the voltage status of the first power supply and the second power supply, and generates a first control signal according to the voltage status of the first power supply and the second power supply;
[0015] The control signal output terminal of the POC IP core is connected to the standard cell module, so that the POC IP core outputs the first control signal to the standard cell module through the control signal output terminal, so as to control whether the standard cell module outputs normally through the first control signal.
[0016] According to an embodiment of the present disclosure, obtaining the voltage status of the first power supply and the second power supply includes:
[0017] Comparing the current voltage value of the first power supply with a preset first power-on threshold voltage, when the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state;
[0018] The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0019] According to an embodiment of the present disclosure, generating a first control signal according to voltage states of the first power supply and the second power supply includes:
[0020] When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
[0021] According to an embodiment of the present disclosure, the method further includes:
[0022] Acquire a first switch control circuit module; wherein the first switch control circuit module includes: a first input terminal, a second input terminal, and an output terminal;
[0023] The power input end of the standard cell module is connected to the power supply, and the control signal output end of the POC IP core is connected to the standard cell module, including: the power supply is connected to the power input end of the standard cell module through the first switch control circuit module, and the control signal output end of the POC IP core is connected to the standard cell module through the first switch control circuit module, including: the power supply is connected to the first input end of the first switch control circuit module, the control signal output end of the POC IP core is connected to the second input end of the first switch control circuit module, and the output end of the first switch control circuit module is connected to the power input end of the standard cell module, so that the first switch control circuit module generates a second control signal according to the first control signal, and uses the second control signal to control the connection or disconnection of the power supply, so that when the power supply is disconnected, the standard cell module stops processing the first logic control signal and the second logic control signal, so that the standard cell module has no output; and when the power supply is connected, the standard cell module resumes processing the first logic control signal and the second logic control signal, so that the standard cell module outputs normally.
[0024] According to an embodiment of the present disclosure, generating a second control signal according to the first control signal, and using the second control signal to control the connection or disconnection of the power supply includes:
[0025] When the first control signal is at a high level, the second control signal is a closing signal, and the closing signal closes the output end of the first switch control circuit module;
[0026] When the first control signal is at a low level, the second control signal is a disconnection signal, and the disconnection signal disconnects the output end of the first switch control circuit module;
[0027] When the output end of the first switch control circuit module is closed, the power supply is turned on;
[0028] When the output end of the first switch control circuit module is disconnected, the power supply is cut off.
[0029] According to an embodiment of the present disclosure, the method further includes:
[0030] Acquire a second switch control circuit module; wherein the second switch control circuit module comprises: a signal input terminal and a signal output terminal;
[0031] The control signal output terminal of the POC IP core is connected to the standard cell module, including:
[0032] The control signal output end of the POC IP core is connected to the signal input end of the second switch control circuit module; the signal output end of the second switch control circuit module is connected to the cell signal output end of the standard cell module, so that the second switch control circuit module generates a third control signal according to the first control signal, and uses the third control signal to control the connection or disconnection of the output of the standard cell module, so that when the output of the standard cell module is disconnected, the standard cell module has no output; and when the output of the standard cell module is connected, the standard cell module outputs normally.
[0033] According to an embodiment of the present disclosure, generating a third control signal according to the first control signal, and using the third control signal to control the on or off of the output of the standard cell module includes:
[0034] When the first control signal is at a high level, the third control signal is a closing signal, and the closing signal connects the cell signal output terminal of the standard cell module;
[0035] When the first control signal is at a low level, the third control signal is a disconnection signal, and the disconnection signal cuts off the cell signal output end of the standard cell module;
[0036] When the cell signal output terminal of the standard cell module is turned on, the output of the standard cell module is turned on;
[0037] When the cell signal output terminal of the standard cell module is cut off, the output of the standard cell module is cut off.
[0038] According to an embodiment of the present disclosure, the standard cell module further includes: a control signal input terminal;
[0039] The control signal output end of the POC IP core is connected to the standard cell module, including: the control signal output end of the POC IP core is connected to the control signal input end of the standard cell module, so that the standard cell module controls whether it has output according to the first control signal.
[0040] According to an embodiment of the present disclosure, the standard cell module controls whether it has output according to the first control signal, including:
[0041] When the first control signal is at a high level, the output of the standard cell module is turned on, and the standard cell module outputs normally;
[0042] When the first control signal is at a low level, the output of the standard cell module is cut off, and the standard cell module has no output.
[0043] According to an embodiment of the present disclosure, the POC IP core is a default POC IP core; the default POC IP core is non-configurable, including: the preset first power-on threshold voltage and the preset second power-on threshold voltage are both preset fixed values;
[0044] The default POC IP core includes: a connected POC IP core circuit module and a default threshold voltage module, wherein the default threshold voltage module includes MOS modules corresponding to the preset first power-on threshold voltage and the preset second power-on threshold voltage.
[0045] According to an embodiment of the present disclosure, the method further includes:
[0046] Acquire a threshold voltage adjustable power supply monitoring circuit module and a third switch control circuit module; the threshold voltage adjustable power supply monitoring circuit module includes: a first power supply input terminal, a second power supply input terminal and a control signal output terminal; the third switch control circuit module includes: a control signal input terminal and a power enable signal output terminal;
[0047] Connecting the first power input terminal of the threshold voltage adjustable power monitoring circuit module to the first power supply; connecting the second power input terminal of the threshold voltage adjustable power monitoring circuit module to the second power supply; connecting the control signal output terminal of the threshold voltage adjustable power monitoring circuit module to the control signal input terminal of the third switch control circuit module; connecting the power enable signal output terminal of the third switch control circuit module to the first power input terminal and the second power input terminal of the POCIP core respectively;
[0048] Wherein, the threshold voltage adjustable power supply monitoring circuit module includes a first threshold voltage adjustable power supply monitoring circuit module, a second threshold voltage adjustable power supply monitoring circuit module and a fourth control signal generating module; the first threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply, the second threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply, the first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module are respectively connected to the fourth control signal generating module, and the fourth control signal generating module is connected to the control signal input end of the third switch control circuit module, so that when the first threshold voltage adjustable power supply monitoring circuit module receives a first external control signal, the first power-on threshold voltage that can be dynamically adjusted is determined according to the first external control signal; and when the second threshold voltage adjustable power supply monitoring circuit module receives a second external control signal, the second power-on threshold voltage that can be dynamically adjusted is determined according to the second external control signal. The first threshold voltage adjustable power supply monitoring circuit module compares the current voltage value of the first power supply with the dynamically adjustable first power-on threshold voltage, and when the current voltage value of the first power supply is not lower than the dynamically adjustable first power-on threshold voltage, the voltage state of the first power supply is the power-on state; the second threshold voltage adjustable power supply monitoring circuit module compares the current voltage value of the second power supply with the dynamically adjustable second power-on threshold voltage, and when the current voltage value of the second power supply is not lower than the dynamically adjustable second power-on threshold voltage, the voltage state of the second power supply is the power-on state; the fourth control signal generating module generates a fourth control signal according to the voltage state of the first power supply and the voltage state of the second power supply, including: when the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the fourth control signal is a high level, otherwise, the fourth control signal is a low level;
[0049] The fourth control signal generating module outputs the fourth control signal to the control signal input terminal of the third switch control circuit module; the third switch control circuit module controls the connection or disconnection of the first power supply and the second power supply for supplying power to the POC IP core according to the fourth control signal, including: when the fourth control signal is at a high level, the first power supply and the second power supply for supplying power to the POC IP core are disconnected; when the fourth control signal is at a low level, the first power supply and the second power supply for supplying power to the POC IP core are connected;
[0050] When the first power supply and the second power supply for supplying power to the POC IP core are cut off, the first control signal is at a low level; when the first power supply and the second power supply for supplying power to the POC IP core are connected, the first control signal is at a high level.
[0051] According to an embodiment of the present disclosure, the POC IP core is a customized POC IP core; the customized POC IP core is configurable, including: the preset first power-on threshold voltage is a first power-on threshold voltage input by a user, the preset second power-on threshold voltage is a second power-on threshold voltage input by a user;
[0052] The customized EDA tool provides a GUI interface, which includes a plurality of customized input boxes.
[0053] The obtaining of the POC IP core includes:
[0054] Acquire a POC core circuit module and a POC input threshold voltage adjustable module through the multiple custom input boxes;
[0055] Acquire a POC input threshold voltage input by a user, wherein the POC input threshold voltage input by the user includes: a first power-on threshold voltage corresponding to the first power supply and a second power-on threshold voltage corresponding to the second power supply; the customized input box includes: an expected first power-on threshold voltage input box and an expected second power-on threshold voltage input box; the expected first power-on threshold voltage input box is used to acquire the first power-on threshold voltage corresponding to the first power supply input by the user, and the expected second power-on threshold voltage input box is used to acquire the second power-on threshold voltage corresponding to the second power supply input by the user;
[0056] The POC input threshold voltage adjustable module is configured according to the POC input threshold voltage input by the user, the POC input threshold voltage adjustable module includes a MOS module group, and the POC input threshold voltage adjustable module is configured according to the POC input threshold voltage, including: selecting a number of MOS modules corresponding to the POC input threshold voltage from the MOS module group and connecting the selected MOS modules to generate a configured POC input threshold voltage adjustable module, wherein the configured POC input threshold voltage adjustable module is used to generate a reference voltage of the POC core circuit module;
[0057] Connecting the POC core circuit module and the configured POC input threshold voltage adjustable module to generate the customized POC IP core;
[0058] Wherein, the POC core circuit module includes: a POC reference voltage input port, a POC control signal output port, and the configured POC input threshold voltage adjustable module includes: a POC reference voltage output port; the POC core circuit module and the configured POC input threshold voltage adjustable module also include: a power supply voltage port and a ground port;
[0059] The power supply voltage ports of the POC core circuit module and the configured POC input threshold voltage adjustable module are both connected to the first power supply and the second power supply, and the grounding ports of the POC core circuit module and the configured POC input threshold voltage adjustable module are both grounded;
[0060] The POC reference voltage output port of the configured POC input threshold voltage adjustable module is connected to the POC reference voltage input port of the POC core circuit module, and is used to provide a reference voltage to the POC core circuit module; the POC reference voltage output port of the configured POC input threshold voltage adjustable module is connected to a MOS module selected from the MOS module group.
[0061] According to an embodiment of the present disclosure, the method further includes:
[0062] The custom EDA tool generates a layout of the custom cell with power-on control based on the custom cell with power-on control.
[0063] According to an embodiment of the present disclosure, before obtaining the POC IP core and the standard cell module, the method further includes:
[0064] Acquiring power-on control configuration parameters input by a user through the customized EDA tool;
[0065] It is determined whether the power-on control configuration parameter indicates to generate a custom unit with power-on control; if so, an operation of acquiring a POC IP core and a standard unit module is performed.
[0066] In a second aspect, an embodiment of the present disclosure provides a device for generating a customized unit with power-on control, the device being implemented based on a customized EDA tool, and the device comprising:
[0067] An acquisition module is configured to acquire a POC IP core and a standard cell module through the custom EDA tool; wherein the POC IP core includes: a first power input terminal, a second power input terminal and a control signal output terminal; and the standard cell module includes: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a cell signal output terminal;
[0068] A connection module configured to connect the POC IP core and the standard cell module through the custom EDA tool to generate a custom cell with power-on control;
[0069] The first logic control signal input terminal of the standard cell module is connected to a first power circuit module powered by a first power supply, so that the standard cell module obtains a first logic control signal through the first power circuit module; the second logic control signal input terminal of the standard cell module is connected to a second power circuit module powered by a second power supply, so that the standard cell module obtains a second logic control signal through the second power circuit module;
[0070] The power input terminal of the standard unit module is connected to the power supply;
[0071] The first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply, so that the POC IP core obtains the voltage status of the first power supply and the second power supply, and generates a first control signal according to the voltage status of the first power supply and the second power supply;
[0072] The control signal output terminal of the POC IP core is connected to the standard cell module, so that the POC IP core outputs the first control signal to the standard cell module through the control signal output terminal, so as to control whether the standard cell module outputs normally through the first control signal.
[0073] According to an embodiment of the present disclosure, the device further includes:
[0074] The layout generation module is configured to generate a layout of the custom unit with power-on control based on the custom unit with power-on control through the custom EDA tool.
[0075] According to an embodiment of the present disclosure, the device further includes:
[0076] The power-on control configuration parameter acquisition module is configured to acquire the power-on control configuration parameters input by the user through the customized EDA tool; determine whether the power-on control configuration parameters indicate the generation of a customized unit with power-on control; if so, execute the operation of acquiring the POC IP core and the standard unit module.
[0077] In a third aspect, an embodiment of the present disclosure provides a customized unit with power-on control, the customized unit comprising: a POC IP core and a standard unit module; wherein the POC IP core comprises: a first power input terminal, a second power input terminal and a control signal output terminal; the standard unit module comprises: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a unit signal output terminal;
[0078] The power input terminal of the standard cell module is connected to the power supply; the first logic control signal input terminal of the standard cell module is connected to the first power circuit module powered by the first power supply, and the second logic control signal input terminal of the standard cell module is connected to the second power circuit module powered by the second power supply, and the standard cell module is configured to obtain a first logic control signal through the first power circuit module, and obtain a second logic control signal through the second power circuit module;
[0079] The first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply. The POC IP core is configured to obtain the voltage status of the first power supply and the second power supply, and generate a first control signal according to the voltage status of the first power supply and the second power supply;
[0080] The control signal output end of the POC IP core is connected to the standard cell module, and the POC IP core is also configured to output the first control signal to the standard cell module through the control signal output end, so as to control whether the standard cell module outputs normally through the first control signal.
[0081] According to an embodiment of the present disclosure, obtaining the voltage status of the first power supply and the second power supply includes:
[0082] Comparing the current voltage value of the first power supply with a preset first power-on threshold voltage, when the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state;
[0083] The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0084] According to an embodiment of the present disclosure, generating a first control signal according to voltage states of the first power supply and the second power supply includes:
[0085] When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
[0086] According to an embodiment of the present disclosure, the customization unit further includes: a first switch control circuit module; wherein the first switch control circuit module includes: a first input terminal, a second input terminal, and an output terminal;
[0087] The power input end of the standard cell module is connected to the power supply, and the control signal output end of the POC IP core is connected to the standard cell module, including: the power input end of the standard cell module is connected to the power supply through the first switch control circuit module, and the control signal output end of the POC IP core is connected to the standard cell module through the first switch control circuit module, including: the power supply is connected to the first input end of the first switch control circuit module, the control signal output end of the POC IP core is connected to the second input end of the first switch control circuit module, and the output end of the first switch control circuit module is connected to the power input end of the standard cell module;
[0088] The first switch control circuit module is configured to generate a second control signal according to the first control signal, and use the second control signal to control the connection or disconnection of the power supply;
[0089] When the power supply is cut off, the standard cell module stops processing the first logic control signal and the second logic control signal so that the standard cell module has no output; when the power supply is turned on, the standard cell module resumes processing the first logic control signal and the second logic control signal so that the standard cell module outputs normally.
[0090] According to an embodiment of the present disclosure, generating a second control signal according to the first control signal, and using the second control signal to control the connection or disconnection of the power supply includes:
[0091] When the first control signal is at a high level, the second control signal is a closing signal, and the closing signal closes the output end of the first switch control circuit module;
[0092] When the first control signal is at a low level, the second control signal is a disconnection signal, and the disconnection signal disconnects the output end of the first switch control circuit module;
[0093] When the output end of the first switch control circuit module is closed, the power supply is turned on;
[0094] When the output end of the first switch control circuit module is disconnected, the power supply is cut off.
[0095] According to an embodiment of the present disclosure, the customization unit further includes: a second switch control circuit module; wherein the second switch control circuit module includes: a signal input terminal and a signal output terminal;
[0096] The control signal output terminal of the POC IP core is connected to the standard cell module, including:
[0097] The control signal output terminal of the POC IP core is connected to the signal input terminal of the second switch control circuit module; the signal output terminal of the second switch control circuit module is connected to the cell signal output terminal of the standard cell module;
[0098] The second switch control circuit module is configured to generate a third control signal according to the first control signal, and use the third control signal to control the connection or disconnection of the output of the standard cell module;
[0099] When the output of the standard cell module is cut off, the standard cell module has no output;
[0100] When the output of the standard cell module is turned on, the standard cell module outputs normally.
[0101] According to an embodiment of the present disclosure, generating a third control signal according to the first control signal, and using the third control signal to control the on or off of the output of the standard cell module includes:
[0102] When the first control signal is at a high level, the third control signal is a closing signal, and the closing signal connects the cell signal output terminal of the standard cell module;
[0103] When the first control signal is at a low level, the third control signal is a disconnection signal, and the disconnection signal cuts off the cell signal output end of the standard cell module;
[0104] When the cell signal output terminal of the standard cell module is turned on, the output of the standard cell module is turned on;
[0105] When the cell signal output terminal of the standard cell module is cut off, the output of the standard cell module is cut off.
[0106] According to an embodiment of the present disclosure, the standard cell module further includes: a control signal input terminal;
[0107] The control signal output end of the POC IP core is connected to the standard cell module, including: the control signal output end of the POC IP core is connected to the control signal input end of the standard cell module;
[0108] The standard cell module is further configured to control whether it has output according to the first control signal.
[0109] According to an embodiment of the present disclosure, controlling whether or not to output according to the first control signal includes:
[0110] When the first control signal is at a high level, the output of the standard cell module is turned on, and the standard cell module outputs normally;
[0111] When the first control signal is at a low level, the output of the standard cell module is cut off, and the standard cell module has no output.
[0112] According to an embodiment of the present disclosure, the POC IP core is a default POC IP core; the default POC IP core is non-configurable, including: the preset first power-on threshold voltage and the preset second power-on threshold voltage are both preset fixed values;
[0113] The default POC IP core includes: a connected POC IP core circuit module and a default threshold voltage module, wherein the default threshold voltage module includes MOS modules corresponding to the preset first power-on threshold voltage and the preset second power-on threshold voltage.
[0114] According to an embodiment of the present disclosure, the customization unit further includes: a threshold voltage adjustable power supply monitoring circuit module and a third switch control circuit module; the threshold voltage adjustable power supply monitoring circuit module includes: a first power supply input terminal, a second power supply input terminal and a control signal output terminal; the third switch control circuit module includes: a control signal input terminal and a power supply enable signal output terminal;
[0115] The first power input terminal of the threshold voltage adjustable power monitoring circuit module is connected to the first power supply; the second power input terminal of the threshold voltage adjustable power monitoring circuit module is connected to the second power supply; the control signal output terminal of the threshold voltage adjustable power monitoring circuit module is connected to the control signal input terminal of the third switch control circuit module; the power enable signal output terminal of the third switch control circuit module is respectively connected to the first power input terminal and the second power input terminal of the POC IP core;
[0116] Wherein, the threshold voltage adjustable power supply monitoring circuit module includes a first threshold voltage adjustable power supply monitoring circuit module, a second threshold voltage adjustable power supply monitoring circuit module and a fourth control signal generating module; the first threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply, the second threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply, the first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module are respectively connected to the fourth control signal generating module, and the fourth control signal generating module is connected to the control signal input end of the third switch control circuit module;
[0117] The first threshold voltage adjustable power supply monitoring circuit module is configured to receive a first external control signal and determine a dynamically adjustable first power-on threshold voltage according to the first external control signal;
[0118] The second threshold voltage adjustable power supply monitoring circuit module is configured to receive a second external control signal and determine a dynamically adjustable second power-on threshold voltage according to the second external control signal;
[0119] The first threshold voltage adjustable power supply monitoring circuit module is further configured to compare the current voltage value of the first power supply with the dynamically adjustable first power-on threshold voltage, and when the current voltage value of the first power supply is not lower than the dynamically adjustable first power-on threshold voltage, the voltage state of the first power supply is a power-on state;
[0120] The second threshold voltage adjustable power supply monitoring circuit module is further configured to compare the current voltage value of the second power supply with the dynamically adjustable second power-on threshold voltage, and when the current voltage value of the second power supply is not lower than the dynamically adjustable second power-on threshold voltage, the voltage state of the second power supply is a power-on state;
[0121] The fourth control signal generating module is configured to generate a fourth control signal according to the voltage state of the first power supply and the voltage state of the second power supply, including: when the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the fourth control signal is a high level, otherwise, the fourth control signal is a low level;
[0122] The fourth control signal generating module is further configured to output the fourth control signal to the control signal input terminal of the third switch control circuit module;
[0123] The third switch control circuit module is configured to control the connection or disconnection of the first power supply and the second power supply for supplying power to the POC IP core according to the fourth control signal, including: when the fourth control signal is at a high level, the first power supply and the second power supply for supplying power to the POC IP core are disconnected; when the fourth control signal is at a low level, the first power supply and the second power supply for supplying power to the POC IP core are connected;
[0124] When the first power supply and the second power supply for supplying power to the POC IP core are cut off, the first control signal is at a low level; when the first power supply and the second power supply for supplying power to the POC IP core are connected, the first control signal is at a high level.
[0125] According to an embodiment of the present disclosure, the POC IP core is a customized POC IP core; the customized POC IP core is configurable, including: the preset first power-on threshold voltage is a first power-on threshold voltage input by a user, the preset second power-on threshold voltage is a second power-on threshold voltage input by a user;
[0126] The customized POC IP core includes a connected POC core circuit module and a configured POC input threshold voltage adjustable module;
[0127] The configured POC input threshold voltage adjustable module includes a MOS module selected from the MOS module group of the POC input threshold voltage adjustable module according to the first power-on threshold voltage input by the user and the second power-on threshold voltage input by the user.
[0128] In a fourth aspect, a chip is provided in an embodiment of the present disclosure, wherein the chip comprises the customized unit with power-on control described in any one of the third aspect, or is manufactured using the customized unit with power-on control generated by the method described in the first aspect.
[0129] In a fifth aspect, an electronic device is provided in an embodiment of the present disclosure, comprising the chip described in the fourth aspect.
[0130] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the method described in any one of the first aspects is implemented.
[0131] In a seventh aspect, a computer program product is provided in an embodiment of the present disclosure, including a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.
[0132] According to the technical solution provided by the embodiment of the present disclosure, a customized unit with power-on control is provided, the customized unit comprising: a POC IP core and a standard cell module; the POC IP core is configured to obtain the voltage status of the first power supply and the second power supply, and generate a first control signal according to the voltage status of the first power supply and the second power supply; the control signal output end of the POC IP core is connected to the standard cell module, and the first control signal is output to the standard cell module through the control signal output end, so as to control whether the standard cell module outputs normally through the first control signal. This solves the problem of output logic errors caused by sudden power failure of one of the power supplies in the dual power supply circuit, and ensures the stability and reliability of the circuit system under abnormal power supply voltage conditions.
[0133] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0134] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0135] Figure 1 A flow chart showing a method for generating a customized unit with power-on control according to an embodiment of the present disclosure;
[0136] Figure 2 A flowchart showing another method for generating a customized unit with power-on control according to an embodiment of the present disclosure;
[0137] Figure 3 A flowchart showing a method for generating a customized unit with power-on control according to another embodiment of the present disclosure;
[0138] Figure 4 A flowchart of providing a customized POC IP core according to an embodiment of the present disclosure is shown;
[0139] Figure 5 A flowchart showing a method for generating a customized unit with power-on control according to another embodiment of the present disclosure;
[0140] Figure 6 A structural connection diagram of a customization unit with power-on control according to an embodiment of the present disclosure is shown;
[0141] Figure 7 A structural connection diagram showing another customized unit with power-on control according to an embodiment of the present disclosure;
[0142] Figure 8 A structural connection diagram of another customized unit with power-on control according to an embodiment of the present disclosure is shown;
[0143] Fig. 9 A schematic structural diagram of a device for generating a customization unit with power-on control according to an embodiment of the present disclosure is shown;
[0144] Fig.10 A schematic structural diagram of another device for generating a customization unit with power-on control according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0145] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0146] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.
[0147] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0148] As mentioned above, in the prior art, when a multi-power supply voltage solution is adopted, if one of the power supply voltages is suddenly powered off for some reason, it will have a serious impact on the entire circuit system, thereby causing the entire circuit system to produce erroneous results or fail to perform the expected task.
[0149] In order to solve the problems existing in the standard cell library under the multi-power supply voltage scheme in the prior art, and ensure the stability and reliability of the circuit system under abnormal power supply voltage. After careful research and thinking, the inventor of the present disclosure designed a custom unit with power-on control. The custom unit is a new type of library unit improved based on the traditional standard cell, that is, the traditional standard cell is integrated with the power-on control function. The custom unit includes: a POC IP core and a standard cell module; the POC IP core is configured to obtain the voltage state of the first power supply and the second power supply, and generate a first control signal according to the voltage state of the first power supply and the second power supply; the control signal output end of the POC IP core is connected to the standard cell module, and the first control signal is output to the standard cell module through the control signal output end, so as to control whether the standard cell module is output normally through the first control signal.
[0150] According to the technical solution provided by the embodiment of the present disclosure, by combining the POC IP core with the standard cell module, using the different control signals output by the POC IP core when the power supply is not fully powered on and when the power supply is fully powered on in the dual power supply circuit, it is possible to monitor in real time whether both power supplies in the dual power supply circuit are in place, and to control the subsequent standard cell modules so that they do not output when the dual power supplies are not fully powered on. When both power supplies are fully powered on, the subsequent standard cell modules can resume normal output, thereby avoiding logic output errors. This solves the problem of output logic errors caused by sudden power failure of one of the power supplies in the dual power supply circuit, and ensures the stability and reliability of the circuit system under abnormal power supply voltage conditions.
[0151] It should be noted that all modules involved in the following methods and customization units may be software modules provided by integrated circuit design tools (such as EDA tools) or hardware circuit modules. When the modules involved are mentioned in the methods, they are described as software modules; when the modules involved are mentioned in the customization units, they are described as hardware circuit modules.
[0152] In addition, the custom cells generated by the method provided in the embodiment of the present disclosure can form a custom cell library, and the designer can directly select the custom cells therein for chip design so that the designed chip meets the design requirements.
[0153] Figure 1 A flow chart of a method for generating a customized unit with power-on control according to an embodiment of the present disclosure is shown. The method is implemented based on a customized EDA tool, such as Figure 1 As shown, the method includes the following steps S110 to S120:
[0154] In step S110, the POC IP core and the standard cell module are obtained by the custom EDA tool, wherein the POC IP core includes: a first power input terminal, a second power input terminal and a control signal output terminal; and the standard cell module includes: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a cell signal output terminal.
[0155] The present invention discloses a customized EDA tool for developing a customized EDA tool, and executes steps S120 to S150 through the customized EDA tool to specifically obtain a POC IP core and a standard cell module, and connect the control signal output end of the POC IP core to the standard cell module, so that the output control signal of the POC IP core controls the standard cell module, thereby performing a functional upgrade on the standard cell. The combination of the POC IP core and the standard cell module jointly realizes a customized cell with power-on control.
[0156] Specifically, the POC IP core and the standard cell module are obtained through a customized EDA tool so that the user can design the customized cell with power-on control.
[0157] The standard cell module may be a library cell in a standard cell library provided by a custom EDA tool, or may be a library cell designed as required and stored in a cell library.
[0158] In step S120, the POC IP core and the standard cell module are connected by the custom EDA tool to generate a custom cell with power-on control.
[0159] Among them, the first logic control signal input end of the standard cell module is connected to the first power circuit module powered by the first power supply, so that the standard cell module obtains the first logic control signal through the first power circuit module; the second logic control signal input end of the standard cell module is connected to the second power circuit module powered by the second power supply, so that the standard cell module obtains the second logic control signal through the second power circuit module; the power input end of the standard cell module is connected to the power supply; the first power input end of the POC IP core is connected to the first power supply, and the second power input end of the POC IP core is connected to the second power supply, so that the POC IP core obtains the voltage status of the first power supply and the second power supply, and generates a first control signal according to the voltage status of the first power supply and the second power supply; the control signal output end of the POC IP core is connected to the standard cell module, so that the POC IP core outputs the first control signal to the standard cell module through the control signal output end, so as to control whether the standard cell module outputs normally through the first control signal.
[0160] Among them, standard cells in the standard cell library, such as logic gate cells (AND gates, OR gates, NOT gates, etc.), timing cells (such as triggers), arithmetic cells (such as adders), etc., are circuit components used to implement specific logic functions. These cells are used to build more complex logic circuits and systems in integrated circuit design.
[0161] In order to perform the logical functions designed for it, standard cells need to receive logic signals as input. These logic signals are usually binary, represented by "0" and "1". After the logic signals are processed by the logic circuits inside the standard cells, new logic signals will be generated as outputs, which may be passed to other standard cells or other parts of the integrated circuit.
[0162] At the same time, in order to ensure that the standard cells can work properly, they also need a power supply. The power supply provides the necessary voltage and current so that the circuits in the standard cells can perform operations such as logical operations and state storage as designed.
[0163] Specifically, the first power supply can be a 5V / 3.3V power supply, the second power supply and the power supply of the standard unit module can be a 1.8V power supply. In addition to the 5V / 3.3V power supply and the 1.8V power supply, the first power supply, the second power supply or the power supply can also be a power supply with other voltage values, for example: a 2.5V power supply; in addition, for the first power supply, the specific selection of 5V or 3.3V can be determined according to the application requirements of the actual standard unit.
[0164] According to an embodiment of the present disclosure, obtaining the voltage status of the first power supply and the second power supply includes:
[0165] Compare the current voltage value of the first power supply with a preset first power-on threshold voltage. When the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state. Compare the current voltage value of the second power supply with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0166] For example, if the first power supply is a 5V power supply, the preset first power-on threshold voltage can be set to 4.5V; if the first power supply is a 3V power supply, the preset first power-on threshold voltage can be set to 3.0V; if the second power supply is a 1.8V power supply, the preset second power-on threshold voltage can be set to 1.6V. In this way, if the current voltage value is lower than the corresponding set power-on threshold voltage, it means that the voltage state of the power supply is in a non-power-on state (such as a power-off state), and when the current voltage value is not lower than the corresponding set power-on threshold voltage, it means that the voltage state of the power supply is in a power-on state.
[0167] According to an embodiment of the present disclosure, generating a first control signal according to voltage states of the first power supply and the second power supply includes:
[0168] When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
[0169] That is to say, as long as the voltage state of one power supply is not in the power-on state, it means that the dual power supplies are not fully powered on; only when the first power supply and the second power supply are both in the power-on state, it means that the dual power supplies are fully powered on, and only when the power supplies are fully powered on, the first control signal is at a high level. In this way, the subsequent standard unit module can distinguish the dual power supply fully powered on and the dual power supply incompletely powered on according to the first control signal, so as to process them separately.
[0170] Figure 2 A flowchart of another method for generating a customized unit with power-on control according to an embodiment of the present disclosure is shown. In addition to the above steps S110 to S120, before executing steps S110 to S120, the method further includes steps S130 to S140:
[0171] In step S130, the power-on control configuration parameters input by the user are acquired through the customized EDA tool.
[0172] In a specific implementation, after selecting the required standard cell module through the customized EDA tool, if the standard cell module needs to have a power-on control function, the user can enter the power-on control configuration parameter in the input box provided by the corresponding configuration option on the graphical user interface provided by the customized EDA tool. The specific value of the power-on control configuration parameter can be determined according to the specific application requirements. For example: 1 represents that the corresponding standard cell module has a power-on control function, and 0 represents that it does not have a power-on control function.
[0173] In step S140, it is determined whether the power-on control configuration parameter indicates generating a customized unit with power-on control; if yes, step S110 and subsequent step S120 are executed.
[0174] By customizing the EDA tool, a "power-on control configuration parameter" configuration option is added to the standard cell library, allowing users to choose whether to enable the power-on control function. This allows users to flexibly choose whether to provide the standard cell module with a power-on control function based on actual needs and application scenarios. For some application scenarios that do not require high power consumption and reliability, the power-on control function can be disabled to reduce costs. This provides higher flexibility and makes the system configuration more diversified and personalized, thereby meeting the needs of different application scenarios.
[0175] Figure 3 A flowchart of another method for generating a customized unit with power-on control according to an embodiment of the present disclosure is shown. In addition to the above steps S110 to S120, the method further includes step S150:
[0176] In step S150, a layout of the custom cell with power-on control is generated based on the custom cell with power-on control by the custom EDA tool.
[0177] When generating the layout of the custom unit with power-on control, a layout editing tool in a custom EDA tool (such as Cadence Virtuoso or Synopsys Saber) can be used to create a physical layout of the custom unit, which defines the actual layout and connection of the custom unit on the silicon wafer.
[0178] When the above step S120 is specifically performed, it can be performed in the following three ways:
[0179] The first method: using the first control signal to control the connection and disconnection of the power supply of the standard cell module. When the first control signal is at a high level, that is, when the dual power supplies are fully powered on, the power supply of the standard cell module is controlled to be connected; when the first control signal is at a low level, that is, when the dual power supplies are not fully powered on, the power supply of the standard cell module is controlled to be disconnected.
[0180] The first method cuts off the power supply of the subsequent standard unit module when the dual power supply is not fully powered on, thereby avoiding erroneous logic output and preventing the standard unit module from continuing to generate power consumption, thereby reducing the power consumption output of the overall circuit.
[0181] The second method: using the first control signal to control the connection or disconnection of the output of the standard cell module. When the first control signal is at a high level, that is, when the dual power supplies are fully powered on, the connection of the output of the standard cell module is controlled; when the first control signal is at a low level, that is, when the dual power supplies are not fully powered on, the disconnection of the output of the standard cell module is controlled.
[0182] The third method: directly input the first control signal to the standard cell module, and the standard cell module controls whether it has output according to the first control signal. When the first control signal is at a high level, that is, when the dual power supplies are fully powered on, the standard cell module controls its output to be turned on; when the first control signal is at a low level, that is, when the dual power supplies are not fully powered on, the standard cell module controls its output to be turned off.
[0183] The first and second methods mentioned above do not require any modification to the standard cell module. In this way, it is easier to customize the standard cells in the standard cell library with power-on control functions, which simplifies the design process and makes it easier to upgrade and maintain the standard cell module.
[0184] The specific implementation plans of the above three methods are described in detail below.
[0185] For the first method:
[0186] According to an embodiment of the present disclosure, the method further includes: acquiring a first switch control circuit module; wherein the first switch control circuit module includes: a first input terminal, a second input terminal, and an output terminal.
[0187] The connecting of the power supply to the power input terminal of the standard cell module and the connecting of the control signal output terminal of the POC IP core to the standard cell module include: connecting the power supply to the power input terminal of the standard cell module through the first switch control circuit module, and connecting the control signal output terminal of the POC IP core to the standard cell module through the first switch control circuit module, including: connecting the power supply to the first input terminal of the first switch control circuit module, connecting the control signal output terminal of the POC IP core to the second input terminal of the first switch control circuit module, and connecting the output terminal of the first switch control circuit module to the power input terminal of the standard cell module, so that the first switch control circuit module generates a second control signal according to the first control signal, and uses the second control signal to control the connection or disconnection of the power supply, so that when the power supply is disconnected, the standard cell module stops processing the first logic control signal and the second logic control signal, so that the standard cell module has no output; and when the power supply is connected, the standard cell module resumes processing the first logic control signal and the second logic control signal, so that the standard cell module outputs normally.
[0188] According to an embodiment of the present disclosure, generating a second control signal according to the first control signal, and using the second control signal to control the connection or disconnection of the power supply, includes: when the first control signal is at a high level, the second control signal is a closing signal, and the closing signal closes the output end of the first switch control circuit module; when the first control signal is at a low level, the second control signal is a disconnecting signal, and the disconnecting signal disconnects the output end of the first switch control circuit module; when the output end of the first switch control circuit module is closed, the power supply is connected; when the output end of the first switch control circuit module is disconnected, the power supply is disconnected.
[0189] For example: Assuming that the first power supply is a 5V power supply, the second power supply and the power supply of the standard cell module are 1.8V power supplies, and the preset first power-on threshold voltage is 4.5V, when the current voltage value of the first power supply is 4.3V, the POC IP core detects that the current voltage value is lower than the preset first power-on threshold voltage, and determines that the voltage state of the first power supply is a non-power-on state, then the first control signal output to the first switch control circuit module is a low level. The second control signal generated by the first switch control circuit module according to the first control signal is a disconnection signal, and the disconnection signal controls the output end of the first switch control circuit module to disconnect, so that the power supply is cut off, the standard cell module stops processing the first logic control signal and the second logic control signal, and the standard cell module has no output.
[0190] When the current voltage value of the first power supply is 4.9V, the POC IP core detects that the current voltage value is higher than the preset first power-on threshold voltage, and determines that the voltage state of the first power supply is the power-on state, and the first control signal output to the first switch control circuit module is a high level. The second control signal generated by the first switch control circuit module according to the first control signal is a closed signal, and the closed signal controls the output end of the first switch control circuit module to close, so that the power supply is turned on, the standard cell module resumes the processing of the first logic control signal and the second logic control signal, and the standard cell module outputs normally.
[0191] For the second method:
[0192] According to an embodiment of the present disclosure, the method further includes: acquiring a second switch control circuit module; wherein the second switch control circuit module includes: a signal input terminal and a signal output terminal.
[0193] According to an embodiment of the present disclosure, the step of connecting the control signal output terminal of the POC IP core to the standard cell module includes:
[0194] Connect the control signal output end of the POC IP core to the signal input end of the second switch control circuit module; connect the signal output end of the second switch control circuit module to the unit signal output end of the standard unit module, so that the second switch control circuit module generates a third control signal according to the first control signal, and uses the third control signal to control the connection or disconnection of the output of the standard unit module, so that when the output of the standard unit module is disconnected, the standard unit module has no output; and when the output of the standard unit module is connected, the standard unit module outputs normally.
[0195] According to an embodiment of the present disclosure, generating a third control signal according to the first control signal, and using the third control signal to control the on or off of the output of the standard cell module includes:
[0196] When the first control signal is at a high level, the third control signal is a closing signal, and the closing signal connects the unit signal output end of the standard unit module; when the first control signal is at a low level, the third control signal is a disconnecting signal, and the disconnecting signal cuts off the unit signal output end of the standard unit module; when the unit signal output end of the standard unit module is connected, the output of the standard unit module is connected; when the unit signal output end of the standard unit module is cut off, the output of the standard unit module is cut off.
[0197] For the third method:
[0198] According to an embodiment of the present disclosure, the standard cell module further includes: a control signal input terminal;
[0199] Connecting the control signal output end of the POC IP core to the standard cell module includes: connecting the control signal output end of the POC IP core to the control signal input end of the standard cell module, so that the standard cell module controls whether it has output according to the first control signal.
[0200] According to an embodiment of the present disclosure, the standard cell module controls whether it has output according to the first control signal, including: when the first control signal is at a high level, the output of the standard cell module is turned on, and the standard cell module outputs normally; when the first control signal is at a low level, the output of the standard cell module is cut off, and the standard cell module has no output.
[0201] The POC IP cores involved in the embodiments of the present disclosure include but are not limited to two types. One is a default POC IP core provided by a customized EDA tool. The default POC IP core is non-configurable, including: the preset first power-on threshold voltage and the preset second power-on threshold voltage are both preset fixed values, that is, the user can only select an existing POC IP core with a fixed first power-on threshold voltage value and a fixed second power-on threshold voltage value, and cannot flexibly set the power-on threshold voltage of the selected POC IP core according to actual application needs.
[0202] According to an embodiment of the present disclosure, the default POC IP core includes: a POC IP core circuit module and a default threshold voltage module connected to each other, wherein the default threshold voltage module includes a number of MOS modules corresponding to the preset first power-on threshold voltage and the preset second power-on threshold voltage.
[0203] That is to say, in the default POC IP core, the number of MOS modules in the default threshold voltage module corresponds to the preset first power-on threshold voltage and the preset second power-on threshold voltage, and cannot be flexibly adjusted. The reason why the existing default POC IP core can only provide a fixed input threshold voltage (including a power-on threshold voltage and a power-down threshold voltage) is that the POC IP core is designed as an integral module, which makes it impossible to change it according to chip requirements conveniently, resulting in the existing IO IP core only providing a fixed input threshold voltage, thereby failing to meet the actual requirements of different chips for different input threshold voltages.
[0204] In order to achieve flexible and adjustable power-on threshold voltage, so that the generated customized unit with power-on control can meet the design requirements of complex industrial chips such as different power-on threshold voltages, the embodiment of the present disclosure provides another customized POC IP core through a customized EDA tool; specifically, the existing overall POC IP core is split into multiple functional modules, and the input threshold voltage module therein is configured separately, thereby realizing a configurable POC IP core, in which each function inside the configurable POC IP core can be easily and independently controlled, and then it can be automatically adjusted according to the actual needs of different chips, thereby realizing flexible and configurable POC input threshold voltage.
[0205] In the present disclosure, the configurable POC IP core is no longer an integral module, but includes a POC core circuit module and a POC input threshold voltage adjustable module, wherein the POC input threshold voltage adjustable module can be configured according to the POC input threshold voltage input by the user, so that the customized POC IP core generated based on the configured POC input threshold voltage adjustable module meets the actual demand of supporting the specified POC input threshold voltage.
[0206] The customized POC IP core is configurable, including: the preset first power-on threshold voltage is a first power-on threshold voltage input by a user, and the preset second power-on threshold voltage is a second power-on threshold voltage input by a user.
[0207] In addition to the default POC IP core and customized POC IP core mentioned above, the POC IP core involved in the embodiments of the present disclosure may also be a circuit module of other structures designed by the user according to actual application requirements. As long as the circuit structure of the module can realize the specific functions that the POC IP core in the embodiments of the present disclosure as mentioned above needs to be realized, it is within the protection scope of the present disclosure.
[0208] Directly using the default POC IP core and customized POC IP core provided by the custom EDA tool can greatly simplify the complexity of system design and reduce the cost of design and maintenance. In addition, the default POC IP core and customized POC IP core provided by the custom EDA tool are usually designed based on widely accepted and verified standards, which means that they have higher reliability and predictability; in contrast, the power-on control circuit designed by yourself may have unknown problems or design defects, and more testing and verification are required to ensure its reliability. Therefore, directly using the default POC IP core and customized POC IP core provided by the custom EDA tool has higher reliability, lower complexity and better compatibility.
[0209] Figure 4 A flow chart of providing a customized POC IP core according to an embodiment of the present disclosure is shown, including the following steps S410 to S440:
[0210] In step S410, a POC core circuit module and a POC input threshold voltage adjustable module are obtained.
[0211] The customized EDA tool provides a GUI interface, which includes a plurality of customized input boxes.
[0212] In step S420 , the POC input threshold voltage input by the user is acquired through the plurality of custom input boxes.
[0213] The POC input threshold voltage input by the user includes: a first power-on threshold voltage corresponding to the first power supply and a second power-on threshold voltage corresponding to the second power supply.
[0214] The customized input box includes: an expected first power-on threshold voltage input box and an expected second power-on threshold voltage input box; the expected first power-on threshold voltage input box is used to obtain the first power-on threshold voltage corresponding to the first power supply input by the user, and the expected second power-on threshold voltage input box is used to obtain the second power-on threshold voltage corresponding to the second power supply input by the user.
[0215] In addition to being able to flexibly adjust the first power-on threshold voltage and the second power-on threshold voltage, the user can also flexibly adjust the first power-off threshold voltage and the second power-off threshold voltage.
[0216] In a specific embodiment, four input boxes are provided through the graphical user interface of the customized EDA tool, namely: "Expected first power-on threshold voltage" input box, "Expected second power-on threshold voltage" input box, "Expected first power-down threshold voltage" input box, and "Expected second power-down threshold voltage" input box. After the user enters the power-on threshold voltage and power-down threshold voltage expected to be achieved for the customized unit with power-on control in the four input boxes, the customized EDA tool can obtain the first power-on threshold voltage and the second power-on threshold voltage, as well as the first power-down threshold voltage and the second power-down threshold voltage input by the user.
[0217] In step S430, the POC input threshold voltage adjustable module is configured according to the POC input threshold voltage input by the user.
[0218] Specifically, the POC input threshold voltage adjustable module includes a MOS module group, and configuring the POC input threshold voltage adjustable module according to the POC input threshold voltage includes: selecting a number of MOS modules corresponding to the POC input threshold voltage from the MOS module group and connecting the selected MOS modules to generate a configured POC input threshold voltage adjustable module.
[0219] Among them, one MOS module corresponds to a PMOS tube or an NMOS tube.
[0220] In step S440, the POC core circuit module and the configured POC input threshold voltage adjustable module are connected to obtain a customized POC IP core.
[0221] In order to achieve flexible and adjustable power-on threshold voltage, in addition to providing the above-mentioned customized POC IP core, the embodiment of the present disclosure also provides another method for achieving flexible and adjustable power-on threshold voltage in this case when the POC IP core is a default POC IP core (that is, the POC input threshold voltage is fixed and cannot be adjusted).
[0222] Figure 5 A flowchart showing a method for generating a customized unit with power-on control according to an embodiment of the present disclosure is shown. Figure 5 As shown, in addition to the above steps S110 to S120, the method includes the following steps S170 to S180:
[0223] In step S170, a threshold voltage adjustable power supply monitoring circuit module and a third switch control circuit module are obtained.
[0224] Among them, the threshold voltage adjustable power supply monitoring circuit module includes: a first power supply input terminal, a second power supply input terminal and a control signal output terminal; the third switch control circuit module includes: a control signal input terminal and a power enable signal output terminal.
[0225] In step S180, the first power input terminal of the threshold voltage adjustable power monitoring circuit module is connected to the first power supply; the second power input terminal of the threshold voltage adjustable power monitoring circuit module is connected to the second power supply; the control signal output terminal of the threshold voltage adjustable power monitoring circuit module is connected to the control signal input terminal of the third switch control circuit module; and the power enable signal output terminal of the third switch control circuit module is connected to the first power input terminal and the second power input terminal of the POC IP core respectively.
[0226] Wherein, the threshold voltage adjustable power supply monitoring circuit module includes a first threshold voltage adjustable power supply monitoring circuit module, a second threshold voltage adjustable power supply monitoring circuit module and a fourth control signal generating module; the first threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply, the second threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply, the first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module are respectively connected to the fourth control signal generating module, and the fourth control signal generating module is connected to the control signal input end of the third switch control circuit module, so that when the first threshold voltage adjustable power supply monitoring circuit module receives a first external control signal, the first power-on threshold voltage that can be dynamically adjusted is determined according to the first external control signal; and when the second threshold voltage adjustable power supply monitoring circuit module receives a second external control signal, the second power-on threshold voltage that can be dynamically adjusted is determined according to the second external control signal. The first threshold voltage adjustable power supply monitoring circuit module compares the current voltage value of the first power supply with the dynamically adjustable first power-on threshold voltage, and when the current voltage value of the first power supply is not lower than the dynamically adjustable first power-on threshold voltage, the voltage state of the first power supply is the power-on state; the second threshold voltage adjustable power supply monitoring circuit module compares the current voltage value of the second power supply with the dynamically adjustable second power-on threshold voltage, and when the current voltage value of the second power supply is not lower than the dynamically adjustable second power-on threshold voltage, the voltage state of the second power supply is the power-on state; the fourth control signal generating module generates a fourth control signal according to the voltage state of the first power supply and the voltage state of the second power supply, including: when the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the fourth control signal is a high level, otherwise, the fourth control signal is a low level.
[0227] The fourth control signal generating module outputs the fourth control signal to the control signal input terminal of the third switch control circuit module; the third switch control circuit module controls the connection or disconnection of the first power supply and the second power supply for powering the POC IP core according to the fourth control signal, including: when the fourth control signal is at a high level, the first power supply and the second power supply for powering the POC IP core are disconnected; when the fourth control signal is at a low level, the first power supply and the second power supply for powering the POC IP core are connected.
[0228] When the first power supply and the second power supply for supplying power to the POC IP core are cut off, the first control signal is at a low level; when the first power supply and the second power supply for supplying power to the POC IP core are connected, the first control signal is at a high level.
[0229] The first switch control circuit module, the second switch control circuit module, the third switch control circuit module and the fourth switch control circuit module involved in the embodiments of the present disclosure can be implemented by a relay or an electronic switch (such as MOSFET), and can also be designed according to actual application requirements.
[0230] The first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module involved in the embodiments of the present disclosure can be respectively an undervoltage circuit module, which includes a voltage comparator module or a similar voltage detection circuit module for monitoring the corresponding power supply voltage respectively.
[0231] The fourth control signal generating module involved in the embodiments of the present disclosure may be a logic AND gate, such as an AND gate, which may be an AND gate implemented by an analog circuit or a digital logic gate.
[0232] Figure 6 FIG. 1 shows a structural connection diagram of a customized unit with power-on control according to an embodiment of the present disclosure. Figure 6 As shown, the customized unit includes: a POC IP core, a first switch control circuit module and a standard unit module.
[0233] Among them, the POC IP core includes: a first power input terminal 110, a second power input terminal 120 and a control signal output terminal 130; the standard unit module includes: a first logic control signal input terminal 210, a second logic control signal input terminal 220, a power input terminal 230, and a unit signal output terminal 240; the first switch control circuit module includes: a first input terminal 310, a second input terminal 320, and an output terminal 330.
[0234] The first logic control signal input terminal 210 of the standard cell module is connected to a first power supply circuit module powered by a first power supply, and the second logic control signal input terminal 220 of the standard cell module is connected to a second power supply circuit module powered by a second power supply. The standard cell module is configured to obtain a first logic control signal through the first power supply circuit module and to obtain a second logic control signal through the second power supply circuit module.
[0235] The first power input terminal 110 of the POC IP core is connected to the first power supply, and the second power input terminal 120 of the POC IP core is connected to the second power supply. The POC IP core is configured to obtain the voltage status of the first power supply and the second power supply, and generate a first control signal according to the voltage status of the first power supply and the second power supply.
[0236] According to an embodiment of the present disclosure, obtaining the voltage status of the first power supply and the second power supply includes:
[0237] The current voltage value of the first power supply is compared with a preset first power-on threshold voltage. When the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state.
[0238] The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0239] According to an embodiment of the present disclosure, generating a first control signal according to voltage states of the first power supply and the second power supply includes:
[0240] When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
[0241] The control signal output terminal 130 of the POC IP core is connected to the standard cell module, and the POC IP core is also configured to output the first control signal to the standard cell module through the control signal output terminal 130 to control whether the standard cell module outputs normally through the first control signal.
[0242] Specifically, the power input terminal 230 of the standard cell module is connected to the power supply through the first switch control circuit module, and the control signal output terminal 130 of the POC IP core is connected to the standard cell module through the first switch control circuit module, including: the power supply is connected to the first input terminal 310 of the first switch control circuit module, the control signal output terminal 130 of the POC IP core is connected to the second input terminal 320 of the first switch control circuit module, and the output terminal 330 of the first switch control circuit module is connected to the power input terminal 230 of the standard cell module; the first switch control circuit module is configured to generate a second control signal according to the first control signal, and use the second control signal to control the connection or disconnection of the power supply; when the power supply is disconnected, the standard cell module stops processing the first logic control signal and the second logic control signal, so that the standard cell module has no output; when the power supply is connected, the standard cell module resumes processing the first logic control signal and the second logic control signal, so that the standard cell module outputs normally.
[0243] According to an embodiment of the present disclosure, generating a second control signal according to the first control signal, and using the second control signal to control the connection or disconnection of the power supply includes:
[0244] When the first control signal is at a high level, the second control signal is a closing signal, and the closing signal closes the output end 330 of the first switch control circuit module; when the first control signal is at a low level, the second control signal is a disconnecting signal, and the disconnecting signal disconnects the output end 330 of the first switch control circuit module; when the output end 330 of the first switch control circuit module is closed, the power supply is turned on; when the output end 330 of the first switch control circuit module is disconnected, the power supply is cut off.
[0245] Figure 7 FIG. 2 shows a structural connection diagram of another customized unit with power-on control according to an embodiment of the present disclosure. Figure 7 As shown, the customized unit includes: a POC IP core, a second switch control circuit module and a standard unit module.
[0246] Among them, the POC IP core includes: a first power input terminal 110, a second power input terminal 120 and a control signal output terminal 130; the standard unit module includes: a first logic control signal input terminal 210, a second logic control signal input terminal 220, a power input terminal 230, and a unit signal output terminal 240; the second switch control circuit module includes: a signal input terminal 410 and a signal output terminal 420.
[0247] The first logic control signal input terminal 210 of the standard cell module is connected to a first power supply circuit module powered by a first power supply, and the second logic control signal input terminal 220 of the standard cell module is connected to a second power supply circuit module powered by a second power supply. The standard cell module is configured to obtain a first logic control signal through the first power supply circuit module and to obtain a second logic control signal through the second power supply circuit module.
[0248] The first power input terminal 110 of the POC IP core is connected to the first power supply, and the second power input terminal 120 of the POC IP core is connected to the second power supply. The POC IP core is configured to obtain the voltage status of the first power supply and the second power supply, and generate a first control signal according to the voltage status of the first power supply and the second power supply.
[0249] According to an embodiment of the present disclosure, obtaining the voltage status of the first power supply and the second power supply includes:
[0250] The current voltage value of the first power supply is compared with a preset first power-on threshold voltage. When the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state.
[0251] The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0252] According to an embodiment of the present disclosure, generating a first control signal according to voltage states of the first power supply and the second power supply includes:
[0253] When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
[0254] The control signal output terminal 130 of the POC IP core is connected to the standard cell module, and the POC IP core is also configured to output the first control signal to the standard cell module through the control signal output terminal 130 to control whether the standard cell module outputs normally through the first control signal.
[0255] Specifically, the control signal output terminal 130 of the POC IP core is connected to the signal input terminal 410 of the second switch control circuit module; the signal output terminal 420 of the second switch control circuit module is connected to the unit signal output terminal 240 of the standard unit module; the second switch control circuit module is configured to generate a third control signal according to the first control signal, and use the third control signal to control the connection or disconnection of the output of the standard unit module; when the output of the standard unit module is disconnected, the standard unit module has no output; when the output of the standard unit module is connected, the standard unit module outputs normally.
[0256] According to an embodiment of the present disclosure, generating a third control signal according to the first control signal, and using the third control signal to control the on or off of the output of the standard cell module includes:
[0257] When the first control signal is at a high level, the third control signal is a closing signal, and the closing signal connects the unit signal output terminal 240 of the standard unit module; when the first control signal is at a low level, the third control signal is a disconnection signal, and the disconnection signal disconnects the unit signal output terminal 240 of the standard unit module; when the unit signal output terminal 240 of the standard unit module is connected, the output of the standard unit module is connected; when the unit signal output terminal 240 of the standard unit module is disconnected, the output of the standard unit module is disconnected.
[0258] Figure 8 FIG. 2 shows a structural connection diagram of another customized unit with power-on control according to an embodiment of the present disclosure. Figure 8 As shown, the customized unit includes: a POC IP core, a standard cell module, a threshold voltage adjustable power supply monitoring circuit module and a third switch control circuit module.
[0259] In the embodiment of the present disclosure, the POC IP core is a default POC IP core.
[0260] Among them, the POC IP core includes: the POC IP core includes: a first power input terminal 110, a second power input terminal 120 and a control signal output terminal 130; the standard unit module includes: a first logic control signal input terminal 210, a second logic control signal input terminal 220, a power input terminal 230, a unit signal output terminal 240, and a control signal input terminal 250; the threshold voltage adjustable power supply monitoring circuit module includes: a first power input terminal 510, a second power input terminal 520 and a control signal output terminal 530; the third switch control circuit module includes: a control signal input terminal 610, a power enable signal output terminal 620.
[0261] Specifically, the first power input terminal 510 of the threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply; the second power input terminal 520 of the threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply; the control signal output terminal 530 of the threshold voltage adjustable power supply monitoring circuit module is connected to the control signal input terminal 610 of the third switch control circuit module; the power enable signal output terminal 620 of the third switch control circuit module is respectively connected to the first power input terminal 110 and the second power input terminal 120 of the POC IP core.
[0262] Among them, the threshold voltage adjustable power supply monitoring circuit module includes a first threshold voltage adjustable power supply monitoring circuit module, a second threshold voltage adjustable power supply monitoring circuit module and a fourth control signal generating module; the first threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply, the second threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply, the first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module are respectively connected to the fourth control signal generating module, and the fourth control signal generating module is connected to the control signal input terminal 610 of the third switch control circuit module.
[0263] The first threshold voltage adjustable power supply monitoring circuit module is configured to receive a first external control signal and determine a dynamically adjustable first power-on threshold voltage according to the first external control signal.
[0264] The second threshold voltage adjustable power supply monitoring circuit module is configured to receive a second external control signal and determine a dynamically adjustable second power-on threshold voltage according to the second external control signal.
[0265] The first threshold voltage adjustable power supply monitoring circuit module is also configured to compare the current voltage value of the first power supply with the dynamically adjustable first power-on threshold voltage. When the current voltage value of the first power supply is not lower than the dynamically adjustable first power-on threshold voltage, the voltage state of the first power supply is a power-on state.
[0266] The second threshold voltage adjustable power supply monitoring circuit module is also configured to compare the current voltage value of the second power supply with the dynamically adjustable second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the dynamically adjustable second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0267] The fourth control signal generating module is configured to generate a fourth control signal according to the voltage state of the first power supply and the voltage state of the second power supply, including: when the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the fourth control signal is a high level, otherwise, the fourth control signal is a low level.
[0268] The fourth control signal generating module is further configured to output the fourth control signal to the control signal input terminal 610 of the third switch control circuit module.
[0269] The third switch control circuit module is configured to control the connection or disconnection of the first power supply and the second power supply that supply power to the POC IP core according to the fourth control signal, including: when the fourth control signal is at a high level, the first power supply and the second power supply that supply power to the POC IP core are disconnected; when the fourth control signal is at a low level, the first power supply and the second power supply that supply power to the POC IP core are connected.
[0270] When the first power supply and the second power supply for supplying power to the POC IP core are cut off, the first control signal is at a low level; when the first power supply and the second power supply for supplying power to the POC IP core are connected, the first control signal is at a high level.
[0271] The first logic control signal input terminal 210 of the standard cell module is connected to a first power supply circuit module powered by a first power supply, and the second logic control signal input terminal 220 of the standard cell module is connected to a second power supply circuit module powered by a second power supply. The standard cell module is configured to obtain a first logic control signal through the first power supply circuit module and to obtain a second logic control signal through the second power supply circuit module.
[0272] The first power input terminal 110 of the POC IP core is connected to the first power supply, and the second power input terminal 120 of the POC IP core is connected to the second power supply. The POC IP core is configured to obtain the voltage status of the first power supply and the second power supply, and generate a first control signal according to the voltage status of the first power supply and the second power supply.
[0273] According to an embodiment of the present disclosure, obtaining the voltage status of the first power supply and the second power supply includes:
[0274] The current voltage value of the first power supply is compared with a preset first power-on threshold voltage. When the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state.
[0275] The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
[0276] According to an embodiment of the present disclosure, generating a first control signal according to voltage states of the first power supply and the second power supply includes:
[0277] When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
[0278] The control signal output terminal 130 of the POC IP core is connected to the control signal input terminal 250 of the standard cell module; the standard cell module is also configured to control whether it has output according to the first control signal.
[0279] According to an embodiment of the present disclosure, controlling whether or not to output according to the first control signal includes:
[0280] When the first control signal is at a high level, the output of the standard cell module is turned on, and the standard cell module outputs normally; when the first control signal is at a low level, the output of the standard cell module is turned off, and the standard cell module has no output.
[0281] Fig. 9 A schematic diagram of a structure of a device for generating a customized unit with power-on control according to an embodiment of the present disclosure is shown, wherein the device is implemented based on a customized EDA tool. Fig. 9As shown, the device 900 includes: an acquisition module, configured to acquire a POC IP core and a standard cell module through the custom EDA tool; wherein the POC IP core includes: a first power input terminal, a second power input terminal and a control signal output terminal; the standard cell module includes: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a cell signal output terminal; a connection module, configured to connect the POC IP core and the standard cell module through the custom EDA tool to generate a custom cell with power-on control; wherein the first logic control signal input terminal of the standard cell module is connected to a first power circuit module powered by a first power supply, so that the standard cell module acquires a first logic control signal through the first power circuit module; the second logic control signal input terminal of the standard cell module is connected to a second power circuit module powered by a second power supply, so that the standard cell module acquires a second logic control signal through the second power circuit module; the power input terminal of the standard cell module is connected to a power supply; the first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply, so that the POC The IP core obtains the voltage states of the first power supply and the second power supply, and generates a first control signal according to the voltage states of the first power supply and the second power supply; the control signal output end of the POC IP core is connected to the standard cell module, so that the POC IP core outputs the first control signal to the standard cell module through the control signal output end, so as to control whether the standard cell module outputs normally through the first control signal.
[0282] Fig.10 A schematic diagram of the structure of another device for generating a customized unit with power-on control according to an embodiment of the present disclosure is shown, Fig.10 As shown, the device 1000 includes, in addition to the acquisition module and the connection module, also includes: a layout generation module, configured to generate a layout of the custom unit with power-on control based on the custom unit with power-on control through the custom EDA tool; a power-on control configuration parameter acquisition module, configured to obtain the power-on control configuration parameters input by the user through the custom EDA tool; determine whether the power-on control configuration parameters indicate the generation of a custom unit with power-on control; if so, execute the operation of acquiring the POC IP core and the standard unit module.
[0283] According to the technical solution provided by the embodiment of the present disclosure, by combining the POC IP core with the standard cell module, using the different control signals output by the POC IP core when the power supply is not fully powered on and when the power supply is fully powered on in the dual power supply circuit, it is possible to monitor in real time whether both power supplies in the dual power supply circuit are in place, and to control the subsequent standard cell modules so that they do not output when the dual power supplies are not fully powered on. When both power supplies are fully powered on, the subsequent standard cell modules can resume normal output, thereby avoiding logic output errors. This solves the problem of output logic errors caused by sudden power failure of one of the power supplies in the dual power supply circuit, and ensures the stability and reliability of the circuit system under abnormal power supply voltage conditions.
[0284] The present disclosure also provides a chip, comprising the customized unit with power-on control described in any one of the present disclosure, or manufactured using the customized unit with power-on control generated by the method described in any one of the present disclosure.
[0285] The present disclosure also provides an electronic device, comprising the chip described above in the present disclosure.
[0286] The present disclosure also provides a computer-readable storage medium storing one or more programs, wherein the programs are used by one or more processors to execute any of the methods described in the present disclosure.
[0287] The present disclosure also provides a computer program product, including a computer program, which implements any method described in the present disclosure when the computer program is executed by a processor.
[0288] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. A method for generating a customized unit with power-on control, characterized in that: The method is implemented based on a customized EDA tool, and the method includes: Obtaining a POC IP core and a standard cell module through the customized EDA tool; wherein the POC IP core comprises: a first power input terminal, a second power input terminal and a control signal output terminal; the standard cell module comprises: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a cell signal output terminal; Connecting the POC IP core and the standard cell module through the custom EDA tool to generate a custom cell with power-on control; The first logic control signal input terminal of the standard cell module is connected to a first power circuit module powered by a first power supply, so that the standard cell module obtains a first logic control signal through the first power circuit module; the second logic control signal input terminal of the standard cell module is connected to a second power circuit module powered by a second power supply, so that the standard cell module obtains a second logic control signal through the second power circuit module; The power input terminal of the standard unit module is connected to the power supply; The first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply, so that the POC IP core obtains the voltage status of the first power supply and the second power supply, and generates a first control signal according to the voltage status of the first power supply and the second power supply; The control signal output terminal of the POC IP core is connected to the standard cell module, so that the POC IP core outputs the first control signal to the standard cell module through the control signal output terminal, so as to control whether the standard cell module outputs normally through the first control signal.
2. The method according to claim 1, characterized in that The obtaining the voltage status of the first power supply and the second power supply includes: Comparing the current voltage value of the first power supply with a preset first power-on threshold voltage, when the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state; The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
3. The method according to claim 2, characterized in that The generating a first control signal according to the voltage states of the first power supply and the second power supply comprises: When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
4. The method according to claim 3, characterized in that The method further comprises: Acquire a first switch control circuit module; wherein the first switch control circuit module includes: a first input terminal, a second input terminal, and an output terminal; The power input end of the standard cell module is connected to the power supply, and the control signal output end of the POC IP core is connected to the standard cell module, including: the power supply is connected to the power input end of the standard cell module through the first switch control circuit module, and the control signal output end of the POC IP core is connected to the standard cell module through the first switch control circuit module, including: the power supply is connected to the first input end of the first switch control circuit module, the control signal output end of the POC IP core is connected to the second input end of the first switch control circuit module, and the output end of the first switch control circuit module is connected to the power input end of the standard cell module, so that the first switch control circuit module generates a second control signal according to the first control signal, and uses the second control signal to control the connection or disconnection of the power supply, so that when the power supply is disconnected, the standard cell module stops processing the first logic control signal and the second logic control signal, so that the standard cell module has no output; and when the power supply is connected, the standard cell module resumes processing the first logic control signal and the second logic control signal, so that the standard cell module outputs normally.
5. The method according to claim 4, characterized in that The step of generating a second control signal according to the first control signal, and using the second control signal to control the power supply to be turned on or off includes: When the first control signal is at a high level, the second control signal is a closing signal, and the closing signal closes the output end of the first switch control circuit module; When the first control signal is at a low level, the second control signal is a disconnection signal, and the disconnection signal disconnects the output end of the first switch control circuit module; When the output end of the first switch control circuit module is closed, the power supply is turned on; When the output end of the first switch control circuit module is disconnected, the power supply is cut off.
6. The method according to claim 3, characterized in that The method further comprises: Acquire a second switch control circuit module; wherein the second switch control circuit module comprises: a signal input terminal and a signal output terminal; The control signal output terminal of the POC IP core is connected to the standard cell module, including: The control signal output end of the POC IP core is connected to the signal input end of the second switch control circuit module; the signal output end of the second switch control circuit module is connected to the cell signal output end of the standard cell module, so that the second switch control circuit module generates a third control signal according to the first control signal, and uses the third control signal to control the connection or disconnection of the output of the standard cell module, so that when the output of the standard cell module is disconnected, the standard cell module has no output; and when the output of the standard cell module is connected, the standard cell module outputs normally.
7. The method according to claim 6, characterized in that The step of generating a third control signal according to the first control signal, and using the third control signal to control the connection or disconnection of the output of the standard cell module comprises: When the first control signal is at a high level, the third control signal is a closing signal, and the closing signal connects the cell signal output terminal of the standard cell module; When the first control signal is at a low level, the third control signal is a disconnection signal, and the disconnection signal cuts off the cell signal output end of the standard cell module; When the cell signal output terminal of the standard cell module is turned on, the output of the standard cell module is turned on; When the cell signal output terminal of the standard cell module is cut off, the output of the standard cell module is cut off.
8. The method according to claim 3, characterized in that The standard cell module further includes: a control signal input terminal; The control signal output end of the POC IP core is connected to the standard cell module, including: the control signal output end of the POC IP core is connected to the control signal input end of the standard cell module, so that the standard cell module controls whether it has output according to the first control signal.
9. The method according to claim 8, characterized in that The standard unit module controls whether it has output according to the first control signal, including: When the first control signal is at a high level, the output of the standard cell module is turned on, and the standard cell module outputs normally; When the first control signal is at a low level, the output of the standard cell module is cut off, and the standard cell module has no output.
10. The method according to claim 3, characterized in that: The POC IP core is a default POC IP core; the default POC IP core is non-configurable, including: the preset first power-on threshold voltage and the preset second power-on threshold voltage are both preset fixed values; The default POC IP core includes: a connected POC IP core circuit module and a default threshold voltage module, wherein the default threshold voltage module includes MOS modules corresponding to the preset first power-on threshold voltage and the preset second power-on threshold voltage.
11. The method according to claim 10, characterized in that The method further comprises: Acquire a threshold voltage adjustable power supply monitoring circuit module and a third switch control circuit module; the threshold voltage adjustable power supply monitoring circuit module includes: a first power supply input terminal, a second power supply input terminal and a control signal output terminal; the third switch control circuit module includes: a control signal input terminal and a power enable signal output terminal; Connecting the first power input terminal of the threshold voltage adjustable power monitoring circuit module to the first power supply; connecting the second power input terminal of the threshold voltage adjustable power monitoring circuit module to the second power supply; connecting the control signal output terminal of the threshold voltage adjustable power monitoring circuit module to the control signal input terminal of the third switch control circuit module; connecting the power enable signal output terminal of the third switch control circuit module to the first power input terminal and the second power input terminal of the POC IP core respectively; Wherein, the threshold voltage adjustable power supply monitoring circuit module includes a first threshold voltage adjustable power supply monitoring circuit module, a second threshold voltage adjustable power supply monitoring circuit module and a fourth control signal generating module; the first threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply, the second threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply, the first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module are respectively connected to the fourth control signal generating module, and the fourth control signal generating module is connected to the control signal input end of the third switch control circuit module, so that when the first threshold voltage adjustable power supply monitoring circuit module receives a first external control signal, the first power-on threshold voltage that can be dynamically adjusted is determined according to the first external control signal; and when the second threshold voltage adjustable power supply monitoring circuit module receives a second external control signal, the second power-on threshold voltage that can be dynamically adjusted is determined according to the second external control signal. The first threshold voltage adjustable power supply monitoring circuit module compares the current voltage value of the first power supply with the dynamically adjustable first power-on threshold voltage, and when the current voltage value of the first power supply is not lower than the dynamically adjustable first power-on threshold voltage, the voltage state of the first power supply is the power-on state; the second threshold voltage adjustable power supply monitoring circuit module compares the current voltage value of the second power supply with the dynamically adjustable second power-on threshold voltage, and when the current voltage value of the second power supply is not lower than the dynamically adjustable second power-on threshold voltage, the voltage state of the second power supply is the power-on state; the fourth control signal generating module generates a fourth control signal according to the voltage state of the first power supply and the voltage state of the second power supply, including: when the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the fourth control signal is a high level, otherwise, the fourth control signal is a low level; The fourth control signal generating module outputs the fourth control signal to the control signal input terminal of the third switch control circuit module; the third switch control circuit module controls the connection or disconnection of the first power supply and the second power supply for supplying power to the POC IP core according to the fourth control signal, including: when the fourth control signal is at a high level, the first power supply and the second power supply for supplying power to the POC IP core are disconnected; when the fourth control signal is at a low level, the first power supply and the second power supply for supplying power to the POC IP core are connected; When the first power supply and the second power supply for supplying power to the POC IP core are cut off, the first control signal is at a low level; when the first power supply and the second power supply for supplying power to the POC IP core are connected, the first control signal is at a high level.
12. The method according to claim 3, characterized in that The POC IP core is a customized POC IP core; the customized POC IP core is configurable, including: the preset first power-on threshold voltage is a first power-on threshold voltage input by a user, and the preset second power-on threshold voltage is a second power-on threshold voltage input by a user; The customized EDA tool provides a GUI interface, the GUI interface includes a plurality of customized input boxes, and the obtaining of the POCIP core includes: Obtain the POC core circuit module and the POC input threshold voltage adjustable module; The POC input threshold voltage input by the user is obtained through the multiple customized input boxes, and the POC input threshold voltage input by the user includes: a first power-on threshold voltage corresponding to the first power supply and a second power-on threshold voltage corresponding to the second power supply; the customized input box includes: an expected first power-on threshold voltage input box and an expected second power-on threshold voltage input box; the expected first power-on threshold voltage input box is used to obtain the first power-on threshold voltage corresponding to the first power supply input by the user, and the expected second power-on threshold voltage input box is used to obtain the second power-on threshold voltage corresponding to the second power supply input by the user; The POC input threshold voltage adjustable module is configured according to the POC input threshold voltage input by the user, the POC input threshold voltage adjustable module includes a MOS module group, and the POC input threshold voltage adjustable module is configured according to the POC input threshold voltage, including: selecting a number of MOS modules corresponding to the POC input threshold voltage from the MOS module group and connecting the selected MOS modules to generate a configured POC input threshold voltage adjustable module, wherein the configured POC input threshold voltage adjustable module is used to generate a reference voltage of the POC core circuit module; Connecting the POC core circuit module and the configured POC input threshold voltage adjustable module to generate the customized POC IP core; Wherein, the POC core circuit module includes: a POC reference voltage input port, a POC control signal output port, and the configured POC input threshold voltage adjustable module includes: a POC reference voltage output port; the POC core circuit module and the configured POC input threshold voltage adjustable module also include: a power supply voltage port and a ground port; The power supply voltage ports of the POC core circuit module and the configured POC input threshold voltage adjustable module are both connected to the first power supply and the second power supply, and the grounding ports of the POC core circuit module and the configured POC input threshold voltage adjustable module are both grounded; The POC reference voltage output port of the configured POC input threshold voltage adjustable module is connected to the POC reference voltage input port of the POC core circuit module, and is used to provide a reference voltage to the POC core circuit module; the POC reference voltage output port of the configured POC input threshold voltage adjustable module is connected to a MOS module selected from the MOS module group.
13. The method according to claim 1, characterized in that The method further comprises: The custom EDA tool generates a layout of the custom cell with power-on control based on the custom cell with power-on control.
14. The method according to claim 1, characterized in that Before obtaining the POC IP core and the standard cell module, the method further includes: Acquiring power-on control configuration parameters input by a user through the customized EDA tool; It is determined whether the power-on control configuration parameter indicates to generate a custom unit with power-on control; if so, an operation of acquiring a POC IP core and a standard unit module is performed.
15. A device for generating a customized unit with power-on control, characterized in that: The device is implemented based on a customized EDA tool, and the device includes: An acquisition module is configured to acquire a POC IP core and a standard cell module through the custom EDA tool; wherein the POC IP core includes: a first power input terminal, a second power input terminal and a control signal output terminal; and the standard cell module includes: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a cell signal output terminal; A connection module configured to connect the POC IP core and the standard cell module through the custom EDA tool to generate a custom cell with power-on control; The first logic control signal input terminal of the standard cell module is connected to a first power circuit module powered by a first power supply, so that the standard cell module obtains a first logic control signal through the first power circuit module; the second logic control signal input terminal of the standard cell module is connected to a second power circuit module powered by a second power supply, so that the standard cell module obtains a second logic control signal through the second power circuit module; The power input terminal of the standard unit module is connected to the power supply; The first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply, so that the POC IP core obtains the voltage status of the first power supply and the second power supply, and generates a first control signal according to the voltage status of the first power supply and the second power supply; The control signal output terminal of the POC IP core is connected to the standard cell module, so that the POC IP core outputs the first control signal to the standard cell module through the control signal output terminal, so as to control whether the standard cell module outputs normally through the first control signal.
16. The device according to claim 15, characterized in that The device also includes: The layout generation module is configured to generate a layout of the custom unit with power-on control based on the custom unit with power-on control through the custom EDA tool.
17. The device according to claim 15, characterized in that The device also includes: The power-on control configuration parameter acquisition module is configured to acquire the power-on control configuration parameters input by the user through the customized EDA tool; determine whether the power-on control configuration parameters indicate the generation of a customized unit with power-on control; if so, execute the operation of acquiring the POC IP core and the standard unit module.
18. A custom unit with power-on control, characterized in that: The custom unit includes: a POC IP core and a standard unit module; wherein the POC IP core includes: a first power input terminal, a second power input terminal and a control signal output terminal; the standard unit module includes: a first logic control signal input terminal, a second logic control signal input terminal, a power input terminal and a unit signal output terminal; The power input terminal of the standard cell module is connected to the power supply; the first logic control signal input terminal of the standard cell module is connected to the first power circuit module powered by the first power supply, and the second logic control signal input terminal of the standard cell module is connected to the second power circuit module powered by the second power supply, and the standard cell module is configured to obtain a first logic control signal through the first power circuit module, and obtain a second logic control signal through the second power circuit module; The first power input terminal of the POC IP core is connected to the first power supply, and the second power input terminal of the POC IP core is connected to the second power supply. The POC IP core is configured to obtain the voltage status of the first power supply and the second power supply, and generate a first control signal according to the voltage status of the first power supply and the second power supply; The control signal output end of the POC IP core is connected to the standard cell module, and the POC IP core is also configured to output the first control signal to the standard cell module through the control signal output end, so as to control whether the standard cell module outputs normally through the first control signal.
19. The customization unit according to claim 18, characterized in that The obtaining the voltage status of the first power supply and the second power supply includes: Comparing the current voltage value of the first power supply with a preset first power-on threshold voltage, when the current voltage value of the first power supply is not lower than the preset first power-on threshold voltage, the voltage state of the first power supply is a power-on state; The current voltage value of the second power supply is compared with a preset second power-on threshold voltage. When the current voltage value of the second power supply is not lower than the preset second power-on threshold voltage, the voltage state of the second power supply is a power-on state.
20. The customization unit according to claim 19, characterized in that The generating a first control signal according to the voltage states of the first power supply and the second power supply comprises: When the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the first control signal is at a high level; otherwise, the first control signal is at a low level.
21. The customization unit according to claim 20, characterized in that The customization unit further includes: a first switch control circuit module; wherein the first switch control circuit module includes: a first input terminal, a second input terminal, and an output terminal; The power input end of the standard cell module is connected to the power supply, and the control signal output end of the POC IP core is connected to the standard cell module, including: the power input end of the standard cell module is connected to the power supply through the first switch control circuit module, and the control signal output end of the POC IP core is connected to the standard cell module through the first switch control circuit module, including: the power supply is connected to the first input end of the first switch control circuit module, the control signal output end of the POC IP core is connected to the second input end of the first switch control circuit module, and the output end of the first switch control circuit module is connected to the power input end of the standard cell module; The first switch control circuit module is configured to generate a second control signal according to the first control signal, and use the second control signal to control the connection or disconnection of the power supply; When the power supply is cut off, the standard cell module stops processing the first logic control signal and the second logic control signal so that the standard cell module has no output; when the power supply is turned on, the standard cell module resumes processing the first logic control signal and the second logic control signal so that the standard cell module outputs normally.
22. The customization unit according to claim 21, characterized in that The step of generating a second control signal according to the first control signal, and using the second control signal to control the power supply to be turned on or off includes: When the first control signal is at a high level, the second control signal is a closing signal, and the closing signal closes the output end of the first switch control circuit module; When the first control signal is at a low level, the second control signal is a disconnection signal, and the disconnection signal disconnects the output end of the first switch control circuit module; When the output end of the first switch control circuit module is closed, the power supply is turned on; When the output end of the first switch control circuit module is disconnected, the power supply is cut off.
23. The customization unit according to claim 20, characterized in that The customization unit further includes: a second switch control circuit module; wherein the second switch control circuit module includes: a signal input terminal and a signal output terminal; The control signal output terminal of the POC IP core is connected to the standard cell module, including: The control signal output terminal of the POC IP core is connected to the signal input terminal of the second switch control circuit module; the signal output terminal of the second switch control circuit module is connected to the cell signal output terminal of the standard cell module; The second switch control circuit module is configured to generate a third control signal according to the first control signal, and use the third control signal to control the connection or disconnection of the output of the standard cell module; When the output of the standard cell module is cut off, the standard cell module has no output; When the output of the standard cell module is turned on, the standard cell module outputs normally.
24. The customization unit according to claim 23, characterized in that The step of generating a third control signal according to the first control signal, and using the third control signal to control the on or off of the output of the standard cell module comprises: When the first control signal is at a high level, the third control signal is a closing signal, and the closing signal connects the cell signal output terminal of the standard cell module; When the first control signal is at a low level, the third control signal is a disconnection signal, and the disconnection signal cuts off the cell signal output end of the standard cell module; When the cell signal output terminal of the standard cell module is turned on, the output of the standard cell module is turned on; When the cell signal output terminal of the standard cell module is cut off, the output of the standard cell module is cut off.
25. The customization unit according to claim 20, characterized in that The standard cell module further includes: a control signal input terminal; The control signal output end of the POC IP core is connected to the standard cell module, including: the control signal output end of the POC IP core is connected to the control signal input end of the standard cell module; The standard cell module is further configured to control whether it has output according to the first control signal.
26. The customization unit according to claim 25, characterized in that The controlling of outputting the device according to the first control signal comprises: When the first control signal is at a high level, the output of the standard cell module is turned on, and the standard cell module outputs normally; When the first control signal is at a low level, the output of the standard cell module is cut off, and the standard cell module has no output.
27. The customization unit according to claim 20, characterized in that The POC IP core is a default POC IP core; the default POC IP core is non-configurable, including: the preset first power-on threshold voltage and the preset second power-on threshold voltage are both preset fixed values; The default POC IP core includes: a connected POC IP core circuit module and a default threshold voltage module, wherein the default threshold voltage module includes MOS modules corresponding to the preset first power-on threshold voltage and the preset second power-on threshold voltage.
28. The customization unit according to claim 27, characterized in that The customization unit further includes: a threshold voltage adjustable power supply monitoring circuit module and a third switch control circuit module; the threshold voltage adjustable power supply monitoring circuit module includes: a first power supply input terminal, a second power supply input terminal and a control signal output terminal; the third switch control circuit module includes: a control signal input terminal and a power supply enable signal output terminal; The first power input terminal of the threshold voltage adjustable power monitoring circuit module is connected to the first power supply; the second power input terminal of the threshold voltage adjustable power monitoring circuit module is connected to the second power supply; the control signal output terminal of the threshold voltage adjustable power monitoring circuit module is connected to the control signal input terminal of the third switch control circuit module; the power enable signal output terminal of the third switch control circuit module is respectively connected to the first power input terminal and the second power input terminal of the POC IP core; Wherein, the threshold voltage adjustable power supply monitoring circuit module includes a first threshold voltage adjustable power supply monitoring circuit module, a second threshold voltage adjustable power supply monitoring circuit module and a fourth control signal generating module; the first threshold voltage adjustable power supply monitoring circuit module is connected to the first power supply, the second threshold voltage adjustable power supply monitoring circuit module is connected to the second power supply, the first threshold voltage adjustable power supply monitoring circuit module and the second threshold voltage adjustable power supply monitoring circuit module are respectively connected to the fourth control signal generating module, and the fourth control signal generating module is connected to the control signal input end of the third switch control circuit module; The first threshold voltage adjustable power supply monitoring circuit module is configured to receive a first external control signal and determine a dynamically adjustable first power-on threshold voltage according to the first external control signal; The second threshold voltage adjustable power supply monitoring circuit module is configured to receive a second external control signal and determine a dynamically adjustable second power-on threshold voltage according to the second external control signal; The first threshold voltage adjustable power supply monitoring circuit module is further configured to compare the current voltage value of the first power supply with the dynamically adjustable first power-on threshold voltage, and when the current voltage value of the first power supply is not lower than the dynamically adjustable first power-on threshold voltage, the voltage state of the first power supply is a power-on state; The second threshold voltage adjustable power supply monitoring circuit module is further configured to compare the current voltage value of the second power supply with the dynamically adjustable second power-on threshold voltage, and when the current voltage value of the second power supply is not lower than the dynamically adjustable second power-on threshold voltage, the voltage state of the second power supply is a power-on state; The fourth control signal generating module is configured to generate a fourth control signal according to the voltage state of the first power supply and the voltage state of the second power supply, including: when the voltage state of the first power supply and the voltage state of the second power supply are both in the power-on state, the fourth control signal is a high level, otherwise, the fourth control signal is a low level; The fourth control signal generating module is further configured to output the fourth control signal to the control signal input terminal of the third switch control circuit module; The third switch control circuit module is configured to control the connection or disconnection of the first power supply and the second power supply for supplying power to the POC IP core according to the fourth control signal, including: when the fourth control signal is at a high level, the first power supply and the second power supply for supplying power to the POC IP core are disconnected; when the fourth control signal is at a low level, the first power supply and the second power supply for supplying power to the POC IP core are connected; When the first power supply and the second power supply for supplying power to the POC IP core are cut off, the first control signal is at a low level; when the first power supply and the second power supply for supplying power to the POC IP core are connected, the first control signal is at a high level.
29. The customization unit according to claim 20, characterized in that The POC IP core is a customized POC IP core; the customized POC IP core is configurable, including: the preset first power-on threshold voltage is a first power-on threshold voltage input by a user, and the preset second power-on threshold voltage is a second power-on threshold voltage input by a user; The customized POC IP core includes a connected POC core circuit module and a configured POC input threshold voltage adjustable module; The configured POC input threshold voltage adjustable module includes a MOS module selected from the MOS module group of the POC input threshold voltage adjustable module according to the first power-on threshold voltage input by the user and the second power-on threshold voltage input by the user.
30. A chip, characterized in that: The chip comprises a customized unit with power-on control as described in any one of claims 18 to 29, or is manufactured using a customized unit with power-on control generated by the method described in any one of claims 1 to 14.
31. An electronic device, characterized in that: Comprising the chip as claimed in claim 30.
32. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 14 is implemented.
33. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.