JPH07219836A - Memory control system - Google Patents

Memory control system

Info

Publication number
JPH07219836A
JPH07219836A JP6010807A JP1080794A JPH07219836A JP H07219836 A JPH07219836 A JP H07219836A JP 6010807 A JP6010807 A JP 6010807A JP 1080794 A JP1080794 A JP 1080794A JP H07219836 A JPH07219836 A JP H07219836A
Authority
JP
Japan
Prior art keywords
cycle
request
memory
level
continuous
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
Application number
JP6010807A
Other languages
Japanese (ja)
Inventor
Kazuo Sukai
和雄 須貝
Nobutaka Kato
伸隆 加藤
Takashi Toma
貴志 東馬
Yasuhiro Furukawa
泰宏 古川
Hideo Haruta
日出雄 春田
Yoshitake Kurokawa
能毅 黒川
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.)
Hitachi Ltd
Hitachi Micro Software Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Micro Software Systems Inc
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 Hitachi Ltd, Hitachi Micro Software Systems Inc filed Critical Hitachi Ltd
Priority to JP6010807A priority Critical patent/JPH07219836A/en
Publication of JPH07219836A publication Critical patent/JPH07219836A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To arbitrate the cycles so as to interrupt the continuous cycles as much as possible in a memory access system when a request is produced for a memory cycle (prescribed period cycle) that must be carried out within a prescribed time in the continuous cycles. CONSTITUTION:In reference to the prescribed period cycle requests, the request means are prepared for the requests of levels 1 of the priority lower than the continuous cycles and levels 2 of the priority higher than the continuous cycle. A prescribed period cycle request device outputs first a request of level 1. If the continuous cycles are under execution, a memory controller keeps the request of level 1 waiting. When the continuous cycles end in a prescribed period, the memory controller carries out the prescribed period cycle. If the continuous cycles are not finished in a prescribed period, the device requesting the prescribed period cycle outputs a request of level 2. Then the memory controller carries out the prescribed period cycle.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メモリ制御における、
連続サイクル中の優先度の高い転送サイクルの実行タイ
ミングを決定するメモリ制御方式に関する。
BACKGROUND OF THE INVENTION The present invention relates to memory control,
The present invention relates to a memory control method that determines the execution timing of a transfer cycle having a high priority in continuous cycles.

【0002】[0002]

【従来の技術】従来のメモリ制御方式において、メモリ
の転送サイクルを起動する順序を制御する場合、このメ
モリサイクル要求に対し優先順位を設け、メモリサイク
ル要求の優先度の高い順にメモリの転送サイクルを実行
するようにサイクルの調停を行い、メモリサイクルの競
合を防ぐメモリ制御方式になっている。
2. Description of the Related Art In a conventional memory control method, when controlling the order of activating memory transfer cycles, priorities are set for the memory cycle requests and the memory transfer cycles are set in descending order of priority of the memory cycle requests. It is a memory control method that arbitrates the cycles to execute and prevents contention of memory cycles.

【0003】図1は、従来の、連続的にメモリをアクセ
スするためのサイクル(以下連続サイクルと呼ぶ)の実
行中に、所定期間内に必ず実行しなければならないサイ
クル(以下所定期間サイクルと呼ぶ)要求が発生した場
合のタイミングチャートである。
FIG. 1 shows a cycle which must be executed within a predetermined period during the execution of a conventional cycle for continuously accessing a memory (hereinafter referred to as a continuous cycle) (hereinafter referred to as a predetermined period cycle). ) Is a timing chart when a request occurs.

【0004】同図では、連続サイクル実行中に所定期間
サイクル要求が出力されており、所定期間サイクルは、
この連続サイクルより優先度が高いのでメモリ制御装置
は、実行中の連続サイクルを中断し、所定期間サイクル
実行後に、前記の中断した連続サイクルを再開すること
になる。
In the figure, a cycle request is output for a predetermined period during the execution of the continuous cycle.
Since the priority is higher than this continuous cycle, the memory control device interrupts the continuous cycle being executed, and restarts the interrupted continuous cycle after executing the cycle for a predetermined period.

【0005】この問題の解決手段として、所定期間内に
必ず実行しなければならない所定期間サイクル要求と、
高速化を目的とし、その所定期間内に必ず終了するとい
う性質を有する決められた数のメモリデータを連続して
アクセスするメモリサイクル要求とを有し、連続してメ
モリをアクセスするメモリサイクル要求が終了するま
で、所定期間サイクル要求を待たせることにより、高速
化を図る方式がある。このようなメモリ制御方式として
は、特開平3−147035号公報「メモリ制御方式」
が挙げられる。
As a means for solving this problem, a cycle request for a predetermined period that must be executed within a predetermined period,
A memory cycle request for continuously accessing a predetermined number of memory data, which has the property of always ending within a predetermined period for the purpose of speeding up, and a memory cycle request for continuously accessing the memory is There is a method of increasing the speed by making a cycle request wait for a predetermined period until the end. As such a memory control method, Japanese Patent Laid-Open No. 3-147035 "Memory control method" is known.
Is mentioned.

【0006】[0006]

【発明が解決しようとする課題】メモリに対する連続サ
イクルにおいて、1回目のメモリへのアクセスは、サイ
クル開始処理が入るため、2回目以降のメモリアクセス
より処理時間が掛る。また、サイクル終了時には、サイ
クル終了処理が入る。
In a continuous cycle of the memory, the first access to the memory requires a processing time longer than the second and subsequent memory accesses because the cycle start processing is included. At the end of the cycle, cycle end processing is entered.

【0007】従来の優先度の高い順に調停を行う方式で
は、連続サイクル中に所定期間サイクル要求が発生する
と、メモリ制御装置は、その連続サイクルを中断し、所
定期間サイクル実行終了後、前記の中断した連続転送サ
イクルを実行するため、連続サイクルを中断するための
サイクル終了処理、及び連続サイクルを再開するための
サイクル開始処理が、中断せずに実行した場合に比べ余
計に掛かり、メモリアクセスの転送効率が低下する。
In the conventional method of performing arbitration in descending order of priority, when a cycle request is generated for a predetermined period during a continuous cycle, the memory control device interrupts the continuous cycle, and after the execution of the cycle for the predetermined period is completed, the above-mentioned interruption is performed. In order to execute the continuous transfer cycle, the cycle end process for interrupting the continuous cycle and the cycle start process for restarting the continuous cycle take extra time compared to the case without executing the interrupt. Efficiency is reduced.

【0008】また、上記転送効率の低下を防ぐ方法とし
て示された、特開平3−147035号公報「メモリ制
御方式」では、連続してメモリをアクセスするメモリサ
イクルが、一定期間内に必ず終了するという性質を有し
ていない場合については、考慮していなかった。
Further, in the "memory control method" disclosed in Japanese Patent Laid-Open No. 3-147035, which is shown as a method for preventing the transfer efficiency from decreasing, the memory cycle for continuously accessing the memory must be completed within a certain period. We did not consider the case where the property does not have the above.

【0009】本発明の目的は、前記の問題点を改善し、
メモリに対する連続サイクルを可能な限り連続して実行
し、連続サイクルを中断してから再開することにより生
じる時間を省き、メモリアクセスの処理性能の低下を防
ぐことができるメモリ制御装置を提供することにある。
The object of the present invention is to remedy the above-mentioned problems,
(EN) Provided is a memory control device capable of executing a continuous cycle for a memory as continuously as possible, saving time generated by suspending and restarting the continuous cycle, and preventing deterioration in memory access processing performance. is there.

【0010】[0010]

【課題を解決するための手段】メモリへのアクセスに対
し、連続サイクルを可能な限り連続して実行可能にする
ため、本発明では、連続的にメモリへアクセスするため
の連続サイクルを実行する手段と、前記連続サイクルを
要求する手段と、所定期間内に実行しなければならない
所定期間サイクルを要求する手段と、前記連続サイクル
と所定期間サイクルを調停する手段と、メモリサイクル
要求を受領したことを報告する手段と、連続サイクル中
であることを報告する手段を備える。所定期間サイクル
要求には、連続サイクルより優先度の低いレベル1の要
求と、連続サイクルより優先度の高いレベル2の要求の
2レベルの要求手段を設ける。サイクルを調停する手段
は、連続サイクル中に該レベル1の要求が出力され、所
定期間内に連続サイクルが終了した時は、連続サイクル
実行終了後に所定期間サイクルを実行し、所定期間内に
連続サイクルが終了しなかった時には、所定期間サイク
ルの要求手段から該レベル2の要求が出力されることに
より、メモリ制御装置は連続サイクルを中断し、所定期
間サイクルを実行した後に連続サイクルを再開するよう
にする。
SUMMARY OF THE INVENTION In order to enable continuous cycles to be accessed as continuously as possible for accessing a memory, the present invention provides means for executing continuous cycles for continuously accessing a memory. A means for requesting the continuous cycle, a means for requesting a cycle for a predetermined period that must be executed within a predetermined period, a means for arbitrating between the continuous cycle and the cycle for the predetermined period, and receiving a memory cycle request. A means for reporting and a means for reporting that a continuous cycle is in progress are provided. The cycle request for a predetermined period is provided with two levels of request means, ie, a level 1 request having a lower priority than a continuous cycle and a level 2 request having a higher priority than a continuous cycle. When the level 1 request is output during a continuous cycle and the continuous cycle ends within a predetermined period, the means for arbitrating the cycle executes the cycle for a predetermined period after the execution of the continuous cycle, and the continuous cycle within the predetermined period. When the processing is not completed, the requesting means for the predetermined period cycle outputs the level 2 request, so that the memory control device interrupts the continuous cycle, restarts the continuous cycle after executing the predetermined period cycle. To do.

【0011】[0011]

【作用】所定期間サイクル要求の内、連続サイクルより
優先度の低いレベル1の要求は、所定期間サイクルを要
求するが、所定期間内のため、所定期間サイクルが待機
可能なことを示し、連続サイクルより優先度の高いレベ
ル2の要求は、所定期間サイクルが待機できる期間が経
過したために、所定期間サイクルが待機できないことを
示す。
The level 1 request, which has a lower priority than the continuous cycle among the predetermined period cycle requests, requests the predetermined period cycle, but since it is within the predetermined period, it indicates that the predetermined period cycle can wait. The higher priority level 2 request indicates that the predetermined period cycle cannot wait because the predetermined period cycle wait period has elapsed.

【0012】所定期間サイクル要求手段から、レベル1
の要求が出力され、まだレベル2の要求が出力されてい
ない間は、サイクル調停手段が、連続サイクルの終了ま
で所定期間サイクルの実行を待機させ、連続サイクル終
了後に所定期間サイクルを実行することにより、連続サ
イクルの中断処理を行う必要が無く、転送効率の低下を
防ぐことができる。
From the cycle request means for a predetermined period, level 1
While the level 2 request is output and the level 2 request is not output yet, the cycle arbitration means waits for the execution of the predetermined period cycle until the end of the continuous cycle, and then executes the predetermined period cycle after the end of the continuous cycle. Since it is not necessary to perform the interruption process of the continuous cycle, it is possible to prevent the transfer efficiency from decreasing.

【0013】また、所定期間サイクル要求手段からレベ
ル1の要求が出力され、所定期間サイクルが待機できる
期間が経過しても、連続サイクルが終了せず、所定期間
サイクルが待機できない場合には、所定期間サイクル要
求手段から、レベル2の要求が出力されるので、従来の
方式と同様、サイクル調停手段は連続サイクルを中断
し、所定期間サイクルを実行後、前記の中断した連続サ
イクルを再開することになり、転送効率は従来の方式と
等しくなるが、所定期間サイクルを所定期間内に確実に
実行することができる。
If the level 1 request is output from the cycle requesting means for a predetermined period, and the continuous cycle does not end even if the period during which the cycle can wait for the predetermined period has elapsed, the cycle cannot be waited for the predetermined period. Since the level 2 request is output from the period cycle request unit, the cycle arbitration unit interrupts the continuous cycle, executes the predetermined period cycle, and restarts the interrupted continuous cycle, as in the conventional method. Therefore, the transfer efficiency becomes equal to that of the conventional method, but the predetermined period cycle can be surely executed within the predetermined period.

【0014】[0014]

【実施例】本発明の一実施例を図を用いて説明する。Embodiment An embodiment of the present invention will be described with reference to the drawings.

【0015】図2は、本発明によるメモリを連続的にア
クセスするサイクル(以下連続サイクルと呼ぶ)中に所
定期間内に実行しなければならないサイクル(以下所定
期間サイクルと呼ぶ)の要求が発生した場合のタイミン
グチャートの例である。
In FIG. 2, during a cycle of continuously accessing a memory according to the present invention (hereinafter referred to as a continuous cycle), a request for a cycle (hereinafter referred to as a predetermined period cycle) that must be executed within a predetermined period is generated. It is an example of a timing chart in the case.

【0016】図2(a)は、所定期間サイクルを実行し
なくてはならない期間内に、連続サイクルが終了する場
合のタイミングを示している。同図において、メモリへ
連続サイクルでアクセス中に、レベル1の所定期間サイ
クルの要求が発生した場合、その連続サイクルが終了す
るまで所定期間サイクルは待機しており、連続サイクル
が終了した時点で所定期間サイクルを実行する。この結
果、優先度の高い所定期間サイクルによる連続サイクル
の中断処理が発生しないため、連続サイクルのサイクル
開始処理及びサイクル終了処理を行う必要が無く、転送
効率の低下は無い。
FIG. 2A shows the timing in the case where the continuous cycle ends within the period in which the cycle must be executed for the predetermined period. In the figure, when a request for a level 1 predetermined period cycle is made during access to a memory in continuous cycles, the predetermined period cycle waits until the continuous cycle ends, and when the continuous cycle ends Run a period cycle. As a result, since the interruption processing of the continuous cycle due to the high-priority predetermined period cycle does not occur, it is not necessary to perform the cycle start processing and the cycle end processing of the continuous cycle, and the transfer efficiency does not decrease.

【0017】図2(b)は、所定期間サイクルを実行し
なくてはならない期間内に、連続サイクルが終了しない
場合のタイミングを示している。同図では、連続サイク
ル中にレベル1の所定期間サイクル要求が発生していて
も、連続サイクルが終了しないため、メモリ制御装置は
所定期間サイクルを実行せずに待機させておく。その
後、所定期間経過後に、レベル1の所定期間サイクル要
求を出力した装置は、メモリ制御装置に対してレベル2
の所定期間サイクル要求を出力する。レベル2の所定期
間サイクル要求を受領したメモリ制御装置は、従来の方
式と同様、連続サイクルを中断し、所定期間サイクルを
実行後、前記の中断した連続サイクルを再開する。この
場合、転送効率は従来の方式と等しくなるが、所定期間
サイクルが、待機できる時間内に確実に実行される。
FIG. 2B shows the timing when the continuous cycle does not end within the period in which the cycle must be executed for the predetermined period. In the figure, even if a cycle request of level 1 for a predetermined period is generated during the continuous cycle, the continuous cycle does not end, so the memory control device does not execute the cycle for the predetermined period and waits. Then, after a lapse of a predetermined period of time, the device that outputs the cycle request of the level 1 for the predetermined period of time outputs to the memory controller 2
The cycle request is output for a predetermined period. Upon receiving the level 2 predetermined period cycle request, the memory control device interrupts the continuous cycle, executes the predetermined period cycle, and then restarts the interrupted continuous cycle, as in the conventional method. In this case, the transfer efficiency is equal to that of the conventional method, but the predetermined period cycle is executed reliably within the waiting time.

【0018】次に本発明の実施例を具体的な例を挙げて
説明する。
Next, embodiments of the present invention will be described with reference to specific examples.

【0019】本実施例では、メモリに高速ページモード
アクセスが可能で、データの入出力ポートを2つ設けて
ある画像用デュアルポートメモリを使用するものとす
る。また、所定期間内に実行しなければならないサイク
ルの例として、画像用デュアルポートメモリから表示用
バッファへの転送を行うリード転送サイクルを取り上げ
る。
In the present embodiment, it is assumed that a high speed page mode access to the memory is possible and an image dual port memory provided with two data input / output ports is used. Further, as an example of a cycle that must be executed within a predetermined period, a read transfer cycle for transferring from the image dual port memory to the display buffer will be taken up.

【0020】図3に、本発明を実現するためのコンピュ
ータシステムの構成を示す。1はシステム全体の制御を
行うCPU、2は主記憶装置、3はCPU1と主記憶2
と描画制御装置4とのデータの送受信を提供するシステ
ムバス、4は本実施例による描画の制御を行う描画制御
装置、5は高速ページモードアクセス可能な画像メモ
リ、6は画像メモリに格納されているデータを表示出力
用のデータに変換するためのRAMDAC、7は表示装
置である。
FIG. 3 shows the configuration of a computer system for implementing the present invention. Reference numeral 1 is a CPU for controlling the entire system, 2 is a main storage device, 3 is a CPU 1 and a main storage 2
And a drawing control device 4 for transmitting and receiving data, a drawing control device 4 for controlling the drawing according to the present embodiment, 5 a fast page mode accessible image memory, and 6 a storage in the image memory. A RAMDAC, 7 for converting the stored data into data for display output is a display device.

【0021】描画制御装置4は、CPU1から出力され
た描画要求を受領した場合に、前記描画要求に対する画
像メモリサイクルを実行するため、画像メモリ5の制御
信号と、アドレス及びデータを出力する。この画像メモ
リ5は、高速ページモード転送サイクルでアクセス可能
なため、描画制御装置4が高速ページモードアクセス可
能な描画要求を受領した場合には、描画制御装置4は、
高速ページモード転送サイクルで画像メモリ5に対しア
クセスする。
When the drawing control device 4 receives the drawing request output from the CPU 1, the drawing control device 4 outputs the control signal of the image memory 5, the address and the data in order to execute the image memory cycle for the drawing request. Since the image memory 5 can be accessed in the high speed page mode transfer cycle, when the drawing control device 4 receives a high speed page mode accessible drawing request, the drawing control device 4
The image memory 5 is accessed in the fast page mode transfer cycle.

【0022】表示装置7は、画像メモリ5の内容を表示
する。これを実現するためには、一定周期ごとに表示用
バッファへの転送を行うリード転送サイクルが必要であ
り、描画制御装置4が、この周期を保持しており、その
周期ごとにリード転送サイクルを実行するための制御を
行う。リード転送サイクルを実行するための制御とは、
描画制御装置4が、リード転送周期毎に装置内部のサイ
クルの調停をする回路に対し、高速ページモードサイク
ルより優先度の低いレベル1の要求と、高速ページモー
ドサイクルより優先度の高いレベル2の要求の2レベル
のリード転送要求を出力する機能を用いて、CPU1か
らの描画要求と2レベルのリード転送サイクル要求との
実行タイミングを調停することにより行う。
The display device 7 displays the contents of the image memory 5. In order to realize this, a read transfer cycle in which transfer to the display buffer is performed at regular intervals is necessary. The drawing control device 4 holds this cycle, and the read transfer cycle is performed at each cycle. Performs control for execution. What is the control to execute the read transfer cycle?
The drawing control device 4 requests the circuit that arbitrates the cycle inside the device for each read transfer cycle to request level 1 which has a lower priority than the fast page mode cycle and level 2 which has a higher priority than the fast page mode cycle. This is performed by arbitrating the execution timing of the drawing request from the CPU 1 and the 2-level read transfer cycle request by using the function of outputting the 2-level read transfer request.

【0023】図4に、本発明の描画制御装置4の一実施
例の構成を示す。
FIG. 4 shows the construction of an embodiment of the drawing control device 4 of the present invention.

【0024】40はシステムバス3と描画制御装置4の
内部ブロックとのデータの入出力を行うシステムバス制
御部、41は描画制御装置4の内部全体の制御を行う描
画シーケンサ、42はリード転送周期を保持しており、
リード転送サイクルの実行を要求するリード転送カウン
タ、43はシステムバス3から受領したアドレスを画像
メモリ制御部5にアクセスするためのアドレスに変換す
る制御と、システムバス3と画像メモリ5の間でデータ
の送受信処理を行うアドレス/データ制御部、44は描
画シーケンサ41及びリード転送カウンタ42から発生
するメモリサイクル要求信号を受領し、優先判定を行う
サイクル優先判定部、45は画像メモリの制御を行う画
像メモリ制御部である。
Reference numeral 40 is a system bus control unit for inputting / outputting data between the system bus 3 and the internal blocks of the drawing control device 4, 41 is a drawing sequencer for controlling the entire inside of the drawing control device 4, and 42 is a read transfer cycle. Holds
A read transfer counter requesting execution of a read transfer cycle, 43 is a control for converting an address received from the system bus 3 into an address for accessing the image memory control unit 5, and a data transfer between the system bus 3 and the image memory 5. An address / data control unit for performing transmission / reception processing of 44, a 44 is a cycle priority determination unit for receiving a memory cycle request signal generated from the drawing sequencer 41 and the read transfer counter 42, and performing priority determination, and 45 is an image for controlling the image memory. It is a memory control unit.

【0025】システムバス制御部40が、CPU1から
送信されたアドレス及びデータを受領した場合、その受
領したアドレス及びデータを描画シーケンサ41に送信
する。描画シーケンサ41は、システムバス制御部40
から送信されたアドレス及びデータにより、描画種を判
断し、サイクル優先判定部44に描画種に対する画像メ
モリサイクル要求信号を出力する。
When the system bus control unit 40 receives the address and data transmitted from the CPU 1, the system bus control unit 40 transmits the received address and data to the drawing sequencer 41. The drawing sequencer 41 is a system bus control unit 40.
The drawing type is determined based on the address and the data transmitted from, and an image memory cycle request signal for the drawing type is output to the cycle priority determination unit 44.

【0026】リード転送カウンタ42は、リード転送周
期を記憶しており、その各周期ごとにサイクル優先判定
部44に対し、リード転送要求信号を出力する。リード
転送要求信号には、高速ページモードサイクルより優先
度の低いレベル1の要求信号と、高速ページモードサイ
クルより優先度の高いレベル2の要求信号の2本の要求
信号を設ける。リード転送サイクル実行時には、リード
転送サイクルを行うアドレスをアドレス/データ制御部
43に対して出力する。
The read transfer counter 42 stores a read transfer cycle, and outputs a read transfer request signal to the cycle priority determination section 44 for each cycle. The read transfer request signal is provided with two request signals, a level 1 request signal having a lower priority than the high speed page mode cycle and a level 2 request signal having a higher priority than the high speed page mode cycle. When the read transfer cycle is executed, the address for performing the read transfer cycle is output to the address / data control unit 43.

【0027】サイクル優先判定部44は、描画シーケン
サ41から出力される描画メモリサイクル要求信号と、
リード転送カウンタ42から出力されるリード転送サイ
クル要求信号の優先判定を行う。また、サイクル優先判
定部は描画シーケンサ41から出力される、高速ページ
モードアクセス中であることを示す信号もサイクル優先
判定処理に使用する。
The cycle priority determination section 44 includes a drawing memory cycle request signal output from the drawing sequencer 41,
The priority of the read transfer cycle request signal output from the read transfer counter 42 is determined. The cycle priority determination unit also uses the signal output from the drawing sequencer 41 and indicating that the high speed page mode is being accessed for the cycle priority determination processing.

【0028】サイクルの優先判定が終了すると、サイク
ル優先判定部44は、画像メモリ制御部45に対し、優
先判定された画像メモリのサイクル要求を出力し、選択
した要求を受領した事を、描画シーケンサ41及びリー
ド転送カウンタ42に報告する。アドレス/データ制御
部は、その選択された画像メモリサイクル要求に対する
アドレス/データを画像メモリ制御部に出力する。
When the cycle priority determination is completed, the cycle priority determination unit 44 outputs a cycle request for the priority-determined image memory to the image memory control unit 45, and when the selected request is received, the drawing sequencer 41 and the read transfer counter 42. The address / data control unit outputs the address / data for the selected image memory cycle request to the image memory control unit.

【0029】サイクル要求及びアドレス/データを受領
した画像メモリ制御部は、前記サイクル要求に対する画
像メモリサイクルを発行し、画像メモリ5にデータが格
納される。
The image memory control unit which has received the cycle request and the address / data issues an image memory cycle corresponding to the cycle request, and the data is stored in the image memory 5.

【0030】次に、図5に上述した本発明の描画制御装
置内のブロックであるサイクル優先判定部44の一実施
例を示す。
Next, FIG. 5 shows an embodiment of the cycle priority judging section 44 which is a block in the drawing control apparatus of the present invention described above.

【0031】440は、高速ページモードサイクルが実
行されていない時に、レベル1のリード転送サイクル要
求が発生しているか、高速ページモードサイクルの実行
中か否かに関わらずレベル2のリード転送サイクル要求
が発生していることを検出し、リード転送サイクルを起
動するリード転送サイクル判定部、441は、リード転
送サイクル以外のサイクル要求の優先判定を行うリード
転送以外の優先判定部、442は、リード転送サイクル
起動信号が出力されていないで、リード転送以外の優先
判定部441により優先判定された要求信号が出力され
ていることを検出するサイクル調停部である。
Reference numeral 440 denotes a level 2 read transfer cycle request regardless of whether a level 1 read transfer cycle request is generated when the high speed page mode cycle is not executed or whether the high speed page mode cycle is being executed. Is generated and a read transfer cycle is activated to activate a read transfer cycle. 441 is a priority determination section other than read transfer that determines priority of a cycle request other than the read transfer cycle. 442 is a read transfer. This is a cycle arbitration unit that detects that the request signal that is prioritized by the priority determination unit 441 other than the read transfer is output without outputting the cycle activation signal.

【0032】リード転送サイクル判定部440は、レベ
ル1のリード転送サイクル要求が発生した時に、高速ペ
ージモードサイクル実行中でなければリード転送サイク
ル要求を最優先で起動する。高速ページモードサイクル
実行中であるなら、高速ページモードサイクル終了後、
あるいは、レベル2のリード転送サイクル要求発生時
に、リード転送サイクルを起動する。リード転送サイク
ル以外のサイクル要求が発生した場合、優先判定回路4
41は、CPU1からの描画要求に対する画像メモリサ
イクルの優先判定を行い、サイクル調停部442により
リード転送サイクルを実行中でないことを検出し、優先
判定を行った画像メモリサイクル要求を起動する。
When the level 1 read transfer cycle request is generated, the read transfer cycle determination unit 440 activates the read transfer cycle request with the highest priority unless the high speed page mode cycle is being executed. If the fast page mode cycle is being executed, after the fast page mode cycle ends,
Alternatively, the read transfer cycle is activated when a level 2 read transfer cycle request is generated. When a cycle request other than the read transfer cycle occurs, the priority determination circuit 4
Reference numeral 41 determines the priority of the image memory cycle with respect to the drawing request from the CPU 1, detects that the cycle transfer unit 442 is not executing the read transfer cycle, and activates the image memory cycle request for which the priority determination has been performed.

【0033】図6は、本発明の描画制御装置において、
表示用バッファの構成をシングルバッファとした場合の
高速ページモードサイクル中のリード転送サイクルのタ
イミングチャートである。
FIG. 6 shows the drawing control device of the present invention.
9 is a timing chart of a read transfer cycle during a high-speed page mode cycle when the display buffer has a single buffer configuration.

【0034】同図では、表示期間が終了した時点で、レ
ベル1のリード転送サイクル要求を出力するが、高速ペ
ージモードサイクル中であるため、リード転送サイクル
はすぐに実行されない。次の表示が開始される前に表示
用バッファに表示データを転送する必要があるため、次
の表示が開始される前に、高速ページモードサイクルが
終了する場合には、高速ページモードサイクルが終了し
た時点でリード転送サイクルを実行し、次の表示が開始
される前に、高速ページモードサイクルが終了しない場
合には、レベル2のリード転送サイクル要求を発行し、
リード転送サイクルを実行する。この時、高速ページモ
ードサイクルは中断し、リード転送サイクル終了後に高
速ページモードサイクルを再開する。
In the figure, a level 1 read transfer cycle request is output at the end of the display period, but the read transfer cycle is not executed immediately because it is in the high-speed page mode cycle. Since the display data needs to be transferred to the display buffer before the next display starts, if the fast page mode cycle ends before the next display starts, the fast page mode cycle ends. If the fast page mode cycle does not end before the next display is started, a read transfer cycle request of level 2 is issued,
Execute a read transfer cycle. At this time, the fast page mode cycle is interrupted, and the fast page mode cycle is restarted after the end of the read transfer cycle.

【0035】以上の描画メモリの制御方式では、非表示
期間にのみリード転送サイクルが実行可能となるが、表
示期間中においてもリード転送サイクルを実行可能にす
るため、表示バッファの構成を2つ以上にした場合の描
画メモリ制御方式の例を以下に示す。
In the drawing memory control method described above, the read transfer cycle can be executed only during the non-display period. However, in order to execute the read transfer cycle even during the display period, two or more display buffer configurations are provided. An example of the drawing memory control method in the case of setting is shown below.

【0036】図7は、本発明の描画制御装置において、
表示用バッファの構成をダブルバッファとした場合の高
速ページモードサイクル中のリード転送サイクルのタイ
ミングチャートである。同図において、初めはバッファ
0に表示データが格納されており、その表示データが表
示されている。その時、次の表示データを表示用バッフ
ァ1に取り込むため、バッファ1に対するレベル1のリ
ード転送サイクル要求が出力されているが、高速ページ
モードサイクル中であるため、すぐには実行されない。
バッファ1のデータ表示が開始される前に、バッファ1
に表示データを取り込まなければならないが、バッファ
1のデータ表示が開始される前に高速ページモードサイ
クルが終了しているので、高速ページモードサイクルが
終了した時点でバッファ1に対するリード転送サイクル
を実行すれば良い。また、次の表示が開始される前に、
高速ページモードサイクル中が終了しない場合には、バ
ッファ1に対するレベル2のリード転送サイクル要求を
発行し、バッファ1のリード転送サイクルを実行する。
この時、高速ページモードサイクルは中断し、リード転
送サイクル終了後に高速ページモードサイクルを再開す
る。上記の表示データの処理をバッファ0とバッファ1
に対し交互に行うことになる。
FIG. 7 shows the drawing control device of the present invention.
7 is a timing chart of a read transfer cycle during a high-speed page mode cycle when the display buffer has a double buffer configuration. In the figure, initially, display data is stored in the buffer 0, and the display data is displayed. At that time, a read transfer cycle request of level 1 is output to the buffer 1 to fetch the next display data into the display buffer 1, but it is not executed immediately because it is in the high-speed page mode cycle.
Before the display of data in buffer 1 is started, buffer 1
Although the display data must be fetched into the buffer 1, the fast page mode cycle is completed before the data display in the buffer 1 is started. Good. Also, before the next display starts,
If the fast page mode cycle is not completed, a level 2 read transfer cycle request is issued to the buffer 1 to execute the buffer 1 read transfer cycle.
At this time, the fast page mode cycle is interrupted, and the fast page mode cycle is restarted after the end of the read transfer cycle. The above display data processing is performed in buffer 0 and buffer 1.
Will be alternated with.

【0037】本実施例は一例であり、本メモリサイクル
制御方式は、主記憶装置あるいは画像メモリのリフレッ
シュサイクルの制御にも適用可能である。
This embodiment is an example, and the present memory cycle control system can be applied to the control of the refresh cycle of the main memory device or the image memory.

【0038】[0038]

【発明の効果】以上説明したように、本発明によるメモ
リ制御方式では、メモリを連続的にアクセスするサイク
ル(以下連続サイクルと呼ぶ)と、所定期間内に実行し
なければならないメモリサイクル(以下所定期間サイク
ルと呼ぶ)が競合する場合、所定期間サイクル要求に、
連続サイクルより優先度の低いレベル1の要求と、連続
サイクルより優先度の高いレベル2の要求の2レベルの
転送要求を設けることにより、該連続サイクルを可能な
限り連続して実行でき、かつ、所定期間内に、所定期間
サイクルを確実に実行することができるようになり、連
続サイクルの中断処理が発生する確率を低減し、メモリ
システムへの転送効率の低下を防ぐことが可能になると
いう効果がある。
As described above, in the memory control method according to the present invention, a cycle for continuously accessing a memory (hereinafter referred to as a continuous cycle) and a memory cycle that must be executed within a predetermined period (hereinafter, a predetermined cycle). (Referred to as a period cycle) conflicts with a predetermined period cycle request,
By providing a two-level transfer request including a level 1 request having a lower priority than the continuous cycle and a level 2 request having a higher priority than the continuous cycle, the continuous cycle can be executed as continuously as possible, and It is possible to reliably execute a cycle for a predetermined period within a predetermined period, reduce the probability of interrupt processing of continuous cycles, and prevent the decrease in transfer efficiency to the memory system. There is.

【図面の簡単な説明】[Brief description of drawings]

【図1】従来の連続サイクル中における、所定期間サイ
クルのタイミングチャートである。
FIG. 1 is a timing chart of a predetermined period cycle in a conventional continuous cycle.

【図2】本発明の連続サイクル中における、所定期間サ
イクルのタイミングチャートである。
FIG. 2 is a timing chart of a predetermined period cycle in a continuous cycle of the present invention.

【図3】本発明を実現するためのコンピュータシステム
を示す図である。
FIG. 3 is a diagram showing a computer system for implementing the present invention.

【図4】描画制御装置の構成図である。FIG. 4 is a configuration diagram of a drawing control device.

【図5】サイクル優先判定部の構成図である。FIG. 5 is a configuration diagram of a cycle priority determination unit.

【図6】本発明の高速ページサイクル中のリード転送サ
イクル(シングルバッファ構成)を示す図である。
FIG. 6 is a diagram showing a read transfer cycle (single buffer configuration) during a high speed page cycle of the present invention.

【図7】本発明の高速ページサイクル中のリード転送サ
イクル(ダブルバッファ構成)を示す図である。
FIG. 7 is a diagram showing a read transfer cycle (double buffer configuration) during a high speed page cycle of the present invention.

【符号の説明】[Explanation of symbols]

1…CPU、2…主記憶、3…システムバス、4…描画
制御装置、5…画像メモリ、6…RAM DAC、7…
表示装置、40…システムバス制御部、41…描画シー
ケンサ、42…リフレッシュ/リード転送カウンタ、4
3…アドレス/データ制御部、44…サイクル優先判定
部、45…画像メモリ制御部、440…リード転送要求
の処理を行うリード転送サイクル判定部、441…リー
ド転送以外の優先判定部、442…リード転送サイクル
以外のサイクルを起動するサイクル調停部。
1 ... CPU, 2 ... Main memory, 3 ... System bus, 4 ... Drawing control device, 5 ... Image memory, 6 ... RAM DAC, 7 ...
Display device, 40 ... System bus control unit, 41 ... Drawing sequencer, 42 ... Refresh / read transfer counter, 4
3 ... Address / data control unit, 44 ... Cycle priority determination unit, 45 ... Image memory control unit, 440 ... Read transfer cycle determination unit for processing read transfer request, 441 ... Priority determination unit other than read transfer, 442 ... Read A cycle arbitration unit that activates cycles other than transfer cycles.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 伸隆 神奈川県海老名市下今泉810番地株式会社 日立製作所オフィスシステム事業部内 (72)発明者 東馬 貴志 神奈川県海老名市下今泉810番地株式会社 日立製作所オフィスシステム事業部内 (72)発明者 古川 泰宏 神奈川県横浜市戸塚区吉田町292番地株式 会社日立マイクロソフトウェアシステムズ 内 (72)発明者 春田 日出雄 神奈川県横浜市戸塚区吉田町292番地株式 会社日立マイクロソフトウェアシステムズ 内 (72)発明者 黒川 能毅 神奈川県横浜市戸塚区吉田町292番地株式 会社日立製作所システム開発研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobutaka Kato 810 Shimoimaizumi, Ebina City, Kanagawa Prefecture Office Systems Division, Hitachi, Ltd. (72) Inventor Takashi Toma 810 Shimoimaizumi, Ebina City, Kanagawa Hitachi, Ltd. (72) Inventor Yasuhiro Furukawa 292 Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Hitachi Micro Software Systems Ltd. (72) Hideo Haruta 292 Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Hitachi Micro Software Co., Ltd. Inside Systems (72) Inventor Norihiro Kurokawa 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Stock Company Hitachi Systems Development Laboratory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】メモリを連続的にアクセスするサイクル
(以下連続サイクルと呼ぶ)と、所定の時間内に実行し
なければならないメモリサイクル(以下所定期間サイク
ルと呼ぶ)を有し、該連続サイクルは、中断してから再
開すると、中断せずに実行するより処理時間が掛かるメ
モリ制御装置において、該所定期間サイクルを要求する
手段に、連続サイクルより優先度の低いレベル1の要求
と、連続サイクルより優先度の高いレベル2の要求の2
レベルの要求手段を備え、連続サイクル中に該レベル1
の要求が出力され、所定期間内に連続サイクルが終了し
た時は、連続サイクル終了後に所定期間サイクルを実行
し、所定期間内に連続サイクルが終了しなかった場合に
は、所定期間サイクルの要求手段から該レベル2の要求
が出力されることにより、メモリ制御装置は連続サイク
ルを中断し、所定期間サイクルを実行した後に連続サイ
クルを再開することを特徴とするメモリ制御方式。
1. A memory has a cycle for continuously accessing a memory (hereinafter, referred to as a continuous cycle) and a memory cycle that must be executed within a predetermined time (hereinafter, referred to as a predetermined period cycle). In a memory control device which takes longer time to execute without interruption when it is resumed after interruption, the means for requesting the cycle for the predetermined period requests the level 1 request having a lower priority than the continuous cycle and the request from the continuous cycle. 2 of level 2 requests with high priority
A level requesting means is provided so that the level 1
When the continuous cycle ends within a predetermined period, the predetermined period cycle is executed after the continuous cycle ends, and when the continuous cycle does not end within the predetermined period, the predetermined period cycle requesting means When the level 2 request is output from the memory controller, the memory control device interrupts the continuous cycle, executes the cycle for a predetermined period, and then restarts the continuous cycle.
【請求項2】請求項1において、表示データ格納用メモ
リと、一時的に表示データを格納しておくバッファ(以
下一時バッファと呼ぶ)を持ち、表示データを表示メモ
リから一時バッファに転送するサイクル(以下バッファ
転送サイクルと呼ぶ)を実行し、その一時バッファに転
送したデータを一時バッファから表示装置へ出力するこ
とにより表示を行い、表示を行っている間は、表示して
いるデータが格納されている一時バッファへのバッファ
転送サイクルを実行できない描画制御装置に、表示して
いない期間を示す手段と、前記バッファ転送サイクルの
実行を要求する手段を備え、前記バッファ転送サイクル
要求手段に、連続サイクルより優先度の低いレベル1の
要求と、連続サイクルより優先度の高いレベル2の要求
の2レベルの要求信号を設け、表示していない期間内に
バッファ転送サイクルを実行するために、バッファ転送
サイクル要求手段は、表示していない期間を検出したこ
とを契機にレベル1の要求信号を出力し、このレベル1
の要求信号が出力された時に連続サイクル実行中であっ
た場合には、描画制御装置はバッファ転送サイクルを待
機させ、表示をしていない期間内に連続サイクルが終了
する時は、連続サイクル終了後にバッファ転送サイクル
を実行し、表示をしていない期間内に連続サイクルが終
了しない場合には、バッファ転送サイクルの要求手段か
ら該レベル2の要求が出力されることにより、描画制御
装置は連続サイクルを中断し、バッファ転送サイクルを
実行した後に連続サイクルを再開することを特徴とする
描画メモリ制御方式。
2. A cycle according to claim 1, which has a display data storage memory and a buffer for temporarily storing display data (hereinafter referred to as a temporary buffer), and transfers the display data from the display memory to the temporary buffer. (Hereinafter referred to as buffer transfer cycle) is executed, and the data transferred to the temporary buffer is displayed by outputting it from the temporary buffer to the display device.While displaying, the displayed data is stored. The drawing control device that cannot execute the buffer transfer cycle to the temporary buffer is provided with means for indicating a non-display period and means for requesting execution of the buffer transfer cycle. A two-level request signal with a level 1 request with a lower priority and a level 2 request with a higher priority than a continuous cycle. The provided, in order to perform the buffer transfer cycles within a period not displayed, the buffer transfer cycle request means outputs the request signal of the level 1 in response to the detection of the period of non-display, the level 1
If the continuous cycle is being executed when the request signal of is output, the drawing control device waits for the buffer transfer cycle, and when the continuous cycle ends within the period of not displaying, after the continuous cycle ends, When the buffer transfer cycle is executed and the continuous cycle does not end within the period of no display, the drawing control device outputs the level 2 request from the buffer transfer cycle requesting means. A drawing memory control method characterized by suspending and executing a buffer transfer cycle and then restarting a continuous cycle.
【請求項3】請求項2において、一時バッファの構成を
2つ以上設け、現在使用中の一時バッファに格納されて
いる表示データが全て表示される前に、次に使用するバ
ッファに表示データを転送するように制御を行い、表示
期間中であっても表示メモリから一時バッファに転送可
能にしたことを特徴とする描画メモリ制御方式。
3. The structure according to claim 2, wherein two or more temporary buffer configurations are provided, and display data is stored in a buffer to be used next before all display data stored in the temporary buffer currently in use is displayed. The drawing memory control method is characterized in that the transfer is controlled so that it can be transferred from the display memory to the temporary buffer even during the display period.
JP6010807A 1994-02-02 1994-02-02 Memory control system Pending JPH07219836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6010807A JPH07219836A (en) 1994-02-02 1994-02-02 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6010807A JPH07219836A (en) 1994-02-02 1994-02-02 Memory control system

Publications (1)

Publication Number Publication Date
JPH07219836A true JPH07219836A (en) 1995-08-18

Family

ID=11760622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6010807A Pending JPH07219836A (en) 1994-02-02 1994-02-02 Memory control system

Country Status (1)

Country Link
JP (1) JPH07219836A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606701B1 (en) 1998-11-30 2003-08-12 Nec Electronics Corporation Micro-processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606701B1 (en) 1998-11-30 2003-08-12 Nec Electronics Corporation Micro-processor

Similar Documents

Publication Publication Date Title
US5590299A (en) Multiprocessor system bus protocol for optimized accessing of interleaved storage modules
JPH05197671A (en) Master and slave communication method
JPH09190406A (en) Direct memory access controller and transmission system using the same
JPH10293744A (en) Pci bus system
KR100708096B1 (en) Bus system and execution scheduling method for access commands thereof
JPH0635849A (en) Method of controlling usage of bus and computer-system
US6115767A (en) Apparatus and method of partially transferring data through bus and bus master control device
EP1029284B1 (en) Shared memory access controller
JP2591502B2 (en) Information processing system and its bus arbitration system
US5708783A (en) Data bus arbiter for pipelined transactions on a split bus
JPH07219836A (en) Memory control system
JPH064314A (en) Inter-task synchronizing communication equipment
JP2002055940A (en) Bus system and command transmitting method thereof
JPH08153065A (en) Bus control circuit
JPH0962640A (en) Access control method for shared memory
JPH08115272A (en) Method and apparatus for remote retrial in data-processing system
EP0341670B1 (en) Processing time allocation system and method
JPH05134980A (en) Bus system
JPH02219157A (en) Bus arbiter in computer system
JP4190629B2 (en) Multiprocessor system
JPS62259295A (en) Refresh control system
JP2000250852A (en) Bus arbitrating device, bus system and bus arbitrating method
JPH10228418A (en) Memory controller and memory controlling method
JPH09218859A (en) Multiprocessor control system
JPH09160868A (en) Bus arbitration device and method therefor