JP7070023B2 - Arithmetic processing device and control method of arithmetic processing device - Google Patents

Arithmetic processing device and control method of arithmetic processing device Download PDF

Info

Publication number
JP7070023B2
JP7070023B2 JP2018082002A JP2018082002A JP7070023B2 JP 7070023 B2 JP7070023 B2 JP 7070023B2 JP 2018082002 A JP2018082002 A JP 2018082002A JP 2018082002 A JP2018082002 A JP 2018082002A JP 7070023 B2 JP7070023 B2 JP 7070023B2
Authority
JP
Japan
Prior art keywords
interrupt
notification signal
interrupt notification
output
unit
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
JP2018082002A
Other languages
Japanese (ja)
Other versions
JP2019191789A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018082002A priority Critical patent/JP7070023B2/en
Publication of JP2019191789A publication Critical patent/JP2019191789A/en
Application granted granted Critical
Publication of JP7070023B2 publication Critical patent/JP7070023B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、演算処理装置および演算処理装置の制御方法に関する。 The present invention relates to an arithmetic processing apparatus and a control method for the arithmetic processing apparatus.

CPU(Central Processing Unit)の割り込みの制御方式として、コアやプロセッサの周辺機器の割り込みをCPU内の割り込み制御部にて制御する手法が用いられている。割り込み制御部で制御を行うことにより、割り込み制御部はシステム全体の割り込みの状態を加味しながら各コアに対して最優先で処理すべき割り込みが何であるかを判断することが出来る。割り込み制御部に対して、各コアで発生した割り込みを通知する手法として、各コアと割り込み制御部とを接続する専用線を用いて割り込みを通知する手法が用いられている。 As a CPU (Central Processing Unit) interrupt control method, a method of controlling interrupts of peripheral devices of a core or a processor by an interrupt control unit in the CPU is used. By controlling the interrupt control unit, the interrupt control unit can determine what interrupt should be processed with the highest priority for each core while taking into account the interrupt status of the entire system. As a method of notifying the interrupt control unit of the interrupt generated in each core, a method of notifying the interrupt by using a dedicated line connecting each core and the interrupt control unit is used.

受信した通信パケットを各プロセッサに正しく振り分ける技術が知られている(例えば、特許文献1参照)。プロセッサユニット間多重連携処理を実現し、マルチプロセッサシステムのシステム・スループット向上およびリアルタイム応答性向上を実現する技術が知られている(例えば、特許文献2参照)。 A technique for correctly distributing received communication packets to each processor is known (see, for example, Patent Document 1). There is known a technique for realizing multiple linkage processing between processor units, improving system throughput and improving real-time responsiveness of a multiprocessor system (see, for example, Patent Document 2).

特開2015-170947号公報JP-A-2015-170947 特開2006-119802号公報Japanese Unexamined Patent Publication No. 2006-11802

近年、1つのCPUに対して複数のコアを実装するメニーコアの技術が進歩してきており、複数のコアを実装するCPUが利用されている。割り込みの通知に用いられる専用線の本数はCPU内のコアの個数に比例して増えていく。そのため、割り込み制御部に割り込みを通知するまでの道程で割り込み専用線により配線チャネルを圧迫してしまい、実装面積が増大してしまうことが問題となっている。 In recent years, the technique of manycore that mounts a plurality of cores on one CPU has been advanced, and a CPU that mounts a plurality of cores is used. The number of dedicated lines used for interrupt notification increases in proportion to the number of cores in the CPU. Therefore, there is a problem that the wiring channel is pressed by the interrupt dedicated line in the process until the interrupt is notified to the interrupt control unit, and the mounting area increases.

1つの側面において、本発明は、演算部から割り込み制御部への割り込みの通知に用いられる配線の配線面積を削減することを目的とする。 In one aspect, it is an object of the present invention to reduce the wiring area of the wiring used for notifying an interrupt from the arithmetic unit to the interrupt control unit.

実施の形態の演算処理装置は、複数の演算部と、出力部と、受信部と、割り込み制御部と、を有する。 The arithmetic processing apparatus of the embodiment includes a plurality of arithmetic units, an output unit, a reception unit, and an interrupt control unit.

前記複数の演算部は、その各々に割り込み通知信号線が複数接続されており、前記割り込み通知信号線を1つずつ用いて、割り込みの発生と前記割り込みの種類とを示す割り込み通知信号を出力する。
前記出力部は、前記割り込み通知信号線を介して前記複数の演算部から受信した前記割り込み通知信号の状態を表すデータおよび前記割り込み通知信号を出力した演算部を示す識別情報を出力する。
A plurality of interrupt notification signal lines are connected to each of the plurality of arithmetic units, and each of the interrupt notification signal lines is used to output an interrupt notification signal indicating the occurrence of an interrupt and the type of the interrupt. ..
The output unit outputs data representing the state of the interrupt notification signal received from the plurality of arithmetic units via the interrupt notification signal line and identification information indicating the arithmetic unit that outputs the interrupt notification signal.

前記受信部は、前記出力部から受信した前記識別情報に基づいて、前記割り込み通知信号を出力した演算部に対応するレジスタに前記出力部から受信した割り込み通知信号の状態を表すデータを書き込む。 Based on the identification information received from the output unit, the receiving unit writes data representing the state of the interrupt notification signal received from the output unit to the register corresponding to the arithmetic unit that outputs the interrupt notification signal.

前記割り込み制御部は、前記レジスタを監視するとともに、前記割り込みの種類に対する優先度の情報であって予め格納されている前記優先度の情報と前記レジスタに書き込まれた前記データが示す前記割り込みの種類とに基づいて、起動させる割り込みを決定し、前記決定した割り込みについての前記割り込み通知信号を出力した演算部に、前記決定した割り込みを起動させる信号を出力する。 The interrupt control unit monitors the register, and the interrupt type indicated by the priority information stored in advance and the data written in the register, which is priority information for the interrupt type. Based on the above , the interrupt to be activated is determined, and the signal for activating the determined interrupt is output to the arithmetic unit that outputs the interrupt notification signal for the determined interrupt.

実施の形態によれば、演算部から割り込み制御部への割り込みの通知に用いられる配線の配線面積を削減することが出来る。 According to the embodiment, it is possible to reduce the wiring area of the wiring used for notifying the interrupt from the arithmetic unit to the interrupt control unit.

比較例のCPUの配線手法を示す図である。It is a figure which shows the wiring method of the CPU of the comparative example. 実施の形態のCPUの構成図である。It is a block diagram of the CPU of an embodiment. 割り込み通知パケット生成部およびパケットデコーダの詳細な構成図である。It is a detailed block diagram of an interrupt notification packet generation part and a packet decoder. 割り込み通知パケットのフォーマットを示す図である。It is a figure which shows the format of an interrupt notification packet. 実施の形態の制御方法のフローチャートである。It is a flowchart of the control method of embodiment. 実施の形態の制御方法のフローチャートである。It is a flowchart of the control method of embodiment. 実施の形態のCPUの各信号のタイミングチャートである。It is a timing chart of each signal of the CPU of an embodiment.

以下、図面を参照しながら実施の形態について説明する。
最初に比較例のCPUと問題点について説明し、その後、実施の形態のCPUについて説明する。
Hereinafter, embodiments will be described with reference to the drawings.
First, the CPU of the comparative example and the problem will be described, and then the CPU of the embodiment will be described.

図1は、比較例のCPUの配線手法を示す図である。
CPU11は、コア21-i(i=0~7)および割り込み制御部31を有する。
FIG. 1 is a diagram showing a wiring method of a CPU of a comparative example.
The CPU 11 has a core 21-i (i = 0 to 7) and an interrupt control unit 31.

コア21-iは、割り込み通知信号線41-i-j(j=1~3)および割り込み起動信号線51-iを介して割り込み制御部31と接続されている。すなわち、各コア21-iは4本の信号線で割り込み制御部31と接続されている。また、以下の説明および図面において、コア21-iをコアiと表記する場合がある。 The core 21-i is connected to the interrupt control unit 31 via the interrupt notification signal line 41-ij (j = 1 to 3) and the interrupt activation signal line 51-i. That is, each core 21-i is connected to the interrupt control unit 31 by four signal lines. Further, in the following description and drawings, core 21-i may be referred to as core i.

コア21-iは、割り込みの発生や種類を示す割り込み通知を割り込み通知信号線41-i-jを介して割り込み制御部31に通知する。 The core 21-i notifies the interrupt control unit 31 of an interrupt notification indicating the occurrence and type of an interrupt via the interrupt notification signal line 41-i-j.

割り込み制御部31は、割り込み通知を受信すると、割り込みを起動させる起動信号を割り込み起動信号線51-iを介してコア21-iに通知する。 Upon receiving the interrupt notification, the interrupt control unit 31 notifies the core 21-i of the activation signal for activating the interrupt via the interrupt activation signal line 51-i.

比較例のCPU11では、割り込み通知に用いられる割り込み通知信号線41-i-jは、コア21-iの数に比例して増えていく。そのため、コア21-iの数が増えると割り込み通知信号線41-i-jが配線チャネルを圧迫してしまい、実装面積が増大してしまう。 In the CPU 11 of the comparative example, the interrupt notification signal lines 41-i-j used for interrupt notification increase in proportion to the number of cores 21-i. Therefore, when the number of cores 21-i increases, the interrupt notification signal lines 41-i-j press the wiring channel, and the mounting area increases.

図2は、実施の形態のCPUの構成図である。
CPU101は、コア111-i(i=0~7)、割り込み通知パケット生成部121、パケットデコーダ131、および割り込み制御部141を有する。CPU101は、演算処理装置の一例である。また、コア111-iの数は一例であり、これに限られるものでない。また、以下の説明および図面において、コア111-iをコアiと表記する場合がある。
FIG. 2 is a configuration diagram of a CPU according to an embodiment.
The CPU 101 includes a core 111-i (i = 0 to 7), an interrupt notification packet generation unit 121, a packet decoder 131, and an interrupt control unit 141. The CPU 101 is an example of an arithmetic processing device. Further, the number of cores 111-i is an example, and the number is not limited to this. Further, in the following description and drawings, the core 111-i may be referred to as the core i.

コア111-iは、演算処理を行う。コア111-iは、演算部の一例である。コア111-iは、割り込み通知信号線151-i-j(j=1~3)を介して割り込み通知パケット生成部121と接続されている。尚、割り込み通知信号線151-i-jの数は一例であり、これに限られるものでない。 The core 111-i performs arithmetic processing. The core 111-i is an example of a calculation unit. The core 111-i is connected to the interrupt notification packet generation unit 121 via the interrupt notification signal line 151-ij (j = 1 to 3). The number of interrupt notification signal lines 151-i-j is an example, and is not limited to this.

コア111-iは、割り込み通知信号線151-i-jを介して、割り込みの発生や種類を示す割り込み通知信号を出力する。割り込み通知信号線151-i-1~151-i-3の信号(割り込み通知信号)の状態を表すデータをそれぞれ割り込みID1~割り込みID3と表記する。また、割り込みID1~割り込みID3をまとめて、割り込みIDと表記する場合がある。割り込みIDは、割り込み通知信号の状態を表すデータの一例である。 The core 111-i outputs an interrupt notification signal indicating the occurrence and type of an interrupt via the interrupt notification signal line 151-i-j. The data representing the state of the signals (interrupt notification signals) of the interrupt notification signal lines 151-i-1 to 151-i-3 are referred to as interrupt ID1 to interrupt ID3, respectively. Further, the interrupt ID1 to the interrupt ID3 may be collectively referred to as an interrupt ID. The interrupt ID is an example of data representing the state of the interrupt notification signal.

割り込み通知パケット生成部121は、割り込み通知パケット信号線161-k(k=1~4)を介してパケットデコーダ131と接続されている。 The interrupt notification packet generation unit 121 is connected to the packet decoder 131 via the interrupt notification packet signal line 161-k (k = 1 to 4).

割り込み通知パケット生成部121は、受信した割り込み通知信号をパケット化し、割り込み通知パケットを割り込み通知パケット信号線161-kを介してパケットデコーダ131に出力する。割り込み通知パケットは、割り込み通知信号線151-i-jの信号(割り込み通知信号)それぞれの状態を表す割り込みID1~ID3と、割り込み通知信号を出力したコア111-iを示すコアIDを含む。割り込み通知パケットの詳細は、後述する。 The interrupt notification packet generation unit 121 packetizes the received interrupt notification signal and outputs the interrupt notification packet to the packet decoder 131 via the interrupt notification packet signal line 161-k. The interrupt notification packet includes interrupt IDs 1 to ID 3 indicating the states of the signals (interrupt notification signals) of the interrupt notification signal lines 151-i-j, and core IDs indicating cores 111-i that output the interrupt notification signal. The details of the interrupt notification packet will be described later.

割り込み通知パケット生成部121は、割り込み通知信号線151-i-jから受信した割り込みIDを割り込み通知パケット信号線161-1~161-3を介してパケットデコーダ131に出力する。また、割り込み通知パケット生成部121は、割り込み発生を示す割り込み通知信号を出力したコア111-iを示すコアIDを割り込み通知パケット信号線161-4を介してパケットデコーダ131に出力する。尚、割り込み通知パケット信号線161-4は、複数の信号線を含んでよい。 The interrupt notification packet generation unit 121 outputs the interrupt ID received from the interrupt notification signal line 151-i-j to the packet decoder 131 via the interrupt notification packet signal lines 161-1 to 161-1. Further, the interrupt notification packet generation unit 121 outputs the core ID indicating the core 111-i that outputs the interrupt notification signal indicating the occurrence of the interrupt to the packet decoder 131 via the interrupt notification packet signal line 161-4. The interrupt notification packet signal line 161-4 may include a plurality of signal lines.

また、割り込み通知パケット生成部121は、複数のコア111-iから割り込み発生を示す割り込み通知信号を同時に受信した場合に、調停を行い、割り込みIDを含む割り込み通知パケットを順番に出力する。 Further, when the interrupt notification packet generation unit 121 simultaneously receives interrupt notification signals indicating the occurrence of an interrupt from a plurality of cores 111-i, the interrupt notification packet generation unit 121 performs arbitration and outputs interrupt notification packets including the interrupt ID in order.

尚、割り込み通知パケット生成部121は、コア111-iに近い位置に配置されるが望ましい。割り込み通知パケット生成部121は、出力部の一例である。 It is desirable that the interrupt notification packet generation unit 121 is arranged at a position close to the core 111-i. The interrupt notification packet generation unit 121 is an example of an output unit.

パケットデコーダ131は、割り込み通知信号線171-i-jを介して割り込み制御部141と接続されている。 The packet decoder 131 is connected to the interrupt control unit 141 via the interrupt notification signal line 171-i-j.

パケットデコーダ131は、受信したコアIDが示すコア111-iに対応する割り込み通知信号線171-i-jから、受信した割り込みIDを出力する。 The packet decoder 131 outputs the received interrupt ID from the interrupt notification signal line 171-i-j corresponding to the core 111-i indicated by the received core ID.

尚、パケットデコーダ131は、割り込み制御部141に近い位置に配置されるが望ましい。パケットデコーダ131は、受信部の一例である。 It is desirable that the packet decoder 131 is arranged at a position close to the interrupt control unit 141. The packet decoder 131 is an example of a receiving unit.

割り込み制御部141は、割り込み起動信号線181-iを介してコア111-iと接続されている。割り込み制御部141は、パケットデコーダ131から割り込み通知信号線171-i-jを介して割り込みIDを読み出す。割り込み制御部141は、読み出した割り込みIDに基づいて、現在発生している全ての割り込みの中から、最適な起動させる割り込みを決定する。割り込み制御部141は、割り込みを起動させる起動信号を割り込み起動信号線181-iを介してコア111-iに通知する。 The interrupt control unit 141 is connected to the core 111-i via the interrupt activation signal line 181-i. The interrupt control unit 141 reads the interrupt ID from the packet decoder 131 via the interrupt notification signal line 171-i-j. The interrupt control unit 141 determines the optimum interrupt to be activated from all currently generated interrupts based on the read interrupt ID. The interrupt control unit 141 notifies the core 111-i of the activation signal for activating the interrupt via the interrupt activation signal line 181-i.

実施の形態のCPUでは、割り込み通知パケット信号線161-kの数は割り込み専用線の3本に追加してコアIDの識別の信号線分である。そのため、コア111-iの数が増大しても、割り込み通知パケット信号線161-kの配線面積はコアIDの識別の信号線分しか増加せず、比較例のCPUと比べて割り込み通知に用いられる配線の配線面積を削減することが出来る。 In the CPU of the embodiment, the number of interrupt notification packet signal lines 161-k is a signal line segment for identifying the core ID in addition to the three interrupt dedicated lines. Therefore, even if the number of cores 111-i increases, the wiring area of the interrupt notification packet signal line 161-k increases only the signal line for identifying the core ID, and is used for interrupt notification as compared with the CPU of the comparative example. It is possible to reduce the wiring area of the wiring to be used.

図3は、割り込み通知パケット生成部およびパケットデコーダの詳細な構成図である。
割り込み通知パケット生成部121は、レジスタ122-i、比較回路123-i、調停回路124、AND回路125-i、およびOR回路126を含む。尚、図3では、簡単のため、コア111-1~111-6、レジスタ122-1~122-6、比較回路123-1~123-6、およびAND回路125-1~125-6の記載は省略している。また、図3では、簡単のため、割り込み通知信号線151-1-j~151-6-jの記載は省略している。
FIG. 3 is a detailed configuration diagram of an interrupt notification packet generation unit and a packet decoder.
The interrupt notification packet generation unit 121 includes a register 122-i, a comparison circuit 123-i, an arbiter circuit 124, an AND circuit 125-i, and an OR circuit 126. In FIG. 3, for the sake of simplicity, the cores 111-1 to 111-6, the registers 122-1 to 122-6, the comparison circuits 123-1 to 123-6, and the AND circuits 125-1 to 125-6 are described. Is omitted. Further, in FIG. 3, for the sake of simplicity, the description of the interrupt notification signal lines 151-1-j to 151-6-j is omitted.

レジスタ122-iは、コア111-iから割り込み通知信号線151-i-jを介して割り込み通知信号を受信し、割り込み通知信号の状態を表す割り込みIDを記憶する。尚、レジスタ122-iは、調停回路124からのレジスタ更新信号が入力されたら受信した割り込み通知信号の状態を表す割り込みIDを自身に書き込む。 The register 122-i receives an interrupt notification signal from the core 111-i via the interrupt notification signal line 151-i-j, and stores an interrupt ID indicating the state of the interrupt notification signal. The registers 122-i write to themselves an interrupt ID indicating the state of the interrupt notification signal received when the register update signal from the arbiter circuit 124 is input.

比較回路123-iは、レジスタ122-iに記憶されている割り込みID(レジスタ値)とコア111-iから受信した割り込み通知信号とを比較する。比較回路123-iは、レジスタ値とコア111-iから受信した割り込み通知信号の状態とが異なる場合、調停回路124に参加通知信号を出力(参加通知信号をオン)する。 The comparison circuit 123-i compares the interrupt ID (register value) stored in the registers 122-i with the interrupt notification signal received from the core 111-i. When the register value and the state of the interrupt notification signal received from the core 111-i are different from each other, the comparison circuit 123-i outputs a participation notification signal (participation notification signal is turned on) to the arbiter circuit 124.

調停回路124は、比較回路123-iから参加通知信号を受信すると、コア111-iを選択し、レジスタ122-iとAND回路125-iにレジスタ更新信号を出力(レジスタ更新信号をオン)する。また、調停回路124は、複数の比較回路123-iから参加通知信号を受信する(すなわち、複数のコア111-iが割り込みの発生を同時または近いタイミングで通知する)と、調停を行い、割り込みIDを送信するコア111-iを選択する。調停回路124は、選択したコア111-iに対応するレジスタ122-iとAND回路125-iにレジスタ更新信号を出力(レジスタ更新信号をオン)する。選択したコア111-iが出力した割り込み通知信号の状態を表す割り込みIDがパケットデコーダ131に出力されたら、調停回路124は、次に割り込みIDを送信するコア111-iを選択し、新たに選択したコア111-iに対応するレジスタ122-iとAND回路125-iにレジスタ更新信号を出力(レジスタ更新信号をオン)する。以下、同様の処理を繰り返して、割り込み通知パケット生成部121は、割り込みの発生を通知したコア111-iからの割り込みIDを順にパケットデコーダ131に出力する。調停回路124は、調停処理において、例えば、ラウンドロビンを用いて割り込みIDを送信するコア111-iを選択する。 Upon receiving the participation notification signal from the comparison circuit 123-i, the arbiter circuit 124 selects the core 111-i and outputs a register update signal to the registers 122-i and the AND circuit 125-i (register update signal is turned on). .. Further, when the arbitration circuit 124 receives the participation notification signal from the plurality of comparison circuits 123-i (that is, the plurality of cores 111-i notify the occurrence of the interrupt at the same time or at a close timing), the arbitration circuit 124 performs arbitration and interrupts. Select the core 111-i to which the ID is transmitted. The arbiter circuit 124 outputs a register update signal (register update signal is turned on) to the register 122-i corresponding to the selected core 111-i and the AND circuit 125-i. When the interrupt ID indicating the state of the interrupt notification signal output by the selected core 111-i is output to the packet decoder 131, the arbiter circuit 124 next selects the core 111-i to transmit the interrupt ID and newly selects it. A register update signal is output (register update signal is turned on) to the register 122-i corresponding to the core 111-i and the AND circuit 125-i. Hereinafter, the same process is repeated, and the interrupt notification packet generation unit 121 outputs the interrupt IDs from the cores 111-i that have notified the occurrence of the interrupt to the packet decoder 131 in order. In the arbitration process, the arbitration circuit 124 selects the core 111-i for transmitting the interrupt ID using, for example, round robin.

AND回路125-iは、コア111-iからの割り込み通知信号と調停回路124からのレジスタ更新信号を受信する。AND回路125-iは、調停回路124からレジスタ更新信号を受信した場合(参加通知信号がオンの場合)、割り込み通知パケットをOR回路126に出力する。割り込み通知パケットは、コア111-iからの割り込み通知信号の状態を示す割り込みID(割り込みID1~割り込みID3)とコア111-iを示すコアIDを含む。また、割り込みID1~割り込みID3およびコアIDはそれぞれ異なる信号線で送信される。 The AND circuit 125-i receives an interrupt notification signal from the core 111-i and a register update signal from the arbiter circuit 124. When the AND circuit 125-i receives the register update signal from the arbiter circuit 124 (when the participation notification signal is on), the AND circuit 125-i outputs an interrupt notification packet to the OR circuit 126. The interrupt notification packet includes an interrupt ID (interrupt ID1 to interrupt ID3) indicating the state of the interrupt notification signal from the core 111-i and a core ID indicating the core 111-i. Further, the interrupt ID 1 to the interrupt ID 3 and the core ID are transmitted by different signal lines.

OR回路126は、AND回路125-iから入力された割り込み通知パケットを割り込み通知パケット信号線161-kを介してパケットデコーダ131に出力する。OR回路126は、割り込み通知パケットを出力したら調停回路124に割り込み通知パケットの出力の完了を通知してもよい。それにより、調停回路124は、割り込み通知パケットの出力の完了を受信したら、調停処理において、次に割り込みIDを送信するコア111-iを選択する。 The OR circuit 126 outputs the interrupt notification packet input from the AND circuit 125-i to the packet decoder 131 via the interrupt notification packet signal line 161-k. When the OR circuit 126 outputs the interrupt notification packet, the arbiter circuit 124 may be notified of the completion of the output of the interrupt notification packet. As a result, when the arbitration circuit 124 receives the completion of the output of the interrupt notification packet, the arbitration circuit 124 selects the core 111-i to transmit the interrupt ID next in the arbitration process.

図4は、割り込み通知パケットのフォーマットを示す図である。
割り込み通知パケットは、コアID、割り込みID1、割り込みID2、および割り込みID3を含む。コアIDは、割り込み通知パケット信号線161-4を介してパケットデコーダ131に通知される。割り込みID1、割り込みID2、および割り込みID3は、割り込み通知パケット信号線161-1~161-3を介してパケットデコーダ131にそれぞれ通知される。
FIG. 4 is a diagram showing the format of the interrupt notification packet.
The interrupt notification packet includes a core ID, an interrupt ID 1, an interrupt ID 2, and an interrupt ID 3. The core ID is notified to the packet decoder 131 via the interrupt notification packet signal line 161-4. The interrupt ID 1, interrupt ID 2, and interrupt ID 3 are notified to the packet decoder 131 via the interrupt notification packet signal lines 161-1 to 161, respectively.

コアIDは、コア111-iを識別する情報である。例えば、コアID=コア0は、コア111-0を示す。コアIDは、識別情報の一例である。 The core ID is information that identifies the core 111-i. For example, core ID = core 0 indicates core 111-0. The core ID is an example of identification information.

割り込みID1は、コアIDが示すコア111―iが出力した割り込み通知信号のうち、割り込み通知信号線151-i-1の信号の状態(データ)を示す。 The interrupt ID 1 indicates the state (data) of the signal of the interrupt notification signal line 151-i-1 among the interrupt notification signals output by the core 111-i indicated by the core ID.

割り込みID2は、コアIDが示すコア111―iが出力した割り込み通知信号のうち、割り込み通知信号線151-i-2の信号の状態(データ)を示す。 The interrupt ID 2 indicates the state (data) of the signal of the interrupt notification signal line 151-i-2 among the interrupt notification signals output by the core 111-i indicated by the core ID.

割り込みID3は、コアIDが示すコア111―iが出力した割り込み通知信号のうち、割り込み通知信号線151-i-3の信号の状態(データ)を示す。 The interrupt ID 3 indicates the state (data) of the signal of the interrupt notification signal line 151-i-3 among the interrupt notification signals output by the core 111-i indicated by the core ID.

図3に戻り説明を続ける。
パケットデコーダ131は、コアIDデコーダ132、AND回路133-i、およびレジスタ134-iを含む。尚、図3では、簡単のため、AND回路133-1~133-6およびレジスタ134-1~134-6の記載は省略している。また、図3では、簡単のため、割り込み通知信号線171-1-j~171-6-jおよび割り込み起動信号線181-1~181-6の記載は省略している。
Returning to FIG. 3, the explanation will be continued.
The packet decoder 131 includes a core ID decoder 132, an AND circuit 133-i, and registers 134-i. In FIG. 3, for the sake of simplicity, the description of the AND circuits 133-1 to 133-6 and the registers 134-1 to 134-6 is omitted. Further, in FIG. 3, for the sake of simplicity, the description of the interrupt notification signal lines 171-1-j to 171-6-j and the interrupt activation signal lines 181-1 to 181-6 is omitted.

コアIDデコーダ132は、受信したコアIDをデコードして、コアIDに対応するコア111-iを確認し、当該コア111-iに対応するAND回路133-iにレジスタ更新信号を出力、すなわちレジスタ更新信号をオンにする。 The core ID decoder 132 decodes the received core ID, confirms the core 111-i corresponding to the core ID, and outputs a register update signal to the AND circuit 133-i corresponding to the core 111-i, that is, a register. Turn on the update signal.

AND回路133-iは、割り込み通知パケット信号線161-1~161-3を介して割り込みID1、割り込みID2、および割り込みID3を受信する。AND回路133-iは、コアIDデコーダ132からレジスタ更新信号を受信した場合(レジスタ更新信号がオンの場合)、受信した割り込みID1、割り込みID2、および割り込みID3をレジスタ134-iに出力する。 The AND circuit 133-i receives the interrupt ID1, the interrupt ID2, and the interrupt ID3 via the interrupt notification packet signal lines 161-1 to 161-3. When the AND circuit 133-i receives the register update signal from the core ID decoder 132 (when the register update signal is on), the AND circuit 133-i outputs the received interrupt ID 1, interrupt ID 2, and interrupt ID 3 to the register 134-i.

レジスタ134-iは、AND回路133-iから受信した割り込みID1、割り込みID2、および割り込みID3を記憶する。 Registers 134-i store interrupt ID 1, interrupt ID 2, and interrupt ID 3 received from the AND circuit 133-i.

割り込み制御部141は、レジスタ134-iを監視し、レジスタ134-iに記憶されている割り込みID1、割り込みID2、および割り込みID3を割り込み通知信号線171-i-jを介してそれぞれ読み出す。このように、コア111-iからの割り込み通知信号の状態が割り込み制御部141に入力される。 The interrupt control unit 141 monitors the register 134-i, and reads out the interrupt ID1, the interrupt ID2, and the interrupt ID3 stored in the register 134-i via the interrupt notification signal line 171-i-j, respectively. In this way, the state of the interrupt notification signal from the core 111-i is input to the interrupt control unit 141.

実施の形態のCPU101によれば、コア111-iの数が増えても割り込み通知パケット信号線161-kの数はコアIDの識別の信号線分しか増加しないため、割り込み通知に用いられる配線の配線面積を削減することが出来る。 According to the CPU 101 of the embodiment, even if the number of cores 111-i increases, the number of interrupt notification packet signal lines 161-k increases only by the signal line segment for identifying the core ID. The wiring area can be reduced.

図5A、5Bは、実施の形態の制御方法のフローチャートである。
ステップS501において、コア111-iは、割り込み通知信号線151-i-jを介して割り込み通知信号を割り込み通知パケット生成部121に出力する。コア111-iは、割り込み通知信号の状態を変化させて割り込みの発生や種類を通知する。
5A and 5B are flowcharts of the control method of the embodiment.
In step S501, the core 111-i outputs an interrupt notification signal to the interrupt notification packet generation unit 121 via the interrupt notification signal line 151-i-j. The core 111-i changes the state of the interrupt notification signal to notify the occurrence and type of the interrupt.

ステップS502において、比較回路123-iは、レジスタ122-iに記憶されている割り込みID(レジスタ値)とコア111-iから受信した割り込み通知信号とを比較する。レジスタ122-iのレジスタ値とコア111-iから受信した割り込み信号とが同じであれば、制御はステップS501に戻る。レジスタ122-iのレジスタ値とコア111-iから受信した割り込み通知信号とに差異があれば、制御はステップS503に進む。 In step S502, the comparison circuit 123-i compares the interrupt ID (register value) stored in the registers 122-i with the interrupt notification signal received from the core 111-i. If the register value of the register 122-i and the interrupt signal received from the core 111-i are the same, the control returns to step S501. If there is a difference between the register value of the register 122-i and the interrupt notification signal received from the core 111-i, the control proceeds to step S503.

ステップS503において、レジスタ122-iのレジスタ値とコア111-iから受信した割り込み通知信号との差異を検出した比較回路123-iは、調停回路124に参加通知信号を出力する。 In step S503, the comparison circuit 123-i that detects the difference between the register value of the register 122-i and the interrupt notification signal received from the core 111-i outputs the participation notification signal to the arbiter circuit 124.

ステップS504において、調停回路124は、参加通知の調停を行い、割り込みの発生を通知したコア111―iのうち、割り込みIDを割り込み制御部141(またはパケットデコーダ131)に通知するコア111-iを選択する。調停回路124は、選択したコア111-iに対応するレジスタ122-iとAND回路125-iにレジスタ更新信号を出力(レジスタ更新信号をオン)する。ここで、割り込みの発生を通知したコア111-iのうちの1つに着目し、着目したコア111-iを該当コアと表記する。調停回路124の調停により、該当コアが選択されたら、制御はステップS505に進む。 In step S504, the arbitration circuit 124 arbitrates the participation notification, and among the cores 111-i that notify the occurrence of the interrupt, the core 111-i that notifies the interrupt ID to the interrupt control unit 141 (or the packet decoder 131). select. The arbiter circuit 124 outputs a register update signal (register update signal is turned on) to the register 122-i corresponding to the selected core 111-i and the AND circuit 125-i. Here, attention is paid to one of the cores 111-i that have notified the occurrence of an interrupt, and the focused core 111-i is referred to as a corresponding core. When the corresponding core is selected by the arbitration of the arbiter circuit 124, the control proceeds to step S505.

ステップS505において、AND回路125-iは、調停回路124からレジスタ更新信号を受信した場合(参加通知信号がオンの場合)、割り込み通知信号をパケット化し、割り込み通知パケットをOR回路126に出力する。 In step S505, when the AND circuit 125-i receives the register update signal from the arbiter circuit 124 (when the participation notification signal is on), the AND circuit 125-i packetizes the interrupt notification signal and outputs the interrupt notification packet to the OR circuit 126.

ステップS506において、レジスタ122-iは、調停回路124からレジスタ更新信号を受信したら、受信した割り込み通知信号の状態を表す割り込みIDで記憶している割り込みID(レジスタ値)を更新する。 In step S506, when the register 122-i receives the register update signal from the arbiter circuit 124, the register 122-i updates the interrupt ID (register value) stored in the interrupt ID indicating the state of the received interrupt notification signal.

ステップS507において、OR回路126は、AND回路125-iから入力された割り込み通知パケットを割り込み通知パケット信号線161-kを介してパケットデコーダ131に出力する。 In step S507, the OR circuit 126 outputs the interrupt notification packet input from the AND circuit 125-i to the packet decoder 131 via the interrupt notification packet signal line 161-k.

ステップS508において、受信した割り込み通知パケットのうちの受信したコアIDをデコードして、コアIDに対応するコア111-iを確認し、当該コア111-iに対応するAND回路133-iにレジスタ更新信号を出力、すなわちレジスタ更新信号をオンにする。 In step S508, the received core ID of the received interrupt notification packet is decoded, the core 111-i corresponding to the core ID is confirmed, and the register is updated to the AND circuit 133-i corresponding to the core 111-i. Output the signal, that is, turn on the register update signal.

ステップS509において、AND回路133-iは、コアIDデコーダ132からのレジスタ更新信号がオンの場合、受信した割り込みID1、割り込みID2、および割り込みID3をレジスタ134-iに出力する。レジスタ134-iは、記憶している割り込みIDをAND回路133-iから入力された割り込みID(割り込みID1、割り込みID2、および割り込みID3)で更新する。 In step S509, when the register update signal from the core ID decoder 132 is on, the AND circuit 133-i outputs the received interrupt ID 1, interrupt ID 2, and interrupt ID 3 to the register 134-i. The register 134-i updates the stored interrupt ID with the interrupt ID (interrupt ID 1, interrupt ID 2, and interrupt ID 3) input from the AND circuit 133-i.

ステップS510において、割り込み制御部141は、レジスタ134-iそれぞれに記憶されている割り込みID(レジスタ値)を読み出す。 In step S510, the interrupt control unit 141 reads out the interrupt ID (register value) stored in each of the registers 134-i.

ステップS511において、割り込み制御部141は、読み出したレジスタ値によって割り込みの発生や種類を検出する。割り込み制御部141は、発生している全ての割り込みの中から最適な割り込みを選択し、選択した割り込みを起動させる起動信号をコア111-iに出力する。例えば、割り込み制御部141は、割り込みの種類によって予め優先度の情報を格納しており、読み出した割り込みIDが示す割り込みの種類と優先度とに基づいて、発生している全ての割り込みの中から起動させる割り込みを選択(決定)する。 In step S511, the interrupt control unit 141 detects the occurrence and type of an interrupt based on the read register value. The interrupt control unit 141 selects the optimum interrupt from all the generated interrupts, and outputs a start signal for activating the selected interrupt to the core 111-i. For example, the interrupt control unit 141 stores priority information in advance according to the type of interrupt, and based on the type and priority of the interrupt indicated by the read interrupt ID, among all the interrupts that have occurred. Select (determine) the interrupt to be activated.

図6は、実施の形態のCPUの各信号のタイミングチャートである。
図6では、コア111-0、111-7が割り込み通知を行う場合を説明する。
FIG. 6 is a timing chart of each signal of the CPU of the embodiment.
FIG. 6 describes a case where the cores 111-0 and 111-7 perform interrupt notification.

図6の1行目は時刻を示す。2~5行目はコア111-0の割り込み通知に関する各種信号を示す。詳細には、2行目は割り込み通知信号線151-0-jの信号の状態、すなわち割り込みIDを示し、3行目はレジスタ122-0に記憶されている値(レジスタ値)を示し、4行目は比較回路123-0の出力(参加通知信号)を示し、5行目はレジスタ122-0への調停回路124の出力(レジスタ更新信号)を示す。 The first line of FIG. 6 shows the time. The 2nd to 5th lines show various signals related to the interrupt notification of the core 111-0. Specifically, the second line shows the signal state of the interrupt notification signal line 151-0-j, that is, the interrupt ID, and the third line shows the value (register value) stored in the register 122-0. The line shows the output of the comparison circuit 123-0 (participation notification signal), and the fifth line shows the output of the arbiter circuit 124 to the register 122-0 (register update signal).

6~9行目はコア111-7の割り込み通知に関する各種信号を示す。詳細には、6行目は割り込み通知信号線151-7-jの信号の状態、すなわち割り込みIDを示し、7行目はレジスタ122-7に記憶されている値(レジスタ値)を示し、8行目は比較回路123-7の出力(参加通知信号)を示し、9行目はレジスタ122-7への調停回路124の出力(レジスタ更新信号)を示す。 The 6th to 9th lines show various signals related to the interrupt notification of the core 111-7. Specifically, the 6th line shows the signal state of the interrupt notification signal line 151-7-j, that is, the interrupt ID, and the 7th line shows the value (register value) stored in the register 122-7. The 9th line shows the output of the comparison circuit 123-7 (participation notification signal), and the 9th line shows the output of the arbiter circuit 124 to the register 122-7 (register update signal).

10~11行目は割り込み通知パケット生成部121の出力(割り込み通知パケット)を示し、詳細には、10行目は割り込み通知パケット信号線161-1~161-3の信号(割り込みID)を示し、11行目は割り込み通知パケット信号線161-4の信号(コアID)を示す。 The 10th to 11th lines show the output (interrupt notification packet) of the interrupt notification packet generation unit 121, and the 10th line shows the signals (interrupt ID) of the interrupt notification packet signal lines 161-1 to 161-3. , 11th line shows the signal (core ID) of the interrupt notification packet signal line 161-4.

尚、図6では、簡単のため、割り込みIDとレジスタ値は、1文字で表している。例えば、割り込み通知信号線151-0-1~151-0-3の信号それぞれの状態がLow,Low,Lowの場合、「A」と表記する。 In FIG. 6, for the sake of simplicity, the interrupt ID and the register value are represented by one character. For example, when the states of the interrupt notification signal lines 151-0-1 to 151-0-3 are Low, Low, and Low, they are expressed as "A".

最初に、コア111-0が割り込み通知を行った場合を説明する。
時刻t1~t4において、コア111-0からの割り込みIDは「A」となっており、レジスタ122-0のレジスタ値は「A」である。
First, the case where the core 111-0 gives an interrupt notification will be described.
At times t1 to t4, the interrupt ID from the core 111-0 is "A", and the register value of the register 122-0 is "A".

時刻t5において、コア111-0は割り込みの発生を通知、すなわちコア111-0からの割り込みIDが「B」となる。比較回路123-0は、レジスタ値とコア111-0からの割り込みIDとの差異を検出し、比較回路123-0からの参加通知信号はオン(=1)となる。 At time t5, the core 111-0 notifies the occurrence of an interrupt, that is, the interrupt ID from the core 111-0 becomes "B". The comparison circuit 123-0 detects the difference between the register value and the interrupt ID from the core 111-0, and the participation notification signal from the comparison circuit 123-0 is turned on (= 1).

調停回路124は、参加通知の調停を行い、時刻t8において、コア111-0が選択され、調停回路124からのレジスタ122-0とAND回路125-0へのレジスタ更新信号がオン(=1)となり、レジスタ122-0のレジスタ値が「B」に更新される。AND回路125-0は、割り込みID=BとコアID=コア0をOR回路126に出力し、OR回路126は、割り込み通知パケット(割り込みID=BとコアID=コア0)をパケットデコーダ131に出力する。 The arbiter circuit 124 arbitrates the participation notification, core 111-0 is selected at time t8, and the register update signal from the arbiter circuit 124 to the register 122-0 and the AND circuit 125-0 is turned on (= 1). Then, the register value of the register 122-0 is updated to "B". The AND circuit 125-0 outputs an interrupt ID = B and a core ID = core 0 to the OR circuit 126, and the OR circuit 126 outputs an interrupt notification packet (interrupt ID = B and core ID = core 0) to the packet decoder 131. Output.

次にコア111-7が割り込み通知を行った場合を説明する。
時刻t1~t5において、コア111-7からの割り込みIDは「C」となっており、レジスタ122-7のレジスタ値は「C」である。
Next, the case where the core 111-7 gives an interrupt notification will be described.
At times t1 to t5, the interrupt ID from the core 111-7 is "C", and the register value of the register 122-7 is "C".

時刻t6において、コア111-7は割り込みの発生を通知、すなわちコア111-7からの割り込みIDが「D」となる。比較回路123-7は、レジスタ値とコア111-7からの割り込みIDとの差異を検出し、比較回路123-7からの参加通知信号はオン(=1)となる。 At time t6, the core 111-7 notifies the occurrence of an interrupt, that is, the interrupt ID from the core 111-7 becomes "D". The comparison circuit 123-7 detects the difference between the register value and the interrupt ID from the core 111-7, and the participation notification signal from the comparison circuit 123-7 is turned on (= 1).

調停回路124は、参加通知の調停を行い、時刻t11において、コア111-7が選択され、調停回路124からのレジスタ122-7とAND回路125-7へのレジスタ更新信号がオン(=1)となり、レジスタ122-7のレジスタ値が「D」に更新される。AND回路125-7は、割り込みID=DとコアID=コア7をOR回路126に出力し、OR回路126は、割り込み通知パケット(割り込みID=DとコアID=コア7)をパケットデコーダ131に出力する。 The arbiter circuit 124 arbitrates the participation notification, core 111-7 is selected at time t11, and the register update signal from the arbiter circuit 124 to the register 122-7 and the AND circuit 125-7 is turned on (= 1). Then, the register value of the register 122-7 is updated to "D". The AND circuit 125-7 outputs an interrupt ID = D and a core ID = core 7 to the OR circuit 126, and the OR circuit 126 outputs an interrupt notification packet (interrupt ID = D and core ID = core 7) to the packet decoder 131. Output.

以上の実施の形態に関し、さらに以下の付記を開示する。
(付記1)
割り込み通知信号を出力する複数の演算部と、
前記割り込み通知信号の状態を表すデータおよび前記割り込み通知信号を出力した演算部を示す識別情報を出力する出力部と、
前記出力部から受信した前記識別情報に基づいて、前記割り込み通知信号を出力した演算部に対応するレジスタに前記出力部から受信した前記割り込み通知信号の状態を表すデータを書き込む受信部と、
前記レジスタを監視するとともに前記レジスタに書き込まれた前記データに基づいて、前記割り込み通知信号を出力した演算部に割り込みを起動させる信号を出力する割り込み制御部と、
を有する演算処理装置。
(付記2)
前記出力部は、
前記複数の演算部うちの第1の演算部と第2の演算部から同時に前記割り込み通知信号が出力された場合、前記第1の演算部または前記第2の演算部のいずれかを選択し、
選択した一方が出力した割り込み通知信号の状態を表すデータおよび前記選択した一方を示す識別情報を出力し、当該出力後に、他方が出力した割り込み通知信号の状態を表すデータおよび前記他方を示す識別情報を出力する付記1記載の演算処理装置。
(付記3)
前記出力部は、前記選択した一方が出力した割り込み通知信号の状態を表すデータと前記他方が出力した割り込み通知信号の状態を表すデータとを同じ信号線を介して前記受信部に出力する付記2記載の演算処理装置。
(付記4)
演算処理装置が有する複数の演算部が、割り込み通知信号を出力し、
前記演算処理装置が有する出力部が、前記割り込み通知信号の状態を表すデータおよび前記割り込み通知信号を出力した演算部を示す識別情報を出力し、
前記演算処理装置が有する受信部が、前記出力部から受信した前記識別情報に基づいて、前記割り込み通知信号を出力した演算部に対応するレジスタに前記出力部から受信した前記割り込み通知信号の状態を表すデータを書き込み、
前記演算処理装置が有する割り込み制御部が、前記レジスタを監視するとともに前記レジスタに書き込まれた前記データに基づいて、前記割り込み通知信号を出力した演算部に割り込みを起動させる信号を出力する
演算処理装置の制御方法。
(付記5)
前記出力部は、
前記複数の演算部うちの第1の演算部と第2の演算部から同時に前記割り込み通知信号が出力された場合、前記第1の演算部または前記第2の演算部のいずれかを選択し、
選択した一方が出力した割り込み通知信号の状態を表すデータおよび前記選択した一方を示す識別情報を出力し、当該出力後に、他方が出力した割り込み通知信号の状態を表すデータおよび前記他方を示す識別情報を出力する付記4記載の制御方法。
(付記6)
前記出力部は、前記選択した一方が出力した割り込み通知信号の状態を表すデータと前記他方が出力した割り込み通知信号の状態を表すデータとを同じ信号線を介して前記受信部に出力する付記5記載の制御方法。
The following additional notes will be further disclosed with respect to the above embodiments.
(Appendix 1)
Multiple arithmetic units that output interrupt notification signals,
An output unit that outputs data indicating the state of the interrupt notification signal and identification information indicating an arithmetic unit that outputs the interrupt notification signal, and an output unit.
A receiving unit that writes data representing the state of the interrupt notification signal received from the output unit to a register corresponding to the arithmetic unit that outputs the interrupt notification signal based on the identification information received from the output unit.
An interrupt control unit that monitors the register and outputs a signal that activates an interrupt to the arithmetic unit that outputs the interrupt notification signal based on the data written in the register.
Arithmetic processing device having.
(Appendix 2)
The output unit is
When the interrupt notification signal is output from the first calculation unit and the second calculation unit of the plurality of calculation units at the same time, either the first calculation unit or the second calculation unit is selected.
Data indicating the state of the interrupt notification signal output by the selected one and identification information indicating the selected one are output, and after the output, data indicating the state of the interrupt notification signal output by the other and identification information indicating the other are output. The arithmetic processing device according to Appendix 1 that outputs.
(Appendix 3)
Note 2 that the output unit outputs data representing the state of the interrupt notification signal output by the selected one and data representing the state of the interrupt notification signal output by the other to the receiving unit via the same signal line. The arithmetic processing device described.
(Appendix 4)
A plurality of arithmetic units of the arithmetic processing device output an interrupt notification signal, and the interrupt notification signal is output.
The output unit of the arithmetic processing device outputs data indicating the state of the interrupt notification signal and identification information indicating the arithmetic unit that outputs the interrupt notification signal.
Based on the identification information received from the output unit, the receiving unit of the arithmetic processing device displays the state of the interrupt notification signal received from the output unit in the register corresponding to the arithmetic unit that outputs the interrupt notification signal. Write the data to represent,
The interrupt control unit of the arithmetic processing device monitors the register and outputs a signal for invoking an interrupt to the arithmetic unit that outputs the interrupt notification signal based on the data written in the register. Control method.
(Appendix 5)
The output unit is
When the interrupt notification signal is output from the first calculation unit and the second calculation unit of the plurality of calculation units at the same time, either the first calculation unit or the second calculation unit is selected.
Data indicating the state of the interrupt notification signal output by the selected one and identification information indicating the selected one are output, and after the output, data indicating the state of the interrupt notification signal output by the other and identification information indicating the other are output. The control method according to Appendix 4 for outputting.
(Appendix 6)
The output unit outputs the data representing the state of the interrupt notification signal output by the selected one and the data representing the state of the interrupt notification signal output by the other to the receiving unit via the same signal line. The control method described.

101 CPU
111 コア
121 割り込み通知パケット生成部
122 レジスタ
123 比較回路
124 調停回路
125 AND回路
126 OR回路
131 パケットデコーダ
132 コアIDデコーダ
133 AND回路
134 レジスタ
141 割り込み制御部
101 CPU
111 Core 121 Interrupt notification packet generator 122 Register 123 Comparison circuit 124 Arbiter circuit 125 AND circuit 126 OR circuit 131 Packet decoder 132 Core ID decoder 133 AND circuit 134 Register 141 Interrupt control unit

Claims (4)

複数の演算部であって、前記複数の演算部の各々に割り込み通知信号線が複数接続されており、前記割り込み通知信号線を1つずつ用いて、割り込みの発生と前記割り込みの種類とを示す割り込み通知信号を出力する前記複数の演算部と、
前記割り込み通知信号線を介して前記複数の演算部から受信した前記割り込み通知信号の状態を表すデータおよび前記割り込み通知信号を出力した演算部を示す識別情報を出力する出力部と、
前記出力部から受信した前記識別情報に基づいて、前記割り込み通知信号を出力した演算部に対応するレジスタに前記出力部から受信した前記割り込み通知信号の状態を表すデータを書き込む受信部と、
前記レジスタを監視するとともに、前記割り込みの種類に対する優先度の情報であって予め格納されている前記優先度の情報と前記レジスタに書き込まれた前記データが示す前記割り込みの種類とに基づいて、起動させる割り込みを決定し、前記決定した割り込みについての前記割り込み通知信号を出力した演算部に、前記決定した割り込みを起動させる信号を出力する割り込み制御部と、
を有する演算処理装置。
A plurality of interrupt notification signal lines are connected to each of the plurality of arithmetic units, and each of the interrupt notification signal lines is used to indicate the occurrence of an interrupt and the type of the interrupt. The plurality of arithmetic units that output interrupt notification signals, and
An output unit that outputs data indicating the state of the interrupt notification signal received from the plurality of arithmetic units via the interrupt notification signal line and identification information indicating the arithmetic unit that outputs the interrupt notification signal.
A receiving unit that writes data representing the state of the interrupt notification signal received from the output unit to a register corresponding to the arithmetic unit that outputs the interrupt notification signal based on the identification information received from the output unit.
While monitoring the register, it is activated based on the priority information stored in advance for the interrupt type and the interrupt type indicated by the data written in the register. An interrupt control unit that determines an interrupt to be interrupted and outputs a signal for activating the determined interrupt to an arithmetic unit that outputs the interrupt notification signal for the determined interrupt.
Arithmetic processing device having.
前記出力部は、
前記複数の演算部うちの第1の演算部と第2の演算部から同時に前記割り込み通知信号が出力された場合、前記第1の演算部または前記第2の演算部のいずれかを選択し、
選択した一方が出力した割り込み通知信号の状態を表すデータおよび前記選択した一方を示す識別情報を出力し、当該出力後に、他方が出力した割り込み通知信号の状態を表すデータおよび前記他方を示す識別情報を出力する請求項1記載の演算処理装置。
The output unit is
When the interrupt notification signal is output from the first calculation unit and the second calculation unit of the plurality of calculation units at the same time, either the first calculation unit or the second calculation unit is selected.
Data indicating the state of the interrupt notification signal output by the selected one and identification information indicating the selected one are output, and after the output, data indicating the state of the interrupt notification signal output by the other and identification information indicating the other are output. The arithmetic processing apparatus according to claim 1.
前記出力部は、前記選択した一方が出力した割り込み通知信号の状態を表すデータと前記他方が出力した割り込み通知信号の状態を表すデータとを同じ信号線を介して前記受信部に出力する請求項2記載の演算処理装置。 A claim that the output unit outputs data representing the state of the interrupt notification signal output by the selected one and data representing the state of the interrupt notification signal output by the other to the receiving unit via the same signal line. 2. The arithmetic processing device according to 2. 演算処理装置が有する複数の演算部であって、前記複数の演算部の各々に割り込み通知信号線が複数接続されている前記複数の演算部が、前記割り込み通知信号線を1つずつ用いて、割り込みの発生と前記割り込みの種類とを示す割り込み通知信号を出力し、
前記演算処理装置が有する出力部が、前記割り込み通知信号線を介して前記複数の演算部から受信した前記割り込み通知信号の状態を表すデータおよび前記割り込み通知信号を出力した演算部を示す識別情報を出力し、
前記演算処理装置が有する受信部が、前記出力部から受信した前記識別情報に基づいて、前記割り込み通知信号を出力した演算部に対応するレジスタに前記出力部から受信した前記割り込み通知信号の状態を表すデータを書き込み、
前記演算処理装置が有する割り込み制御部が、前記レジスタを監視するとともに、前記割り込みの種類に対する優先度の情報であって予め格納されている前記優先度の情報と前記レジスタに書き込まれた前記データが示す前記割り込みの種類とに基づいて、起動させる割り込みを決定し、前記決定した割り込みについての前記割り込み通知信号を出力した演算部に、前記決定した割り込みを起動させる信号を出力する
演算処理装置の制御方法。
A plurality of arithmetic units included in the arithmetic processing apparatus , wherein the plurality of arithmetic units having a plurality of interrupt notification signal lines connected to each of the plurality of arithmetic units use the interrupt notification signal lines one by one. An interrupt notification signal indicating the occurrence of an interrupt and the type of the interrupt is output.
The output unit of the arithmetic processing apparatus provides data indicating the state of the interrupt notification signal received from the plurality of arithmetic units via the interrupt notification signal line and identification information indicating the arithmetic unit that outputs the interrupt notification signal. Output and
Based on the identification information received from the output unit, the receiving unit of the arithmetic processing device displays the state of the interrupt notification signal received from the output unit in the register corresponding to the arithmetic unit that outputs the interrupt notification signal. Write the data to represent,
The interrupt control unit of the arithmetic processing device monitors the register, and the priority information for the interrupt type, which is stored in advance, and the data written in the register are recorded. Control of an arithmetic processing device that determines an interrupt to be activated based on the type of the interrupt shown and outputs a signal for activating the determined interrupt to an arithmetic unit that outputs the interrupt notification signal for the determined interrupt. Method.
JP2018082002A 2018-04-23 2018-04-23 Arithmetic processing device and control method of arithmetic processing device Active JP7070023B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018082002A JP7070023B2 (en) 2018-04-23 2018-04-23 Arithmetic processing device and control method of arithmetic processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018082002A JP7070023B2 (en) 2018-04-23 2018-04-23 Arithmetic processing device and control method of arithmetic processing device

Publications (2)

Publication Number Publication Date
JP2019191789A JP2019191789A (en) 2019-10-31
JP7070023B2 true JP7070023B2 (en) 2022-05-18

Family

ID=68390360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018082002A Active JP7070023B2 (en) 2018-04-23 2018-04-23 Arithmetic processing device and control method of arithmetic processing device

Country Status (1)

Country Link
JP (1) JP7070023B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006119802A (en) 2004-10-20 2006-05-11 Hitachi Ltd Multiprocessor system
JP2014038438A (en) 2012-08-14 2014-02-27 Fujitsu Ltd Arithmetic processing unit, information processing apparatus and interruption control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006119802A (en) 2004-10-20 2006-05-11 Hitachi Ltd Multiprocessor system
JP2014038438A (en) 2012-08-14 2014-02-27 Fujitsu Ltd Arithmetic processing unit, information processing apparatus and interruption control method

Also Published As

Publication number Publication date
JP2019191789A (en) 2019-10-31

Similar Documents

Publication Publication Date Title
US10679210B2 (en) Blockchain transaction commitment ordering
US7788435B2 (en) Interrupt redirection with coalescing
JP6776696B2 (en) Parallel information processing equipment, information processing methods, and programs
CN110750341B (en) Task scheduling method, device, system, terminal equipment and storage medium
WO2017000822A1 (en) Transmission control method and device for direct memory access
JP2020537227A5 (en)
JP6227767B2 (en) Information processing apparatus, processing method thereof, and input / output apparatus
CN115168256A (en) Interrupt control method, interrupt controller, electronic device, medium, and chip
JP7070023B2 (en) Arithmetic processing device and control method of arithmetic processing device
JP2007122410A (en) Bus arbitration circuit and method
JP2012093798A (en) Transfer device, transfer method and transfer program
US20200201806A1 (en) Apparatus and Method for Reducing Latency of Input/Output Transactions in an Information Handling System using No-Response Commands
JP6106986B2 (en) Arithmetic processing device, information processing device and interrupt control method
CN113867802B (en) Interrupt distribution device, chip and electronic equipment
EP2856304B1 (en) Issuing instructions to execution pipelines based on register-associated preferences, and related instruction processing circuits, processor systems, methods, and computer-readable media
US8909823B2 (en) Data processing device, chain and method, and corresponding recording medium for dividing a main buffer memory into used space and free space
US10467156B1 (en) System and method of improving efficiency in parallel data processing of a RAID array
CN113886054A (en) Interrupt processing device, chip and electronic equipment
JP2011070259A (en) Data transfer device and data transfer method
US11347667B2 (en) Bus controller and related methods
JP2015184935A (en) I2c bus arbitration system and arbitration method
JP2004334840A (en) Control method and related device of system bus
JP2007172105A (en) Interruption arbitration system and interruption arbitration method
JP2008203989A (en) Bus device
JP2006092077A (en) Bus system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220125

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20220125

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20220125

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220418

R150 Certificate of patent or registration of utility model

Ref document number: 7070023

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150