JPH03214251A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH03214251A JPH03214251A JP820190A JP820190A JPH03214251A JP H03214251 A JPH03214251 A JP H03214251A JP 820190 A JP820190 A JP 820190A JP 820190 A JP820190 A JP 820190A JP H03214251 A JPH03214251 A JP H03214251A
- Authority
- JP
- Japan
- Prior art keywords
- refresh
- dma
- data
- block transfer
- transfer
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 claims description 14
- 230000007774 longterm Effects 0.000 abstract description 5
- 230000000873 masking effect Effects 0.000 abstract description 3
- 230000006866 deterioration Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 240000002853 Nelumbo nucifera Species 0.000 description 3
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 3
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野]
本発明は、情報処理装置に関し、特に直接メモリアクセ
ス(Direct Memory Access、以下
DMAと記す)によるデータのブロック転送が実行可能
な情報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an information processing device, and particularly to an information processing device capable of performing block transfer of data by direct memory access (hereinafter referred to as DMA). .
(従来の技術〕
従来、DMAによるデータのブロック転送が実行可能な
情報処理装置において、DMAによるデータのブロック
転送によってバスが占有される。(Prior Art) Conventionally, in an information processing device capable of performing block transfer of data using DMA, a bus is occupied by the block transfer of data using DMA.
また、バスが占有されている時でも、メモリリフレッシ
ュ要求が発生すれば、DMA転送によるバスの占有は放
棄され、メモリリフレッシュサイクルが優先的に実行さ
れるバス調停を行っている。Furthermore, even when the bus is occupied, if a memory refresh request is generated, the occupation of the bus by DMA transfer is relinquished, and bus arbitration is performed in which the memory refresh cycle is executed preferentially.
このような情報処理装置の一例が第3図に示されている
。また、この情報処理装置の信号タイミング図が第4図
に示されている。An example of such an information processing device is shown in FIG. Further, a signal timing diagram of this information processing device is shown in FIG.
DMAによるデータのブロック転送が実行され、DMA
によるデータのブロック転送要求信号41が、バス調停
回路31に送られる。バス調停回路31は、DMAによ
るデータのブロック転送要求41が発生するとハスの長
期使用を許可する。そして、DMAによるデータのブロ
ック転送の開始時に実行されるバスサイクル51aが発
生し、DMAによるデータのブロック転送サイクル52
aが実行される。A block transfer of data using DMA is executed, and the DMA
A data block transfer request signal 41 is sent to the bus arbitration circuit 31. The bus arbitration circuit 31 permits long-term use of the lotus when a data block transfer request 41 by DMA occurs. Then, a bus cycle 51a executed at the start of data block transfer by DMA occurs, and a data block transfer cycle 52 by DMA occurs.
a is executed.
このDMAによるデータのブロック転送中にリフレッシ
ュ要求が発生すると、リフレッシュ要求信号42がバス
調停回路31に送られる。リフレッシュ要求信号42は
、DMAによるデータのブロック転送要求信号41によ
ってマスクされずにバス調停回路31に入力されている
。バス調停回路31は、ハスの長期使用の許可を中断し
、リフレッシュを1回実行するように指示する指示信号
43を、リフレッシュサイクル制御回路32に送る。こ
れにより、リフレッシュサイクル制御回路32がリフレ
ッシユ信号44を送り出す。リフレッシュ信号44が送
り出されると、第4図に示すように、DMAによるデー
タのブロック転送サイクル52aはリフレッシュ要求に
より中断されて、リフレッシュサイクル54が挿入され
る。そのため、DMAによるデータのブロック転送を中
断してから、DMAによるデータのブロック転送を再開
始するまでの間に、DMAによるデータのブロック転送
の終了時に実行されるバスサイクル53aとDMAによ
るデータのブロック転送の開始時に実行されるバスサイ
クル51bが発生する。When a refresh request occurs during this DMA block transfer of data, a refresh request signal 42 is sent to the bus arbitration circuit 31. The refresh request signal 42 is input to the bus arbitration circuit 31 without being masked by the data block transfer request signal 41 by DMA. The bus arbitration circuit 31 sends an instruction signal 43 to the refresh cycle control circuit 32 instructing it to suspend permission for long-term use of the lotus and to perform refresh once. As a result, the refresh cycle control circuit 32 sends out a refresh signal 44. When the refresh signal 44 is sent out, the DMA data block transfer cycle 52a is interrupted by a refresh request, and a refresh cycle 54 is inserted, as shown in FIG. Therefore, between the interruption of data block transfer by DMA and the restart of data block transfer by DMA, there is a bus cycle 53a executed at the end of data block transfer by DMA and a data block by DMA. A bus cycle 51b occurs which is executed at the beginning of the transfer.
バスサイクル51bが発生すると、DMAによるデータ
のブロック転送サイクル52bが再び実行され、DMA
によるデータのブロック転送の終了時に実行されるハス
サイクル53bが発生する。この後にリフレッシュ要求
が発生すると、リフレッシュを1回だけ実行するサイク
ル55が発生する。When the bus cycle 51b occurs, the DMA data block transfer cycle 52b is executed again, and the DMA
A hash cycle 53b, which is executed at the end of data block transfer, occurs. When a refresh request occurs after this, a cycle 55 occurs in which refresh is executed only once.
上述した従来の情報処理装置では、DMAによるデータ
のブロック転送がリフレッシュサイクル実行によって中
断される。そのため、DMAによるデータのブロック転
送を中断してから、DMAによるデータのブロック転送
を再開始するまでの間に、DMAによるデータのブロッ
ク転送の開始時と終了時に実行されるバスサイクルが発
生する。In the conventional information processing apparatus described above, data block transfer by DMA is interrupted by execution of a refresh cycle. Therefore, a bus cycle that is executed at the start and end of the DMA block transfer occurs between when the DMA block transfer is interrupted and when the DMA block transfer is restarted.
DMAによるデータのブロック転送の開始時と終了時に
実行されるバスサイクルは、実際にデータ転送を行って
いないバスサイクルである。このため、DMAによるデ
ータのブロック転送の開始時と終了時に実行されるバス
サイクルの発生する回数が増加すると、バスのデータ転
送効率が低下する。したがって、DMAによるデータの
プロ・ンク転送がリフレッシュサイクル実行によって中
断されると、バスのデータ転送効率向上が妨げられると
いう欠点がある。The bus cycles executed at the start and end of data block transfer by DMA are bus cycles in which no data transfer is actually performed. Therefore, as the number of bus cycles executed at the start and end of data block transfer by DMA increases, the data transfer efficiency of the bus decreases. Therefore, if the DMA data transfer is interrupted by the execution of a refresh cycle, there is a drawback that improvement in bus data transfer efficiency is hindered.
本発明の目的は、このような欠点を除去し、リフレッシ
ュサイクルが実行されたときに、バスのデータ転送効率
の低下を防止できる情報処理装置を提供することにある
。SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing device that can eliminate such drawbacks and prevent the data transfer efficiency of the bus from decreasing when a refresh cycle is executed.
〔課題を解決するための手段]
本発明は、直接メモリアクセスによるデータのブロック
転送が実行可能であり、メモリリフレッシュ要求がある
とリフレッシュ信号を送り出す情報処理装置において、
直接メモリアクセスによるデータのブロック転送中に発
生したメモリリフレッシュ要求信号をマスクするリフレ
ッシュ要求マスク部と、直接メモリアクセスによるデー
タのブロック転送中に発生したメモリリフレッシュ要求
の回数をカウントする未実行リフレッシュ要求カウンタ
部と、
前記未実行リフレッシュ要求カウンタ部によってカウン
トされた未実行リフレッシュ要求の回数に「1」を加算
した回数だけメモリリフレッシュサイクルを連続して実
行する指示を行うバス調停部と、
前記バス調停部の指示により、リフレッシュ信号を送り
出すりフレッシュサイクル制御部とを有し、
直接メモリアクセスによるデータのブロック転送をメモ
リリフレッシュの要求によって中断せず、ブロック転送
終了後に未実行のメモリリフレッシ1サイクルを連続し
て実行することを特徴としている。[Means for Solving the Problems] The present invention provides an information processing device that is capable of performing block transfer of data by direct memory access and sends out a refresh signal when a memory refresh request is made. a refresh request mask unit that masks a memory refresh request signal generated during a block transfer of data by direct memory access; an unexecuted refresh request counter unit that counts the number of memory refresh requests generated during a block transfer of data by direct memory access; a bus arbitration unit that instructs to execute memory refresh cycles consecutively for a number of times equal to “1” added to the number of unexecuted refresh requests counted by the counter unit; and a bus arbitration unit that sends out a refresh signal according to instructions from the bus arbitration unit. The memory refresh cycle control unit is characterized in that the block transfer of data by direct memory access is not interrupted by a memory refresh request, and one unexecuted memory refresh cycle is continuously executed after the block transfer is completed. .
[実施例]
次に、本発明の実施例について図面を参照して説明する
。[Example] Next, an example of the present invention will be described with reference to the drawings.
第1図は、本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図に示される情報処理装置は、DMAによるデータ
のブロック転送中に発生したメモリリフレッシュ要求信
号12をマスクするりフレンシュ要求マスク回路1と、
DMAによるデータのブロック転送中に発生したリフレ
ッシュ要求の回数をカウントする未実行リフレッシュ要
求カウンタ2と、未実行リフレッシュ要求カウンタ2に
よってカウントされた未実行リフレッシュ要求の回数に
「1」を加算した回数だけリフレッシュサイクルを連続
して実行させるバス調停回路3と、バス調停回路3から
送り出される指示信号15によりリフレッシュ信号16
を送り出すリフレッシュサイクル制御回路4とを備えて
いる。The information processing apparatus shown in FIG. 1 includes a refresh request mask circuit 1 for masking a memory refresh request signal 12 generated during block transfer of data by DMA;
The unexecuted refresh request counter 2 counts the number of refresh requests that occur during data block transfer by DMA, and the number of unexecuted refresh requests counted by the unexecuted refresh request counter 2 plus "1". A bus arbitration circuit 3 causes refresh cycles to be executed continuously, and a refresh signal 16 is generated by an instruction signal 15 sent from the bus arbitration circuit 3.
The refresh cycle control circuit 4 sends out the refresh cycle control circuit 4.
次に、この情報処理装置の動作を、第2図の信号タイミ
ング図を参照しながら説明する。Next, the operation of this information processing device will be explained with reference to the signal timing diagram of FIG.
DMAによるデータのブロック転送が実行され、DMA
によるデータのブロック転送要求信号11がリフレッシ
ュ要求マスク回路1と未実行リフレッシュ要求カウンタ
2とバス調停回路3とに加えられる。バス調停回路3は
DMAによるデータのブロック転送要求11が発生する
とバスの長期使用を許可する。そして、DMAによるデ
ータのブロック転送の開始時に実行されるバスサイクル
21が発生する。続いて、DMAによるデータのブロッ
ク転送サイクル22が実行される。A block transfer of data using DMA is executed, and the DMA
A data block transfer request signal 11 is applied to the refresh request mask circuit 1, the unexecuted refresh request counter 2, and the bus arbitration circuit 3. The bus arbitration circuit 3 permits long-term use of the bus when a data block transfer request 11 by DMA occurs. Then, a bus cycle 21 is generated, which is executed at the start of data block transfer by DMA. Subsequently, a data block transfer cycle 22 using DMA is executed.
この間にリフレッシュ要求信号12が発生すると、この
リフレッシュ要求信号12は、バス調停回路3に入力さ
れずに、リフレッシュ要求マスク回路1と未実行リフレ
ッシュ要求カウンタ2に入力される。リフレッシュ要求
信号12は、DMAによるデータのブロック転送中はD
MAによるデータのブロック転送要求信号11によって
マスクされる。さらに、リフレッシュ要求信号12は、
未実行リフレッシュカウンタ2をカウントアツプする。If a refresh request signal 12 is generated during this period, this refresh request signal 12 is not input to the bus arbitration circuit 3 but is input to the refresh request mask circuit 1 and the unexecuted refresh request counter 2. The refresh request signal 12 is D during data block transfer by DMA.
It is masked by the data block transfer request signal 11 by the MA. Furthermore, the refresh request signal 12 is
The unexecuted refresh counter 2 is counted up.
したがって、DMAによるデータのブロック転送中はリ
フレッシュ要求が発生してもバスの長期使用の許可が中
断されない。Therefore, even if a refresh request occurs during data block transfer by DMA, permission for long-term use of the bus is not interrupted.
ブロック転送の終了に際して、DMAによるブタのブロ
ック転送の終了時に実行されるバスサイクル23が発生
する。DMAによるデータのブロック転送終了後に発生
したリフレッシュ要求信号12ハ、DMAによるデータ
のブロック転送要求信号11によってマスクされない。At the end of the block transfer, a bus cycle 23 occurs, which is executed at the end of the DMA pig block transfer. The refresh request signal 12 which is generated after the completion of a data block transfer by DMA is not masked by the data block transfer request signal 11 by DMA.
このために、リフレッシュ要求マスク回路1は、要求信
号13をハス調停回路3に送る。バス調停回路3は、D
MAによるデータのブロック転送中でない時に発生した
リフレッシュ要求信号12によって、リフレッシュ連続
実行サイクル24を実行させる。その際に、ハス調停回
路3は、未実行リフレッシュ要求の回数を示す回数信号
14に従って、未実行リフレッシュ要求の回数に「1」
を加算した回数だけリフレッシュサイクルを実行させる
。バス調停回路3は、リフレッシュを連続実行するよう
に指示する指示信号15をリフレッシュ制御回路4に送
る。リフレッシュサイクル制御回路4は、このリフレッ
シュを連続実行するように指示する指示信号15に従っ
て、リフレッシュ信号16を制御する。For this purpose, the refresh request mask circuit 1 sends a request signal 13 to the lotus arbitration circuit 3. The bus arbitration circuit 3 is D
A refresh continuous execution cycle 24 is executed by a refresh request signal 12 generated when a block of data is not being transferred by the MA. At this time, the hash arbitration circuit 3 sets the number of unexecuted refresh requests to "1" according to the count signal 14 indicating the number of unexecuted refresh requests.
The refresh cycle is executed for the number of times added. The bus arbitration circuit 3 sends an instruction signal 15 to the refresh control circuit 4 to instruct continuous execution of refresh. Refresh cycle control circuit 4 controls refresh signal 16 in accordance with instruction signal 15 instructing continuous execution of this refresh.
このように、DMAによるデータのブロック転送がリフ
レッシュサイクル実行により中断されることなく行える
ことは明らかである。Thus, it is clear that block transfer of data using DMA can be performed without being interrupted by execution of a refresh cycle.
以上説明したように本発明は、DMAによるデータのブ
ロック転送中に発生したリフレ・ンシュ要求をマスクし
、それに伴って発生する未実行のリフレッシュ要求の回
数をカウントし、プロ・ンク転送終了後に未実行のリフ
レッシュサイクルを連続して実行することにより、DM
Aによるデータのブロック転送がリフレッシュの実行に
よって中断されることを防止する。これにより、DMA
によるデータのブロック転送の開始時と終了時に実行さ
れるバスサイクルの発生する回数が減少するため、DM
Aによるデータのブロック転送に起因するバスのデータ
転送効率向上が妨げられない効果がある。As explained above, the present invention masks refresh requests that occur during block transfer of data by DMA, counts the number of unexecuted refresh requests that occur as a result, and stores unexecuted refresh requests after completion of block transfer. By performing consecutive execution refresh cycles, the DM
This prevents block transfer of data by A from being interrupted by execution of refresh. This allows the DMA
The number of bus cycles executed at the start and end of a block transfer of data by
This has the effect that the improvement in bus data transfer efficiency due to block transfer of data by A is not hindered.
第1図は、本発明の一実施例を示すブロック図、第2図
は、第1図の実施例の信号タイミング図、第3図は、従
来の情報処理装置の一例を示すブロック図、
第4図は、第3図の情報処理装置の信号タイミング図で
ある。
1・・・・・リフレッシュ要求マスク回路2・・・・・
未実行リフレッシュ要求カウンタ3・・・・・バス調停
回路FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a signal timing diagram of the embodiment of FIG. 1, and FIG. 3 is a block diagram showing an example of a conventional information processing device. FIG. 4 is a signal timing diagram of the information processing apparatus of FIG. 3. 1... Refresh request mask circuit 2...
Unexecuted refresh request counter 3...Bus arbitration circuit
Claims (1)
が実行可能であり、メモリリフレッシュ要求があるとリ
フレッシュ信号を送り出す情報処理装置において、 直接メモリアクセスによるデータのブロック転送中に発
生したメモリリフレッシュ要求信号をマスクするリフレ
ッシュ要求マスク部と、 直接メモリアクセスによるデータのブロック転送中に発
生したメモリリフレッシュ要求の回数をカウントする未
実行リフレッシュ要求カウンタ部と、 前記未実行リフレッシュ要求カウンタ部によってカウン
トされた未実行リフレッシュ要求の回数に「1」を加算
した回数だけメモリリフレッシュサイクルを連続して実
行する指示を行うバス調停部と、 前記バス調停部の指示により、リフレッシュ信号を送り
出すリフレッシュサイクル制御部とを有し、 直接メモリアクセスによるデータのブロック転送をメモ
リリフレッシュの要求によって中断せず、ブロック転送
終了後に未実行のメモリリフレッシュサイクルを連続し
て実行することを特徴とする情報処理装置。(1) In an information processing device that can perform block transfer of data by direct memory access and sends out a refresh signal when a memory refresh request is made, mask the memory refresh request signal generated during block transfer of data by direct memory access. an unexecuted refresh request counter unit that counts the number of memory refresh requests that have occurred during block transfer of data by direct memory access; a bus arbitration unit that instructs to execute memory refresh cycles consecutively for a number of times equal to “1” added to the number of times, and a refresh cycle control unit that sends out a refresh signal according to instructions from the bus arbitration unit; An information processing device characterized in that block transfer of data by memory access is not interrupted by a memory refresh request, and unexecuted memory refresh cycles are continuously executed after block transfer is completed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP820190A JPH03214251A (en) | 1990-01-19 | 1990-01-19 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP820190A JPH03214251A (en) | 1990-01-19 | 1990-01-19 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03214251A true JPH03214251A (en) | 1991-09-19 |
Family
ID=11686651
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP820190A Pending JPH03214251A (en) | 1990-01-19 | 1990-01-19 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03214251A (en) |
-
1990
- 1990-01-19 JP JP820190A patent/JPH03214251A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6542940B1 (en) | Method and apparatus for controlling task execution in a direct memory access controller | |
| JP3055917B2 (en) | Data transfer control device | |
| US7007138B2 (en) | Apparatus, method, and computer program for resource request arbitration | |
| JPH03214251A (en) | Information processor | |
| JP2504818B2 (en) | Common memory control method in multiprocessor device | |
| JPH0656602B2 (en) | Priority control system for processors with cache | |
| JPS6329868A (en) | Dma controller | |
| JP2947195B2 (en) | Interrupt mask control method | |
| JP2969844B2 (en) | Programmable controller | |
| JPS61166631A (en) | Microprogram control processor | |
| JP2675226B2 (en) | Timing adjustment method | |
| JP3063015B2 (en) | Periodic processing method | |
| JPH04266148A (en) | Input/output control system | |
| JPH04275635A (en) | Constant cycle processing system | |
| JPS61241843A (en) | Information processor | |
| JPH05197593A (en) | Loop/stall monitor device for application program | |
| JPH01315828A (en) | Performance adjusting control system for information processor | |
| JPH02113363A (en) | Time slice controlling system for multiprocessor system | |
| JPH0120455B2 (en) | ||
| JPH09265446A (en) | Bus controller | |
| JPH03189746A (en) | System controller | |
| JPH0380304A (en) | Timer/counter processing method for sequence process | |
| JPS6160161A (en) | Multi-processor system | |
| JPS5911430A (en) | Input and output controller | |
| JPS5856057A (en) | Interruption signal generating device |