CN115061789B - Transient current control method and related device - Google Patents
Transient current control method and related device Download PDFInfo
- Publication number
- CN115061789B CN115061789B CN202210648644.6A CN202210648644A CN115061789B CN 115061789 B CN115061789 B CN 115061789B CN 202210648644 A CN202210648644 A CN 202210648644A CN 115061789 B CN115061789 B CN 115061789B
- Authority
- CN
- China
- Prior art keywords
- data processing
- time interval
- processing unit
- call
- processing units
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000001052 transient effect Effects 0.000 title claims abstract description 105
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 279
- 238000013468 resource allocation Methods 0.000 claims description 20
- 230000002035 prolonged effect Effects 0.000 claims description 19
- 230000000903 blocking effect Effects 0.000 claims description 13
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000013461 design Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000020169 heat generation Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Exchange Systems With Centralized Control (AREA)
Abstract
The embodiment of the application provides a transient current control method and a related device, wherein the transient current control method comprises the following steps: receiving a data processing unit call request; determining an extended calling time interval between each data processing unit which needs to be called currently according to the data processing unit calling request, wherein the extended calling time interval is larger than a standard calling time interval; and sending a call request to each data processing unit in turn according to the call prolonging time interval. The embodiment of the application can ensure the performance of the integrated circuit while realizing the control of the transient current.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a transient current control method and a related device.
Background
With the development of complex semiconductor technology, the research and development of integrated circuits are gradually advanced, and the demands of very large scale integrated circuits are also increasing.
The very large number of transistors included in the very large scale integrated circuit causes the power consumption of the very large scale integrated circuit to be increased, wherein the excessive load in the very large scale integrated circuit is overloaded and operated by the transient current (DI/DT) to cause the problems of loss of the load, such as heat generation, etc., the excessive transient current also causes the instantaneous drop of the supply voltage, and the excessively low supply voltage causes the functional error of the very large scale integrated circuit to bring serious consequences.
To this end, in General Purpose Graphics Processor (GPGPU) designs, methods of reducing input frequency are generally used to reduce transient currents; or hardware equipment is additionally arranged when the whole ultra-large scale integrated circuit is designed so as to control transient current to stabilize the normal operation of the whole load.
However, the method of using frequency down-conversion not only affects the performance of the very large scale integrated circuit, but also increases the control requirement for frequency; the hardware equipment is added, so that the stability of the circuit current can be affected due to the increase of devices, and the difficulty of sealing and testing can be increased.
Therefore, how to control the transient current and ensure the performance of the integrated circuit is a technical problem to be solved.
Disclosure of Invention
The technical problem solved by the embodiment of the application is how to ensure the performance of the integrated circuit while realizing the control of transient current.
In order to solve the above problems, an embodiment of the present application provides a transient current control method and a related device, including:
in a first aspect, an embodiment of the present application provides a transient current control method, which is applicable to a resource allocation module of an integrated circuit, and the method includes:
receiving a data processing unit call request;
determining an extended calling time interval between each data processing unit which needs to be called currently according to the data processing unit calling request, wherein the extended calling time interval is larger than a standard calling time interval;
and sending a call request to each data processing unit in turn according to the call prolonging time interval.
In a second aspect, embodiments of the present application provide a transient current control apparatus, the apparatus including:
the receiving module is suitable for receiving a data processing unit call request;
the time interval determining module is suitable for determining the prolonged calling time interval between the data processing units which are required to be called currently according to the data processing unit calling request, and the prolonged calling time interval is larger than the standard calling time interval;
and the sending module is suitable for sequentially sending calling requests to the data processing units according to the prolonged calling time interval.
In a third aspect, embodiments of the present application further provide an integrated circuit to implement the transient current control method according to the first aspect.
In a fourth aspect, embodiments of the present application further provide an electronic device including an integrated circuit as described in the fourth aspect.
Compared with the prior art, the technical scheme of the embodiment of the application has the following advantages:
according to the transient current control method provided by the embodiment of the application, the resource allocation module receives the data processing unit call request, determines the call time of each data processing unit required to be called in the data processing unit call request, and completes the call of the data processing units one by prolonging the call time of the intervals between each data processing unit. Therefore, the probability of staggering the loading starting time of each data processing unit to be called can be improved, the possibility of loading and starting other data processing units simultaneously in the period from starting to steady working state of the data processing unit being called is reduced, the occurrence of the condition that transient current is instantaneously increased to damage the performance of an integrated circuit chip when a plurality of data processing units are simultaneously started is reduced, the loss of load is reduced, the performance of internal devices of the integrated circuit is improved, and the service life of the integrated circuit is prolonged.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of the internal basic architecture of a GPGPU.
FIG. 2 is a schematic diagram of the data processing unit of the GPGPU in relation to time when loading tasks.
FIG. 3 is a schematic diagram of the change of the basic transient current when the data processing unit loads a task.
Fig. 4 is a flowchart of a transient current control method according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a relationship between a data processing unit and time when loading tasks in the transient current control method according to the embodiment of the present application.
Fig. 6 is a schematic diagram illustrating a transient current change when a data processing unit loads a task according to the transient current control method provided in the embodiment of the present application.
Fig. 7 is another flowchart of a transient current control method according to an embodiment of the present application.
Fig. 8 is a flowchart of a transient current control method according to an embodiment of the present application.
Fig. 9 is an alternative structural block diagram of a transient current control device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
FIG. 1 illustrates an internal infrastructure schematic diagram of a GPGPU, as shown in FIG. 1, which may include: a resource allocation module 01 and a data processing unit 02.
In very large scale integrated circuits, particularly in General Purpose Graphics Processors (GPGPU), data processing unit (DU) 02 is the basic module that builds the entire GPGPU, being the smallest independent functional unit.
The resource allocation module 01 is responsible for allocating the computational tasks to the data processing unit 02. The data processing unit 02 completes the processes of executing the operation tasks such as fetching, decoding, executing, writing back and the like according to the operation tasks distributed by the resource distribution module 01.
The computing task allocated by the resource allocation module 01 comes from a computing task request sent by a processing program, when the processing program finds that the integrated circuit needs to perform the computing task, the computing task request is sent to the resource allocation module 01, and the resource allocation module 01 allocates the computing task to the data processing unit 02 according to the received computing task request.
When the data processing unit 02 receives an operation task, it gradually starts for a predetermined time (window period) to execute the operation task.
It is easy to understand that, during the window period, the data processing units 02 are started to generate larger transient current, and the loss caused by the transient current occupies most of the GPGPU power consumption, when a plurality of data processing units 02 perform processing operation tasks simultaneously, two or more data processing units 02 are started during one window period, that is, the window periods of different data processing units 02 may overlap, the window periods of the data processing units 02 overlap to cause the transient current to be further increased, which not only greatly affects the GPGPU power consumption, but also causes the functional errors of the ultra-large scale integrated circuit, thereby affecting the performance of the GPGPU chip.
The window period represents a time interval between an initial start-up time of the data processing unit 02 and a running stability time. A data processing unit 02 is triggered to start and gradually run to steady state by the operation task during a window period.
Specifically, referring to fig. 2, fig. 2 is a schematic diagram illustrating a relationship between a data processing unit of a GPGPU and time when loading tasks.
For convenience of explanation of the operation of only a part of the data processing units DU is shown in fig. 2 for the specific case of each data processing unit DU when loading tasks.
As shown in the figure, the DU0 receives the operation task allocated by the resource allocation module 02 at time 5, and the DU0 starts to operate gradually in the window period until the time 9 is full-load operation and then operates stably according to the operation task DU0 being triggered and started. After the time interval T after the DU0 is triggered to start, the DU1 is allocated to the operation task at time 6 to start the start-up operation until reaching the full-load stable operation at time 10. The same DU2 and DU3 respectively run gradually until reaching full load operation and run stably in the time period of the window period after receiving the allocated operation task.
It can be seen that, during the time interval of one window period, that is, the period from the trigger time 5 of the DU0 to the time 9 of the smooth operation of the DU0 in fig. 2, four data processing units 02 are simultaneously operated, including: the time intervals of the window periods of the DU0, the DU1, the DU2 and the DU3 include transient currents generated when the four data processing units 02 operate simultaneously, and since the time intervals between the different data processing units 02 are very small in the total time range required by all the data processing units 02 to perform the operation tasks, the operation tasks performed by the data processing units 02 can be regarded as being performed simultaneously, and the accumulation of the transient currents generated by the data processing units 02 can be regarded as the transient currents generated at the same time, so that the transient currents at a certain moment can be greatly increased.
In particular, referring to fig. 3, fig. 3 schematically illustrates a change of a basic transient current when a data processing unit loads a task.
As shown in the figure, when the integrated circuit needs to perform task operation, the resource allocation module 01 allocates an operation task, the plurality of data processing units 02 are triggered and started by the operation task, and a huge transient current change is generated at a time 1340, where the transient current is the accumulation of transient currents of the loading task when the plurality of data processing units 02 perform the operation task.
Excessive transient currents can cause overload operation of a plurality of loads on the integrated circuit, so that loss of the loads, such as overheating of the internal environment of the integrated circuit, and the like; on the other hand, the transient current is too large to cause the power supply voltage to drop instantaneously, if the voltage is lower than some threshold voltage, the function errors of the internal devices of the integrated circuit are caused, and serious consequences are caused, so that the control of the transient current is a very critical issue in the integrated circuit.
In order to solve the foregoing problems, embodiments of the present application provide a transient current control method, which can ensure performance of an integrated circuit while realizing control of transient current.
For illustrating implementation of the embodiments of the present application, please refer to fig. 4-6, fig. 4 shows a flowchart of a transient current control method provided by the embodiments of the present application; FIG. 5 is a schematic diagram illustrating a relationship between a data processing unit and time when loading tasks in a transient current control method according to an embodiment of the present application;
fig. 6 schematically illustrates a transient current change diagram when a data processing unit loads a task in the transient current control method according to the embodiment of the present application.
As shown in fig. 4, the transient current control method provided in the embodiment of the present application is applicable to a resource allocation module of an integrated circuit, and may include the following steps:
in step S10, a data processing unit call request is received.
It will be readily appreciated that the data processing unit call request is sent by the handler through the processor.
When a plurality of data processing unit call requests are received one by one, the resource allocation module is described based on the currently received data processing unit call requests.
In step S11, according to the data processing unit call request, an extended call time interval between the data processing units that need to be called currently is determined, where the extended call time interval is greater than a standard call time interval.
The data processing units 02 to be called are determined based on the data processing unit call request, and it is easy to understand that one data processing unit call request needs to call a plurality of data processing units 02 according to the operation task requirements to be completed.
Since each data processing unit 02 needs to be loaded in sequence to complete the call, there is a call time interval between each data processing unit 02, and therefore, the call time interval needs to be determined, and in order to control the transient current, the call time interval is an extended call time interval.
The standard calling time interval is a time interval triggered by the adjacent data processing units 02 when each data processing unit 02 loads and executes an operation task one by one, which is determined when the integrated circuit design is performed.
The extended call time interval is greater than the standard call time interval, and may be specifically determined as an integer multiple of the standard call time interval as required, for example: 2-fold, 3-fold, etc.
In this way, an extended call interval can be obtained with only a very simple operation.
In a specific embodiment, the extended calling time interval includes a preset extended calling time interval, that is, an extended calling time interval determined in advance, and the extended calling time interval may be preset as long as it is determined that extension of the calling time interval is required, so that determination of the extended calling time interval is rapidly achieved.
When the method is preset, the preset prolonged calling time interval can be obtained by increasing the integral multiple of the standard calling time interval according to the standard calling time interval, so that only one data processing unit 02 can be triggered in one prolonged calling time interval, the rising trend of transient current is slowed down, and the normal operation of internal devices of the integrated circuit is ensured.
Of course, in other specific embodiments, the extended calling time interval further includes a non-preset extended calling time interval, and is determined temporarily according to needs, for example, different extended calling time intervals can be determined according to different requests, for example, a software program sets itself according to the number of received data processing unit call requests.
In step S12, according to the extended call time interval, a call request is sequentially sent to each data processing unit.
The extended call time interval is further extended on the basis of the standard call time interval, and the original trigger time of the next data processing unit 02 is performed later, i.e. when it is ensured that the next data processing unit (DU 1 shown in fig. 5) is triggered to start, the previous data processing unit (DU 0 shown in fig. 5) has substantially reached a stable operation within the extended call time interval, so that only one or a smaller number of data processing units 02 are present to perform load start at the same time.
When the extended call time interval is equal to or greater than the load start time of one data processing unit 02, only the load of one data processing unit 02 is started in the extended call time interval; when the extended call time interval is greater than the standard call time interval but less than the load start time of one data processing unit 02, the number of data processing units 02 that are simultaneously loaded and started in the extended call time interval is greater than 1 but less than the number when the standard call time interval is used.
By staggering the triggering operation time of each data processing unit 02 to each other so that only a small number of data processing units 02 being started are included in one extended call time interval, the transient current generated in one extended call time interval is generated only for a small number of data processing units 02, each data processing unit 02 is executed successively according to the extended call time interval, and the change trend of the transient current is slow and does not change greatly.
As shown in fig. 5, ST is the extended call time interval, and similarly, the extended call time interval has a very small duty ratio in the total time range required when the plurality of data processing units 02 are simultaneously operated.
Specifically, when the data processing units 02 work, since the ST time period is greater than the standard calling time interval, in one ST time period, the number of the data processing units 02 started by loading is smaller, the generated transient current is generated by fewer data processing units 02, and when a plurality of data processing units 02 need to be called for work, the situation that huge transient current is generated due to the fact that a plurality of data processing units 02 are simultaneously and interactively loaded and started in the same window period can be relieved, the power consumption is reduced, and meanwhile, the performance of an integrated circuit is ensured.
In an embodiment, please refer to fig. 6, fig. 6 is a schematic diagram illustrating a transient current change when a data processing unit loads a task according to the transient current control method provided in the embodiment of the present application.
As shown in the figure, in the case that the same data processing unit 02 executes an operation task, the time interval for starting the adjacent data processing units 02 is prolonged in the transient current control method provided in the embodiment of the present application, so that when the data processing units 02 are triggered and loaded by the operation task to start, the transient current generated in the transient current control method provided in the embodiment of the present application is slowly increased. In this way, when the plurality of data processing units 02 are triggered and started by the operation task, the condition of huge transient current generated by shorter time intervals is relieved, so that a stable working environment can be provided for loading and starting of each data processing unit 02 executing the operation task, and the data processing units 02 can work normally.
Therefore, according to the transient current control method provided by the embodiment of the application, the time interval when the data processing units 02 execute operation tasks is prolonged, the probability that loading starting times of all the data processing units to be called are staggered is improved, so that the possibility that other data processing units are simultaneously loaded and started in a period from starting to a stable working state of the calling data processing units is reduced, the occurrence of the condition that the performance of an integrated circuit chip is damaged due to the transient current is instantaneously increased when a plurality of data processing units are simultaneously started is reduced, the load loss is reduced, the performance of internal devices of the integrated circuit is improved, and the service life of the integrated circuit is prolonged.
For more convenient management of the start-up time of the data processing unit by the resource allocation module, in some embodiments, please refer to fig. 7, fig. 7 illustrates another flowchart of the transient current control method provided in the embodiment of the present application.
As shown in the figure, in order to determine the extended calling time interval, the transient current control method provided in the embodiment of the present application may further include the following steps:
in step S110, the number of data processing units currently required to be called is determined according to the data processing unit call request.
One data processing unit call request may call only one data processing unit DU to perform an operation task, or may call 2 or more data processing units 02 to perform an operation task, and thus, it is necessary to determine the number of data processing units 02 to be called based on the data processing unit call request first.
In step S111, it is determined whether the number of data processing units is greater than a predetermined number, and when the number of data processing units is greater than the predetermined number, step S112 is performed, otherwise step S113 is performed.
Judging whether the number of the data processing units 02 is larger than a preset number or not based on the determined number, if so, executing step S112 to extend the calling time interval between the data processing units and prevent the data processing units which are simultaneously in starting loading from being too many; otherwise, step S13 is performed to determine a standard call time interval between the respective data processing units.
The predetermined number is an allowable value of the number of data processing units 02 that are simultaneously in the boot loaded state.
Before determining the extension time interval, the data processing unit 02 to be called is judged, and the extension time interval is accurately set according to the judgment result, so that the call to the data processing unit 02 can be controlled more flexibly.
If the predetermined number is too small, so that the call time interval is also prolonged when only fewer data processing units need to be called, on the one hand, the control amount of the transient current is limited, and on the other hand, the starting time is also prolonged, so as to fully embody the control effect on the transient current, in a specific embodiment, the predetermined number may be at least 16, for example: 20, 80, etc., and when it is determined that the data processing unit call request needs to call less than the predetermined number of data processing units 02 according to the number of operation tasks, there is no need to make an extension of the call time interval.
In step S112, an extended call time interval between the respective data processing units is determined.
And when the number of the data processing units is larger than the preset number, determining that the calling time interval between the data processing units is an extended calling time interval.
Of course, when the call of each data processing unit is performed later, the call request is sent according to the extended call time interval.
In step S113, a standard call time interval between the respective data processing units is determined.
And when the number of the data processing units is larger than the preset number, determining that the calling time interval between the data processing units is a standard calling time interval.
Of course, when the call of each data processing unit is subsequently performed, a call request is sent according to the standard call time interval.
When the received call request of the data processing units is that the call request of the data processing units is smaller than or equal to the preset number of the data processing units 02, the situation that transient current is overlapped in an original window period does not occur, and at this time, the resource allocation module 02 can directly allocate operation tasks to the data processing units 02 without setting an extended call time interval.
When the received data processing unit call request is that the call number of the data processing units 02 is larger than the preset number, setting for prolonging the call time interval is carried out, and triggering starting time of two adjacent data processing units 02 is staggered.
Therefore, when a data processing unit call request needs a resource allocation module 01 to call a large number of data processing units 02, the transient current control method provided by the embodiment of the application is implemented, a transient current control mode is entered, the call time of each data processing unit 02 needing to be called is staggered, and the rise of transient current is slowed down. When only fewer data processing units 02 are needed, a calling request is directly sent to the data processing units 02 by the resource allocation module 01 according to the calling mode of the device, a transient current control mode is entered without a transient current control method provided by the embodiment of the application, and then the data processing units 02 are sent to the calling request. The sending of the call request can be controlled more flexibly.
In this way, when the transient current control is needed, the calling time interval is prolonged, so that unnecessary control is reduced while the control effect is ensured, and the data processing unit 02 is controlled to execute the operation task more flexibly.
Of course, in other embodiments, the transient current control method provided in the embodiments of the present application may be implemented no matter how many data processing units 02 are needed, and the transient current control mode is entered to implement scheduling of the data processing units, so that the judging time is saved and the transient current control can be implemented.
In some embodiments, in order to improve the control convenience and reduce the adjustment difficulty of the hardware structure, the delay blocking software may be used to determine the extended call time interval between the data processing units according to the call request of the data processing units.
The adjustment of the extension calling time interval is realized by utilizing a software program, the extension calling time interval is determined by the delay blocking software based on the calling request of the data processing unit, and then the calling request is sent to the data processing unit when the extension calling time interval is controlled at each interval, so that the setting of the extension calling time interval can be realized more conveniently and flexibly under the condition of not increasing hardware facilities.
Of course, in other embodiments, the hardware facilities of the integrated circuit may be changed, and hardware devices for delayed use may be added to provide an extended call time interval for the operation of the integrated circuit devices.
Therefore, enough time can be reserved, and the number of data processing units in a loading starting state is ensured to be small, so that impact caused by transient current is relieved, and normal operation of devices is protected.
In some embodiments, for the convenience of sending call requests to the data processing units according to the extended call time interval, please refer to fig. 8, fig. 8 is a flowchart illustrating a transient current control method call request sending step provided in the embodiment of the present application.
As shown in the figure, in the transient current control method provided in the embodiment of the present application, the step of sending the call request may include:
in step S120, the call request is sent to a previous data processing unit in the data processing units, and time interval timing is started, and the call request is stopped from being sent to a next data processing unit in the data processing units.
When the transmission of the call request of the previous data processing unit is completed, the transmission time of the call request of the next data processing unit needs to be determined, so that the time interval timing is started, and the transmission of the call request to the next data processing unit in each data processing unit also needs to be stopped.
In particular, the timing may be achieved by a timer already present in the resource allocation module.
In step S121, it is determined whether the time interval timer is equal to the extended calling time interval, and step S122 is performed if the determination result is yes, otherwise step S123 is performed.
In step S122, the call request is sent to a subsequent one of the data processing units, and step S124 is performed.
And when the time interval timing is equal to the prolonged calling time interval, sending the calling request to a later data processing unit in the data processing units.
In step S123, the call request is not transmitted to a subsequent one of the respective data processing units.
And when the time interval timing is not equal to the extended calling time interval, not sending the calling request to the next data processing unit in each data processing unit.
Of course, the waiting and judging are continued until the time interval timer is equal to the extended calling time interval, and step S122 is executed.
In step S124, it is determined whether or not the transmission of the call request of each data processing unit is completed, if yes, step S126 is executed, and if no, step S125 is executed.
In step S125, the latter data processing unit is taken as the new former data processing unit, and step S120 is executed.
In step S126, the process ends.
Therefore, the execution time of each data processing unit can be staggered conveniently, so that only a small number of data processing units are loaded and started within an extended calling time interval, the change trend of transient current is controlled to be slowly increased, and the performance of internal devices of an integrated circuit is protected.
To facilitate control of the sending of call requests to the data processing unit, in one embodiment, call request send registers may be utilized:
for this reason, starting the time interval counting, stopping the sending of the call request to the following one of the data processing units may be achieved by setting the state of the call request sending register to a blocking state, and when the time interval counting is equal to the extended call time interval, sending of the call request to the following one of the data processing units may be achieved by setting the state of the call request sending register to a non-blocking state.
Therefore, the successive sending of the call request of the data processing unit is realized by setting the state of the call request sending register, the design of the internal circuit structure of the integrated circuit is not affected, the allocation of the operation tasks of the resource allocation module 01 can be assisted, and the performance of the internal devices of the integrated circuit is ensured.
In order to solve the foregoing problem, the embodiment of the present application further provides a transient current control device, which may be considered as a functional module required to implement the transient current control method provided in the embodiment of the present application. The apparatus content described below may be referred to in correspondence with the method content described above.
In an alternative implementation, fig. 9 shows an alternative structural block diagram of a transient current control device provided in an embodiment of the present application.
As shown in fig. 9, the transient current control apparatus may include:
a receiving module 900 adapted to receive a data processing unit call request;
the time interval determining module 901 is adapted to determine an extended calling time interval between each data processing unit currently required to be called according to the data processing unit calling request, wherein the extended calling time interval is greater than a standard calling time interval;
and a sending module 902, adapted to send call requests to each data processing unit in turn according to the extended call time interval.
The method can improve the probability of staggering the loading starting time of each data processing unit to be called so as to reduce the possibility of loading and starting other data processing units simultaneously in the period from starting to steady working state of the data processing unit being called, thereby reducing the occurrence of the condition that transient current is instantaneously increased to damage the performance of an integrated circuit chip when a plurality of data processing units are simultaneously started, reducing the loss of load, improving the performance of internal devices of the integrated circuit and prolonging the service life of the integrated circuit.
In one embodiment, the time interval determining module 901 is adapted to determine, according to the data processing unit call request, an extended call time interval between each operation unit module that needs to be called currently, including:
determining the number of the data processing units to be called currently according to the data processing unit call request; when the number of data processing units is greater than a predetermined number, an extended call time interval between the respective data processing units is determined.
When the GPGPU performs calculation of the operation task, the data processing unit call request received by the resource allocation module 02 may include a request for calling only one data processing unit to perform the operation task, or may call 2 or more data processing units to perform the operation task, so that the data processing units to be called may be determined before determining the extended time interval, the extended time interval may be accurately set according to the determination result, and the call of the data processing units may be controlled more flexibly.
Wherein, the receiving mode of each data processing unit call request is simultaneous receiving.
Of course, in some embodiments, the extended call time interval obtained in the time interval determining module 901 may be a determination of an extended call time interval between the respective data processing units according to the data processing unit call request using delay blocking software.
The adjustment of the calling time interval is realized by using a software program, so that the setting of the calling time can be realized more flexibly under the condition of not increasing hardware facilities.
In other embodiments, the extended call time interval may further include a preset extended call time interval.
The extended calling time interval can be preset in advance by the software program according to the number of the received calling requests of the data processing units, and can be obtained by increasing the integral multiple of the standard calling time interval according to the standard calling time interval when preset, so that the operation task is gradually executed to a stable state by only 1 data processing unit in one extended calling time interval, the rising trend of transient current is slowed down, and the normal operation of internal devices of the integrated circuit is ensured.
It should be noted that the extended call interval may be an integer multiple of the standard call interval. Therefore, enough time can be reserved, and the other data processing unit is in a state of not being triggered to start in the period that the operation of the first data processing unit is stable, so that impact caused by transient current is relieved, and normal operation of devices is protected.
The transmitting module 902 is further adapted to:
sending the call request to the previous data processing unit in each data processing unit, and starting to time interval timing;
and when the time interval timing is equal to the extended calling time interval, sending the calling request to a next data processing unit in the data processing units, and taking the next data processing unit as a new previous data processing unit until the sending of the calling request of each data processing unit is completed.
Therefore, the execution time of each data processing unit can be staggered, so that only one data processing unit is allowed to execute until stable within an extended calling time interval, the change trend of transient current is controlled to be slowly increased, and the performance of devices in an integrated circuit is protected.
In order to implement the sending of the call request of each data processing unit according to the extended call time interval, in a specific embodiment, the sending module 902 is adapted to send the call request to each data processing unit in turn according to the extended call time interval, including:
stopping sending the call request to the next data processing unit in the data processing units by setting the state of the call request sending register to be a blocking state;
and when the time interval timing is equal to the prolonged calling time interval, sending the calling request to the next data processing unit in each data processing unit by setting the state of the calling request sending register to be a non-blocking state.
Therefore, the successive sending of the call requests of the data processing unit is realized by setting the state of the register, the design of the internal circuit structure of the integrated circuit is not affected, the allocation of the operation tasks of the resource allocation module 01 can be assisted, and the performance of the internal devices of the integrated circuit is ensured.
The embodiment of the application also provides an integrated circuit for executing the transient current control method provided by the embodiment of the application.
The embodiment of the application also provides electronic equipment comprising the integrated circuit.
Although the embodiments of the present application are disclosed above, the present application is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention shall be defined by the appended claims.
Claims (18)
1. A method of transient current control, characterized by a resource allocation module adapted for an integrated circuit, comprising:
receiving a data processing unit call request;
determining an extended calling time interval among all the data processing units which need to be called currently according to the data processing unit calling request, wherein the extended calling time interval is larger than a standard calling time interval and smaller than the loading starting time of one data processing unit, and the standard calling time interval is determined when an integrated circuit design is carried out, and when all the data processing units are loaded one by one to execute operation tasks, the time interval triggered by the adjacent data processing units;
and sending a call request to each data processing unit in turn according to the call prolonging time interval.
2. The transient current control method of claim 1, wherein said step of determining an extended call time interval between individual data processing units from said data processing unit call request comprises:
determining the number of the data processing units to be called currently according to the data processing unit call request;
when the number of data processing units is greater than a predetermined number, an extended call time interval between the respective data processing units is determined.
3. The transient current control method of claim 1, wherein said step of determining an extended call time interval between individual data processing units from a data processing unit call request further comprises:
and determining the prolonged calling time interval between the data processing units according to the calling request of the data processing units by using delay blocking software.
4. The transient current control method of claim 2, wherein said predetermined number comprises at least 16.
5. The transient current control method of claim 1, wherein said extended call time interval comprises an integer multiple of said standard call time interval.
6. The transient current control method of claim 1, wherein the extended call time interval comprises a preset extended call time interval.
7. The transient current control method of claim 1, wherein said step of sequentially sending call requests to each of said data processing units according to said extended call time interval comprises:
sending the call request to a previous data processing unit in each data processing unit, starting to time interval timing, and stopping sending the call request to a next data processing unit in each data processing unit;
and when the time interval timing is equal to the extended calling time interval, sending the calling request to a next data processing unit in the data processing units, and taking the next data processing unit as a new previous data processing unit until the sending of the calling request of each data processing unit is completed.
8. The method of transient current control of claim 7, wherein said step of stopping sending said call request to a subsequent one of each of said data processing units comprises:
stopping sending the call request to the next data processing unit in the data processing units by setting the state of the call request sending register to be a blocking state;
the step of sending the call request to a subsequent one of the data processing units when the time interval timer is equal to the extended call time interval comprises:
and when the time interval timing is equal to the prolonged calling time interval, sending the calling request to the next data processing unit in each data processing unit by setting the state of the calling request sending register to be a non-blocking state.
9. A transient current control device, comprising:
the receiving module is suitable for receiving a data processing unit call request;
the time interval determining module is suitable for determining an extended calling time interval between each data processing unit which needs to be called currently according to the data processing unit calling request, wherein the extended calling time interval is larger than a standard calling time interval and smaller than the loading starting time of one data processing unit, and the standard calling time interval is determined when the integrated circuit design is carried out, and when each data processing unit loads one by one to execute an operation task, the time interval triggered by the adjacent data processing unit;
and the sending module is suitable for sequentially sending calling requests to the data processing units according to the prolonged calling time interval.
10. The transient current control device of claim 9, wherein the time interval determination module adapted to determine an extended call time interval between respective data processing units currently requiring a call based on the data processing unit call request comprises:
determining the number of the data processing units to be called currently according to the data processing unit call request;
when the number of data processing units is greater than a predetermined number, an extended call time interval between the respective data processing units is determined.
11. The transient current control device of claim 9, wherein the time interval determination module adapted to determine an extended call time interval between respective data processing units currently requiring a call based on the data processing unit call request comprises:
and determining the prolonged calling time interval between the data processing units according to the calling request of the data processing units by using delay blocking software.
12. The transient current control device of claim 10, wherein said predetermined number comprises at least 16.
13. The transient current control device of claim 9, wherein said extended call time interval comprises an integer multiple of said standard call time interval.
14. The transient current control device of claim 9, wherein the extended call time interval comprises a preset extended call time interval.
15. The transient current control device of claim 9, wherein said sending module is adapted to send call requests to each of said data processing units in turn according to said extended call time interval, comprising:
sending the call request to a previous data processing unit in each data processing unit, starting to time interval timing, and stopping sending the call request to a next data processing unit in each data processing unit;
and when the time interval timing is equal to the extended calling time interval, sending the calling request to a next data processing unit in the data processing units, and taking the next data processing unit as a new previous data processing unit until the sending of the calling request of each data processing unit is completed.
16. The transient current control device of claim 15, wherein said sending module adapted to send call requests to each of said data processing units in turn according to said extended call time interval comprises:
stopping sending the call request to the next data processing unit in the data processing units by setting the state of the call request sending register to be a blocking state;
and when the time interval timing is equal to the prolonged calling time interval, sending the calling request to the next data processing unit in each data processing unit by setting the state of the calling request sending register to be a non-blocking state.
17. An integrated circuit, characterized in that a transient current control method according to any of claims 1-8 is performed.
18. An electronic device comprising the integrated circuit of claim 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210648644.6A CN115061789B (en) | 2022-06-09 | 2022-06-09 | Transient current control method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210648644.6A CN115061789B (en) | 2022-06-09 | 2022-06-09 | Transient current control method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115061789A CN115061789A (en) | 2022-09-16 |
CN115061789B true CN115061789B (en) | 2024-02-09 |
Family
ID=83199639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210648644.6A Active CN115061789B (en) | 2022-06-09 | 2022-06-09 | Transient current control method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115061789B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929714A (en) * | 2012-10-19 | 2013-02-13 | 国电南京自动化股份有限公司 | uC/OS-II-based hardware task manager |
CN103645792A (en) * | 2013-11-30 | 2014-03-19 | 无锡中星微电子有限公司 | Power management unit |
CN107368172A (en) * | 2017-07-27 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of storage server powering method, apparatus and system |
CN108400587A (en) * | 2018-03-05 | 2018-08-14 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | A kind of load management method and system of the more electric systems of civil aircraft |
CN108963996A (en) * | 2018-07-24 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method and device reducing transient state inrush current |
CN109491485A (en) * | 2018-10-09 | 2019-03-19 | 郑州云海信息技术有限公司 | A kind of system and method for high-performance server accelerator card off-peak electrification |
CN110618742A (en) * | 2019-08-20 | 2019-12-27 | 苏州浪潮智能科技有限公司 | PDB board and working method thereof |
CN111290787A (en) * | 2019-06-19 | 2020-06-16 | 锐迪科(重庆)微电子科技有限公司 | Arithmetic device and arithmetic method |
CN113054835A (en) * | 2021-03-05 | 2021-06-29 | 山东英信计算机技术有限公司 | Delay starting method, system and related device of circuit module |
CN113534689A (en) * | 2020-04-13 | 2021-10-22 | 北京四维图新科技股份有限公司 | Delayed start control method and device |
CN114242138A (en) * | 2021-12-01 | 2022-03-25 | 海光信息技术股份有限公司 | Time delay controller, memory controller and time sequence control method |
CN114443137A (en) * | 2020-10-30 | 2022-05-06 | 中科寒武纪科技股份有限公司 | Integrated computing device, chip, board card, equipment and computing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11507310B2 (en) * | 2019-09-02 | 2022-11-22 | SK Hynix Inc. | Memory controller and operating method thereof |
-
2022
- 2022-06-09 CN CN202210648644.6A patent/CN115061789B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929714A (en) * | 2012-10-19 | 2013-02-13 | 国电南京自动化股份有限公司 | uC/OS-II-based hardware task manager |
CN103645792A (en) * | 2013-11-30 | 2014-03-19 | 无锡中星微电子有限公司 | Power management unit |
CN107368172A (en) * | 2017-07-27 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of storage server powering method, apparatus and system |
CN108400587A (en) * | 2018-03-05 | 2018-08-14 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | A kind of load management method and system of the more electric systems of civil aircraft |
CN108963996A (en) * | 2018-07-24 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method and device reducing transient state inrush current |
CN109491485A (en) * | 2018-10-09 | 2019-03-19 | 郑州云海信息技术有限公司 | A kind of system and method for high-performance server accelerator card off-peak electrification |
CN111290787A (en) * | 2019-06-19 | 2020-06-16 | 锐迪科(重庆)微电子科技有限公司 | Arithmetic device and arithmetic method |
CN110618742A (en) * | 2019-08-20 | 2019-12-27 | 苏州浪潮智能科技有限公司 | PDB board and working method thereof |
CN113534689A (en) * | 2020-04-13 | 2021-10-22 | 北京四维图新科技股份有限公司 | Delayed start control method and device |
CN114443137A (en) * | 2020-10-30 | 2022-05-06 | 中科寒武纪科技股份有限公司 | Integrated computing device, chip, board card, equipment and computing method |
CN113054835A (en) * | 2021-03-05 | 2021-06-29 | 山东英信计算机技术有限公司 | Delay starting method, system and related device of circuit module |
CN114242138A (en) * | 2021-12-01 | 2022-03-25 | 海光信息技术股份有限公司 | Time delay controller, memory controller and time sequence control method |
Non-Patent Citations (4)
Title |
---|
James Herr ; Alison Steer ; .浪涌抑制器保护电子产品免受高压瞬态影响.世界电子元器件.2007,(第12期),全文. * |
Jimena L. Bastos.A design paradigm for integrated protection of shipboard power systems.《Proceedings of the 2007 Summer Computer Simulation Conference》.2007,第1-10页. * |
总体电路瞬态浪涌抑制;梁君;杨友超;赵岩;;计算机测量与控制(04);全文 * |
李少东.隔离开关的智能组件设计.《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》.2016,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN115061789A (en) | 2022-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8122269B2 (en) | Regulating power consumption in a multi-core processor by dynamically distributing power and processing requests by a managing core to a configuration of processing cores | |
JP5317010B2 (en) | Virtual machine placement system, virtual machine placement method, program, virtual machine management device, and server device | |
US6298448B1 (en) | Apparatus and method for automatic CPU speed control based on application-specific criteria | |
EP3571585B1 (en) | Method and apparatus for implementing heterogeneous frequency operation and scheduling task of heterogeneous frequency cpu | |
US7137115B2 (en) | Method for controlling multithreading | |
US20150277988A1 (en) | Parallel computing device | |
WO2016099820A1 (en) | Improved function callback mechanism between a central processing unit (cpu) and an auxiliary processor | |
WO2012113232A1 (en) | Method and device for adjusting clock interrupt cycle | |
CN111984402A (en) | Unified scheduling monitoring method and system for thread pool | |
EP1393175A2 (en) | A resource management method | |
US20060155552A1 (en) | Event handling mechanism | |
GB2460950A (en) | Setting the clock frequency of a processor based on the amount of work the processor has to do in a time segment | |
CN115061789B (en) | Transient current control method and related device | |
US10572300B2 (en) | Apparatus and method for configuring a microcontroller system | |
CN110955503A (en) | Task scheduling method and device | |
US9507645B2 (en) | Thread processing method for using a multi-core processor and systems therefor | |
CN112256419A (en) | Embedded system multitask scheduling method based on timer clock control | |
US20200326985A1 (en) | Adaptive tuning of thread weight based on prior activity of a thread | |
CN115686863A (en) | Hybrid polling method, device, equipment and readable storage medium | |
CN116048756A (en) | Queue scheduling method and device and related equipment | |
WO2021057649A1 (en) | Timer processing method, apparatus, electronic device, and computer storage medium | |
Hussain et al. | Response time analysis of memory-bandwidth-regulated multiframe mixed-criticality systems | |
CN112817746B (en) | CPU power adjusting method, device, equipment and readable storage medium | |
KR101061133B1 (en) | Interrupt handling system | |
CN116645263B (en) | Graphic processing unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |