[go: up one dir, main page]

CN113157079B - Method and device for controlling processor and processor thereof - Google Patents

Method and device for controlling processor and processor thereof Download PDF

Info

Publication number
CN113157079B
CN113157079B CN202010014945.4A CN202010014945A CN113157079B CN 113157079 B CN113157079 B CN 113157079B CN 202010014945 A CN202010014945 A CN 202010014945A CN 113157079 B CN113157079 B CN 113157079B
Authority
CN
China
Prior art keywords
control circuit
circuit
processor
mode
processing
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
Application number
CN202010014945.4A
Other languages
Chinese (zh)
Other versions
CN113157079A (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Cambricon Information Technology Co Ltd
Original Assignee
Shanghai Cambricon Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Cambricon Information Technology Co Ltd filed Critical Shanghai Cambricon Information Technology Co Ltd
Priority to CN202010014945.4A priority Critical patent/CN113157079B/en
Publication of CN113157079A publication Critical patent/CN113157079A/en
Application granted granted Critical
Publication of CN113157079B publication Critical patent/CN113157079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/324Power saving characterised by the action undertaken by lowering clock frequency

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The present disclosure discloses a method for controlling a processor, an integrated circuit device and a corresponding processor. Wherein the processor may be included in a processing device of a combined processing device, which may also include a universal interconnect interface and other processing devices. The processing device interacts with other processing devices to jointly complete the calculation operation designated by the user. The combined processing means may further comprise storage means connected to the processing means and the other processing means, respectively, for storing data of the processing means and the other processing means. The scheme of the disclosure can evaluate the power consumption of the processing device and adjust the processing circuit with high power consumption expenditure, thereby improving the performance of the whole system.

Description

用于控制处理器的方法、装置及其处理器Method and device for controlling a processor and processor thereof

技术领域Technical Field

本披露一般地涉及处理器领域。更具体地,本披露涉及一种用于控制处理器的方法、集成电路装置及其相应的处理器。The present disclosure generally relates to the field of processors. More specifically, the present disclosure relates to a method for controlling a processor, an integrated circuit device and a corresponding processor thereof.

背景技术Background technique

当前包含运算装置的板卡可以有多个芯片,每个芯片可以包含若干个计算核簇。在控制板卡功耗时,通常会采集并观察板卡功耗实际值,直到该功耗值超过设定阈值时才会降低板卡时钟频率。这种被动调频的方式会导致系统对于降低整板功耗的要求响应过慢。另外,尽管可以通过降低板卡时钟频率的方式来降低整板功耗,但这也同时降低板卡中各个计算核簇的频率,尤其是功耗开销小的计算核簇。进一步,这样的整板统一降低功耗的方式也会令同一计算核簇中对应的标量计算电路、向量计算电路和输入输出电路的性能随之下降,从而不利于系统设备的虚拟化。Currently, a board containing a computing device may have multiple chips, and each chip may contain several computing core clusters. When controlling the power consumption of the board, the actual power consumption value of the board is usually collected and observed, and the clock frequency of the board is not reduced until the power consumption value exceeds the set threshold. This passive frequency modulation method will cause the system to respond too slowly to the requirement to reduce the power consumption of the entire board. In addition, although the power consumption of the entire board can be reduced by reducing the clock frequency of the board, this will also reduce the frequency of each computing core cluster in the board, especially the computing core cluster with low power consumption overhead. Furthermore, such a unified way of reducing power consumption of the entire board will also cause the performance of the corresponding scalar computing circuits, vector computing circuits, and input-output circuits in the same computing core cluster to decrease, which is not conducive to the virtualization of system equipment.

发明内容Summary of the invention

为了至少解决在上述背景技术部分所描述的问题,本披露在一个或多个方面中提供如下的技术方案。In order to at least solve the problems described in the above background technology section, the present disclosure provides the following technical solutions in one or more aspects.

在一个方面中,本披露提出了一种处理器包括:多个处理电路,其中每个处理电路配置用于执行运算操作;多个时控电路,其中每个时控电路与所述多个处理电路中的对应一个或多个相连接,并且配置用于对连接的所述处理电路的时钟信号进行调整;以及控制电路,其配置用于根据指令对部分或全部的多个时控电路进行操控,以便指示所述操控的时控电路对与其相连接的处理电路的时钟信号进行所述调整。In one aspect, the present disclosure proposes a processor comprising: a plurality of processing circuits, wherein each processing circuit is configured to perform computing operations; a plurality of timing control circuits, wherein each timing control circuit is connected to a corresponding one or more of the plurality of processing circuits and is configured to adjust the clock signal of the connected processing circuit; and a control circuit, which is configured to manipulate part or all of the plurality of timing control circuits according to instructions so as to instruct the manipulated timing control circuit to make the adjustment to the clock signal of the processing circuit connected thereto.

在另一个方面中,本披露还公开了一种集成电路装置,包括前述的处理器。In another aspect, the present disclosure also discloses an integrated circuit device, comprising the aforementioned processor.

在又一方面中,本披露进一步公开了一种用于控制处理器的方法,其中所述处理器包括多个处理电路、多个时控电路和控制电路,其中所述处理电路配置用于执行运算操作,并且每个时控电路与对应一个或多个处理电路相连接,所述方法包括:指示所述控制电路根据指令对部分或全部的多个时控电路进行操控;以及响应于所述控制电路的操控,指示所述操控的时控电路对与其相连接的处理电路的时钟信号进行调整。In yet another aspect, the present disclosure further discloses a method for controlling a processor, wherein the processor comprises a plurality of processing circuits, a plurality of timing control circuits and a control circuit, wherein the processing circuit is configured to perform computing operations, and each timing control circuit is connected to one or more corresponding processing circuits, the method comprising: instructing the control circuit to manipulate some or all of the plurality of timing control circuits according to instructions; and in response to the manipulation of the control circuit, instructing the manipulated timing control circuit to adjust the clock signal of the processing circuit connected thereto.

利用本披露所提出的控制处理器的方法、集成电路装置及其处理器,通过主动调频的方式对整板的功耗进行优化调整,既能避免整板功耗过高,又不会对功耗开销小的其他计算核簇,以及同一个计算核簇内的标量、向量计算电路及输入输出电路的性能造成影响。By utilizing the method for controlling the processor, the integrated circuit device, and the processor thereof proposed in the present disclosure, the power consumption of the entire board can be optimized and adjusted through active frequency modulation, which can not only avoid excessive power consumption of the entire board, but also will not affect the performance of other computing core clusters with low power consumption overhead, as well as the scalar and vector computing circuits and input and output circuits within the same computing core cluster.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

通过结合附图,可以更好地理解本发明的上述特征,并且其众多目的、特征和优点对于本领域技术人员而言是显而易见的。下面描述中的附图仅仅是本披露的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可根据这些附图获得其他的附图,其中:By combining the accompanying drawings, the above features of the present invention can be better understood, and its many purposes, features and advantages are obvious to those skilled in the art. The drawings described below are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:

图1是示出根据本披露实施例的处理器的结构示意图;FIG1 is a schematic diagram showing the structure of a processor according to an embodiment of the present disclosure;

图2是示出根据本披露实施例的用于控制处理器的方法的流程图;FIG2 is a flow chart showing a method for controlling a processor according to an embodiment of the present disclosure;

图3是示出根据本披露实施例的用于控制处理器的方法的详细流程图;FIG3 is a detailed flow chart showing a method for controlling a processor according to an embodiment of the present disclosure;

图4是示出根据本披露实施例的对时钟信号进行操控的时序图;FIG4 is a timing diagram illustrating manipulation of a clock signal according to an embodiment of the present disclosure;

图5是示出根据本披露实施例的控制处理器的方法的简化流程图;FIG5 is a simplified flow chart illustrating a method of controlling a processor according to an embodiment of the present disclosure;

图6是示出根据本披露实施例的控制处理器方法的详细流程图;FIG6 is a detailed flow chart showing a method for controlling a processor according to an embodiment of the present disclosure;

图7是示出根据本披露实施例的处理器的结构示意图;FIG7 is a schematic diagram showing the structure of a processor according to an embodiment of the present disclosure;

图8是示出根据本披露实施例的一种组合处理装置的结构图;以及FIG8 is a structural diagram showing a combined processing device according to an embodiment of the present disclosure; and

图9是示出根据本披露实施例的一种板卡的结构示意图。FIG. 9 is a schematic diagram showing the structure of a board according to an embodiment of the present disclosure.

具体实施方式Detailed ways

本披露的技术方案提供了一种用于控制处理器的方法、集成电路装置及其相应的处理器。具体地,处理器包括若干个处理电路、时控电路和控制电路,其中每个处理电路用于执行运算操作。不同于现有技术中采用被动调频的方式降低处理器功耗的方案。本披露采用主动降频的方式,只针对功耗高的处理电路执行降频,缩短系统响应时间,同时又不对其他处理器、或者同一个处理器内的标量计算电路、向量计算电路、输入输出电路的性能造成影响。The technical solution disclosed in the present invention provides a method for controlling a processor, an integrated circuit device and a corresponding processor thereof. Specifically, the processor includes a plurality of processing circuits, a timing control circuit and a control circuit, wherein each processing circuit is used to perform arithmetic operations. Different from the solution of reducing the power consumption of the processor by passive frequency modulation in the prior art. The present invention adopts an active frequency reduction method, and only performs frequency reduction on the processing circuit with high power consumption, thereby shortening the system response time, and at the same time does not affect the performance of other processors, or the scalar calculation circuit, vector calculation circuit, and input-output circuit in the same processor.

下面将结合附图对本披露的技术方案及其多个实施例进行清楚和完整的描述。应当理解的是,本披露阐述了许多具体细节以便提供对本披露所述实施例的透彻理解。然而,本领域普通技术人员在本披露的教导下,可以在没有这些具体细节的情况下实施本披露所描述的多个实施例。在其他情况下,本披露没有详细描述公知的方法、过程和组件,以免不必要地模糊本披露描述的实施例。而且,该描述不应被视为限制本披露描述的实施例的范围。The technical solution of the present disclosure and its multiple embodiments will be clearly and completely described below in conjunction with the accompanying drawings. It should be understood that the present disclosure sets forth many specific details in order to provide a thorough understanding of the embodiments described in the present disclosure. However, those of ordinary skill in the art can implement the multiple embodiments described in the present disclosure without these specific details under the guidance of the present disclosure. In other cases, the present disclosure does not describe in detail the well-known methods, processes and components, so as not to unnecessarily obscure the embodiments described in the present disclosure. Moreover, the description should not be regarded as limiting the scope of the embodiments described in the present disclosure.

图1是示出根据本披露实施例的处理器100的结构示意图。如图1中所示,该处理器除其他以外可以包括多个处理电路101、其中每个处理电路用于执行运算操作,例如涉及人工智能领域的运算。处理器还包括多个时控电路102,每个时控电路与多个处理电路中的对应一个或多个相连接,并且配置用于对连接的处理电路的时钟信号进行调整,以便对处理器的功耗执行相应地调整。根据本披露的方案,此处的处理电路可以是一个计算核,包括例如标量计算电路、向量计算电路等电路,并且多个处理电路可以形成一个计算核簇。FIG. 1 is a schematic diagram showing the structure of a processor 100 according to an embodiment of the present disclosure. As shown in FIG. 1 , the processor may include, among other things, a plurality of processing circuits 101, each of which is used to perform computing operations, such as operations involving the field of artificial intelligence. The processor also includes a plurality of timing circuits 102, each of which is connected to a corresponding one or more of the plurality of processing circuits, and is configured to adjust the clock signal of the connected processing circuit so as to adjust the power consumption of the processor accordingly. According to the scheme of the present disclosure, the processing circuit here may be a computing core, including circuits such as a scalar computing circuit, a vector computing circuit, and the like, and a plurality of processing circuits may form a computing core cluster.

进一步,处理器还包括控制电路103,其配置用于根据指令对部分或全部的多个时控电路进行操控,以便指示操控的时控电路对与其相连接的处理电路的时钟信号进行调整。根据不同的实现场景,这里的指令可以通过多种方式来获取。例如,该指令可以是接收来自于所述处理器外部输入的指令。又例如,该指令可以是处理器根据待执行的运算模式、数据类型、工作模式中的一项或多项所生成的指令。另外,该指令还可以是基于处理器的当前工作负载所生成的指令。Further, the processor also includes a control circuit 103, which is configured to manipulate some or all of the multiple timing control circuits according to the instruction, so as to instruct the manipulated timing control circuit to adjust the clock signal of the processing circuit connected thereto. According to different implementation scenarios, the instructions here can be obtained in a variety of ways. For example, the instruction can be an instruction received from an external input of the processor. For another example, the instruction can be an instruction generated by the processor according to one or more of the operation mode to be executed, the data type, and the working mode. In addition, the instruction can also be an instruction generated based on the current workload of the processor.

在一个实施例中,在对相连接的处理电路的时钟信号进行调整中,时控电路配置用于可以根据控制电路的操控来降低或升高处理电路的时钟信号的频率。例如,控制电路可以操控时控电路来消除与其连接的一个或多个处理电路的时钟信号中的至少一个时钟沿信号,以降低所述时钟信号的频率。反之,控制电路还可以操控时控电路恢复与其连接的一个或多个处理电路的消除的所述时钟沿信号,以升高所述时钟信号的频率。关于时钟沿信号的示例及其细节将在稍后结合图4来描述。In one embodiment, in adjusting the clock signal of the connected processing circuit, the timing control circuit is configured to reduce or increase the frequency of the clock signal of the processing circuit according to the control of the control circuit. For example, the control circuit can control the timing control circuit to eliminate at least one clock edge signal in the clock signal of one or more processing circuits connected thereto to reduce the frequency of the clock signal. Conversely, the control circuit can also control the timing control circuit to restore the eliminated clock edge signal of one or more processing circuits connected thereto to increase the frequency of the clock signal. Examples of clock edge signals and their details will be described later in conjunction with FIG. 4.

在上述消除时钟信号中至少一个时钟沿信号以降低时钟信号频率的操作中,为了避免由此可能造成多个处理电路从满负载切换到空载或者从高负载切换到低负载而导致噪声过大的情况。这里,关于高负载和低负载的范围,可以例如根据具体的应用场景,结合实测结果和经验值来确定。在一个实施例中,所述每个时控电路在所述控制电路的操控下,配置用于使其消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠。进一步,该不重叠或者少重叠的情形可以包括所述消除的时钟沿信号与其他的时控电路消除的时钟沿信号以预定的间隔交错布置。In the above-mentioned operation of eliminating at least one clock edge signal in the clock signal to reduce the frequency of the clock signal, in order to avoid the situation where multiple processing circuits may switch from full load to no load or from high load to low load, resulting in excessive noise. Here, the range of high load and low load can be determined, for example, according to the specific application scenario, combined with actual measurement results and empirical values. In one embodiment, each of the timing control circuits is configured under the control of the control circuit to make the clock edge signal eliminated by it not overlap or overlap less with the clock edge signal eliminated by other timing control circuits. Further, the situation of no overlap or little overlap can include the eliminated clock edge signal and the clock edge signal eliminated by other timing control circuits being staggered at predetermined intervals.

在一个或多个实施例中,本披露的处理器还可以包括模式电路104,其配置用于将多个预定时钟沿间隔中的每个与一种消除时钟沿信号的消除模式相关联。由此,该模式电路可以包括多种消除模式。在一些应用场景中,这些消除模式可以根据经验值来确定,并预先配置在模式电路中。作为实现的一个例子,假定模式电路可以配置有五种消除模式,分别是“1”、“7/8”、“3/4”、“1/2”和“1/4”,其中每种消除模式代表一种时控电路执行时钟信号调整的模式。具体来说,第一消除模式“1”表示时钟沿信号不需要消除;第二消除模式“7/8”表示在连续的八个时钟沿信号中消除一个时钟沿信号;第三消除模式“3/4”表示在连续的四个时钟沿信号中消除一个时钟沿信号;第四消除模式“1/2”表示在连续的两个时钟沿信号中消除一个时钟沿信号;以及第五消除模式“1/4”表示在连续的四个时钟沿信号中消除三个时钟沿信号。In one or more embodiments, the processor of the present disclosure may further include a mode circuit 104, which is configured to associate each of a plurality of predetermined clock edge intervals with an elimination mode for eliminating a clock edge signal. Thus, the mode circuit may include multiple elimination modes. In some application scenarios, these elimination modes may be determined based on empirical values and pre-configured in the mode circuit. As an example of implementation, it is assumed that the mode circuit may be configured with five elimination modes, namely "1", "7/8", "3/4", "1/2" and "1/4", wherein each elimination mode represents a mode in which a timing control circuit performs clock signal adjustment. Specifically, the first elimination mode "1" indicates that the clock edge signal does not need to be eliminated; the second elimination mode "7/8" indicates that one clock edge signal is eliminated in eight consecutive clock edge signals; the third elimination mode "3/4" indicates that one clock edge signal is eliminated in four consecutive clock edge signals; the fourth elimination mode "1/2" indicates that one clock edge signal is eliminated in two consecutive clock edge signals; and the fifth elimination mode "1/4" indicates that three clock edge signals are eliminated in four consecutive clock edge signals.

在一些应用场景中,控制电路可以根据指令来查询模式电路以获得相应的消除模式,以便确定是否指示时控电路操作于所述消除模式。进一步,控制电路还可以将获得的消除模式与时控电路当前的消除模式进行比较,以确定二者是否相同。当确定二者不同时,控制电路可以指示时控电路将当前消除模式改变到获得的消除模式,以对与时控电路相连接的处理电路的时钟信号进行相应的调整;反之,当二者相同时,控制电路可以指示时控电路保持在当前消除模式。在一些实施例中,在对多个处理电路的时钟信号进行相应的调整前,控制电路还可以配置成对操控的多个处理电路执行同步操作。进一步,在所述同步操作中,控制电路还可以确定多个处理电路是否处于空闲状态。当响应于确定多个处理电路处于所述空闲状态,控制电路可以指示对应的多个时控电路对所述多个处理电路的时钟信号进行相应的调整,例如消除或恢复某些时钟沿信号,以便对处理器的功耗做出相应地调整。In some application scenarios, the control circuit may query the mode circuit according to the instruction to obtain the corresponding elimination mode, so as to determine whether to instruct the timing circuit to operate in the elimination mode. Further, the control circuit may also compare the obtained elimination mode with the current elimination mode of the timing circuit to determine whether the two are the same. When it is determined that the two are different, the control circuit may instruct the timing circuit to change the current elimination mode to the obtained elimination mode, so as to make corresponding adjustments to the clock signal of the processing circuit connected to the timing circuit; conversely, when the two are the same, the control circuit may instruct the timing circuit to remain in the current elimination mode. In some embodiments, before making corresponding adjustments to the clock signals of the multiple processing circuits, the control circuit may also be configured to perform synchronization operations on the multiple processing circuits being manipulated. Further, in the synchronization operation, the control circuit may also determine whether the multiple processing circuits are in an idle state. In response to determining that the multiple processing circuits are in the idle state, the control circuit may instruct the corresponding multiple timing circuits to make corresponding adjustments to the clock signals of the multiple processing circuits, such as eliminating or restoring certain clock edge signals, so as to make corresponding adjustments to the power consumption of the processor.

上面结合图1描述了可以实施本披露技术方案的处理器的结构示意图。基于上文的描述,本领域技术人员可以理解图1所示出的处理器也可以实现于一种集成电路装置或板卡中。由此,本披露实际上也公开了一种集成电路装置或板卡,其包括一个或多个前述的处理器。另外,需要注意的是上文关于处理器结构和布置的描述是示例性而非限制性的,本领域技术人员可以根据需要对所示结构和布置做出适当的修改而不脱离本披露方案的精神和范围。The above describes a schematic diagram of the structure of a processor that can implement the technical solution of the present disclosure in conjunction with FIG1. Based on the above description, those skilled in the art can understand that the processor shown in FIG1 can also be implemented in an integrated circuit device or a board. Therefore, the present disclosure actually also discloses an integrated circuit device or a board, which includes one or more of the aforementioned processors. In addition, it should be noted that the above description of the processor structure and arrangement is exemplary and not restrictive, and those skilled in the art can make appropriate modifications to the structure and arrangement shown as needed without departing from the spirit and scope of the present disclosure.

图2是示出根据本披露实施例的用于控制处理器的方法200的流程图。这里,方法200所控制的处理器可以是结合图1所描述的处理器,其同样包括多个处理电路、多个时控电路和控制电路,并且可选地还包括模式电路。鉴于此,前文关于图1中的处理器的描述也同样适用于方法200所控制的处理器,因此不再赘述。FIG2 is a flow chart showing a method 200 for controlling a processor according to an embodiment of the present disclosure. Here, the processor controlled by the method 200 may be the processor described in conjunction with FIG1 , which also includes a plurality of processing circuits, a plurality of timing circuits and a control circuit, and optionally also includes a mode circuit. In view of this, the above description of the processor in FIG1 is also applicable to the processor controlled by the method 200, and thus will not be repeated.

如图2所示,在步骤201处,方法200指示控制电路根据指令对部分或全部的多个时控电路进行操控。这里所述的指令与结合图1描述的指令性质相同,可以具有不同的来源。例如,接收的指令可以是来自于处理器外部的输入指令。又如,接收的指令还可以是基于处理器当前的工作负载所生成的指令。在一个实施例中,接收的指令可以是处理器根据待执行的运算模式、数据类型(例如整型数、定点数或浮点数)、工作模式(例如单核模式、双核模式或四核模式)中的一项或多项来生成。例如,前述的运算模式可以是一个或多个乘法器、一个或者多个加法器、由加法器组成的加法树、标量处理电路、向量处理电路、输入输出电路等中的至少一种或多种构成的运算模式。As shown in FIG. 2 , at step 201 , method 200 instructs the control circuit to manipulate some or all of the multiple timing control circuits according to the instruction. The instructions described here are of the same nature as the instructions described in conjunction with FIG. 1 and may have different sources. For example, the received instruction may be an input instruction from outside the processor. For another example, the received instruction may also be an instruction generated based on the current workload of the processor. In one embodiment, the received instruction may be generated by the processor according to one or more of the operation mode to be executed, the data type (e.g., an integer, a fixed-point number, or a floating-point number), and the working mode (e.g., a single-core mode, a dual-core mode, or a quad-core mode). For example, the aforementioned operation mode may be an operation mode composed of at least one or more of one or more multipliers, one or more adders, an addition tree composed of adders, a scalar processing circuit, a vector processing circuit, an input-output circuit, and the like.

接着,在步骤202处,方法200响应于控制电路的操控,指示操控的时控电路对与其相连接的处理电路的时钟信号进行调整,从而实现功耗的控制。Next, at step 202 , the method 200 instructs the controlled timing control circuit to adjust the clock signal of the processing circuit connected thereto in response to the control of the control circuit, thereby achieving power consumption control.

尽管在图2中未示出,如前所述,对时钟信号进行调整包括根据控制电路的操控来降低或升高处理电路的时钟信号的频率。具体地,可以通过消除时钟信号中的至少一个时钟沿信号,以降低所述时钟信号的频率;或者,恢复消除的所述时钟沿信号,以升高所述时钟信号的所述频率。另外,在消除时钟沿的过程中,可以指示操控的时控电路消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠,例如在时间来说可以令这些消除的时钟沿信号以预定的间隔交错布置。Although not shown in FIG. 2 , as described above, adjusting the clock signal includes reducing or increasing the frequency of the clock signal of the processing circuit according to the manipulation of the control circuit. Specifically, the frequency of the clock signal can be reduced by eliminating at least one clock edge signal in the clock signal; or, the eliminated clock edge signal can be restored to increase the frequency of the clock signal. In addition, in the process of eliminating the clock edge, the clock edge signal eliminated by the manipulated timing control circuit can be instructed not to overlap or overlap less with the clock edge signals eliminated by other timing control circuits, for example, these eliminated clock edge signals can be staggered at predetermined intervals in time.

上文结合图2对用于控制处理器的方法进行了简要描述,下文将结合图3进一步详细描述。The method for controlling the processor is briefly described above in conjunction with FIG. 2 , and will be further described in detail below in conjunction with FIG. 3 .

图3是示出根据本披露实施例的用于控制处理器的方法300的详细流程图。通过下文的描述,本领域技术人员可以理解图3是图2所示的控制处理器的方法的进一步细化,并且关于图2的描述同样也适用于图3所示出的内容。FIG3 is a detailed flow chart showing a method 300 for controlling a processor according to an embodiment of the present disclosure. Through the following description, those skilled in the art can understand that FIG3 is a further refinement of the method for controlling a processor shown in FIG2, and the description of FIG2 is also applicable to the content shown in FIG3.

如图3所示,在步骤301处,方法300获取指令。与前结合图1-图2所述内容相同或类似,该指令可以接收自处理器外部输入的指令。例如,外部输入的指令可以是来源于不同层级的软件输出。另外,所述指令也可以是基于处理器的当前工作负载或工作模式所生成的指令。当根据处理器的工作模式来生成上述的指令时,不同的处理器工作模式可以对应不同数量的处理器核数(如前面所提到的双核或四核等)。基于这些工作模式,处理器可以生成关联的指令,从而相应地调整其时钟信号。As shown in Figure 3, at step 301, method 300 obtains instructions. The same or similar to the contents described in conjunction with Figures 1-2, the instructions can be received from instructions input from outside the processor. For example, the externally input instructions can be software outputs from different levels. In addition, the instructions can also be instructions generated based on the current workload or operating mode of the processor. When the above instructions are generated according to the operating mode of the processor, different processor operating modes can correspond to different numbers of processor cores (such as the dual-core or quad-core mentioned above). Based on these operating modes, the processor can generate associated instructions, thereby adjusting its clock signal accordingly.

接着,方法300分别前进到步骤302和303处。具体地,在步骤302处,方法300令控制电路根据输入的指令来查询模式电路以获得相应的消除模式,以便确定是否指示时控电路操作于所述消除模式。这里,模式电路与图1中示出的模式电路相同,其可以配置用于将多个预定的间隔中的每个与一种消除时钟沿信号的多种消除模式中的对应一种相关联。Next, the method 300 proceeds to steps 302 and 303, respectively. Specifically, at step 302, the method 300 causes the control circuit to query the mode circuit according to the input instruction to obtain the corresponding elimination mode, so as to determine whether to instruct the timing control circuit to operate in the elimination mode. Here, the mode circuit is the same as the mode circuit shown in FIG. 1, which can be configured to associate each of a plurality of predetermined intervals with a corresponding one of a plurality of elimination modes of an elimination clock edge signal.

在步骤303处,方法300令控制电路查询与一个或多个处理电路相连接的部分或多个时控电路的当前现有消除模式。接着,在步骤304处,方法300令控制电路将从模式电路获得的消除模式与时控电路的当前消除模式进行比较,以确定二者是否相同。在二者相同时,则控制电路指示时控电路保持在当前消除模式,并且流程可以返回到步骤301以开始重新获取指令的操作。然而,当在步骤304处确定二者不同时,流程前进到步骤305处。此处,方法300令控制电路根据获得的消除模式执行对处理电路的时钟信号进行调整前的预操作。例如,在对多个处理电路的时钟信号进行相应的调整前,控制电路可以对多个操控的、需要调整的处理电路执行同步操作。附加地或可选地,在所述同步操作中,控制电路可以确定多个处理电路是否处于空闲状态。为了便于理解,假定有4个时控电路需要调整与其连接的处理电路的时钟信号,则在第一个时钟沿信号时,控制电路可以对处理电路的4个时钟信号执行同步,即确定处理电路处于空闲状态后,才开始执行4个时钟信号的调整。这里引入空闲检测的优势在于此时处理电路没有运算工作,从而功耗开销低。进一步,此时时控电路执行时钟信号调整时引入噪声相对较小。At step 303, the method 300 instructs the control circuit to query the current existing elimination mode of part or multiple timing circuits connected to one or more processing circuits. Next, at step 304, the method 300 instructs the control circuit to compare the elimination mode obtained from the mode circuit with the current elimination mode of the timing circuit to determine whether the two are the same. When the two are the same, the control circuit instructs the timing circuit to remain in the current elimination mode, and the process can return to step 301 to start the operation of re-acquiring instructions. However, when it is determined at step 304 that the two are different, the process proceeds to step 305. Here, the method 300 instructs the control circuit to perform a pre-operation before adjusting the clock signal of the processing circuit according to the obtained elimination mode. For example, before adjusting the clock signals of multiple processing circuits accordingly, the control circuit can perform a synchronization operation on multiple controlled processing circuits that need to be adjusted. Additionally or optionally, in the synchronization operation, the control circuit can determine whether the multiple processing circuits are in an idle state. For ease of understanding, assuming that there are four timing control circuits that need to adjust the clock signals of the processing circuits connected thereto, at the first clock edge signal, the control circuit can synchronize the four clock signals of the processing circuits, that is, after determining that the processing circuit is in an idle state, the adjustment of the four clock signals is started. The advantage of introducing idle detection here is that the processing circuit has no computational work at this time, so the power consumption is low. Furthermore, the noise introduced by the timing control circuit when performing clock signal adjustment is relatively small.

在完成上述的示例性的预操作之后,流程前进到步骤306处,此处方法300令控制电路指示时控电路对与其连接的处理电路的时钟信号进行相应调整。具体地,根据模式电路中获得的消除模式,控制电路指示时控电路降低或升高与其连接的处理电路的时钟信号的频率。例如,控制电路可以指示时控电路执行消除时钟信号中的至少一个时钟沿信号,以降低所述时钟信号的频率。例如,当获得的消除模式是之前所述的“3/4”时,表示时控电路将降低与之相连接的处理电路的时钟信号的频率。为此,控制电路可以指示时控电路在处理电路连续的四个时钟沿信号中消除一个时钟沿信号。与前述的降频不同,控制电路也可以指示时控电路执行恢复消除的时钟沿信号,以升高所述时钟信号的频率。After completing the above-mentioned exemplary pre-operation, the process proceeds to step 306, where method 300 instructs the control circuit to instruct the timing circuit to make corresponding adjustments to the clock signal of the processing circuit connected thereto. Specifically, according to the elimination mode obtained in the mode circuit, the control circuit instructs the timing circuit to reduce or increase the frequency of the clock signal of the processing circuit connected thereto. For example, the control circuit may instruct the timing circuit to eliminate at least one clock edge signal in the clock signal to reduce the frequency of the clock signal. For example, when the elimination mode obtained is the "3/4" described above, it indicates that the timing circuit will reduce the frequency of the clock signal of the processing circuit connected thereto. To this end, the control circuit may instruct the timing circuit to eliminate one clock edge signal among four consecutive clock edge signals of the processing circuit. Different from the aforementioned frequency reduction, the control circuit may also instruct the timing circuit to restore the eliminated clock edge signal to increase the frequency of the clock signal.

在一个实现场景中,假定控制电路从模式电路中获得的消除模式是“7/8”而当前时控电路中的消除模式是“1”,则通过对控制电路分别从模式电路和时控电路中获得的消除模式进行比较,可以确定二者结果不同。控制电路此时可以指示时控电路将当前消除模式“1”改变到获得的消除模式“7/8”。基于此获得的消除模式,时控电路将降低处理电路的时钟信号频率。具体地,时控电路可以执行在连续八个时钟沿信号中消除一个时钟沿信号,以降低处理电路的时钟信号频率。In one implementation scenario, assuming that the elimination pattern obtained by the control circuit from the mode circuit is "7/8" and the elimination pattern in the current timing circuit is "1", by comparing the elimination patterns obtained by the control circuit from the mode circuit and the timing circuit respectively, it can be determined that the two results are different. The control circuit can now instruct the timing circuit to change the current elimination pattern "1" to the obtained elimination pattern "7/8". Based on the obtained elimination pattern, the timing circuit will reduce the clock signal frequency of the processing circuit. Specifically, the timing circuit can perform elimination of one clock edge signal in eight consecutive clock edge signals to reduce the clock signal frequency of the processing circuit.

在另一个实现场景中,假定获取的模式电路中的消除模式是“1”,当前时控电路中的消除模式是“7/8”,则通过对控制电路分别从模式电路和时控电路中获得的消除模式进行比较,可以确定二者结果不同。控制电路此时可以指示时控电路将当前消除模式“7/8”改变到获得的消除模式“1”。基于该获得的消除模式,时控电路可以升高处理电路的时钟信号频率。具体地,时控电路可以执行恢复消除的一个时钟沿信号,以升高处理电路的时钟信号频率。In another implementation scenario, assuming that the elimination mode in the acquired mode circuit is "1" and the elimination mode in the current timing circuit is "7/8", by comparing the elimination modes obtained by the control circuit from the mode circuit and the timing circuit respectively, it can be determined that the two results are different. The control circuit can then instruct the timing circuit to change the current elimination mode "7/8" to the obtained elimination mode "1". Based on the obtained elimination mode, the timing circuit can increase the clock signal frequency of the processing circuit. Specifically, the timing circuit can perform a clock edge signal of the recovery elimination to increase the clock signal frequency of the processing circuit.

如前所述,在时控电路执行消除时钟信号中的至少一个时钟沿信号中,控制电路指示时控电路消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠,例如以预定的间隔交错布置。由此,通过时间上的交叉,可以避免当所有需要调整时钟信号频率的处理电路同时从满负载切换到空载或者高负载切换到低负载而导致引入噪声大的问题。As mentioned above, in the case where the timing control circuit executes to eliminate at least one clock edge signal in the clock signal, the control circuit instructs the timing control circuit to eliminate the clock edge signal and the clock edge signal eliminated by other timing control circuits to not overlap or overlap less, for example, they are arranged in a staggered manner at a predetermined interval. Thus, by crossing in time, it is possible to avoid the problem of introducing large noise when all processing circuits that need to adjust the clock signal frequency are switched from full load to no load or from high load to low load at the same time.

可选地,当输入的指令是处理器外部输入的指令时,在步骤302处,控制电路可以查询模式电路以获得相应的消除模式,并且此后流程也可以直接前进到步骤305,即控制电路根据获得的消除模式执行对处理电路的时钟信号进行调整前的预处理。接着,在步骤306,控制电路将按照在步骤302处获得的消除模式来指示时控电路对与其连接的处理电路的时钟信号进行相应的调整。替代地,在执行完成步骤302后,也可以直接执行步骤306。Optionally, when the input instruction is an instruction input from outside the processor, at step 302, the control circuit may query the mode circuit to obtain a corresponding elimination mode, and thereafter the process may directly proceed to step 305, that is, the control circuit performs preprocessing before adjusting the clock signal of the processing circuit according to the obtained elimination mode. Then, at step 306, the control circuit will instruct the timing circuit to adjust the clock signal of the processing circuit connected thereto accordingly according to the elimination mode obtained at step 302. Alternatively, after executing step 302, step 306 may also be directly executed.

图4是示出根据本披露实施例对时钟信号进行操控的时序图。所示的时钟信号0、1、2和3四个时钟信号(每个时钟信号包括各自的示例性时钟沿信号1-6)可以是前述结合图1-图3所描述的处理电路的时钟信号,并且因此其可以分别与时控电路0、1、2和3相对应。从图4中可以看出,当前的消除模式是前述的“3/4”,即在连续的四个时钟沿信号中消除一个时钟沿信号。下面将基于该消除模式来描述本披露的操作。FIG4 is a timing diagram showing the manipulation of clock signals according to an embodiment of the present disclosure. The four clock signals 0, 1, 2 and 3 shown (each clock signal includes respective exemplary clock edge signals 1-6) can be the clock signals of the processing circuits described in conjunction with FIGS. 1-3 , and thus can correspond to timing circuits 0, 1, 2 and 3, respectively. As can be seen from FIG4 , the current elimination mode is the aforementioned "3/4", i.e., one clock edge signal is eliminated in four consecutive clock edge signals. The operation of the present disclosure will be described below based on the elimination mode.

首先,控制电路根据获得的消除模式“3/4”,指示时控电路执行时钟信号调整的方式。在执行该调整操作前,可以根据需要执行多个处理电路空闲检测的预处理。在执行完预处理后,时控电路对与其连接的处理电路的时钟信号进行消除模式“3/4”下的时钟沿信号消除操作(消除的时钟沿信号以虚线在图中示出)。First, the control circuit instructs the timing circuit to perform the clock signal adjustment according to the obtained elimination mode "3/4". Before performing the adjustment operation, preprocessing of idle detection of multiple processing circuits can be performed as needed. After performing the preprocessing, the timing circuit performs the clock edge signal elimination operation under the elimination mode "3/4" on the clock signal of the processing circuit connected to it (the eliminated clock edge signal is shown in the figure with a dotted line).

具体地,控制电路根据上述消除模式“3/4”,指示时控电路0对时钟信号0从第二个时钟沿信号401(即时钟沿信号2)开始,每隔三个连续时钟信号后消除一个时钟沿信号。接着,时控电路1对时钟信号1从第三个时钟沿信号403(即时钟沿信号3)开始,执行消除一个时钟沿信号的操作。类似地,时控电路2对时钟信号2从第四个时钟沿信号404(即时钟沿信号4)开始,并且时控电路3对时钟信号3从第五个时钟沿信号405(即时钟沿信号5)开始,执行消除一个时钟沿信号的操作。当四个时钟信号各完成一个时钟沿信号消除时,称为完成一个消除周期。Specifically, according to the above elimination mode "3/4", the control circuit instructs the timing control circuit 0 to eliminate a clock edge signal after every three consecutive clock signals starting from the second clock edge signal 401 (i.e., clock edge signal 2) for clock signal 0. Next, the timing control circuit 1 performs an operation of eliminating a clock edge signal starting from the third clock edge signal 403 (i.e., clock edge signal 3) for clock signal 1. Similarly, the timing control circuit 2 performs an operation of eliminating a clock edge signal starting from the fourth clock edge signal 404 (i.e., clock edge signal 4) for clock signal 2, and the timing control circuit 3 performs an operation of eliminating a clock edge signal starting from the fifth clock edge signal 405 (i.e., clock edge signal 5) for clock signal 3. When each of the four clock signals completes the elimination of a clock edge signal, it is said to complete an elimination cycle.

当执行完上面的首次消除周期后,可以执行下一消除周期。为此,控制电路指示时控电路0对时钟信号0从第六个时钟沿信号402(即时钟沿信号6)继续执行消除下一个时钟沿信号的操作。以此类推,后续消除操作将继续按照时钟信号的序号顺序地执行。该消除操作将继续,直到当控制电路接收到新的指令,并且从模式电路获得的消除模式和时控电路当前的消除模式不同后,当前消除模式下的消除操作将停止。接着,控制电路根据新获得的消除模式,继续执行新消除模式下的消除操作。After the execution of the first elimination cycle above, the next elimination cycle can be executed. To this end, the control circuit instructs the timing circuit 0 to continue to perform the operation of eliminating the next clock edge signal from the sixth clock edge signal 402 (i.e., clock edge signal 6) on the clock signal 0. By analogy, the subsequent elimination operation will continue to be performed in sequence according to the sequence number of the clock signal. The elimination operation will continue until the control circuit receives a new instruction, and the elimination mode obtained from the mode circuit is different from the current elimination mode of the timing circuit, and the elimination operation in the current elimination mode will stop. Then, the control circuit continues to perform the elimination operation in the new elimination mode according to the newly obtained elimination mode.

应当理解的是上面图4对时钟信号调整模式的描述仅仅是示例性的而非限制性的,本领域技术人员在本披露的教导下,可以依处理电路的个数对图4中的时钟信号个数及其消除模式进行改变。It should be understood that the description of the clock signal adjustment mode in FIG4 above is merely illustrative and not restrictive, and those skilled in the art, under the guidance of the present disclosure, can change the number of clock signals and their elimination modes in FIG4 according to the number of processing circuits.

图5是示出根据本披露实施例的控制处理器的方法500的简化流程图。如本领域技术人员所理解的,图5所涉及的处理器可以是结合图1所描述的处理器,并且包括多个时控电路及与其相连接的一个或多个处理电路。因此,关于图1的处理器所做的描述同样也适用于方法500所涉及的处理器。FIG5 is a simplified flow chart showing a method 500 for controlling a processor according to an embodiment of the present disclosure. As will be appreciated by those skilled in the art, the processor involved in FIG5 may be the processor described in conjunction with FIG1 and includes a plurality of timing control circuits and one or more processing circuits connected thereto. Therefore, the description of the processor in FIG1 is also applicable to the processor involved in the method 500.

如图5所示,在步骤501处,方法500在处理器上获取用于调整所述处理器的功率的指令。在一个实施例中,所述处理器可以包括一个或多个处理电路,从而获取所述指令包括在处理器上获取用于调整一个或多个处理电路的功率的指令。根据本披露的方案,所述获取的指令可以由多种方式来生成。例如,根据处理器待执行的运算模式、数据类型、工作模式中的一项或多项来生成指令。又如,可以基于处理器的当前工作负载来生成指令。在一些实施例中,所述指令还可以是微指令或微操作,该微指令或微操作可以是根据指令进行解析得到的控制信号或更细粒度的指令或者操作。在另外一些实施例中,获取的指令可以是接收来自于处理器内部或外部的程序指令,或者是所述程序指令经编译后形成的机器指令。As shown in Figure 5, at step 501, method 500 obtains instructions for adjusting the power of the processor on the processor. In one embodiment, the processor may include one or more processing circuits, so that obtaining the instructions includes obtaining instructions for adjusting the power of one or more processing circuits on the processor. According to the scheme disclosed herein, the instructions obtained can be generated in a variety of ways. For example, instructions are generated based on one or more of the operation mode, data type, and working mode to be executed by the processor. For another example, instructions can be generated based on the current workload of the processor. In some embodiments, the instructions can also be microinstructions or microoperations, which can be control signals or finer-grained instructions or operations obtained by parsing the instructions. In some other embodiments, the instructions obtained can be program instructions received from inside or outside the processor, or machine instructions formed after the program instructions are compiled.

在接收上述的指令之后,在步骤502处,方法500基于指令来调整处理器的功率。After receiving the above-mentioned instruction, at step 502, method 500 adjusts the power of the processor based on the instruction.

在一些实施例中,当所述处理器包括多个时控电路,其中每个时控电路与多个处理电路中的一个或多个相连接时,可以根据指令对部分或全部的多个时控电路进行操控,以指示时控电路对与其相连接的一个或多个处理电路的功率进行调整。在一个应用场景中,对一个或多个处理电路的功率进行调整可以包括对连接的处理电路的时钟信号进行调整。在一个实施例中,前述的调整可以包括消除所述处理电路的至少一个时钟沿信号,以降低所述处理电路的功率;或者恢复消除的所述至少一个时钟沿信号,以升高所述处理电路的功率。In some embodiments, when the processor includes multiple timing control circuits, each of which is connected to one or more of the multiple processing circuits, some or all of the multiple timing control circuits can be manipulated according to instructions to instruct the timing control circuits to adjust the power of one or more processing circuits connected thereto. In an application scenario, adjusting the power of one or more processing circuits may include adjusting the clock signal of the connected processing circuit. In one embodiment, the aforementioned adjustment may include eliminating at least one clock edge signal of the processing circuit to reduce the power of the processing circuit; or restoring the eliminated at least one clock edge signal to increase the power of the processing circuit.

基于上面的描述,本领域技术人员可以理解方法500中对于处理电路的功率的调整可以采用前面结合图1-图4所描述的相同方式,因此前述关于时钟沿调整的各类操作也同样适用于此处的操作,因此不再赘述。Based on the above description, those skilled in the art can understand that the adjustment of the power of the processing circuit in method 500 can adopt the same method as described above in combination with Figures 1-4, so the aforementioned various operations on clock edge adjustment are also applicable to the operations here, and therefore will not be repeated.

图6是示出根据本披露实施例的控制处理器方法600的详细流程图。通过下文的描述,本领域技术人员可以理解图6的方法流程是对图5所示内容的进一步细化。因此,关于图5的技术描述也同样适用于图6所示出的内容。FIG6 is a detailed flow chart showing a method 600 for controlling a processor according to an embodiment of the present disclosure. Through the following description, those skilled in the art can understand that the method flow of FIG6 is a further refinement of the content shown in FIG5. Therefore, the technical description of FIG5 is also applicable to the content shown in FIG6.

如图6所示,方法600分别执行步骤601-604中的一个或多个步骤,来获取用于调整处理器功率的指令。本领域技术人员可以理解此处的步骤并不受所描述的步骤编号顺序的限制,而是可以采用其他的顺序。As shown in Figure 6, method 600 executes one or more of steps 601-604 respectively to obtain instructions for adjusting processor power. Those skilled in the art will appreciate that the steps herein are not limited to the described step number sequence, but may adopt other sequences.

具体地,当执行步骤601时,方法600根据待执行的运算模式、数据类型、工作模式中的一项或多项来生成指令。在一个实施例中,所述运算模式可以是一个或多个乘法器、一个或者多个加法器、由加法器组成的加法树、标量处理电路、向量处理电路、输入输出电路等中至少一种或多种参与运算所形成的运算模式。在另一个实施例中,所述数据类型包括多种数据类型,例如整型16位数据(表示为int16)、定点型8位数据(表示为fix8)、浮点型16位数据(表示为float16)或浮点型32位数据(表示为float32)等。Specifically, when executing step 601, method 600 generates instructions according to one or more of the operation mode, data type, and working mode to be executed. In one embodiment, the operation mode can be an operation mode formed by at least one or more of one or more multipliers, one or more adders, an adder tree composed of adders, a scalar processing circuit, a vector processing circuit, an input-output circuit, etc. participating in the operation. In another embodiment, the data type includes multiple data types, such as integer 16-bit data (expressed as int16), fixed-point 8-bit data (expressed as fix8), floating-point 16-bit data (expressed as float16) or floating-point 32-bit data (expressed as float32), etc.

在步骤602处,方法600可以根据处理器的当前工作负载来生成指令。在步骤603处,方法600可以接收来自处理器外部的程序指令或接收程序指令经变异后形成的机器指令。并列地,在步骤604处,方法600可以接收微指令或微操作指令,该微指令或微操作可以是根据指令进行解析得到的控制信号或更细粒度的指令或者操作。At step 602, method 600 may generate instructions according to the current workload of the processor. At step 603, method 600 may receive program instructions from outside the processor or receive machine instructions formed by mutation of program instructions. In parallel, at step 604, method 600 may receive microinstructions or microoperation instructions, which may be control signals obtained by parsing the instructions or finer-grained instructions or operations.

在执行上述步骤601、602、603和604中的任意一个步骤后,方法600前进到步骤605处,此处方法600可以基于指令来选择多种消除模式中的一种消除模式,例如通过前述的模式电路。在选择了一种消除模式后,在步骤606处,方法600可以判断选择的消除模式是否与处理电路的当前消除模式相同。当二者不同时,则方法600指示时控电路将当前消除模式改变到选择的消除模式,为此将执行步骤607和608;反之,当二者相同时,则指示时控电路保持在当前消除模式,并且流程返回到步骤605。After executing any one of the above steps 601, 602, 603 and 604, the method 600 proceeds to step 605, where the method 600 can select one of the multiple elimination modes based on the instruction, for example, through the aforementioned mode circuit. After selecting an elimination mode, at step 606, the method 600 can determine whether the selected elimination mode is the same as the current elimination mode of the processing circuit. When the two are different, the method 600 instructs the timing circuit to change the current elimination mode to the selected elimination mode, and steps 607 and 608 will be executed for this purpose; on the contrary, when the two are the same, the timing circuit is instructed to remain in the current elimination mode, and the process returns to step 605.

在步骤607中,方法600根据指令对多个处理电路执行同步操作,以确定多个处理电路是否处于空闲状态,即前面结合图3所描述的可选预处理操作。接着,当确定多个处理电路处于空闲状态时,在步骤608处,方法600指示对应的多个时控电路对多个处理电路的时钟信号进行相应的调整。例如,消除处理电路的至少一个时钟沿信号,以降低处理电路的功率;或者,恢复消除的至少一个时钟沿信号,以升高处理电路的功率。对于消除时钟沿操作,在时间上来说,本披露提出每个时控电路所消除的时钟沿信号与其他时控电路所消除的时钟沿信号不重叠或者少重叠。进一步,在不重叠或少重叠的场景下,本披露还提出消除的时钟沿信号与其他时控电路消除的时钟沿信号可以以预定间隔交错布置。另外,在一些实施场景中,也可以不执行步骤607而直接执行步骤608。In step 607, the method 600 performs synchronization operations on multiple processing circuits according to the instructions to determine whether the multiple processing circuits are in an idle state, that is, the optional preprocessing operation described above in conjunction with FIG. 3. Next, when it is determined that the multiple processing circuits are in an idle state, at step 608, the method 600 instructs the corresponding multiple timing circuits to make corresponding adjustments to the clock signals of the multiple processing circuits. For example, at least one clock edge signal of the processing circuit is eliminated to reduce the power of the processing circuit; or, at least one eliminated clock edge signal is restored to increase the power of the processing circuit. For the clock edge elimination operation, in terms of time, the present disclosure proposes that the clock edge signal eliminated by each timing circuit does not overlap or overlaps less with the clock edge signal eliminated by other timing circuits. Further, in the scenario of no overlap or little overlap, the present disclosure also proposes that the eliminated clock edge signal and the clock edge signal eliminated by other timing circuits can be arranged alternately at predetermined intervals. In addition, in some implementation scenarios, step 607 may not be performed and step 608 may be performed directly.

图7是示出根据本披露实施例的处理器的结构示意图。可以理解的是此处描述的处理器可以执行前面结合图5-图6描述的实施例,并且关于图5-图6描述的技术细节同样也适用于图7的描述。Fig. 7 is a schematic diagram showing the structure of a processor according to an embodiment of the present disclosure. It is understood that the processor described herein can execute the embodiments described above in conjunction with Figs. 5-6, and the technical details described in Figs. 5-6 are also applicable to the description of Fig. 7.

如图7中所示,本披露的处理器总体上可以包括指令获取电路702和指令执行电路704。在一个或多个实施例中,指令获取电路702可以配置成获取用于调整处理器的功率的指令。进一步,当所述处理器包括一个或多个处理电路时,指令获取电路702可以配置成,在处理器上获取用于调整一个或多个处理电路的功率的指令。As shown in FIG7 , the processor of the present disclosure may generally include an instruction fetch circuit 702 and an instruction execution circuit 704. In one or more embodiments, the instruction fetch circuit 702 may be configured to fetch instructions for adjusting the power of the processor. Further, when the processor includes one or more processing circuits, the instruction fetch circuit 702 may be configured to fetch instructions for adjusting the power of the one or more processing circuits on the processor.

在一个或多个实施例中,指令执行电路704可以配置成基于指令来调整处理器的功率。具体地,当处理器还包括多个时控电路,其中每个时控电路与所述多个处理电路中的一个或多个相连接时,指令执行电路704可以配置成根据指令对部分或全部的多个时控电路进行操控,以指示所述时控电路对与其相连接的一个或多个处理电路的功率进行调整。In one or more embodiments, the instruction execution circuit 704 may be configured to adjust the power of the processor based on the instruction. Specifically, when the processor further includes a plurality of timing control circuits, wherein each timing control circuit is connected to one or more of the plurality of processing circuits, the instruction execution circuit 704 may be configured to manipulate part or all of the plurality of timing control circuits according to the instruction to instruct the timing control circuit to adjust the power of the one or more processing circuits connected thereto.

基于上文结合图7的描述,本领域技术人员也可以理解图7所示出的处理器也可以实现于一种集成电路装置中。因此,本披露也就同样公开了一种集成电路装置,其包括前述的处理器。Based on the above description in combination with Figure 7, those skilled in the art can also understand that the processor shown in Figure 7 can also be implemented in an integrated circuit device. Therefore, the present disclosure also discloses an integrated circuit device, which includes the aforementioned processor.

图8是示出根据本披露实施例的一种组合处理装置800的结构图。如图所示,该组合处理装置800包括处理装置802,该处理装置可以包括本披露前述的处理器并且可以配置用于执行前述结合附图所描述的控制方法。在一个或多个实施例中,该处理装置也可以是前述的芯片、集成电路装置。另外,该组合处理装置还包括通用互联接口804和其他处理装置806。根据本披露的处理装置802可以通过通用互联接口804与其他处理装置806进行交互,共同完成用户指定的操作。FIG8 is a structural diagram showing a combined processing device 800 according to an embodiment of the present disclosure. As shown in the figure, the combined processing device 800 includes a processing device 802, which may include the aforementioned processor of the present disclosure and may be configured to execute the aforementioned control method described in conjunction with the accompanying drawings. In one or more embodiments, the processing device may also be the aforementioned chip or integrated circuit device. In addition, the combined processing device also includes a universal interconnect interface 804 and other processing devices 806. The processing device 802 according to the present disclosure can interact with other processing devices 806 through the universal interconnect interface 804 to jointly complete the operation specified by the user.

根据本披露的方案,该其他处理装置可以包括中央处理器(“CPU”)、图形处理器(“GPU”)、人工智能处理器等通用和/或专用处理器中的一种或多种类型的处理器,其数目可以不做限制而是根据实际需要来确定。在一个或多个实施例中,该其他处理装置可以作为本披露的处理装置(其可以具体化为人工智能相关运算装置)与外部数据和控制的接口,执行包括但不限于数据搬运,完成对本机器学习运算装置的开启、停止等的基本控制;其他处理装置也可以和机器学习相关运算装置协作共同完成运算任务。According to the scheme disclosed herein, the other processing device may include one or more types of processors among general and/or special processors such as a central processing unit ("CPU"), a graphics processing unit ("GPU"), an artificial intelligence processor, etc., and the number of processors may not be limited but determined according to actual needs. In one or more embodiments, the other processing device may serve as an interface between the processing device disclosed herein (which may be embodied as an artificial intelligence-related computing device) and external data and control, and perform functions including but not limited to data transfer, and complete basic control of the start and stop of the machine learning computing device; other processing devices may also collaborate with machine learning-related computing devices to jointly complete computing tasks.

根据本披露的方案,该通用互联接口可以用于在处理装置与其他处理装置间传输数据和控制指令。例如,该处理装置可以经由所述通用互联接口从其他处理装置中获取所需的输入数据,写入该处理装置片上的存储装置(或称存储器)。进一步,该处理装置可以经由所述通用互联接口从其他处理装置中获取控制指令,写入处理装置片上的控制缓存。替代地或可选地,通用互联接口也可以读取处理装置的存储模块中的数据并传输给其他处理装置。According to the solution disclosed herein, the universal interconnect interface can be used to transmit data and control instructions between the processing device and other processing devices. For example, the processing device can obtain the required input data from other processing devices via the universal interconnect interface and write it into the storage device (or memory) on the processing device chip. Further, the processing device can obtain control instructions from other processing devices via the universal interconnect interface and write them into the control cache on the processing device chip. Alternatively or optionally, the universal interconnect interface can also read the data in the storage module of the processing device and transmit it to other processing devices.

可选的,该组合处理装置还可以包括存储装置808,其可以分别与所述处理装置和所述其他处理装置连接。在一个或多个实施例中,存储装置可以用于保存所述处理装置和所述其他处理装置的数据,尤其那些在处理装置或其他处理装置的内部或片上存储装置中无法全部保存的数据。Optionally, the combined processing device may further include a storage device 808, which may be connected to the processing device and the other processing devices, respectively. In one or more embodiments, the storage device may be used to store data of the processing device and the other processing devices, especially data that cannot be fully stored in the internal or on-chip storage device of the processing device or other processing devices.

根据应用场景的不同,本披露的组合处理装置可以作为手机、机器人、无人机、视频采集设备等设备的SOC片上系统,有效降低控制部分的核心面积,提高处理速度,降低整体功耗。在此情况下,该组合处理装置的通用互联接口与设备的某些部件相连接。某些部件例如摄像头、显示器、鼠标、键盘、网卡或wifi接口。According to different application scenarios, the combined processing device disclosed in the present invention can be used as a SOC chip system for mobile phones, robots, drones, video acquisition equipment and other devices, effectively reducing the core area of the control part, improving the processing speed, and reducing the overall power consumption. In this case, the universal interconnection interface of the combined processing device is connected to certain components of the device. Certain components such as cameras, displays, mice, keyboards, network cards or wifi interfaces.

在一些实施例里,本披露还公开了一种芯片,其包括了上述处理装置或组合处理装置。在另一些实施例里,本披露还公开了一种芯片封装结构,其包括了上述芯片。In some embodiments, the present disclosure further discloses a chip, which includes the above processing device or the combined processing device. In other embodiments, the present disclosure further discloses a chip packaging structure, which includes the above chip.

在一些实施例里,本披露还公开了一种板卡,其包括了上述芯片封装结构。参阅图9,其提供了前述的示例性板卡,上述板卡除了包括上述芯片902以外,还可以包括其他的配套部件,该配套部件包括但不限于:存储器件904、接口装置906和控制器件908。In some embodiments, the present disclosure also discloses a board card, which includes the above chip packaging structure. Referring to FIG. 9 , it provides the above exemplary board card, which, in addition to the above chip 902 , may also include other supporting components, including but not limited to: a storage device 904 , an interface device 906 , and a control device 908 .

所述存储器件与所述芯片封装结构内的芯片通过总线连接,用于存储数据。所述存储器件可以包括多组存储单元910。每一组所述存储单元与所述芯片通过总线连接。可以理解,每一组所述存储单元可以是DDRSDRAM(“Double Data Rate SDRAM,双倍速率同步动态随机存储器”)。The memory device is connected to the chip in the chip package structure via a bus for storing data. The memory device may include multiple groups of memory cells 910. Each group of memory cells is connected to the chip via a bus. It is understood that each group of memory cells may be DDRSDRAM ("Double Data Rate SDRAM").

DDR不需要提高时钟频率就能加倍提高SDRAM的速度。DDR允许在时钟脉冲的上升沿和下降沿读出数据。DDR的速度是标准SDRAM的两倍。在一个实施例中,所述存储器件可以包括4组所述存储单元。每一组所述存储单元可以包括多个DDR4颗粒(芯片)。在一个实施例中,所述芯片内部可以包括4个72位DDR4控制器,上述72位DDR4控制器中64bit用于传输数据,8bit用于ECC校验。DDR can double the speed of SDRAM without increasing the clock frequency. DDR allows data to be read out at the rising and falling edges of the clock pulse. The speed of DDR is twice that of standard SDRAM. In one embodiment, the storage device may include 4 groups of storage units. Each group of storage units may include multiple DDR4 particles (chips). In one embodiment, the chip may include 4 72-bit DDR4 controllers, of which 64 bits are used for data transmission and 8 bits are used for ECC verification.

在一个实施例中,每一组所述存储单元包括多个并联设置的双倍速率同步动态随机存储器。DDR在一个时钟周期内可以传输两次数据。在所述芯片中设置控制DDR的控制器,用于对每个所述存储单元的数据传输与数据存储的控制。In one embodiment, each group of the storage units includes a plurality of double rate synchronous dynamic random access memories arranged in parallel. DDR can transmit data twice in one clock cycle. A controller for controlling DDR is arranged in the chip to control the data transmission and data storage of each of the storage units.

所述接口装置与所述芯片封装结构内的芯片电连接。所述接口装置用于实现所述芯片与外部设备912(例如服务器或计算机)之间的数据传输。例如在一个实施例中,所述接口装置可以为标准PCIE接口。比如,待处理的数据由服务器通过标准PCIE接口传递至所述芯片,实现数据转移。在另一个实施例中,所述接口装置还可以是其他的接口,本披露并不限制上述其他的接口的具体表现形式,所述接口单元能够实现转接功能即可。另外,所述芯片的计算结果仍由所述接口装置传送回外部设备(例如服务器)。The interface device is electrically connected to the chip in the chip packaging structure. The interface device is used to realize data transmission between the chip and an external device 912 (such as a server or a computer). For example, in one embodiment, the interface device can be a standard PCIE interface. For example, the data to be processed is transmitted to the chip by the server through the standard PCIE interface to realize data transfer. In another embodiment, the interface device can also be other interfaces. This disclosure does not limit the specific manifestations of the above-mentioned other interfaces. The interface unit can realize the switching function. In addition, the calculation results of the chip are still transmitted back to the external device (such as a server) by the interface device.

所述控制器件与所述芯片电连接。所述控制器件用于对所述芯片的状态进行监控。具体地,所述芯片与所述控制器件可以通过SPI接口电连接。所述控制器件可以包括单片机(Micro Controller Unit,MCU)。在一个或多个实施例中,所述芯片可以包括多个处理芯片、多个处理核或多个处理电路,可以带动多个负载。因此,所述芯片可以处于多负载和轻负载等不同的工作状态。通过所述控制装置可以实现对所述芯片中多个处理芯片、多个处理和/或多个处理电路的工作状态的调控。The control device is electrically connected to the chip. The control device is used to monitor the state of the chip. Specifically, the chip and the control device can be electrically connected via an SPI interface. The control device may include a single-chip microcomputer (Micro Controller Unit, MCU). In one or more embodiments, the chip may include multiple processing chips, multiple processing cores or multiple processing circuits, which can drive multiple loads. Therefore, the chip can be in different working states such as multi-load and light load. The control device can realize the regulation of the working states of multiple processing chips, multiple processing and/or multiple processing circuits in the chip.

在一些实施例里,本披露还公开了一种电子设备或装置,其包括了上述板卡。根据不同的应用场景,电子设备或装置可以包括数据处理装置、机器人、电脑、打印机、扫描仪、平板电脑、智能终端、手机、行车记录仪、导航仪、传感器、摄像头、服务器、云端服务器、相机、摄像机、投影仪、手表、耳机、移动存储、可穿戴设备、交通工具、家用电器、和/或医疗设备。所述交通工具包括飞机、轮船和/或车辆;所述家用电器包括电视、空调、微波炉、冰箱、电饭煲、加湿器、洗衣机、电灯、燃气灶、油烟机;所述医疗设备包括核磁共振仪、B超仪和/或心电图仪。In some embodiments, the present disclosure also discloses an electronic device or apparatus, which includes the above-mentioned board. According to different application scenarios, the electronic device or apparatus may include a data processing device, a robot, a computer, a printer, a scanner, a tablet computer, a smart terminal, a mobile phone, a driving recorder, a navigator, a sensor, a camera, a server, a cloud server, a camera, a video camera, a projector, a watch, a headset, a mobile storage, a wearable device, a means of transportation, a household appliance, and/or a medical device. The means of transportation include an airplane, a ship and/or a vehicle; the household appliances include a television, an air conditioner, a microwave oven, a refrigerator, an electric rice cooker, a humidifier, a washing machine, an electric lamp, a gas stove, and a range hood; the medical equipment includes an MRI, an ultrasound machine and/or an electrocardiograph.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本披露并不受所描述的动作顺序的限制,因为依据本披露,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本披露所必须的。It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。在本披露所提供的几个实施例中,应该理解到,所披露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性、光学、声学、磁性或其它的形式。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided in the present disclosure, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, optical, acoustic, magnetic or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本披露各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software program modules.

所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,当本披露的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本披露各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, when the technical solution of the present disclosure can be embodied in the form of a software product, the computer software product is stored in a memory, including a number of instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

依据以下条款可更好地理解前述内容:The foregoing content can be better understood in accordance with the following terms:

条款A1、一种处理器,包括:Clause A1. A processor comprising:

多个处理电路,其中每个处理电路配置用于执行运算操作;a plurality of processing circuits, wherein each processing circuit is configured to perform an arithmetic operation;

多个时控电路,其中每个时控电路与所述多个处理电路中的对应一个或多个相连接,并且配置用于对连接的所述处理电路的时钟信号进行调整;以及a plurality of timing control circuits, wherein each timing control circuit is connected to a corresponding one or more of the plurality of processing circuits and is configured to adjust a clock signal of the connected processing circuit; and

控制电路,其配置用于根据指令对部分或全部的多个时控电路进行操控,以便指示所述操控的时控电路对与其相连接的处理电路的时钟信号进行所述调整。The control circuit is configured to control part or all of the multiple timing control circuits according to the instruction, so as to instruct the controlled timing control circuit to adjust the clock signal of the processing circuit connected thereto.

条款A2、根据条款A1所述的处理器,其中在对相连接的处理电路的时钟信号进行调整中,所述时控电路配置用于:Clause A2. A processor according to clause A1, wherein in adjusting a clock signal of a connected processing circuit, the timing circuit is configured to:

根据所述控制电路的操控来降低所述处理电路的时钟信号的频率;或者reducing the frequency of the clock signal of the processing circuit according to the manipulation of the control circuit; or

根据所述控制电路的操控来升高所述处理电路的时钟信号的频率。The frequency of the clock signal of the processing circuit is increased according to the control circuit.

条款A3、根据条款A2所述的处理器,其中在降低或者升高所述时钟信号的频率中,所述时控电路配置用于根据所述控制电路的操控来执行:Clause A3. The processor of clause A2, wherein in reducing or increasing the frequency of the clock signal, the timing control circuit is configured to perform, based on the manipulation of the control circuit:

消除时钟信号中的至少一个时钟沿信号,以降低所述时钟信号的频率;或者Eliminating at least one clock edge signal in a clock signal to reduce the frequency of the clock signal; or

恢复消除的所述时钟沿信号,以升高所述时钟信号的所述频率。The eliminated clock edge signal is restored to increase the frequency of the clock signal.

条款A4、根据条款A3所述的处理器,其中在消除时钟信号中的至少一个时钟沿信号中,所述每个时控电路在所述控制电路的操控下,配置用于使其消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠。Item A4. A processor according to Item A3, wherein in eliminating at least one clock edge signal in a clock signal, each of the timing control circuits, under the control of the control circuit, is configured to make the clock edge signal it eliminates not overlap or overlap less with the clock edge signals eliminated by other timing control circuits.

条款A5、根据条款A4所述的处理器,其中所述消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠包括所述消除的时钟沿信号与其他时控电路消除的时钟沿信号以预定的间隔交错布置。Item A5. A processor according to Item A4, wherein the eliminated clock edge signal does not overlap or overlaps less with the clock edge signals eliminated by other timing control circuits, including that the eliminated clock edge signal and the clock edge signals eliminated by other timing control circuits are staggered at predetermined intervals.

条款A6、根据条款A5所述的处理器,进一步包括:Clause A6. The processor of clause A5, further comprising:

模式电路,其配置用于将多个所述预定的间隔中的每个与一种消除时钟沿信号的消除模式相关联,a mode circuit configured to associate each of a plurality of the predetermined intervals with an elimination mode for eliminating a clock edge signal,

其中所述控制电路还配置用于根据所述指令来查询所述模式电路以获得相应的消除模式,以便确定是否指示所述时控电路操作于所述消除模式。The control circuit is further configured to query the mode circuit according to the instruction to obtain a corresponding elimination mode, so as to determine whether to instruct the timing control circuit to operate in the elimination mode.

条款A7、根据条款A6所述的处理器,其中在确定是否指示所述时控电路操作于所述消除模式中,所述控制电路还配置用于:Clause A7. The processor of clause A6, wherein in determining whether to instruct the timing circuit to operate in the elimination mode, the control circuit is further configured to:

将获得的消除模式与所述时控电路的当前消除模式进行比较,以确定二者是否相同;以及comparing the obtained elimination pattern with the current elimination pattern of the timing control circuit to determine whether the two are the same; and

响应于获得的消除模式与所述当前消除模式不同,指示所述时控电路将所述当前消除模式改变到所述获得的消除模式,以对所述处理电路的时钟信号进行相应的调整。In response to the obtained elimination mode being different from the current elimination mode, the timing control circuit is instructed to change the current elimination mode to the obtained elimination mode, so as to adjust the clock signal of the processing circuit accordingly.

条款A8、根据条款A7所述的处理器,其中响应于获得的消除模式与所述当前消除模式相同,所述控制电路还配置用于:Clause A8. The processor of clause A7, wherein in response to the obtained erasure mode being the same as the current erasure mode, the control circuit is further configured to:

指示所述时控电路保持在所述当前消除模式。The timing circuit is instructed to remain in the current elimination mode.

条款A9、根据条款A1-A8的任意一项所述的处理器,其中在根据所述指令对所述部分或全部的多个时控电路进行操控中,所述控制电路还配置用于:Clause A9. A processor according to any one of clauses A1-A8, wherein in operating the part or all of the plurality of timing control circuits according to the instruction, the control circuit is further configured to:

在对多个处理电路的时钟信号进行相应的调整前,对操控的多个处理电路执行同步操作。Before adjusting the clock signals of the plurality of processing circuits accordingly, a synchronization operation is performed on the plurality of processing circuits being controlled.

条款A10、根据条款A9所述的处理器,其中在所述同步操作中,所述控制电路还配置用于:Clause A10. The processor of clause A9, wherein in the synchronous operation, the control circuit is further configured to:

确定多个处理电路是否处于空闲状态;以及determining whether the plurality of processing circuits are in an idle state; and

响应于确定多个处理电路处于所述空闲状态,指示对应的多个时控电路对所述多个处理电路的时钟信号进行相应的调整。In response to determining that the plurality of processing circuits are in the idle state, the corresponding plurality of timing control circuits are instructed to adjust the clock signals of the plurality of processing circuits accordingly.

条款A11、根据条款A10所述的处理器,其中所述指令是接收来自于所述处理器外部输入的指令。Item A11. A processor according to Item A10, wherein the instruction is an instruction received from an external input of the processor.

条款A12、根据条款A10所述的处理器,其中所述指令是处理器根据待执行的运算模式、数据类型、工作模式中的一项或多项所生成的指令。Item A12. A processor according to Item A10, wherein the instruction is an instruction generated by the processor based on one or more of an operation mode, a data type, and a working mode to be executed.

条款A13、根据条款A10所述的处理器,其中所述指令是基于处理器的当前工作负载所生成的指令。Clause A13. A processor as described in clause A10, wherein the instructions are instructions generated based on a current workload of the processor.

条款A14、一种集成电路装置,包括根据条款A1-A13的任意一项所述的处理器。Clause A14. An integrated circuit device comprising a processor according to any one of clauses A1-A13.

条款A15、一种用于控制处理器的方法,其中所述处理器包括多个处理电路、多个时控电路和控制电路,其中所述处理电路配置用于执行运算操作,并且每个时控电路与对应一个或多个处理电路相连接,所述方法包括:Clause A15. A method for controlling a processor, wherein the processor comprises a plurality of processing circuits, a plurality of timing circuits and a control circuit, wherein the processing circuits are configured to perform arithmetic operations and each timing circuit is connected to a corresponding one or more processing circuits, the method comprising:

指示所述控制电路根据指令对部分或全部的多个时控电路进行操控;以及instructing the control circuit to operate part or all of the plurality of timing control circuits according to the instruction; and

响应于所述控制电路的操控,指示所述操控的时控电路对与其相连接的处理电路的时钟信号进行调整。In response to the manipulation of the control circuit, the manipulated timing control circuit is instructed to adjust the clock signal of the processing circuit connected thereto.

条款A16、根据条款A15所述的方法,其中在对相连接的处理电路的时钟信号进行调整中,所述方法还包括指示所述时控电路执行:Clause A16. The method of clause A15, wherein in adjusting the clock signal of the connected processing circuit, the method further comprises instructing the timing circuit to perform:

根据所述控制电路的操控来降低所述处理电路的时钟信号的频率;或者reducing the frequency of the clock signal of the processing circuit according to the manipulation of the control circuit; or

根据所述控制电路的操控来升高所述处理电路的时钟信号的频率。The frequency of the clock signal of the processing circuit is increased according to the control circuit.

条款A17、根据条款A16所述的方法,其中在降低或者升高所述时钟信号的频率中,所述方法还包括指示所述时控电路执行:Clause A17. The method of clause A16, wherein in reducing or increasing the frequency of the clock signal, the method further comprises instructing the timing circuit to perform:

消除时钟信号中的至少一个时钟沿信号,以降低所述时钟信号的频率;或者Eliminating at least one clock edge signal in a clock signal to reduce the frequency of the clock signal; or

恢复消除的所述时钟沿信号,以升高所述时钟信号的所述频率。The eliminated clock edge signal is restored to increase the frequency of the clock signal.

条款A18、根据条款A17所述的方法,其中在消除时钟信号中的至少一个时钟沿信号中,所述方法包括响应于所述控制电路的操控,指示所述操控的时控电路消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠。Item A18. A method according to Item A17, wherein in eliminating at least one clock edge signal in a clock signal, the method includes, in response to manipulation of the control circuit, indicating that the clock edge signal eliminated by the manipulated timing circuit does not overlap or has little overlap with the clock edge signals eliminated by other timing circuits.

条款A19、根据条款A18所述的方法,其中所述消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠包括所述消除的时钟沿信号与其他时控电路消除的时钟沿信号以预定的间隔交错布置。Item A19. A method according to Item A18, wherein the eliminated clock edge signal does not overlap or overlaps less with the clock edge signals eliminated by other timing control circuits, including that the eliminated clock edge signal is staggered at predetermined intervals with the clock edge signals eliminated by other timing control circuits.

条款A20、根据条款A19所述的方法,其中所述处理器还包括模式电路,所述方法进一步包括:Clause A20. The method of clause A19, wherein the processor further comprises a mode circuit, the method further comprising:

指示所述模式电路将多个所述预定的间隔中的每个与一种消除时钟沿信号的多种消除模式中的对应一种相关联;以及instructing the mode circuit to associate each of a plurality of the predetermined intervals with a corresponding one of a plurality of elimination modes for an elimination clock edge signal; and

指示所述控制电路根据所述指令来查询所述模式电路以获得相应的消除模式,以便确定是否指示所述时控电路操作于所述消除模式。The control circuit is instructed to query the mode circuit according to the instruction to obtain a corresponding elimination mode, so as to determine whether to instruct the timing control circuit to operate in the elimination mode.

条款A21、根据条款A20所述的方法,其中在确定是否指示所述时控电路操作于所述消除模式中,所述方法还包括指示所述控制电路执行:Clause A21. The method of clause A20, wherein in determining whether to instruct the timing circuit to operate in the elimination mode, the method further comprises instructing the control circuit to perform:

将获得的消除模式与所述时控电路的当前消除模式进行比较,以确定二者是否相同;以及comparing the obtained elimination pattern with the current elimination pattern of the timing control circuit to determine whether the two are the same; and

响应于获得的消除模式与所述当前消除模式不同,指示所述时控电路将所述当前消除模式改变到所述获得的消除模式,以对所述处理电路的时钟信号进行相应的调整。In response to the obtained elimination mode being different from the current elimination mode, the timing control circuit is instructed to change the current elimination mode to the obtained elimination mode, so as to adjust the clock signal of the processing circuit accordingly.

条款A22、根据条款A21所述的方法,其中响应于获得的消除模式与所述当前消除模式相同,所述方法还包括指示控制电路执行:Clause A22. The method of clause A21, wherein in response to the obtained elimination mode being the same as the current elimination mode, the method further comprises instructing the control circuit to perform:

指示所述时控电路保持在所述当前消除模式。The timing circuit is instructed to remain in the current elimination mode.

条款A23、根据条款A15-A22的任意一项所述的方法,其中在根据所述指令对所述部分或全部的多个时控电路进行操控中,所述方法还包括指示所述控制电路执行:Clause A23. A method according to any one of clauses A15-A22, wherein in operating some or all of the plurality of timing control circuits according to the instruction, the method further comprises instructing the control circuit to execute:

在对多个处理电路的时钟信号进行相应的调整前,对操控的多个处理电路执行同步操作。Before adjusting the clock signals of the plurality of processing circuits accordingly, a synchronization operation is performed on the plurality of processing circuits being controlled.

条款A24、根据条款A23所述的方法,其中在所述同步操作中,还指示所述控制电路执行:Clause A24. The method of clause A23, wherein in the synchronous operation, the control circuit is further instructed to perform:

确定多个处理电路是否处于空闲状态;以及determining whether the plurality of processing circuits are in an idle state; and

响应于确定多个处理电路处于所述空闲状态,指示对应的多个时控电路对所述多个处理电路的时钟信号进行相应的调整。In response to determining that the plurality of processing circuits are in the idle state, the corresponding plurality of timing control circuits are instructed to adjust the clock signals of the plurality of processing circuits accordingly.

条款A25、根据条款A24所述的方法,其中所述指令是接收来自于所述处理器外部输入的指令。Item A25. A method according to Item A24, wherein the instruction is an instruction received from an external input of the processor.

条款A26、根据条款A24所述的方法,其中所述指令是处理器根据待执行的运算模式、数据类型、工作模式中的一项或多项所生成的指令。Item A26. A method according to Item A24, wherein the instruction is an instruction generated by the processor based on one or more of an operation mode, a data type, and a working mode to be executed.

条款A27、根据条款A24所述的方法,其中所述指令是基于处理器的当前工作负载所生成的指令。Clause A27. A method according to clause A24, wherein the instructions are instructions generated based on a current workload of the processor.

应当理解,本披露的权利要求、说明书及附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。本披露的说明书和权利要求书中使用的术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that the terms "first", "second", "third", and "fourth" in the claims, specifications, and drawings of the present disclosure are used to distinguish different objects rather than to describe a specific order. The terms "include" and "comprise" used in the specifications and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements, and/or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and/or their collections.

还应当理解,在此本披露说明书中所使用的术语仅仅是出于描述特定实施例的目的,而并不意在限定本披露。如在本披露说明书和权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。还应当进一步理解,在本披露说明书和权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. As used in this disclosure and claims, the singular forms of "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and/or" used in this disclosure and claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations.

如在本说明书和权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

以上对本披露实施例进行了详细介绍,本文中应用了具体个例对本披露的原理及实施方式进行了阐述,以上实施例的说明仅用于帮助理解本披露的方法及其核心思想。同时,本领域技术人员依据本披露的思想,基于本披露的具体实施方式及应用范围上做出的改变或变形之处,都属于本披露保护的范围。综上所述,本说明书内容不应理解为对本披露的限制。The embodiments of the present disclosure are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only used to help understand the method and its core idea of the present disclosure. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present disclosure, the specific implementation methods and the scope of application of the present disclosure, all belong to the scope of protection of the present disclosure. In summary, the content of this specification should not be understood as a limitation on the present disclosure.

Claims (21)

1.一种处理器,包括:1. A processor, comprising: 多个处理电路,其中每个处理电路配置用于执行运算操作;a plurality of processing circuits, wherein each processing circuit is configured to perform an arithmetic operation; 多个时控电路,其中每个时控电路与所述多个处理电路中的对应一个或多个相连接,并且配置用于对连接的所述处理电路的时钟信号进行调整;a plurality of timing control circuits, wherein each timing control circuit is connected to a corresponding one or more of the plurality of processing circuits and is configured to adjust a clock signal of the connected processing circuit; 模式电路,包括多种消除模式,并配置用于将多个预定的间隔中的每个与一种消除时钟沿信号的消除模式相关联;以及a mode circuit including a plurality of elimination modes and configured to associate each of a plurality of predetermined intervals with an elimination mode that eliminates a clock edge signal; and 控制电路,其配置用于根据指令来查询模式电路以获得相应的消除模式,以便确定是否指示时控电路操作于所述消除模式;以及根据指令对部分或全部的多个时控电路进行操控,以便指示所述操控的时控电路对与其相连接的处理电路的时钟信号进行所述调整;A control circuit configured to query the mode circuit to obtain a corresponding elimination mode according to the instruction, so as to determine whether to instruct the timing control circuit to operate in the elimination mode; and to manipulate part or all of the plurality of timing control circuits according to the instruction, so as to instruct the manipulated timing control circuit to perform the adjustment on the clock signal of the processing circuit connected thereto; 其中在对相连接的处理电路的时钟信号进行调整中,所述时控电路配置用于:In adjusting the clock signal of the connected processing circuit, the timing control circuit is configured to: 根据所述控制电路的操控来消除时钟信号中的至少一个时钟沿信号,以降低所述处理电路的时钟信号的频率;或者Eliminating at least one clock edge signal in the clock signal according to the manipulation of the control circuit to reduce the frequency of the clock signal of the processing circuit; or 根据所述控制电路的操控来升高所述处理电路的时钟信号的频率;increasing the frequency of the clock signal of the processing circuit according to the manipulation of the control circuit; 其中在消除时钟信号中的至少一个时钟沿信号中,所述每个时控电路在所述控制电路的操控下,配置用于使其消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠,所述消除的时钟沿信号与其他时控电路消除的时钟沿信号以所述预定的间隔交错布置。In which, in eliminating at least one clock edge signal in the clock signal, each timing control circuit is configured, under the control of the control circuit, to make the clock edge signal eliminated by it not overlap or overlap less with the clock edge signals eliminated by other timing control circuits, and the eliminated clock edge signal and the clock edge signals eliminated by other timing control circuits are arranged alternately at the predetermined interval. 2.根据权利要求1所述的处理器,其中在升高所述时钟信号的频率中,所述时控电路配置用于根据所述控制电路的操控来执行:2. The processor according to claim 1, wherein in increasing the frequency of the clock signal, the timing control circuit is configured to perform, according to the control of the control circuit: 恢复消除的所述时钟沿信号,以升高所述时钟信号的所述频率。The eliminated clock edge signal is restored to increase the frequency of the clock signal. 3.根据权利要求1所述的处理器,其中在确定是否指示所述时控电路操作于所述消除模式中,所述控制电路还配置用于:3. The processor of claim 1 , wherein in determining whether to instruct the timing circuit to operate in the elimination mode, the control circuit is further configured to: 将获得的消除模式与所述时控电路的当前消除模式进行比较,以确定二者是否相同;以及comparing the obtained elimination pattern with the current elimination pattern of the timing control circuit to determine whether the two are the same; and 响应于获得的消除模式与所述当前消除模式不同,指示所述时控电路将所述当前消除模式改变到所述获得的消除模式,以对所述处理电路的时钟信号进行相应的调整。In response to the obtained elimination mode being different from the current elimination mode, the timing control circuit is instructed to change the current elimination mode to the obtained elimination mode, so as to adjust the clock signal of the processing circuit accordingly. 4.根据权利要求3所述的处理器,其中响应于获得的消除模式与所述当前消除模式相同,所述控制电路还配置用于:4. The processor according to claim 3, wherein in response to the obtained erasure mode being the same as the current erasure mode, the control circuit is further configured to: 指示所述时控电路保持在所述当前消除模式。The timing circuit is instructed to remain in the current elimination mode. 5.根据权利要求1-4的任意一项所述的处理器,其中在根据所述指令对所述部分或全部的多个时控电路进行操控中,所述控制电路还配置用于:5. The processor according to any one of claims 1 to 4, wherein in controlling the part or all of the plurality of timing control circuits according to the instruction, the control circuit is further configured to: 在对多个处理电路的时钟信号进行相应的调整前,对操控的多个处理电路执行同步操作。Before adjusting the clock signals of the plurality of processing circuits accordingly, a synchronization operation is performed on the plurality of processing circuits being controlled. 6.根据权利要求5所述的处理器,其中在所述同步操作中,所述控制电路还配置用于:6. The processor of claim 5, wherein in the synchronous operation, the control circuit is further configured to: 确定多个处理电路是否处于空闲状态;以及determining whether the plurality of processing circuits are in an idle state; and 响应于确定所述多个处理电路处于所述空闲状态,指示对应的多个时控电路对所述多个处理电路的时钟信号进行相应的调整。In response to determining that the plurality of processing circuits are in the idle state, the corresponding plurality of timing control circuits are instructed to adjust the clock signals of the plurality of processing circuits accordingly. 7.根据权利要求6所述的处理器,其中所述指令是接收来自于所述处理器外部输入的指令。7. The processor according to claim 6, wherein the instruction is an instruction received from an external input of the processor. 8.根据权利要求6所述的处理器,其中所述指令是处理器根据待执行的运算模式、数据类型、工作模式中的一项或多项所生成的指令。8. The processor according to claim 6, wherein the instruction is an instruction generated by the processor according to one or more of an operation mode, a data type, and a working mode to be executed. 9.根据权利要求6所述的处理器,其中所述指令是基于处理器的当前工作负载所生成的指令。9. The processor of claim 6, wherein the instructions are instructions generated based on a current workload of the processor. 10.一种集成电路装置,包括根据权利要求1-9的任意一项所述的处理器。10. An integrated circuit device comprising a processor according to any one of claims 1-9. 11.一种用于控制处理器的方法,其中所述处理器包括多个处理电路、多个时控电路、模式电路和控制电路,其中所述处理电路配置用于执行运算操作,并且每个时控电路与对应一个或多个处理电路相连接,所述模式电路包括多种消除模式,并配置用于将多个预定的间隔中的每个与一种消除时钟沿信号的消除模式相关联,所述方法包括:11. A method for controlling a processor, wherein the processor comprises a plurality of processing circuits, a plurality of timing circuits, a mode circuit and a control circuit, wherein the processing circuit is configured to perform arithmetic operations, and each timing circuit is connected to one or more corresponding processing circuits, the mode circuit comprises a plurality of elimination modes, and is configured to associate each of a plurality of predetermined intervals with an elimination mode for eliminating a clock edge signal, the method comprising: 指示所述控制电路根据指令来查询所述模式电路以获得相应的消除模式,以便确定是否指示所述时控电路操作于所述消除模式;Instructing the control circuit to query the mode circuit to obtain a corresponding elimination mode according to the instruction, so as to determine whether to instruct the timing control circuit to operate in the elimination mode; 指示所述控制电路根据指令对部分或全部的多个时控电路进行操控;以及instructing the control circuit to operate part or all of the plurality of timing control circuits according to the instruction; and 响应于所述控制电路的操控,指示所述操控的时控电路对与其相连接的处理电路的时钟信号进行调整;In response to the manipulation of the control circuit, instructing the manipulated timing control circuit to adjust the clock signal of the processing circuit connected thereto; 其中在对相连接的处理电路的时钟信号进行调整中,所述方法还包括指示所述时控电路执行:In adjusting the clock signal of the connected processing circuit, the method further includes instructing the timing control circuit to execute: 根据所述控制电路的操控来消除时钟信号中的至少一个时钟沿信号,以降低所述处理电路的时钟信号的频率;或者Eliminating at least one clock edge signal in the clock signal according to the manipulation of the control circuit to reduce the frequency of the clock signal of the processing circuit; or 根据所述控制电路的操控来升高所述处理电路的时钟信号的频率;increasing the frequency of the clock signal of the processing circuit according to the manipulation of the control circuit; 其中在消除时钟信号中的至少一个时钟沿信号中,所述方法包括响应于所述控制电路的操控,指示所述操控的时控电路消除的时钟沿信号与其他时控电路消除的时钟沿信号不重叠或者少重叠,所述消除的时钟沿信号与其他时控电路消除的时钟沿信号以所述预定的间隔交错布置。In eliminating at least one clock edge signal in the clock signal, the method includes, in response to the manipulation of the control circuit, instructing the manipulated timing circuit to eliminate the clock edge signal that does not overlap or has little overlap with the clock edge signals eliminated by other timing circuits, and the eliminated clock edge signal and the clock edge signals eliminated by other timing circuits are arranged alternately at the predetermined interval. 12.根据权利要求11所述的方法,其中在升高所述时钟信号的频率中,所述方法还包括指示所述时控电路执行:12. The method according to claim 11, wherein in increasing the frequency of the clock signal, the method further comprises instructing the timing control circuit to perform: 恢复消除的所述时钟沿信号,以升高所述时钟信号的所述频率。The eliminated clock edge signal is restored to increase the frequency of the clock signal. 13.根据权利要求11所述的方法,其中在确定是否指示所述时控电路操作于所述消除模式中,所述方法还包括指示所述控制电路执行:13. The method of claim 11, wherein in determining whether to instruct the timing control circuit to operate in the elimination mode, the method further comprises instructing the control circuit to perform: 将获得的消除模式与所述时控电路的当前消除模式进行比较,以确定二者是否相同;以及comparing the obtained elimination pattern with the current elimination pattern of the timing control circuit to determine whether the two are the same; and 响应于获得的消除模式与所述当前消除模式不同,指示所述时控电路将所述当前消除模式改变到所述获得的消除模式,以对所述处理电路的时钟信号进行相应的调整。In response to the obtained elimination mode being different from the current elimination mode, the timing control circuit is instructed to change the current elimination mode to the obtained elimination mode, so as to adjust the clock signal of the processing circuit accordingly. 14.根据权利要求13所述的方法,其中响应于获得的消除模式与所述当前消除模式相同,所述方法还包括指示控制电路执行:14. The method according to claim 13, wherein in response to the obtained elimination mode being the same as the current elimination mode, the method further comprises instructing a control circuit to execute: 指示所述时控电路保持在所述当前消除模式。The timing circuit is instructed to remain in the current elimination mode. 15.根据权利要求11-14的任意一项所述的方法,其中在根据所述指令对所述部分或全部的多个时控电路进行操控中,所述方法还包括指示所述控制电路执行:15. The method according to any one of claims 11 to 14, wherein in controlling the part or all of the plurality of timing control circuits according to the instruction, the method further comprises instructing the control circuit to execute: 在对多个处理电路的时钟信号进行相应的调整前,对操控的多个处理电路执行同步操作。Before adjusting the clock signals of the plurality of processing circuits accordingly, a synchronization operation is performed on the plurality of processing circuits being controlled. 16.根据权利要求15所述的方法,其中在所述同步操作中,还指示所述控制电路执行:16. The method according to claim 15, wherein in the synchronous operation, the control circuit is further instructed to execute: 确定多个处理电路是否处于空闲状态;以及determining whether the plurality of processing circuits are in an idle state; and 响应于确定多个处理电路处于所述空闲状态,指示对应的多个时控电路对所述多个处理电路的时钟信号进行相应的调整。In response to determining that the plurality of processing circuits are in the idle state, the corresponding plurality of timing control circuits are instructed to adjust the clock signals of the plurality of processing circuits accordingly. 17.根据权利要求16所述的方法,其中所述指令是接收来自于所述处理器外部输入的指令。The method according to claim 16 , wherein the instruction is an instruction received from an external input of the processor. 18.根据权利要求16所述的方法,其中所述指令是处理器根据待执行的运算模式、数据类型、工作模式中的一项或多项所生成的指令。18. The method according to claim 16, wherein the instruction is an instruction generated by a processor according to one or more of an operation mode, a data type, and a working mode to be executed. 19.根据权利要求16所述的方法,其中所述指令是基于处理器的当前工作负载所生成的指令。19. The method of claim 16, wherein the instructions are instructions generated based on a current workload of a processor. 20.一种计算机装置,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器执行所述计算机程序以实现权利要求11-19的任意一项所述的方法。20. A computer device comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the method according to any one of claims 11 to 19. 21.一种计算机可读存储介质,其上存储有计算机程序/指令,该计算机程序/指令被处理器执行时实现权利要求11-19的任意一项所述的方法。21. A computer-readable storage medium having a computer program/instruction stored thereon, wherein the computer program/instruction, when executed by a processor, implements the method according to any one of claims 11 to 19.
CN202010014945.4A 2020-01-07 2020-01-07 Method and device for controlling processor and processor thereof Active CN113157079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010014945.4A CN113157079B (en) 2020-01-07 2020-01-07 Method and device for controlling processor and processor thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010014945.4A CN113157079B (en) 2020-01-07 2020-01-07 Method and device for controlling processor and processor thereof

Publications (2)

Publication Number Publication Date
CN113157079A CN113157079A (en) 2021-07-23
CN113157079B true CN113157079B (en) 2024-05-24

Family

ID=76881512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010014945.4A Active CN113157079B (en) 2020-01-07 2020-01-07 Method and device for controlling processor and processor thereof

Country Status (1)

Country Link
CN (1) CN113157079B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589884B (en) * 2021-08-30 2025-06-24 中科寒武纪科技股份有限公司 A data processing system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB830448A (en) * 1956-02-28 1960-03-16 Collins Radio Co Improvements in or relating to printing telegraph signal transmission systems
US6532574B1 (en) * 2000-08-17 2003-03-11 International Business Machines Corporation Post-manufacture signal delay adjustment to solve noise-induced delay variations
CN1502072A (en) * 2001-02-07 2004-06-02 �����ɷ� Method and apparatus for applying clock signals to the processor of mobile subscriber station to manage power consumption
JP2006163531A (en) * 2004-12-02 2006-06-22 Sony Corp Semiconductor integrated circuit
KR20080001861A (en) * 2006-06-30 2008-01-04 삼성전자주식회사 Skew elimination circuit and the method of eliminating skew
JP2008236179A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Clock recovery circuit
CN101578565A (en) * 2007-01-10 2009-11-11 国际商业机器公司 Method and apparatus for power throttling a processor in an information handling system
CN104704438A (en) * 2012-10-31 2015-06-10 英特尔公司 Reducing the overhead associated with frequency changes in processors
CN107678855A (en) * 2017-09-19 2018-02-09 中国电子产品可靠性与环境试验研究所 Processor dynamic regulating method, device and processor chips

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014131168A (en) * 2012-12-28 2014-07-10 Fujitsu Semiconductor Ltd Electric circuit and semiconductor device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB830448A (en) * 1956-02-28 1960-03-16 Collins Radio Co Improvements in or relating to printing telegraph signal transmission systems
US6532574B1 (en) * 2000-08-17 2003-03-11 International Business Machines Corporation Post-manufacture signal delay adjustment to solve noise-induced delay variations
CN1502072A (en) * 2001-02-07 2004-06-02 �����ɷ� Method and apparatus for applying clock signals to the processor of mobile subscriber station to manage power consumption
JP2006163531A (en) * 2004-12-02 2006-06-22 Sony Corp Semiconductor integrated circuit
KR20080001861A (en) * 2006-06-30 2008-01-04 삼성전자주식회사 Skew elimination circuit and the method of eliminating skew
CN101578565A (en) * 2007-01-10 2009-11-11 国际商业机器公司 Method and apparatus for power throttling a processor in an information handling system
JP2008236179A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Clock recovery circuit
CN104704438A (en) * 2012-10-31 2015-06-10 英特尔公司 Reducing the overhead associated with frequency changes in processors
CN107678855A (en) * 2017-09-19 2018-02-09 中国电子产品可靠性与环境试验研究所 Processor dynamic regulating method, device and processor chips

Also Published As

Publication number Publication date
CN113157079A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN110119807B (en) Operation method, operation device, computer equipment and storage medium
WO2021185262A1 (en) Computing apparatus and method, board card, and computer readable storage medium
CN111209244B (en) Data processing devices and related products
CN111783954B (en) Method, electronic device and storage medium for determining performance of neural network
CN113157079B (en) Method and device for controlling processor and processor thereof
CN111767995B (en) Computing methods, devices and related products
CN111260043B (en) Data selector, data processing method, chip and electronic equipment
EP4141685A1 (en) Method and device for constructing communication topology structure on basis of multiple processing nodes
CN113033791B (en) Computing device, integrated circuit device, board card and order preserving method for order preserving
CN111260042B (en) Data selector, data processing method, chip and electronic device
CN111381882B (en) Data processing device and related products
CN113157078B (en) Method and device for controlling processor and processor thereof
CN111723920B (en) Artificial intelligence computing devices and related products
CN113448718B (en) Method, apparatus and computer readable storage medium for frequency modulation of chip
WO2021223642A1 (en) Data processing method and apparatus, and related product
US11983535B2 (en) Artificial intelligence computing device and related product
CN111384944B (en) Full adder, half adder, data processing method, chip and electronic equipment
CN111275197B (en) Operation method, device, computer equipment and storage medium
CN111723921B (en) Artificial intelligence computing device and related products
CN113032298B (en) Computing device, integrated circuit device, board card and order preserving method for order preserving
CN111260045B (en) Decoder and atomic instruction analysis method
CN113190209B (en) A computing device and a computing method
CN114282162B (en) Matrix multiplication operation method, electronic device and storage medium
CN118131888A (en) Power consumption control method, computing device, chip and board
CN113032299B (en) Bus system, integrated circuit device, board card and order preserving method for processing request

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