JP4107278B2 - Processor control circuit and information processing apparatus - Google Patents
Processor control circuit and information processing apparatus Download PDFInfo
- Publication number
- JP4107278B2 JP4107278B2 JP2004283611A JP2004283611A JP4107278B2 JP 4107278 B2 JP4107278 B2 JP 4107278B2 JP 2004283611 A JP2004283611 A JP 2004283611A JP 2004283611 A JP2004283611 A JP 2004283611A JP 4107278 B2 JP4107278 B2 JP 4107278B2
- Authority
- JP
- Japan
- Prior art keywords
- processor
- unit
- dma
- detection
- inquiry
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
- Information Transfer Systems (AREA)
Description
本発明は、プロセッサを介さない所定処理の実行中に、プロセッサの動作状態を制御するプロセッサ制御回路およびプロセッサを介さずに所定処理を実行する情報処理装置に関する。 The present invention relates to a processor control circuit that controls an operating state of a processor during execution of a predetermined process without using a processor, and an information processing apparatus that executes the predetermined process without using a processor.
従来、この種の技術としては、DMA(Direct Memory Access)コントローラによるDMA処理モードの実行時、つまりI/OユニットとメモリとによるDMA処理中に、プロセッサへのクロック信号の供給を停止し、消費電力を低減する技術が知られている(例えば、特許文献1参照)。
しかしながら、上記従来技術にあっては、DMA処理中は、常に、プロセッサへのクロック信号の供給を停止するようになっているため、DMA処理中にプロセッサによって処理を行うことができず、プロセッサによる処理効率が低下してしまう恐れがあった。
本発明は、上記従来の技術の未解決の課題を解決することを目的とするものであって、プロセッサによる処理効率の低下を防止しつつ、プロセッサによる消費電力を低減することができるプロセッサ制御回路および情報処理装置を提供することを課題とする。
However, in the above prior art, during the DMA processing, the supply of the clock signal to the processor is always stopped. Therefore, the processing cannot be performed by the processor during the DMA processing. There was a risk that the processing efficiency would decrease.
An object of the present invention is to solve the above-mentioned unsolved problems of the prior art, and a processor control circuit capable of reducing power consumption by a processor while preventing a decrease in processing efficiency by the processor. It is another object of the present invention to provide an information processing apparatus.
上記課題を解決するために、第1の発明であるプロセッサ制御回路は、プロセッサを介さずに所定処理を実行可能な機能部と、前記機能部において前記所定処理の実行が開始された後、前記プロセッサが前記機能部の動作状態を問い合わせたか否かを検出する問い合わせ検出部と、前記機能部における前記所定処理の終了を検出する終了検出部と、前記機能部において前記所定処理の実行が開始された場合、前記プロセッサの動作状態を維持し、さらに、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサによる前記機能部の動作状態の問い合わせに関する動作を抑制する抑制部とを備えたことを特徴とする。 In order to solve the above-described problem, the processor control circuit according to the first invention includes a functional unit capable of executing a predetermined process without using a processor, and after the execution of the predetermined process is started in the functional unit, An inquiry detection unit that detects whether or not the processor has inquired about an operation state of the function unit, an end detection unit that detects the end of the predetermined process in the function unit, and execution of the predetermined process in the function unit is started. The operation state of the processor is maintained, and when the inquiry detection unit detects that the processor has inquired about the operation state of the function unit, the end detection unit performs the predetermined process in the function unit. End until is detected, and a suppressor for suppressing unit operations related query operating state of the functional unit by the processor And said that there were pictures.
なお、機能部の動作状態の問い合わせに関する動作を抑制する方法としては、問い合わせの頻度を低くする方法や、問い合わせを禁止する方法等を挙げることができる。
また、第2の発明であるプロセッサ制御回路は、前記抑制部は、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサによる前記機能部の動作状態の問い合わせに関する動作を遅延させることを特徴とする。
As a method for suppressing the operation related to the inquiry about the operation state of the functional unit, a method for reducing the frequency of inquiries, a method for prohibiting inquiries, and the like can be given.
The processor control circuit according to a second aspect of the present invention is the processor control circuit, wherein when the inquiry detecting unit detects that the processor has inquired about the operating state of the functional unit, the termination detecting unit detects the functional unit. Until the end of the predetermined process is detected, the operation relating to the inquiry about the operation state of the functional unit by the processor is delayed.
さらに、第3の発明であるプロセッサ制御回路は、前記抑制部は、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサに供給するクロック信号の周波数を低くすることを特徴とする。
この第1〜第3の発明によれば、機能部で所定処理が実行されたとしても、プロセッサが機能部の動作状態を問い合わせるまでは、プロセッサでそれまでの処理を継続することができ、またプロセッサによって機能部の動作状態の問い合わせがされると、プロセッサによる機能部の動作状態の問い合わせが抑制されるようにしたため、プロセッサによる処理効率の低下を防止しつつ、プロセッサによる消費電力を低減することができる。
The processor control circuit according to a third aspect of the present invention is the processor control circuit according to the present invention, wherein when the inquiry detecting unit detects that the processor has inquired about the operating state of the functional unit, the termination detecting unit detects the functional unit. The frequency of the clock signal supplied to the processor is lowered until the end of the predetermined processing is detected .
According to the first to third aspects of the invention, even if the predetermined process is executed in the functional unit, the processor can continue the process until the processor inquires about the operating state of the functional unit. When an inquiry about the operating state of a functional unit is made by the processor, the inquiry about the operating state of the functional unit by the processor is suppressed, thereby reducing power consumption by the processor while preventing a decrease in processing efficiency by the processor. Can do.
また、第4の発明であるプロセッサ制御回路は、前記抑制部は、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサへのクロック信号の供給を停止することを特徴とする。
この第4の発明によれば、プロセッサの内部を構成するトランジスタのスイッチング動作が停止され、プロセッサによる消費電力をより低減することができる。
The processor control circuit according to a fourth aspect of the present invention is the processor control circuit, wherein when the inquiry detecting unit detects that the processor has inquired about the operating state of the functional unit, the termination detecting unit detects the functional unit. The supply of the clock signal to the processor is stopped until the end of the predetermined processing is detected .
According to the fourth aspect of the invention, the switching operation of the transistors constituting the inside of the processor is stopped, and the power consumption by the processor can be further reduced.
また、第5の発明であるプロセッサ制御回路は、前記抑制部は、前記クロック信号の供給が停止されているときに、前記クロック信号の供給を一時的に再開可能としたことを特徴とする。
さらに、第6の発明であるプロセッサ制御回路は、前記機能部は、DMA処理を実行可能であり、前記抑制部は、前記クロック信号の供給が停止されているときには、所定長のデータがDMA転送されるたびに前記クロック信号の供給を一時的に再開することを特徴とする。
The processor control circuit according to a fifth aspect of the invention is characterized in that the supply of the clock signal can be temporarily resumed when the supply of the clock signal is stopped.
Furthermore, in the processor control circuit according to a sixth aspect of the present invention, the functional unit can execute DMA processing, and the suppression unit transfers data of a predetermined length when the supply of the clock signal is stopped. It is characterized in that the supply of the clock signal is temporarily resumed every time it is performed.
これら第5及び第6の発明によれば、例えば、DMA処理中に、プロセッサへのクロック信号の供給が停止されても、そのDMA処理が終了するまえ、つまりDMA処理中にクロック信号の供給を一時的に再開することができる。
また、第7の発明であるプロセッサ制御回路は、前記機能部は、該機能部の動作状態を示す実行状態情報を記憶する状態記憶部と、前記プロセッサが該実行状態情報の読み出し信号を出力することにより前記機能部の動作状態を問い合わせたことが前記問い合わせ検出部によって検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されることに対応して、前記実行状態情報の読み出しが完了したことを示す読み出し完了信号を前記プロセッサに出力することによって、前記機能部における所定処理が終了したことを前記プロセッサに通知する状態通知部とを備えることを特徴とする。
According to the fifth and sixth inventions, for example, even if the supply of the clock signal to the processor is stopped during the DMA processing, the clock signal is supplied before the DMA processing is completed, that is, during the DMA processing. You can resume temporarily.
In the processor control circuit according to a seventh aspect of the invention, the functional unit stores a state storage unit that stores execution state information indicating an operation state of the functional unit, and the processor outputs a read signal of the execution state information. When the inquiry detection unit detects that the operation state of the function unit has been inquired, the execution state corresponds to the end detection unit detecting the end of the predetermined process in the function unit. And a status notification unit that notifies the processor that the predetermined processing in the functional unit is completed by outputting a read completion signal indicating that the reading of information is completed to the processor.
この第7の発明によれば、プロセッサによる実行状態情報の読み出し動作によって、前記動作状態の問い合わせを行うことができるため、所定処理の実行状態を検出する処理のためのプログラミングを容易なものとすることができる。
また、上記課題を解決するために、第8の発明である情報処理装置は、所定の演算処理を実行するプロセッサと、該プロセッサを介さずに所定処理を実行可能な機能部と、
前記機能部において前記所定処理の実行が開始された後、前記プロセッサが前記機能部の動作状態を問い合わせたか否かを検出する問い合わせ検出部と、前記機能部における前記所定処理の終了を検出する終了検出部と、前記機能部において前記所定処理の実行が開始された場合、前記プロセッサの動作状態を維持し、さらに、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサによる前記機能部の動作状態の問い合わせに関する動作を抑制する抑制部とを備えたことを特徴とする。
According to the seventh aspect of the invention, since the operation state can be inquired by the execution state information read operation by the processor, the programming for the process of detecting the execution state of the predetermined process is facilitated. be able to.
In order to solve the above-described problem, an information processing apparatus according to an eighth invention includes a processor that executes predetermined arithmetic processing, a functional unit that can execute the predetermined processing without using the processor,
After the execution of the predetermined process is started in the functional unit, an inquiry detection unit that detects whether or not the processor has inquired about an operation state of the functional unit, and an end that detects the end of the predetermined process in the functional unit When the execution of the predetermined process is started in the detection unit and the function unit, the operation state of the processor is maintained, and further, the inquiry detection unit detects that the processor inquires about the operation state of the function unit A suppression unit that suppresses an operation related to an inquiry about an operation state of the functional unit by the processor until the end detection unit detects the end of the predetermined process in the functional unit. To do.
なお、機能部の動作状態の問い合わせに関する動作を抑制する方法としては、第1の発明と同様に、問い合わせの頻度を低くする方法や、問い合わせを禁止する方法等を挙げることができる。
また、第9の発明である情報処理装置は、前記抑制部は、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサによる前記機能部の動作状態の問い合わせに関する動作を遅延させることを特徴とする。
Note that, as a method of suppressing the operation related to the inquiry about the operation state of the functional unit, a method of reducing the frequency of inquiries, a method of prohibiting inquiries, and the like can be cited as in the first invention.
Further, in the information processing device according to the ninth invention, when the suppression unit detects that the processor has inquired about an operating state of the function unit, the end detection unit detects the function unit. Until the end of the predetermined process is detected, the operation relating to the inquiry about the operation state of the functional unit by the processor is delayed.
さらに、第10の発明である情報処理装置は、前記抑制部は、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサに供給するクロック信号の周波数を低くすることを特徴とする。
この第8〜第10の発明によれば、機能部で所定処理が実行されたとしても、プロセッサが機能部の動作状態を問い合わせるまでは、プロセッサでそれまでの処理を継続することができ、またプロセッサによって機能部の動作状態の問い合わせがされると、プロセッサによる機能部の動作状態の問い合わせが抑制されるようにしたため、プロセッサによる処理効率の低下を防止しつつ、プロセッサによる消費電力を低減することができる。
Furthermore, in the information processing apparatus according to the tenth aspect of the invention, when the suppression unit detects that the processor has inquired about the operating state of the function unit, the end detection unit detects the function unit. The frequency of the clock signal supplied to the processor is lowered until the end of the predetermined processing is detected .
According to the eighth to tenth inventions, even if a predetermined process is executed in the functional unit, the processor can continue the process until the processor inquires about the operating state of the functional unit. When an inquiry about the operating state of a functional unit is made by the processor, the inquiry about the operating state of the functional unit by the processor is suppressed, thereby reducing power consumption by the processor while preventing a decrease in processing efficiency by the processor. Can do.
また、第11の発明である情報処理装置は、前記抑制部は、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサへのクロック信号の供給を停止することを特徴とする。
この第11の発明によれば、プロセッサの内部を構成するトランジスタのスイッチング動作が停止され、プロセッサによる消費電力をより低減することができる。
The information processing apparatus according to an eleventh aspect of the present invention is the information processing apparatus, wherein when the inquiry detecting unit detects that the processor has inquired about an operating state of the function unit, the end detecting unit detects the function unit. The supply of the clock signal to the processor is stopped until the end of the predetermined processing is detected .
According to the eleventh aspect, the switching operation of the transistors constituting the inside of the processor is stopped, and the power consumption by the processor can be further reduced.
また、第12の発明である情報処理装置は、前記抑制部は、前記クロック信号の供給が停止されているときに、前記クロック信号の供給を一時的に再開可能としたことを特徴とする。
また、第13の発明である情報処理装置は、前記機能部は、DMA処理を実行可能であり、前記抑制部は、前記クロック信号の供給が停止されているときには、所定長のデータがDMA転送されるたびに前記クロック信号の供給を一時的に再開することを特徴とする。
The information processing apparatus according to a twelfth aspect of the invention is characterized in that the suppression unit can temporarily resume the supply of the clock signal when the supply of the clock signal is stopped.
In the information processing apparatus according to a thirteenth aspect of the present invention, the functional unit can execute DMA processing, and the suppression unit transfers data of a predetermined length by DMA transfer when the supply of the clock signal is stopped. It is characterized in that the supply of the clock signal is temporarily resumed every time it is performed.
これら第12及び第13の発明によれば、例えば、DMA処理中に、プロセッサへのクロック信号の供給が停止されても、そのDMA処理が終了するまえ、つまりDMA処理中にクロック信号の供給を一時的に再開することができる。
また、第14の発明である情報処理装置は、前記機能部は、該機能部の動作状態に関する検出条件を示す検出条件情報を記憶する検出条件記憶部を備え、前記プロセッサは、動作状態の検出における所定条件が設定された前記検出条件情報の前記検出条件記憶部への書き込み信号を出力することにより、前記動作状態の問い合わせを行い、前記機能部は、前記動作状態が前記検出条件情報の示す条件を充足した場合に、前記検出条件情報の書き込みが完了したことを示す書き込み完了信号を前記プロセッサに出力することによって、前記機能部における所定処理が終了したことを前記プロセッサに通知する状態通知部を備えることを特徴とする。
According to these twelfth and thirteenth inventions, for example, even if the supply of the clock signal to the processor is stopped during the DMA processing, the clock signal is supplied before the DMA processing ends, that is, during the DMA processing. You can resume temporarily.
The information processing apparatus according to a fourteenth aspect of the present invention is that the functional unit includes a detection condition storage unit that stores detection condition information indicating a detection condition related to an operation state of the function unit, and the processor detects the operation state. The operation condition is inquired by outputting a write signal to the detection condition storage section of the detection condition information in which the predetermined condition is set, and the function section indicates the operation condition indicated by the detection condition information. A state notifying unit for notifying the processor that a predetermined process has been completed by outputting a write completion signal indicating that the writing of the detection condition information has been completed to the processor when a condition is satisfied. It is characterized by providing .
さらに、第15の発明である情報処理装置は、前記機能部は、前記所定処理を複数実行可能であり、前記プロセッサは、前記所定処理それぞれを特定する情報と、複数の前記所定処理の間に設定された動作状態の検出条件とを含む前記検出条件情報の前記検出条件記憶部への書き込み信号を出力することにより、前記動作状態の問い合わせを行い、前記機能部における前記状態通知部は、前記検出条件情報に示される所定処理間において動作状態が検出条件と一致した場合に、前記書き込み完了信号を前記プロセッサに出力することによって、前記機能部における所定処理が終了したことを前記プロセッサに通知することを特徴とする。 Furthermore, in the information processing apparatus according to the fifteenth aspect, the functional unit can execute a plurality of the predetermined processes, and the processor can execute information between each of the predetermined processes and a plurality of the predetermined processes. by outputting a write signal to the detection condition storing unit of the detection condition information including the detection condition of the set operation condition, inquires of the operating state, the state notification unit in the functional unit, the When the operation state coincides with the detection condition between the predetermined processes indicated in the detection condition information, the write completion signal is output to the processor to notify the processor that the predetermined process in the functional unit is completed. It is characterized by that.
これら第14及び第15の発明によれば、プロセッサが前記機能部の動作状態を問い合わせる際に、その動作状態に関する検出条件を示す検出条件情報が前記検出条件記憶部に書き込まれる。そのため、DMAのチャネルが複数ある場合等、前記機能部において所定処理が複数実行される場合に、それらの間における複雑な条件を設定して動作状態を問い合わせることができるため、ソフトウェアの効率的な実行制御を行うことが可能となる。 According to these fourteenth and fifteenth inventions, when the processor inquires about the operation state of the functional unit, detection condition information indicating a detection condition related to the operation state is written in the detection condition storage unit. Therefore, when a plurality of predetermined processes are executed in the functional unit, such as when there are a plurality of DMA channels, it is possible to set an intricate condition between them and inquire about the operation state, so that the efficient software Execution control can be performed.
このように、本発明によれば、プロセッサによる処理効率の低下を防止しつつ、プロセッサによる消費電力を低減することができるプロセッサ制御回路および情報処理装置を提供することが可能となる。 As described above, according to the present invention, it is possible to provide a processor control circuit and an information processing apparatus capable of reducing power consumption by a processor while preventing a decrease in processing efficiency by the processor.
以下、本発明の実施形態を図面に基づいて説明する。
(第1の実施の形態)
初めに、本発明のプロセッサ制御回路の実施形態を説明する。
図1は、本発明の第1の実施の形態におけるプロセッサ制御回路を備えた情報処理装置1の概略構成を示すブロック図である。この図1に示すように、情報処理装置1は、プロセッサ2、RAM(Random Access Memory)3、状態通知レジスタ7を有するDMA(D irect Memory Access)コントローラ4、及びクロック制御部5で構成され、クロック制御部5を除く各部は、データバス6で互いにデータ授受可能に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
First, an embodiment of the processor control circuit of the present invention will be described.
FIG. 1 is a block diagram showing a schematic configuration of an
これらのうちプロセッサ2は、図示しない記憶装置に格納されている基本制御プログラムやアプリケーションプログラム等の各種プログラム及びデータを読み込み、それら各種プログラム及びデータをRAM3内に設けられるワークエリアに展開実行する。そして、情報処理装置1が備える各部の制御や演算処理等といった、各種処理を実行する。
さらに、プロセッサ2は、図2のフローチャートに示すように、DMA処理のためのパラメータ(DMAパラメータ)を設定し(ステップS101)、DMAコントローラ4にDMA処理を開始させるDMAスタートコマンドを出力する(ステップS102)。そして、DMAの動作状態を取得するために、状態通知レジスタ読み出し要求信号をDMAコントローラ4に出力する。その後、DMAコントローラ4からDMA処理中でないことを示すDMA実行状態フラグが読み出されると、状態通知レジスタ読み出し要求信号の出力を停止し、状態通知レジスタの読み出しが完了する(ステップS103)。なお、プロセッサ2は、状態通知レジスタ読み出し要求信号の出力中にクロック信号の供給が停止されても、状態通知レジスタ読み出し要求信号の出力を継続するようになっている。
Among these, the
Further, as shown in the flowchart of FIG. 2, the
また、RAM3は、プロセッサ2が各種プログラムに従って上記処理を実行するときに、各種プログラムを展開するワークエリアを形成するとともに、プロセッサ2により実行される各種処理に係るデータを展開するためのメモリ領域を形成する。
さらに、DMAコントローラ4は、プロセッサ2からDMAスタートコマンドが出力されるとDMA処理を開始する。
The
Furthermore, when the DMA start command is output from the
また、DMAコントローラ4は、プロセッサ2から状態通知レジスタ読み出し要求信号が入力されると、DMA処理中であるか否かを判定し、DMA処理中でない場合には状態通知レジスタ7に格納されているDMA処理中でないことを示すDMA実行状態フラグをプロセッサ2に読み出させ、DMA処理中である場合にはプロセッサ2に対するクロック信号の供給が停止された状態とさせるWAIT信号をクロック制御部5に出力する。
When the status notification register read request signal is input from the
さらに、クロック制御部5は、DMAコントローラ4からWAIT信号が出力されているか否かを判定し、WAIT信号が出力されていない場合にはプロセッサ2にクロック信号を供給し、WAIT信号が出力されている場合にはクロック信号の供給を停止する。
次に、本実施形態の情報処理装置1の動作を詳細に説明する。
まず、図3に示すように、サイクル「2」で、DMAコントローラ4にDMAの開始を要求するDMA要求信号が出力されたとする。すると、サイクル「3」で、DMAコントローラ4からDMA転送処理中であることを通知する信号を出力する。プロセッサ2で所定の処理が実行され、図2に示すように、まずそのステップS101で、DMAパラメータが設定され、ステップS102で、図3(b)に示すように、DMAスタートコマンドがDMAコントローラ4に出力される。そして、サイクル「3」で、図3(c)に示すように、DMAコントローラの動作状態が「動作中」とされ、DMAコントローラ4によってDMA処理が開始される。
Further, the
Next, the operation of the
First, as shown in FIG. 3, it is assumed that a DMA request signal for requesting the
また、DMA処理が継続されるうちに、サイクル「4」〜「6」を経て、サイクル「7」で、図3(d)に示すように、プロセッサ2からDMAコントローラ4に状態通知レジスタ読み出し要求信号が出力される。すると、サイクル「8」で、図3(f)に示すように、DMAコントローラ4からクロック制御部5にハイレベルのWAIT信号が出力され、サイクル「9」で、図3(h)に示すように、クロック制御部5によってプロセッサ2に供給していた動作クロック信号が停止される。
Further, while the DMA processing is continued, through cycles “4” to “6”, in cycle “7”, as shown in FIG. 3D, the
さらに、サイクル「10」〜「13」を経て、サイクル「14」で、図3(c)に示すように、DMAコントローラ4の動作状態がローレベルとされ、DMA処理が終了したとする。
すると、サイクル「15」で、DMAコントローラ4によって、DMA処理中でないことを示すDMA実行状態フラグがプロセッサ2に読み出され、WAIT信号が停止状態とされ、クロック制御部5からプロセッサ2にクロック信号の供給が再開され、前記DMA実行状態フラグが読み出されると状態通知レジスタ読み出し要求信号が停止され、サイクル「16」で、プロセッサ2の処理が再開される。
Furthermore, it is assumed that the operation state of the
Then, in cycle “15”, the DMA execution state flag indicating that the DMA processing is not in progress is read to the
このように、本実施形態の情報処理装置1によれば、DMAコントローラ4でDMA処理が実行されたとしても、プロセッサ2がDMAコントローラ4の動作状態を問い合わせるまで、つまり状態通知レジスタ読み出し要求信号を出力するまでは、プロセッサ2でそれまでの処理を継続することができ、またプロセッサ2から状態通知レジスタ読み出し要求信号が出力されると、プロセッサ2へのクロック信号の供給が停止されるようにしたため、プロセッサ2による処理効率の低下を防止しつつ、プロセッサ2による消費電力を低減することができる。
Thus, according to the
また、DMA処理が終了するまでクロック信号の供給を停止するようにしたため、DMA処理の実行中に、DMAコントローラ4の動作状態の問い合わせが何度も実行されてしまうことを防止でき、プロセッサ2による消費電力をより低減することができる。
ちなみに、図15に示すように、DMA処理が実行されているときにプロセッサ2に自身の動作を停止させる従来の方法では、DMA処理の実行中に、DMAコントローラ4の動作状態の問い合わせをプロセッサ2自身に何度も実行させなければならず、プロセッサ2による消費電力が大きくなってしまう。
In addition, since the supply of the clock signal is stopped until the DMA processing is completed, it is possible to prevent the inquiry about the operation state of the
Incidentally, as shown in FIG. 15, in the conventional method of causing the
また、本実施形態の情報処理装置1によれば、プロセッサ2が状態通知レジスタ7を読み出す動作によってDMAコントローラ4の動作状態を問い合わせることができるため、DMAの実行状態を検出する処理のためのプログラミングを容易なものとすることができる。
Further, according to the
(第2の実施の形態)
次に、本発明のプロセッサ制御回路の第2の実施の形態について説明する。
この実施形態は、プロセッサ2へのクロック信号の供給が停止されているときには、所定長のデータがDMA転送されるたびにクロック信号の供給を一時的に再開するようにした点が前記第1の実施の形態とは異なる。具体的には、図4に示すように、DMA転送するデータ長を設定する転送データ長設定部8がDMAコントローラ4に設けられ、DMAコントローラ4に、そのデータ長がデータ転送されるたびに、DMA実行状態フラグをプロセッサ2に読み出させるようにした。また、前記第1実施形態のプロセッサ2で行われる図2の処理に代えて、図5のステップS201〜S207の制御処理が行われる。なお、この実施形態は、前記第1実施形態と同等の構成を多く含んでおり、同等の構成には同等の符号を付して、その詳細な説明を省略する。
(Second Embodiment)
Next, a second embodiment of the processor control circuit of the present invention will be described.
In the present embodiment, when the supply of the clock signal to the
まずそのステップS201では、DMAパラメータを設定する。
次にステップS202に移行して、連続してDMA転送するデータ長、つまりプロセッサ2へのクロック信号の供給を一時的に再開するためのデータ長を転送データ長設定部8に設定させる。
次にステップS203に移行して、DMAコントローラ4にDMAスタートコマンドを出力する。
First, in step S201, DMA parameters are set.
In step S202, the transfer data
In step S203, a DMA start command is output to the
次にステップS204に移行して、状態通知レジスタ読み出し要求信号をDMAコントローラ4に出力する。
次にステップS205に移行して、転送データ長設定部8で設定されたデータ長がDMA転送されたのちに、状態通知レジスタ7からDMAの転送状態を読み出し、DMA転送処理が終了している場合には図5の制御フローを終了し、DMA転送が終了していない場合には、プロセッサ2において所定処理を実行する必要があるか否かを判定する(ステップS206)。所定処理実行が必要ない場合には、ステップS204に制御が戻り、所定処理実行が必要な場合にはステップS207において処理を行う。そして、ステップS207の所定処理の実行が完了した時点でステップS204に移行する。
Next, the process proceeds to step S <b> 204, and a status notification register read request signal is output to the
Next, the process proceeds to step S205, and after the data length set by the transfer data
次に、本実施形態の情報処理装置1の動作を詳細に説明する。
まず、図6に示すように、サイクル「1」で、DMAコントローラ4にDMAの開始を要求するDMA要求信号が出力されたとする。すると、サイクル「2」で、DMAコントローラ4からDMA転送処理中であることを通知する信号を出力する。プロセッサ2で所定の処理が実行され、図5に示すように、まずそのステップS201で、DMAパラメータが設定され、ステップS202で、連続してDMA転送するデータ長が転送データ長設定部8で設定され、ステップS203で、図6(b)に示すように、ハイレベルのDMAスタートコマンドがDMAコントローラ4に出力され、DMAコントローラ4によってDMA処理が開始される。
Next, the operation of the
First, as shown in FIG. 6, it is assumed that a DMA request signal for requesting the
また、DMA処理が継続されるうちに、サイクル「3」を経て、サイクル「4」で、プロセッサ2から、図6(d)に示すように、ステップS204によって、プロセッサ2からDMAコントローラ4にハイレベルの状態通知レジスタ読み出し要求信号が出力されたとする。すると、サイクル「5」で、図6(f)に示すように、DMAコントローラ4からクロック制御部5にハイレベルのWAIT信号が出力され、サイクル「6」で、図6(h)に示すように、クロック制御部5によってプロセッサ2に供給していた動作クロック信号が停止される。
In addition, as the DMA processing continues, after going through cycle “3”, in cycle “4”, as shown in FIG. Assume that a level status notification register read request signal is output. Then, in cycle “5”, as shown in FIG. 6F, the
さらに、サイクル「7」を経て、サイクル「8」で、図6(c)に示すように、転送データ長設定部8で設定されたデータ長がDMA転送され、DMAコントローラの動作状態がローレベルとされたとする。すると、DMAコントローラ4によって、DMA実行状態フラグがプロセッサ2に読み出され、WAIT信号が停止状態とされ、クロック制御部5からプロセッサ2にクロック信号の供給が一時的に再開され、前記DMA実行状態フラグが読み出されると状態通知レジスタ読み出し要求信号が停止され、DMA転送が終了していないのでステップS205の判定が「No」となり、またステップS206の判定が「Yes」となると、ステップS207で所定処理を実行する。サイクル「9」で、ステップS204によって、プロセッサ2からDMAコントローラ4にハイレベルの状態通知レジスタ読み出し要求信号が再び出力される。
Further, after cycle “7”, in cycle “8”, as shown in FIG. 6C, the data length set by transfer data
このように、本実施形態にあっては、DMA処理中に、プロセッサ2へのクロック信号の供給が停止されても、そのDMA処理が終了する前、つまりDMA処理中にクロック信号の供給を一時的に再開することができる。
なお、上記実施形態では、DMAコントローラ4が機能部を構成し、クロック制御部5が抑制部を構成し、状態通知レジスタ7が状態記憶部を構成する。
As described above, in the present embodiment, even if the supply of the clock signal to the
In the above embodiment, the
また、上記実施形態は、本発明に係るプロセッサ制御回路の一例を示したものであり、その構成等を限定するものではない。
例えば、上記実施形態では、プロセッサ2から状態通知レジスタ読み出し要求信号が出力されると、プロセッサ2へのクロック信号の供給を停止する例を示したが、これに限られるものではなく、例えば、プロセッサ2に供給するクロック信号の周波数を低くし、状態通知レジスタ7の読み出しの頻度が低くなるようにしてもよい。
The above embodiment shows an example of the processor control circuit according to the present invention, and does not limit the configuration or the like.
For example, in the above-described embodiment, when the status notification register read request signal is output from the
また、プロセッサ2へのクロック信号の供給を停止し、プロセッサ2の機能を完全に停止する(WAIT状態とする)例を示したが、これに限られるものではなく、例えば、プロセッサ2へのクロック信号の供給を停止しつつ、外部からの割り込みによって割り込み処理プログラムを起動可能とする(スリープ状態とする)ようにしてもよい。
さらに、クロック制御部5によって、プロセッサ2へのクロック信号の供給状態を制御する例を示したが、これに限られるものではなく、例えば、DMA処理が終了するまで、単に、プロセッサ2によるDMAコントローラ4の動作状態の問い合わせに関する動作を遅延させるようにしてもよい。そのようにすれば、プロセッサ2によってDMA処理中にポーリングを行う方法に比べ、プロセッサ2によって実行するプログラムを簡潔なものとすることができ、プロセッサ2による処理効率を向上させることができる。
Further, the example in which the supply of the clock signal to the
Furthermore, although the example in which the
(第3の実施の形態)
次に、本発明の情報処理装置の実施形態を説明する。
この実施形態は、第1の実施形態においてプロセッサ2がDMAコントローラ4の動作状態を問い合わせる際に、状態通知レジスタ7を読み出すのに対し、後述するプロセッサ102がDMAコントローラ104の動作状態を問い合わせる際に、条件設定レジスタ107に所定情報(後述する検出条件情報)を書き込む点が前記第1の実施の形態とは異なる。
(Third embodiment)
Next, an embodiment of the information processing apparatus of the present invention will be described.
In this embodiment, when the
図7は、本発明の第3の実施の形態における情報処理装置100の概略構成を示すブロック図である。この図7に示すように、情報処理装置100は、プロセッサ102、RAM103、条件設定レジスタ107を有するDMAコントローラ104、及びクロック制御部105で構成され、クロック制御部105を除く各部は、データバス106で互いにデータ授受可能に接続されている。
FIG. 7 is a block diagram showing a schematic configuration of the
これらのうちプロセッサ102は、図示しない記憶装置に格納されている基本制御プログラムやアプリケーションプログラム等の各種プログラム及びデータを読み込み、それら各種プログラム及びデータをRAM103内に設けられるワークエリアに展開実行する。そして、情報処理装置100が備える各部の制御や演算処理等といった、各種処理を実行する。
Among these, the
さらに、プロセッサ102は、図8のフローチャートに示すように、DMA処理のためのパラメータ(DMAパラメータ)を設定し(ステップS301)、DMAコントローラ104にDMA処理を開始させるDMAスタートコマンドを出力する(ステップS302)。そして、DMAの動作状態を取得するために、条件設定レジスタ書き込み要求信号および検出条件情報(書き込みデータ)をDMAコントローラ104に出力する。その後、DMAコントローラ104から条件設定レジスタ107への書き込みが完了したことを示す書き込み完了信号が出力されると、条件設定レジスタ107への書き込みが完了する(ステップS303)。
Further, as shown in the flowchart of FIG. 8, the
ここで、検出条件情報について説明する。
本実施の形態において、DMAコントローラ104には複数のチャネルが用意され複数のハードウェアモジュールにおけるDMAを実行可能である。そのため、同時に複数のDMA転送が行われる場合等には、図9に示すように、DMAの動作状態を示すステートマシンが複数動作している状態となる。検出条件情報は、これら複数のステートマシンSM0〜SMnにおける動作状態を検出する際の検出条件を示している。
Here, the detection condition information will be described.
In the present embodiment, a plurality of channels are prepared in the
図10は、検出条件情報のデータ構成例を示す図である。
図10において、検出条件情報は、8ビットのデータによって構成されており、下位4ビットは、4つのステートマシンSM0〜SM3それぞれの指定状態(DMA転送状態の確認対象であることを示す“1”およびDMA転送の確認対象でないことを示す“0”)を示すビットデータ(以下、「確認対象設定データ」と言う。)、上位4ビットは、下位4ビットのビットデータについて設定された検出条件(ビットデータに対してAND条件が設定されていることを示す“1000”およびビットデータに対してOR条件が設定されていることを示す“1100”)を示すビットデータ(以下、「条件設定データ」と言う。)である。
FIG. 10 is a diagram illustrating a data configuration example of detection condition information.
In FIG. 10, the detection condition information is composed of 8-bit data, and the lower 4 bits are “1” indicating the specified state of each of the four state machines SM0 to SM3 (DMA transfer state confirmation target). In addition, bit data (hereinafter referred to as “confirmation target setting data”) indicating bit data “0” indicating that it is not a confirmation target of DMA transfer, and the upper 4 bits are detection conditions set for bit data of lower 4 bits ( Bit data (hereinafter, “condition setting data”) indicating “1000” indicating that an AND condition is set for bit data and “1100” indicating that an OR condition is set for bit data Say.)
即ち、検出条件情報の条件設定データ(上位4ビット)が“1000”である場合には、確認対象設定データ(下位4ビット)において“1”が設定されているステートマシン(ハードウェアモジュール)の全てがDMA転送中でなければ、DMAコントローラ104から書き込み完了信号が出力される。また、検出条件情報の上位4ビットが“1100”である場合には、確認対象設定データ(下位4ビット)において“1”が設定されているステートマシン(ハードウェアモジュール)のいずれかがDMA転送中でなければ、DMAコントローラ104から書き込み完了信号が出力される。
That is, when the condition setting data (upper 4 bits) of the detection condition information is “1000”, the state machine (hardware module) in which “1” is set in the confirmation target setting data (lower 4 bits). If not all of the DMA transfer is in progress, a write completion signal is output from the
図7に戻り、RAM103は、プロセッサ102が各種プログラムに従って上記処理を実行するときに、各種プログラムを展開するワークエリアを形成するとともに、プロセッサ102により実行される各種処理に係るデータを展開するためのメモリ領域を形成する。
DMAコントローラ104は、プロセッサ102からDMAスタートコマンドが出力されるとDMA処理を開始する。
Returning to FIG. 7, the
The
また、DMAコントローラ104は、DMA処理の状態を管理する状態通知部104aを備えている。そして、状態通知部104aは、プロセッサ102から条件設定レジスタ書き込み要求信号および検出条件情報がDMAコントローラ104に入力されると、検出条件情報に基づいて、DMA処理の状態、即ち、複数のDMAチャネルにおけるステートマシンの動作状態を判定する。そして、状態通知部104aは、各ステートマシンの動作状態が検出条件情報に示される検出条件に適合する場合には、条件設定レジスタ107に対する書き込みが完了したことを示す書き込み完了信号をプロセッサ102に出力し、各ステートマシンの動作状態が検出条件情報に示される検出条件に適合しない場合には、WAIT信号をクロック制御部105に出力する。
The
図11は、状態通知部104aの概略構成を示すブロック図である。
図11において、状態通知部104aは、上述の条件設定レジスタ107と、AND回路104bと、OR回路104cと、選択回路104dとを備えている。
AND回路104bには、DMA転送を行っているハードウェアモジュールにおけるステートマシンそれぞれから、DMA転送中であるか否かを示す信号(busy_ready信号)が入力される。なお、このbusy_ready信号は、DMA転送中である場合には“1”とされ、DMA転送中でない場合には“0”とされる。また、AND回路104bには、条件設定レジスタ107が記憶しているビットデータ(確認対象設定データ)が入力される。
FIG. 11 is a block diagram illustrating a schematic configuration of the
In FIG. 11, the
A signal (busy_ready signal) indicating whether or not DMA transfer is being performed is input to the AND
そして、AND回路104bは、各ハードウェアモジュールのbusy_ready信号を基に、確認対象設定データにおいて“1”が設定されているハードウェアモジュール(ステートマシン)の動作状態を確認し、確認対象設定データにおいて“1”が設定されているハードウェアモジュールから入力されるbusy_ready信号の全てが“0”である場合(いずれもDMA転送中でないことを示す場合)には、AND回路104bにおける検出条件が充足されたことを示すAND条件結果(ここでは“1”とする)を選択回路104dに出力する。一方、確認対象設定データにおいて“1”が設定されているハードウェアモジュールから入力されるbusy_ready信号の全ては“0”でない場合(いずれかがDMA転送中であることを示す場合)には、AND回路104bにおける検出条件が充足されていないことを示すAND条件結果(ここでは“0”とする)を選択回路104dに出力する。
Then, the AND
OR回路104cには、AND回路104bと同様に、DMA転送を行っているハードウェアモジュールにおけるステートマシンそれぞれから、DMA転送中であるか否かを示す信号(busy_ready信号)が入力される。また、OR回路104cには、条件設定レジスタ107が記憶しているビットデータ(確認対象設定データ)が入力される。
そして、OR回路104cは、各ハードウェアモジュールのbusy_ready信号を基に、確認対象設定データにおいて“1”が設定されているハードウェアモジュール(ステートマシン)の動作状態を確認し、確認対象設定データにおいて“1”が設定されているハードウェアモジュールから入力されるbusy_ready信号のいずれかが“0”である場合(いずれかがDMA転送中でないことを示す場合)には、OR回路104cにおける検出条件が充足されたことを示すOR条件結果(ここでは“1”とする)を選択回路104dに出力する。一方、確認対象設定データにおいて“1”が設定されているハードウェアモジュールから入力されるbusy_ready信号の全てが“1”である場合(いずれもDMA転送中であることを示す場合)には、OR回路104cにおける検出条件が充足されていないことを示すOR条件結果(ここでは“0”とする)を選択回路104dに出力する。
Similarly to the AND
Then, the
選択回路104dには、プロセッサ102から入力された検出条件情報における条件設定データが入力される。
また、選択回路104dには、AND回路104bからAND条件結果が入力されると共に、OR回路104cからOR条件結果が入力される。
そして、選択回路104dは、条件設定データによって示される検出条件(即ち、AND条件あるいはOR条件)に応じて、AND条件結果とOR条件結果とのいずれかを選択し、選択結果をプロセッサ102に出力する。この選択結果は、条件が充足されたことを示すAND条件結果あるいはOR条件結果である場合には書き込み完了信号となり、条件が充足されていないことを示すAND条件結果あるいはOR条件結果である場合にはプロセッサ102に対するWAIT信号となる。
The condition setting data in the detection condition information input from the
The
Then, the
図7に戻り、クロック制御部105は、DMAコントローラ104からWAIT信号が出力されているか否かを判定し、WAIT信号が出力されていない場合にはプロセッサ102にクロック信号を供給し、WAIT信号が出力されている場合にはクロック信号の供給を停止する。
次に、本実施形態の情報処理装置100の動作を詳細に説明する。
Returning to FIG. 7, the clock control unit 105 determines whether or not the WAIT signal is output from the
Next, the operation of the
まず、図12に示すようにサイクル「2」で、DMAコントローラ104にDMAの開始を要求するDMA要求信号が出力されたとする。
すると、サイクル「3」で、DMAコントローラ104からDMA転送処理中であることを通知する信号が出力される。プロセッサ102で所定の処理が実行され、図8に示すように、まずそのステップS301で、DMAパラメータが設定され、ステップS302で、図12(b)に示すように、DMAスタートコマンドがDMAコントローラ104に出力される。そして、サイクル「3」で、図12(c)に示すように、DMAコントローラの動作状態が「動作中」とされ、DMAコントローラ104によってDMA処理が開始される。
First, it is assumed that a DMA request signal for requesting the
Then, in cycle “3”, the
また、DMA処理が継続されるうちに、サイクル「4」〜「6」を経て、サイクル「7」で、図12(d)に示すように、プロセッサ102からDMAコントローラ104に条件設定レジスタ書き込み要求信号および書き込みデータ(検出条件情報)が出力される。
すると、サイクル「8」で、図12(f)に示すように、DMAコントローラ104からクロック制御部105にハイレベルのWAIT信号が出力され、サイクル「9」で、図12(h)に示すように、クロック制御部105によってプロセッサ102に供給していた動作クロック信号が停止される。
In addition, while the DMA processing is continued, through cycles “4” to “6”, in cycle “7”, as shown in FIG. 12D, the
Then, in cycle “8”, as shown in FIG. 12F, a high-level WAIT signal is output from the
さらに、サイクル「10」〜「13」を経て、サイクル「14」で、図12(c)に示すように、DMAコントローラ104の動作状態がローレベルとされ、DMA処理が終了したとする。
すると、サイクル「15」で、DMAコントローラ104によって、DMA処理中でないことを示す書き込み完了信号がプロセッサ102に出力され、WAIT信号が停止状態とされる。また、クロック制御部105からプロセッサ102にクロック信号の供給が再開され、前記書き込み完了信号が出力されると条件設定レジスタ書き込み要求信号が停止され、サイクル「16」で、プロセッサ102の処理が再開される。
Further, it is assumed that the cycle “10” to “13” is followed by the cycle “14”, the operation state of the
Then, in cycle “15”, the
このように、本実施形態の情報処理装置100によれば、DMAコントローラ104でDMA処理が実行されたとしても、プロセッサ102がDMAコントローラ104の動作状態を問い合わせるまで、つまり条件設定レジスタ書き込み要求信号を出力するまでは、プロセッサ102でそれまでの処理を継続することができ、またプロセッサ102から条件設定レジスタ書き込み要求信号が出力されると、プロセッサ102へのクロック信号の供給が停止されるようにしたため、プロセッサ102による処理効率の低下を防止しつつ、プロセッサ102による消費電力を低減することができる。
As described above, according to the
また、DMA処理が終了するまでクロック信号の供給を停止するようにしたため、DMA処理の実行中に、DMAコントローラ104の動作状態の問い合わせが何度も実行されてしまうことを防止でき、プロセッサ102による消費電力をより低減することができる。
さらに、プロセッサ102が条件設定レジスタ書き込み要求信号を出力する際に、DMAコントローラ104の動作状態に対する検出条件を示す検出条件情報が書き込みデータとして出力される。そのため、DMAのチャネルが複数ある場合に、それらのチャネルにおける複雑な条件を設定してDMAコントローラ104の動作状態を問い合わせることができるため、上記の効果に加え、ソフトウェアの効率的な実行制御を行うことが可能となる。具体的には、プログラムにおける条件判断の回数を軽減することができるため、実行速度の向上を図ることが可能となる。また、DMAコントローラに対するポーリングのために条件判断を繰り返す従来の方法に比し、無用な消費電力を削減することが可能となる。さらに、DMAコントローラ104における種々の条件を検出する処理が、書き込み要求信号および検出条件情報(書き込みデータ)の出力のみで実行できるため、このような処理を実現するためのプログラムの作成が容易なものとなる。
In addition, since the supply of the clock signal is stopped until the DMA processing is completed, it is possible to prevent the inquiry about the operation state of the
Further, when the
なお、本実施形態において、DMAコントローラ104は、検出条件情報に示されるAND条件あるいはOR条件を判定するものとして説明したが、AND条件およびOR条件以外の条件(XOR条件等)を設定することも可能であるとともに、DMAコントローラ104がAND条件あるいはOR条件等のいずれか1つのみを判定することとしても良い。DMAコントローラ104において1つの固定的な条件のみが判定される場合、検出条件情報の上位4ビットのビットデータが不要となり、プロセッサ102による書き込みデータが削減されると共に、状態通知部104aの構成を、例えば図13および図14に示すように簡略なものとすることができる。
In the present embodiment, the
また、本実施形態において、プロセッサ102によって条件設定レジスタ書き込み要求信号が出力された場合、DMAコントローラ104から書き込み完了信号が出力されるまで、プロセッサ102に対するクロックの供給が継続して停止されるものとして説明したが、第2の実施の形態に示すように、所定長のデータがDMA転送されるたびにクロック信号の供給を一時的に再開するようにしても良い。
In this embodiment, when the condition setting register write request signal is output by the
また、上記実施形態では、プロセッサ102が特許請求の範囲におけるプロセッサを構成し、DMAコントローラ104が機能部を構成し、クロック制御部105が抑制部を構成し、条件設定レジスタ107が検出条件記憶部を構成する。
In the above embodiment, the
1,100は情報処理装置、2,102はプロセッサ、3,103はRAM、4,104はDMAコントローラ、5,105はクロック制御部、6,106はデータバス、7は状態通知レジスタ、107は条件設定レジスタ、8は転送データ長設定部 1, 100 is an information processing device, 2, 102 is a processor, 3, 103 is RAM, 4, 104 is a DMA controller, 5, 105 is a clock controller, 6, 106 is a data bus, 7 is a status notification register, 107 is Condition setting register, 8 is transfer data length setting section
Claims (15)
前記機能部において前記所定処理の実行が開始された後、前記プロセッサが前記機能部の動作状態を問い合わせたか否かを検出する問い合わせ検出部と、
前記機能部における前記所定処理の終了を検出する終了検出部と、
前記機能部において前記所定処理の実行が開始された場合、前記プロセッサの動作状態を維持し、さらに、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサによる前記機能部の動作状態の問い合わせに関する動作を抑制する抑制部と、
を備えたことを特徴とするプロセッサ制御回路。 A functional unit capable of executing a predetermined process without using a processor;
An inquiry detection unit that detects whether or not the processor has inquired about an operating state of the functional unit after the execution of the predetermined process is started in the functional unit;
An end detection unit for detecting the end of the predetermined process in the function unit;
When the execution of the predetermined process is started in the function unit, the operation state of the processor is maintained, and further, when the inquiry detection unit detects that the processor has inquired about the operation state of the function unit, A suppression unit that suppresses an operation related to an inquiry about an operation state of the function unit by the processor until the end detection unit detects the end of the predetermined process in the function unit;
A processor control circuit comprising:
前記プロセッサが該実行状態情報の読み出し信号を出力することにより前記機能部の動作状態を問い合わせたことが前記問い合わせ検出部によって検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されることに対応して、前記実行状態情報の読み出しが完了したことを示す読み出し完了信号を前記プロセッサに出力することによって、前記機能部における所定処理が終了したことを前記プロセッサに通知する状態通知部と、
を備えることを特徴とする請求項1から6のいずれか1項に記載のプロセッサ制御回路。 The function unit includes a state storage unit that stores execution state information indicating an operation state of the function unit ;
When the inquiry detection unit detects that the processor has inquired about the operation state of the function unit by outputting a read signal of the execution state information, the end detection unit ends the predetermined process in the function unit Is output to the processor in response to the detection of the execution state information, thereby notifying the processor that the predetermined processing in the functional unit has been completed. A status notification section;
Processor control circuit according to any one of claims 1 to 6, characterized in that it comprises a.
該プロセッサを介さずに所定処理を実行可能な機能部と、
前記機能部において前記所定処理の実行が開始された後、前記プロセッサが前記機能部の動作状態を問い合わせたか否かを検出する問い合わせ検出部と、
前記機能部における前記所定処理の終了を検出する終了検出部と、
前記機能部において前記所定処理の実行が開始された場合、前記プロセッサの動作状態を維持し、さらに、前記問い合わせ検出部によって前記プロセッサが前記機能部の動作状態を問い合わせたことが検出されると、前記終了検出部によって前記機能部における前記所定処理の終了が検出されるまで、前記プロセッサによる前記機能部の動作状態の問い合わせに関する動作を抑制する抑制部と、
を備えたことを特徴とする情報処理装置。 A processor for executing predetermined arithmetic processing;
A functional unit capable of executing predetermined processing without going through the processor;
An inquiry detection unit that detects whether or not the processor has inquired about an operating state of the functional unit after the execution of the predetermined process is started in the functional unit;
An end detection unit for detecting the end of the predetermined process in the function unit;
When the execution of the predetermined process is started in the function unit, the operation state of the processor is maintained, and further, when the inquiry detection unit detects that the processor has inquired about the operation state of the function unit, A suppression unit that suppresses an operation related to an inquiry about an operation state of the function unit by the processor until the end detection unit detects the end of the predetermined process in the function unit;
An information processing apparatus comprising:
前記プロセッサは、動作状態の検出における所定条件が設定された前記検出条件情報の前記検出条件記憶部への書き込み信号を出力することにより、前記動作状態の問い合わせを行い、
前記機能部は、前記動作状態が前記検出条件情報の示す条件を充足した場合に、前記検出条件情報の書き込みが完了したことを示す書き込み完了信号を前記プロセッサに出力することによって、前記機能部における所定処理が終了したことを前記プロセッサに通知する状態通知部を備えることを特徴とする請求項8から13のいずれか1項に記載の情報処理装置。 The functional unit includes a detection condition storage unit that stores detection condition information indicating a detection condition related to an operation state of the functional unit,
The processor makes an inquiry about the operation state by outputting a write signal to the detection condition storage unit of the detection condition information in which a predetermined condition in detection of the operation state is set,
The functional unit outputs a write completion signal indicating that writing of the detection condition information is completed to the processor when the operation state satisfies a condition indicated by the detection condition information. The information processing apparatus according to claim 8, further comprising a state notification unit that notifies the processor that a predetermined process has been completed.
前記プロセッサは、前記所定処理それぞれを特定する情報と、複数の前記所定処理の間に設定された動作状態の検出条件とを含む前記検出条件情報の前記検出条件記憶部への書き込み信号を出力することにより、前記動作状態の問い合わせを行い、
前記機能部における前記状態通知部は、前記検出条件情報に示される所定処理間において動作状態が検出条件と一致した場合に、前記書き込み完了信号を前記プロセッサに出力することによって、前記機能部における所定処理が終了したことを前記プロセッサに通知することを特徴とする請求項14に記載の情報処理装置。 The functional unit can execute a plurality of the predetermined processes,
The processor outputs a write signal to the detection condition storage unit of the detection condition information including information specifying each of the predetermined processes and a detection condition of an operation state set during a plurality of the predetermined processes. To inquire about the operating state,
The state notification unit in the functional unit, if the operating condition matches the detection condition between predetermined process shown in the detected condition information, by outputting the write completion signal to the processor, predetermined in the functional unit The information processing apparatus according to claim 14, wherein the processor is notified that the process has been completed .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004283611A JP4107278B2 (en) | 2003-11-07 | 2004-09-29 | Processor control circuit and information processing apparatus |
US10/968,876 US20050149771A1 (en) | 2003-11-07 | 2004-10-21 | Processor control circuit, information processing apparatus, and central processing unit |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003378367 | 2003-11-07 | ||
JP2004283611A JP4107278B2 (en) | 2003-11-07 | 2004-09-29 | Processor control circuit and information processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005158036A JP2005158036A (en) | 2005-06-16 |
JP4107278B2 true JP4107278B2 (en) | 2008-06-25 |
Family
ID=34741497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004283611A Expired - Fee Related JP4107278B2 (en) | 2003-11-07 | 2004-09-29 | Processor control circuit and information processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4107278B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3870970B2 (en) | 2005-03-15 | 2007-01-24 | セイコーエプソン株式会社 | Processor control unit |
-
2004
- 2004-09-29 JP JP2004283611A patent/JP4107278B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005158036A (en) | 2005-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7711918B2 (en) | Apparatus and method for operating flash memory according to priority order | |
US20130036426A1 (en) | Information processing device and task switching method | |
JP4325685B2 (en) | MEMORY CONTROLLER, MEMORY MODULE, MEMORY CONTROL METHOD, AND COMPUTER FOR CONTROLLING MEMORY | |
JP2011095916A (en) | Electronic apparatus | |
JP2008009817A (en) | Semiconductor device and data transfer method | |
JP6151465B1 (en) | Latency-based power mode unit for controlling the power mode of a processor core, and related methods and systems | |
JP3866749B2 (en) | Microprocessor | |
JP4957283B2 (en) | Memory controller for controlling memory and memory control method. | |
JP3870970B2 (en) | Processor control unit | |
WO2009098737A1 (en) | External device access apparatus, its controlling method and system lsi | |
JP4107278B2 (en) | Processor control circuit and information processing apparatus | |
JP5783348B2 (en) | Control device, control program, and image forming apparatus | |
US20050149771A1 (en) | Processor control circuit, information processing apparatus, and central processing unit | |
JP2008225608A (en) | Memory controller for controlling memory, memory module, and memory control method | |
JP3991999B2 (en) | Central processing unit and processor control method | |
JP2011013836A (en) | Memory arrangement management device and microprocessor | |
JPH11353291A (en) | Multiprocessor system and medium recording task exchange program | |
JP2006126938A (en) | Data transfer system and its data transfer method | |
JP2004118300A (en) | Dma controller | |
JP2006331248A (en) | Data transfer device | |
JP2007179103A (en) | Information processor and method for controlling information processor | |
JP6940283B2 (en) | DMA transfer control device, DMA transfer control method, and DMA transfer control program | |
JP2006059303A (en) | Computer system | |
JP2006331008A (en) | Memory interface | |
JP2013196112A (en) | Memory system and method for controlling power saving of the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070816 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070821 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071022 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20071120 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080121 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20080128 |
|
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: 20080311 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080324 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120411 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130411 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |