[go: up one dir, main page]

JPH06187229A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPH06187229A
JPH06187229A JP33854192A JP33854192A JPH06187229A JP H06187229 A JPH06187229 A JP H06187229A JP 33854192 A JP33854192 A JP 33854192A JP 33854192 A JP33854192 A JP 33854192A JP H06187229 A JPH06187229 A JP H06187229A
Authority
JP
Japan
Prior art keywords
memory
circuit
memory control
address
burst 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
Application number
JP33854192A
Other languages
Japanese (ja)
Inventor
Tatatomi Suzuki
忠臣 鈴木
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP33854192A priority Critical patent/JPH06187229A/en
Publication of JPH06187229A publication Critical patent/JPH06187229A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a memory control circuit which makes possible correct high-speed access to a page memory even if a large amount of data are trans ferred by burst transfer by eliminating control by a bus master over the memory address of the transfer source, the memory address of the transfer destination, and transfer units. CONSTITUTION:The memory control circuit which uses memory elements equipped with row address input and column address input and is equipped with an access arbitrating circuit 8 for arbitrating access to a memory 12 and a memory control signal generating circuit 10 for supplying a memory control signal for performing the burst transfer to the memory 12 according to the arbitration result of the access arbitrating circuit 8 is provided with a row address change point detecting circuit 19 which detects a change point in row address.

Description

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

【0001】[0001]

【産業上の利用分野】列(Row)アドレス入力と行
(Column)アドレス入力を備えるメモリ素子を用
いたメモリ回路を備え、該メモリ回路をバーストモード
転送で動作させ、高速処理を行う処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processing device provided with a memory circuit using a memory device having a column address input and a row address input, operating the memory circuit in burst mode transfer, and performing high-speed processing. .

【0002】[0002]

【従来の技術】大量のデータ処理を実行する装置として
代表的なものに画像処理装置がある。画像処理装置では
画像データに編集処理等を施すためにその内部に1ペー
ジから数ページ分のページメモリを備えることが多い。
ホストコンピュータやワークステーション、パーソナル
コンピュータを使用して画像処理を行う場合には、これ
らのコンピュータ装置内部のメモリエリアに画像データ
が格納できるだけのメモリスペースを確保し、そのメモ
リスペースに画像データを入力して画像処理を実行す
る。
2. Description of the Related Art An image processing apparatus is a typical apparatus that executes a large amount of data processing. An image processing apparatus is often provided with a page memory for one page to several pages therein in order to perform edit processing on image data.
When performing image processing using a host computer, workstation, or personal computer, secure a memory space that can store the image data in the memory area inside these computer devices, and input the image data in that memory space. To perform image processing.

【0003】しかしながら、画像データのデータ量は1
ページ当たり数メガバイトから数十メガバイトにも及ぶ
ために、ページメモリへの画像データ入力や、ページメ
モリからの画像データ出力にかなりの時間が消費され
る。この間、装置は画像データに対する処理を実行でき
ないため、装置のスループットは大幅に悪化してしまう
という問題点があった。
However, the amount of image data is 1
Since the page size ranges from several megabytes to several tens of megabytes, considerable time is consumed for inputting image data to the page memory and outputting image data from the page memory. During this time, the device cannot perform processing on the image data, so that the throughput of the device is significantly deteriorated.

【0004】この問題点を解決するために、従来では画
像データをページメモリに入出力する際の転送方式とし
て転送効率の良いバースト転送を使用することが一般的
である。バースト転送を用いたデータ転送制御方式とし
ては特開平01−271861明細書や特開平02−2
50137明細書、特開平02−250138明細書、
特開平03−163638明細書に開示されている。
In order to solve this problem, conventionally, it is general to use burst transfer with good transfer efficiency as a transfer method when inputting / outputting image data to / from a page memory. Data transfer control methods using burst transfer are disclosed in Japanese Patent Application Laid-Open No. 01-271861 and Japanese Patent Application Laid-Open No. 02-2.
50137 specification, JP-A-02-250138 specification,
It is disclosed in Japanese Patent Application Laid-Open No. 03-163638.

【0005】一方、通常では画像データ格納用のメモリ
デバイスとしてはビット単価の安いダイナミックメモリ
が使用されることが多い。ダイナミックメモリを使用し
た場合にはダイナミックメモリのページモードやスタテ
ィックカラムモード、ニブルモードを使用してバースト
転送を実現することとなる。前述したような処理装置の
内部に使用されるメモリ制御回路の従来技術における一
実施例を図2に示す。図2では、バスマスタ1が出力す
るバースト転送のアクセス要求信号RQB14がアクテ
ィブでかつ他のアクセス要求信号RQA13およびRQ
C15の中でアクセス要求信号RQB14よりも優先度
の高いものがインアクティブである時に、アクセス調停
回路8がバスマスタ1のアクセス要求を示す調停結果9
を出力し、それを受けてメモリ制御信号生成回路10が
バースト転送のタイミングで制御信号11およびアクセ
ス応答信号ACKB17を出力する。この時、メモリ制
御信号生成回路10は調停結果9がバスマスタ1のアク
セス要求を示している間はバースト転送を継続する。
On the other hand, as a memory device for storing image data, a dynamic memory having a low bit unit price is usually used in many cases. When the dynamic memory is used, burst transfer is realized by using the page mode, static column mode, and nibble mode of the dynamic memory. FIG. 2 shows an example of a conventional memory control circuit used in the processing apparatus as described above. In FIG. 2, the access request signal RQB14 for burst transfer output from the bus master 1 is active and the other access request signals RQA13 and RQ.
The arbitration result 9 indicating the access request of the bus master 1 by the access arbitration circuit 8 when the one having a higher priority than the access request signal RQB14 in C15 is inactive.
In response to this, the memory control signal generation circuit 10 outputs the control signal 11 and the access response signal ACKB17 at the timing of burst transfer. At this time, the memory control signal generation circuit 10 continues the burst transfer while the arbitration result 9 indicates the access request of the bus master 1.

【0006】[0006]

【発明が解決しようとする課題】図2に示す従来技術の
一実施例においては以下に示す問題点が存在する。ダイ
ナミックメモリへの通常のアクセスは、まず最初に列ア
ドレスストローブ(RAS)信号を入力し、この信号の
アクティブエッジにて列アドレスをダイナミックメモリ
に取りこませ、RAS信号をアクティブに保ったまま引
き続き行アドレスストローブ(CAS)信号を入力す
る。このCAS信号のアクティブエッジにて行アドレス
をダイナミックメモリに取りこませる。バースト転送の
実現にはダイナミックメモリのページモードやスタティ
ックカラムモード、ニブルモードを使用しているが、例
えばページモードを使用した場合には、RAS信号をア
クティブにしてダイナミックメモリに列アドレスを取り
こませ、RAS信号をアクティブに保ったまま引き続き
CAS信号をアクティブにして行アドレスを取りこませ
る。その後CAS信号をインアクティブにし、再度アク
ティブにする。この操作により別の行アドレスを取りこ
ませて最初のアクセスとは別のアドレスへのアクセスを
行う。このように、CAS信号と行アドレスを複数回入
力することで連続した高速のアクセス、つまりバースト
転送を実現している。
In the embodiment of the prior art shown in FIG. 2, there are the following problems. For normal access to the dynamic memory, first the column address strobe (RAS) signal is input, the column address is taken into the dynamic memory at the active edge of this signal, and the RAS signal is kept active. Input an address strobe (CAS) signal. The row address is taken into the dynamic memory at the active edge of the CAS signal. The page mode, static column mode, and nibble mode of the dynamic memory are used to realize the burst transfer. For example, when the page mode is used, the RAS signal is activated and the column address is taken into the dynamic memory. , While keeping the RAS signal active, continuously activate the CAS signal to fetch the row address. After that, the CAS signal is made inactive and then made active again. By this operation, another row address is fetched and an address different from the first access is accessed. In this way, continuous high-speed access, that is, burst transfer is realized by inputting the CAS signal and the row address a plurality of times.

【0007】これらのバースト転送方式では、列アドレ
スはRAS信号のアクティブエッジにて一回だけ入力さ
れるだけなので、一回のバースト転送中にアクセス可能
なメモリ空間は行アドレスの変化可能な範囲に限られ
る。具体例を示せば、1メガ×1ビット構成のダイナミ
ックメモリを8個使用して1メガバイトのページメモリ
を構成した場合、ダイナミックメモリへのアドレス線入
力は10ビット存在するため、列アドレス固定で行アド
レスを変化させることでアクセス可能な範囲は1キロバ
イトとなる。
In these burst transfer methods, since the column address is input only once at the active edge of the RAS signal, the memory space accessible during one burst transfer is within the range in which the row address can be changed. Limited To give a concrete example, if a page memory of 1 megabyte is configured by using 8 dynamic memories of 1 mega x 1 bit configuration, there are 10 bits of address line input to the dynamic memory. By changing the address, the accessible range becomes 1 kilobyte.

【0008】しかしながら、数メガバイトから数十メガ
バイトにも及ぶ大量のデータ転送を連続して行う場合に
は必ず列アドレスが変化してしまう。ところがこの場
合、列アドレスはRAS信号のアクティブエッジにて一
回だけ入力されるだけなので、既にアクセスが終了した
アドレスに対して2回目、3回目のアクセスを実行して
しまい、正常なデータ転送を行うことができない。前述
の例で示せば、〔列アドレス=0番地、行アドレス=0
番地〕のメモリアドレスからバースト転送を開始した場
合、〔列アドレス=0番地、行アドレス=1023番
地〕のメモリアドレスへのアクセスの次には、〔列アド
レス=0番地、行アドレス=0番地〕のメモリアドレス
へ2回目のアクセスを実行してしまう。
However, when a large amount of data ranging from several megabytes to several tens of megabytes is continuously transferred, the column address always changes. However, in this case, since the column address is input only once at the active edge of the RAS signal, the second access and the third access are executed to the already accessed address, and the normal data transfer is performed. I can't do it. In the above example, [column address = 0, row address = 0
When the burst transfer is started from the memory address of [address], the access to the memory address of [column address = 0, row address = 1023] is followed by [column address = 0, row address = 0]. Second memory address is executed.

【0009】上記の例は、メモリの連続したアドレスエ
リアに対して、アドレスの進行方向を正順(小さいアド
レスから大きいアドレスへ進行する方向)でアクセスし
た場合について説明したものであるが、アドレスの進行
方向を逆順(大きいアドレスから小さいアドレスへ進行
する方向)でアクセスした場合にも前出の例と同様に、
既にアクセスが終了したアドレスに対して2回目、3回
目のアクセスを実行してしまい、正常なデータ転送を行
うことができない。
The above example describes the case where a continuous address area of the memory is accessed in the forward direction of the address (direction from a small address to a large address). When accessing in the reverse direction (direction from large address to small address), as in the previous example,
Since the second and third accesses are executed to the addresses that have already been accessed, normal data transfer cannot be performed.

【0010】上述の不具合を回避するために、従来では
転送元のメモリアドレスや転送先のメモリアドレスと転
送単位をバスマスタが管理し、列アドレスの変化点をま
たぐバースト転送は行わない様制御している。このため
に、転送元のメモリアドレスや転送先のメモリアドレス
と転送単位に制限が加わることとなり、任意アドレス間
でのバースト転送ができず、バスマスタにおいて転送元
のメモリアドレスや転送先のメモリアドレスと転送単位
の管理が煩雑になる。
In order to avoid the above-mentioned inconvenience, conventionally, a bus master manages a memory address of a transfer source, a memory address of a transfer destination and a transfer unit, and controls so as not to perform a burst transfer across a change point of a column address. There is. This imposes restrictions on the transfer source memory address, transfer destination memory address, and transfer unit. Burst transfer between arbitrary addresses cannot be performed, and the transfer source memory address and transfer destination memory address cannot be Transfer unit management becomes complicated.

【0011】このように、従来のバースト転送方式で大
量のデータ転送を行うと列アドレスの変化するアドレス
において正常に転送を行うことができず、高速に大量の
データ転送を行うバースト転送方式の本来の目的さえも
達成することができないという問題点がある。更に、バ
スマスタにおける転送元のメモリアドレスや転送先のメ
モリアドレスと転送単位の管理が煩雑になるという問題
点もある。
As described above, when a large amount of data is transferred by the conventional burst transfer system, the transfer cannot be normally performed at the address where the column address changes, and the original of the burst transfer system that transfers a large amount of data at high speed is essential. There is a problem that even the purpose of can not be achieved. Further, there is a problem that management of a transfer source memory address and a transfer destination memory address and a transfer unit in the bus master becomes complicated.

【0012】本発明では、バスマスタにおける転送元の
メモリアドレスや転送先のメモリアドレスと転送単位の
管理を無くし、大量のデータ転送をバースト転送で行う
場合にもページメモリに正しく高速にアクセスすること
が可能なメモリ制御回路を提供することを目的とする。
According to the present invention, the management of the transfer source memory address and the transfer destination memory address and the transfer unit in the bus master is eliminated, and the page memory can be correctly accessed at high speed even when a large amount of data is transferred by burst transfer. An object is to provide a possible memory control circuit.

【0013】[0013]

【課題を解決するための手段】上記の課題を解決するた
めに本発明は、第1に、列(Row)アドレス入力と行
(Column)アドレス入力を備えるメモリ素子を用
い、メモリへのアクセスを調停するためのアクセス調停
回路と、該アクセス調停回路の調停結果によりバースト
転送を実行するためのメモリ制御信号をメモリへ供給す
るためのメモリ制御信号生成回路を備えたメモリ制御回
路において、列アドレスの変化点を検出する列アドレス
変化点検出回路を設けたことを特徴とする。すなわち、
列アドレス変化点検出回路をメモリ制御回路に設けてい
ることを特徴とする。
In order to solve the above-mentioned problems, the present invention firstly uses a memory element having a column address input and a row address input to access a memory. In a memory control circuit including an access arbitration circuit for arbitration and a memory control signal generation circuit for supplying a memory control signal for executing burst transfer to a memory according to the arbitration result of the access arbitration circuit, A column address change point detection circuit for detecting a change point is provided. That is,
The column address change point detection circuit is provided in the memory control circuit.

【0014】第2に、前記メモリ制御回路において、バ
ースト転送時に該列アドレス変化点検出回路がバースト
転送時の列アドレスの変化点を検出した場合には、該メ
モリ制御信号生成回路においてバースト転送を停止する
よう制御することを特徴とする。すなわち、該列アドレ
ス変化点検出回路の検出結果によってバースト転送の停
止を制御することを特徴とする。
Secondly, in the memory control circuit, when the column address change point detection circuit detects a column address change point during burst transfer, the memory control signal generation circuit performs burst transfer. It is characterized by controlling to stop. That is, stop of burst transfer is controlled according to the detection result of the column address change point detection circuit.

【0015】第3に、前記メモリ制御回路において、バ
ースト転送時に該列アドレス変化点検出回路がバースト
転送時の列アドレスの変化点を検出しなかった場合に
は、該メモリ制御信号生成回路においてバースト転送を
継続するよう制御することを特徴とする。すなわち、該
列アドレス変化点検出回路の検出結果によってバースト
転送の継続を制御することを特徴とする。
Thirdly, in the memory control circuit, when the column address change point detection circuit does not detect the column address change point during the burst transfer in the burst transfer, the burst occurs in the memory control signal generation circuit. It is characterized by controlling to continue the transfer. That is, the continuation of burst transfer is controlled by the detection result of the column address change point detection circuit.

【0016】第4に、前記メモリ制御回路において、バ
ースト転送中に該列アドレス変化点検出回路がバースト
転送時の列アドレスの変化点を検出した場合に、該メモ
リ制御信号生成回路においてバースト転送を停止するよ
う制御し、バースト転送停止後にも継続して当該バース
ト転送の実行を要求する調停結果が該アクセス調停回路
より出力されている場合には、該メモリ制御信号生成回
路は列アドレスと行アドレスをメモリ素子に再入力して
バースト転送を再開するよう制御することを特徴とす
る。すなわち、該列アドレス変化点検出回路の検出結果
によってバースト転送の停止を制御し、バースト転送停
止後にも継続して当該バースト転送の実行を要求する調
停結果が該アクセス調停回路より出力されている場合に
は、該メモリ制御信号生成回路は列アドレスと行アドレ
スをメモリ素子に再入力してバースト転送を再開するよ
う制御することを特徴とする。
Fourth, in the memory control circuit, when the column address change point detection circuit detects a column address change point during burst transfer during burst transfer, burst transfer is performed in the memory control signal generation circuit. When the access arbitration circuit outputs an arbitration result that controls to stop and continues to request execution of the burst transfer even after the burst transfer is stopped, the memory control signal generation circuit determines the column address and the row address. Is re-input to the memory device and controlled to restart the burst transfer. That is, when the stop result of the burst transfer is controlled by the detection result of the column address change point detection circuit and the arbitration result for continuously requesting the execution of the burst transfer is output from the access arbitration circuit. In addition, the memory control signal generation circuit is controlled to re-input the column address and the row address into the memory device and restart the burst transfer.

【0017】第5に、前記メモリ制御回路において、バ
ースト転送の再開は、当該バースト転送を要求している
バスマスタが制御しなくても該メモリ制御信号生成回路
が自動的に再開することを特徴とする。すなわち、バー
スト転送の再開はバスマスタが関与しなくても該メモリ
制御信号生成回路が自動的に再開することを特徴とす
る。
Fifth, in the memory control circuit, the restart of the burst transfer is automatically restarted by the memory control signal generating circuit even if the bus master requesting the burst transfer does not control. To do. That is, the burst transfer is restarted automatically by the memory control signal generation circuit without involvement of the bus master.

【0018】[0018]

【作用】バスマスタからのバースト転送のアクセス要求
信号がアクセス調停回路に入力されると、アクセス調停
回路はあらかじめ定められたアクセス優先順位に従って
アクセス要求を調停し、調停結果をメモリ制御信号生成
回路に出力する。調停結果がバスマスタからのバースト
転送のアクセス要求である場合、メモリ制御信号生成回
路がバースト転送のタイミングで制御信号およびアクセ
ス応答信号を出力する。この時、列アドレス変化点検出
回路は列アドレスを監視しており、列アドレスの変化点
を検出すると検出結果をメモリ制御信号生成回路に出力
する。メモリ制御信号生成回路では、調停結果がバスマ
スタからのバースト転送のアクセス要求を示しており、
かつ列アドレス変化点検出回路が出力する検出結果がイ
ンアクティブである間はバースト転送を継続する。調停
結果がバスマスタからのバースト転送のアクセス要求を
示さなくなること、または列アドレス変化点検出回路が
出力する検出結果がアクティブとなることによってバー
スト転送を停止する。
When the access request signal for burst transfer from the bus master is input to the access arbitration circuit, the access arbitration circuit arbitrates the access request according to a predetermined access priority and outputs the arbitration result to the memory control signal generation circuit. To do. When the arbitration result is a burst transfer access request from the bus master, the memory control signal generation circuit outputs a control signal and an access response signal at the timing of burst transfer. At this time, the column address change point detection circuit monitors the column address, and when the column address change point is detected, the detection result is output to the memory control signal generation circuit. In the memory control signal generation circuit, the arbitration result indicates an access request for burst transfer from the bus master,
The burst transfer is continued while the detection result output from the column address change point detection circuit is inactive. The burst transfer is stopped when the arbitration result does not indicate an access request for burst transfer from the bus master or when the detection result output from the column address change point detection circuit becomes active.

【0019】また、列アドレス変化点検出回路が出力す
る検出結果がアクティブとなることによってバースト転
送を停止した後にも、当該バースト転送の実行を要求す
る調停結果がアクセス調停回路より継続して出力されて
いる場合には、メモリ制御信号生成回路は列アドレスと
行アドレスをメモリ素子に再入力してバースト転送を再
開する。このバースト転送の再開は、バスマスタが一切
関与しなくても該メモリ制御信号生成回路が自動的に再
開する。
Further, even after the burst transfer is stopped by the detection result output from the column address change point detection circuit becoming active, the arbitration result requesting execution of the burst transfer is continuously output from the access arbitration circuit. If so, the memory control signal generation circuit re-inputs the column address and the row address into the memory element and restarts the burst transfer. The burst control is automatically restarted by the memory control signal generation circuit without any involvement of the bus master.

【0020】こうした制御を行うことによって、列アド
レスの変化点をまたいだバースト転送を停止/再開さ
せ、正常なデータ転送が可能となり、バスマスタの負荷
を軽減させることができる。
By performing such control, the burst transfer across the change point of the column address can be stopped / restarted, normal data transfer can be performed, and the load on the bus master can be reduced.

【0021】[0021]

【実施例】以下に本発明の実施例を図面により説明す
る。図1は本発明の一実施例であるメモリ制御回路のブ
ロック図を示している。図1では、ダイナミックメモリ
12にアクセスするデバイスとしてバスマスタ1を想定
している。バスマスタ1はデータバス2およびアドレス
バス3を備える。データバス2は双方向バスバッファ4
を介してダイナミックメモリ12のメモリデータバス6
に接続されている。アドレスバス3は列アドレス/行ア
ドレス切替回路5を介してダイナミックメモリ12の時
分割アドレスバスMADD7に接続されている。また、
アドレスバス3は列アドレス変化点検出回路19にも接
続されており、列アドレス変化点検出回路19は検出結
果RADD20をメモリ制御信号生成回路10に出力す
る。バスマスタ1から出力されるアクセス要求信号RQ
B14は、他のデバイスから出力されるアクセス要求信
号RQA13およびRQC15と共にアクセス調停回路
8に入力される。アクセス調停回路8はアクセス要求信
号RQA13、RQB14およびRQC15をあらかじ
め定められたアクセス優先順位に従って調停し、調停結
果9をメモリ制御信号生成回路10に出力する。メモリ
制御信号生成回路10は、調停結果9および検出結果R
ADD20をもとにダイナミックメモリ12の制御信号
11およびアクセス応答信号ACKA16、ACKB1
7、ACKC18を制御・出力する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a memory control circuit according to an embodiment of the present invention. In FIG. 1, the bus master 1 is assumed as a device that accesses the dynamic memory 12. The bus master 1 has a data bus 2 and an address bus 3. Data bus 2 is bidirectional bus buffer 4
Through the memory data bus 6 of the dynamic memory 12
It is connected to the. The address bus 3 is connected to the time division address bus MADD7 of the dynamic memory 12 via the column address / row address switching circuit 5. Also,
The address bus 3 is also connected to the column address change point detection circuit 19, and the column address change point detection circuit 19 outputs the detection result RADD 20 to the memory control signal generation circuit 10. Access request signal RQ output from bus master 1
B14 is input to the access arbitration circuit 8 together with access request signals RQA13 and RQC15 output from other devices. The access arbitration circuit 8 arbitrates the access request signals RQA13, RQB14, and RQC15 in accordance with a predetermined access priority order, and outputs an arbitration result 9 to the memory control signal generation circuit 10. The memory control signal generation circuit 10 uses the arbitration result 9 and the detection result R.
Based on the ADD 20, the control signal 11 of the dynamic memory 12 and the access response signals ACKA16 and ACKB1
7. Control and output ACKC18.

【0022】次に、図1に示す実施例の動作について説
明する。なお、各図におけるローアクティブの信号は各
信号の記号の先頭に“n”をつけることで表現してお
り、ダイナミックメモリ12は説明の便宜上1メガ×1
ビット構成のダイナミックメモリを8個使用して1メガ
バイトのメモリを構成しているとする。バスマスタ1が
ダイナミックメモリ12にバースト転送のリードアクセ
スを行う場合について説明する。まず、バスマスタ1は
アドレスバス3にダイナミックメモリ12を指し示すア
ドレスを出力する。これと同時に、バスマスタ1はアク
セス要求信号RQB14をアクセス調停回路8に出力す
る。バスマスタ1がCPUの場合には、このアクセス要
求信号RQB14はアドレスバス3に出力されたアドレ
スをデコードしたチップセレクト信号である場合が多
い。バスマスタ1が画像処理デバイスやハードディスク
コントローラなどのインプット/アウトプットデバイス
である場合には、このアクセス要求信号RQB14はD
MA(ダイレクト・メモリ・アクセス)リクエストなど
となる。
Next, the operation of the embodiment shown in FIG. 1 will be described. It should be noted that the low-active signal in each figure is represented by adding "n" to the beginning of the symbol of each signal, and the dynamic memory 12 has a size of 1 mega x 1 for convenience of explanation.
It is assumed that eight 1-bit dynamic memories are used to form a 1-megabyte memory. A case where the bus master 1 makes a burst transfer read access to the dynamic memory 12 will be described. First, the bus master 1 outputs an address indicating the dynamic memory 12 to the address bus 3. At the same time, the bus master 1 outputs the access request signal RQB14 to the access arbitration circuit 8. When the bus master 1 is a CPU, the access request signal RQB14 is often a chip select signal obtained by decoding the address output to the address bus 3. When the bus master 1 is an input / output device such as an image processing device or a hard disk controller, this access request signal RQB14 is D
MA (direct memory access) requests and the like.

【0023】アクセス要求信号RQB14を入力された
アクセス調停回路8では、あらかじめ定められたアクセ
ス優先順位に従い、アクセス要求信号RQA13、RQ
B14、RQC15を調停する。アクセス調停回路8の
一実施例を図3に示す。図3ではアクセス要求信号RQ
A13のアクセス優先順位が最も高く、次いでRQB1
4、RQC15の順となっている。従ってアクセス要求
信号RQA13がアクティブとなった場合には、RQB
14、RQC15の状態にかかわらず調停結果ARA2
1がアクティブとなり、同時にARB22およびARC
23はインアクティブとなる。アクセス要求信号RQB
14がアクティブとなった時にこのアクセス要求信号が
受けつけられるためには、RQA13がインアクティブ
である必要がある。この時の調停結果9の状態はARA
21がインアクティブ、ARB22がアクティブ、AR
C23がインアクティブとなる。アクセス要求信号RQ
C15がアクティブとなった時にこのアクセス要求信号
が受けつけられるためには、RQA13およびRQB1
4が共にインアクティブである必要がある。この時の調
停結果9の状態はARA21がインアクティブ、ARB
22がインアクティブ、ARC23がアクティブとな
る。以上、図3の実施例の動作をまとめると、調停結果
ARA21、ARB22、ARC23は排他制御されて
いることになる。これ以下の説明はこの図3のアクセス
調停回路をもとに説明を行うこととする。今、アクセス
要求信号RQB14がアクティブ、RQA13がインア
クティブであるとすると、アクセス調停回路8の出力で
ある調停結果9はARB22のみがアクティブとなる。
この調停結果9は図1に示すように次段のメモリ制御信
号生成回路10に出力される。
In the access arbitration circuit 8 to which the access request signal RQB14 is input, the access request signals RQA13 and RQ follow the predetermined access priority order.
Arbitration of B14 and RQC15. An example of the access arbitration circuit 8 is shown in FIG. In FIG. 3, the access request signal RQ
A13 has the highest access priority, followed by RQB1
4 and RQC15 in that order. Therefore, when the access request signal RQA13 becomes active, RQB
14, arbitration result ARA2 regardless of the state of RQC15
1 becomes active and at the same time ARB22 and ARC
23 becomes inactive. Access request signal RQB
In order for this access request signal to be accepted when 14 becomes active, the RQA 13 needs to be inactive. The state of arbitration result 9 at this time is ARA.
21 is inactive, ARB22 is active, AR
C23 becomes inactive. Access request signal RQ
In order for this access request signal to be accepted when C15 becomes active, RQA13 and RQB1
Both 4 need to be inactive. The state of arbitration result 9 at this time is that ARA21 is inactive and ARB is
22 becomes inactive and ARC 23 becomes active. Summarizing the operation of the embodiment shown in FIG. 3, the arbitration results ARA21, ARB22, and ARC23 are exclusively controlled. The following description will be made based on the access arbitration circuit of FIG. Now, assuming that the access request signal RQB14 is active and the RQA13 is inactive, the arbitration result 9 output from the access arbitration circuit 8 is that only the ARB 22 is active.
The arbitration result 9 is output to the memory control signal generation circuit 10 in the next stage as shown in FIG.

【0024】図1に示すメモリ制御信号生成回路10で
は、調停結果9を受けて適切なタイミングで制御信号1
1およびアクセス応答信号ACKA16、ACKB1
7、ACKC18を生成する。メモリ制御信号生成回路
10の一実施例を図4に示す。図4では調停結果9の全
ての信号ARA21、ARB22、ARC23がRAS
生成回路24、CAS生成回路25、WE生成回路2
6、OE生成回路27に入力されている。RAS生成回
路24、CAS生成回路25、WE生成回路26、OE
生成回路27は調停結果ARA21、ARB22、AR
C23のうち、いずれか1つの信号がアクティブになる
とそのアクセス要求に応じた適切なタイミングで制御信
号11を生成する。
In the memory control signal generation circuit 10 shown in FIG. 1, the arbitration result 9 is received and the control signal 1 is sent at an appropriate timing.
1 and access response signals ACKA16, ACKB1
7, ACKC18 is generated. An example of the memory control signal generation circuit 10 is shown in FIG. In FIG. 4, all the signals ARA21, ARB22, and ARC23 of the arbitration result 9 are RAS.
Generation circuit 24, CAS generation circuit 25, WE generation circuit 2
6, input to the OE generation circuit 27. RAS generation circuit 24, CAS generation circuit 25, WE generation circuit 26, OE
The generation circuit 27 uses the arbitration results ARA21, ARB22, AR
When any one of C23 is activated, the control signal 11 is generated at an appropriate timing according to the access request.

【0025】図5はRAS生成回路24の一実施例を表
す状態遷移図を示す。図5では入力信号である調停結果
ARA21、ARB22、ARC23および検出結果R
ADD20のアクティブ状態を各信号の記号の先頭に
“−”記号を付けないことで表しており、インアクティ
ブ状態を“−”記号を付けることで表してる。また
“×”記号は論理積を、“+”記号は論理和を表してい
る。図5のRAS生成回路は調停結果ARA21、AR
B22、ARC23が全てインアクティブである場合に
は待機状態SIをループしている。調停結果ARA21
がアクティブとなった場合には、状態SAに遷移しアク
セス要求信号RQA13の処理を行うために適切なタイ
ミングでnRAS信号31を生成する。調停結果ARC
23がアクティブとなった場合(注:この場合の条件は
「−ARA×−ARB×ARC」とはしなくて良い。な
ぜならば、ARA、ARB、ARCは排他制御されてい
るため。)には、状態SCに遷移しアクセス要求信号R
QC15の処理を行うために適切なタイミングでnRA
S信号31を生成する。どちらの場合にもnRAS信号
31の生成が終了すると待機状態SIに戻る。ここでは
アクセス要求信号RQA13およびRQC15により実
行される処理の内容は本発明の動作には直接関係ないた
めに状態SAおよび状態SCの動作については詳述しな
い。調停結果ARB22がアクティブとなった場合(前
記“注”参照)には、アクセス要求信号RQB14の処
理を行うために適切なタイミングでnRAS信号31を
生成する。
FIG. 5 is a state transition diagram showing an embodiment of the RAS generation circuit 24. In FIG. 5, the arbitration results ARA21, ARB22, ARC23, which are input signals, and the detection result R
The active state of the ADD 20 is represented by not adding a "-" symbol to the beginning of each signal symbol, and the inactive state is represented by adding a "-" symbol. The "x" symbol represents a logical product, and the "+" symbol represents a logical sum. The RAS generation circuit of FIG. 5 uses the arbitration results ARA21, AR
When B22 and ARC23 are all inactive, the standby state SI is looped. Arbitration result ARA21
Becomes active, the nRAS signal 31 is generated at an appropriate timing to transition to the state SA and process the access request signal RQA13. Mediation result ARC
23 becomes active (Note: the condition in this case does not have to be "-ARA x -ARB x ARC" because ARA, ARB, and ARC are exclusively controlled). , State SC and access request signal R
NRA is executed at an appropriate timing to perform the processing of QC15.
The S signal 31 is generated. In either case, when the generation of the nRAS signal 31 is completed, the standby state SI is restored. Here, since the contents of the processing executed by the access request signals RQA13 and RQC15 are not directly related to the operation of the present invention, the operation of the states SA and SC will not be described in detail. When the arbitration result ARB22 becomes active (see "Note" above), the nRAS signal 31 is generated at an appropriate timing for processing the access request signal RQB14.

【0026】具体的に説明すれば、調停結果ARB22
がアクティブとなった時に、図5のRAS生成回路は待
機状態SIから状態SB1に遷移しnRAS信号31を
アサートする。状態SB1では調停結果ARA21、A
RB22および検出結果RADD20をモニタしてい
る。検出結果RADD20は図1に示すように列アドレ
ス変化点検出回路19から出力される。図5の状態SB
1において、検出結果RADD20がインアクティブか
つARB22がアクティブであれば再度状態SB1に遷
移し、nRAS信号31をアサートし続ける。その後状
態SB1において、ARB22がインアクティブまたは
RADD20がアクティブという条件が満たされるまで
は状態SB1をルーブし続ける。前記条件が満たされる
と状態SB2に遷移し、nRAS信号31をネゲートす
る。
More specifically, the arbitration result ARB22
5 becomes active, the RAS generation circuit of FIG. 5 transits from the standby state SI to the state SB1 and asserts the nRAS signal 31. In state SB1, arbitration results ARA21, A
The RB 22 and the detection result RADD 20 are monitored. The detection result RADD 20 is output from the column address change point detection circuit 19 as shown in FIG. State SB in FIG.
If the detection result RADD20 is inactive and the ARB22 is active in 1, the state transitions to the state SB1 again, and the nRAS signal 31 is continuously asserted. After that, in the state SB1, the state SB1 continues to be looped until the condition that the ARB 22 is inactive or the RADD 20 is active is satisfied. When the above condition is satisfied, the state transits to the state SB2, and the nRAS signal 31 is negated.

【0027】状態SB1から次の状態への遷移を表す真
理値表を表1に示す。表1を簡略化したものを表2に示
す。図5の状態SB1から次の状態への遷移は表2を元
にしている。但し、表2中のARA21=0かつARB
22=1という条件は、図3においてARA21、AR
B22が排他制御されていることからARB22=1と
いう条件と同等であるため、図5にはARB22=1と
いう条件のみが反映されている。状態SB2からは無条
件で待機状態SIに戻る。図4に示すCAS生成回路2
5、WE生成回路26、OE生成回路27についても同
様のシーケンスで回路を実現することができるために詳
細は省略する。
Table 1 shows a truth table showing the transition from the state SB1 to the next state. Table 2 shows a simplified version of Table 1. The transition from the state SB1 in FIG. 5 to the next state is based on Table 2. However, ARA21 = 0 and ARB in Table 2
The condition of 22 = 1 is ARA21, AR in FIG.
Since B22 is exclusively controlled, it is equivalent to the condition of ARB22 = 1. Therefore, only the condition of ARB22 = 1 is reflected in FIG. The state SB2 unconditionally returns to the standby state SI. CAS generation circuit 2 shown in FIG.
5, the circuits of the WE generation circuit 26 and the OE generation circuit 27 can be realized in the same sequence, and therefore the details thereof will be omitted.

【0028】図4のアクセス応答信号A生成回路28に
は調停結果ARA21および検出結果RADD20が入
力されており、調停結果ARA21がアクティブになっ
た時にだけアクセス応答信号ACKA16を生成するた
めに動作する。アクセス応答信号B生成回路29には調
停結果ARB22および検出結果RADD20が入力さ
れており、調停結果ARB22がアクティブになった時
にだけアクセス応答信号ACKB17を生成するために
動作する。同様に、アクセス応答信号C生成回路30に
は調停結果ARC23および検出結果RADD20が入
力されており、調停結果ARC23がアクティブになっ
た時にだけアクセス応答信号ACKC18を生成するた
めに動作する。アクセス応答信号A生成回路28、アク
セス応答信号B生成回路29、アクセス応答信号C生成
回路30についても図5に示すRAS生成回路と同様の
シーケンスで回路を実現することができるために詳細は
省略する。
The arbitration result ARA21 and the detection result RADD20 are input to the access response signal A generation circuit 28 of FIG. 4, and it operates to generate the access response signal ACKA16 only when the arbitration result ARA21 becomes active. The arbitration result ARB22 and the detection result RADD20 are input to the access response signal B generation circuit 29, and operate to generate the access response signal ACKB17 only when the arbitration result ARB22 becomes active. Similarly, the arbitration result ARC23 and the detection result RADD20 are input to the access response signal C generation circuit 30 and operate to generate the access response signal ACKC18 only when the arbitration result ARC23 becomes active. The access response signal A generation circuit 28, the access response signal B generation circuit 29, and the access response signal C generation circuit 30 can be realized in the same sequence as the RAS generation circuit shown in FIG. .

【0029】ここで、図4中のRAS生成回路24、C
AS生成回路25、WE生成回路26、OE生成回路2
7およびアクセス応答信号A生成回路28、アクセス応
答信号B生成回路29、アクセス応答信号C生成回路3
0に入力されている検出結果RADD20を生成・出力
している図1中の列アドレス変化点検出回路19につい
て説明する。列アドレス変化点検出回路19の一実施例
を図6に示す。
Here, the RAS generation circuit 24, C in FIG.
AS generation circuit 25, WE generation circuit 26, OE generation circuit 2
7 and access response signal A generation circuit 28, access response signal B generation circuit 29, access response signal C generation circuit 3
The column address change point detection circuit 19 in FIG. 1 that generates and outputs the detection result RADD 20 input to 0 will be described. An example of the column address change point detection circuit 19 is shown in FIG.

【0030】図6に示す列アドレス変化点検出回路は、
列アドレスラッチ回路36と列アドレス比較回路38か
ら成る。列アドレスラッチ回路36は、アドレスバス3
のうち列アドレスに相当するアドレス線を入力とし、こ
れを列アドレスラッチクロック35にてラッチする。列
アドレスラッチクロック35としては図4に示すnRA
S信号31をそのまま使用することができる。また、図
1のバスマスタ1がCPUである場合には、この列アド
レスラッチクロック35としてCPUが出力するアドレ
スストローブ信号やアドレスラッチイネーブル信号など
を使用することも可能である。以下の説明では列アドレ
スラッチクロック35としては図4に示すnRAS信号
31を使用した場合について説明する。
The column address change point detection circuit shown in FIG.
It comprises a column address latch circuit 36 and a column address comparison circuit 38. The column address latch circuit 36 uses the address bus 3
An address line corresponding to the column address is input, and this is latched by the column address latch clock 35. As the column address latch clock 35, nRA shown in FIG.
The S signal 31 can be used as it is. When the bus master 1 in FIG. 1 is a CPU, it is also possible to use an address strobe signal, an address latch enable signal or the like output by the CPU as the column address latch clock 35. In the following description, the case where the nRAS signal 31 shown in FIG. 4 is used as the column address latch clock 35 will be described.

【0031】図4に示すRAS生成回路24がnRAS
信号31を出力すると、図6に示す列アドレスラッチ回
路36はnRAS信号31のアクティブエッジ(立ち下
がりエッジ)にて列アドレスをラッチする。ここではラ
ッチされた10ビットの列アドレスの値を001〔He
x〕と仮定する。ラッチされた列アドレス、つまり図6
のラッチアドレスLADD37は列アドレス比較回路3
8に入力される。このラッチアドレスLADD37はn
RAS信号31が再度アサートされるまで変化しない。
つまり、1回のバースト転送中は保持されていることと
なる。
The RAS generation circuit 24 shown in FIG.
When the signal 31 is output, the column address latch circuit 36 shown in FIG. 6 latches the column address at the active edge (falling edge) of the nRAS signal 31. Here, the value of the latched 10-bit column address is set to 001 [He
x]. Latched column address, ie Figure 6
Latch address LADD37 of the column address comparison circuit 3
8 is input. This latch address LADD37 is n
It does not change until RAS signal 31 is asserted again.
That is, it is held during one burst transfer.

【0032】これに対して、アドレスバス3に出力され
るアドレス、特にアドレスバス3のうち行アドレスに相
当するアドレス線はバースト転送中に刻々と変化してい
く。列アドレス比較回路38ではラッチアドレスLAD
D37と、アドレスバス3のうち列アドレスに相当する
アドレス線を比較している。比較結果が一致している時
には検出結果RADD20は出力されない。バースト転
送中が進み、行アドレスに相当するアドレス線が全てハ
イ(3FF〔Hex〕)になると、次の転送では行アド
レスに相当するアドレス線は全てロー(000〔He
x〕)となり、代わりに列アドレスに相当するアドレス
線が002〔Hex〕に変化する。こうなるとラッチア
ドレスLADD37と、アドレスバス3のうち列アドレ
スに相当するアドレス線の比較結果は一致しなくなるた
め、列アドレス比較回路38より検出結果RADD20
が出力されることとなる。この信号が図1に示すメモリ
制御信号生成回路10に供給される。
On the other hand, the address output to the address bus 3, especially the address line corresponding to the row address of the address bus 3 changes every moment during the burst transfer. In the column address comparison circuit 38, the latch address LAD
D37 is compared with the address line corresponding to the column address of the address bus 3. When the comparison results match, the detection result RADD20 is not output. When the burst transfer progresses and all the address lines corresponding to the row address become high (3FF [Hex]), all the address lines corresponding to the row address are low (000 [He] in the next transfer.
x]), and instead the address line corresponding to the column address changes to 002 [Hex]. In this case, the comparison result of the latch address LADD37 and the address line corresponding to the column address of the address bus 3 does not match, so that the detection result RADD20 is output from the column address comparison circuit 38.
Will be output. This signal is supplied to the memory control signal generation circuit 10 shown in FIG.

【0033】図7はこれまで述べてきた図1の実施例の
動作を表すタイミングチャートであり、1回のバースト
転送中に列アドレスの変化点をまたがなかった場合の動
作を示している。図中の3桁の数字は10ビットの列ア
ドレスまたは行アドレスの値をHexで表したものであ
る。図7では、nRAS信号31のアクティブエッジ
(立ち下がりエッジ)にてラッチされたラッチアドレス
LADD37は001〔Hex〕であり、アドレスバス
3のうち行アドレスに相当するアドレス線はバースト転
送中に001、002、003、004、005〔He
x〕と変化していく。この1回のバースト転送中は、ア
ドレスバス3のうち行アドレスに相当するアドレス線は
3FF〔Hex〕から000〔Hex〕へと変化しない
ために、列アドレスに相当するアドレス線は001〔H
ex〕のまま変化しない。従って、検出結果RADD2
0はアクティブとならないため、バースト転送はアクセ
ス要求信号RQB14がネゲートされるまで継続され、
ネゲート後正常終了する。
FIG. 7 is a timing chart showing the operation of the embodiment of FIG. 1 described so far, and shows the operation when the column address change point is not crossed during one burst transfer. The three-digit number in the figure represents the value of a 10-bit column address or row address in Hex. In FIG. 7, the latch address LADD37 latched at the active edge (falling edge) of the nRAS signal 31 is 001 [Hex], and the address line corresponding to the row address of the address bus 3 is 001 during burst transfer. 002, 003, 004, 005 [He
x]. During this one burst transfer, the address line corresponding to the row address of the address bus 3 does not change from 3FF [Hex] to 000 [Hex], so the address line corresponding to the column address is 001 [H
ex] does not change. Therefore, the detection result RADD2
Since 0 is not active, burst transfer continues until the access request signal RQB14 is negated,
Normal termination after negation.

【0034】図8はこれまで述べてきた図1の実施例の
動作を表すタイミングチャートであり、1回のバースト
転送中に列アドレスの変化点をまたいだ場合の動作を表
している。図中の3桁の数字は10ビットの列アドレス
または行アドレスの値をHexで表したものである。図
8では、nRAS信号31の最初のアクティブエッジ
(立ち下がりエッジ)にてラッチされたラッチアドレス
LADD37は001〔Hex〕であり、アドレスバス
3のうち行アドレスに相当するアドレス線はバースト転
送中に3FE、3FF、000〔Hex〕と変化してい
く。この1回のバースト転送中で、アドレスバス3のう
ち行アドレスに相当するアドレス線が3FF〔Hex〕
から000〔Hex〕へと変化するところで、列アドレ
スに相当するアドレス線は001〔Hex〕から002
〔Hex〕へと変化する。この時点で検出結果RADD
20がアクティブとなるため、各信号の生成回路24〜
30はこれを検出してアクセス要求信号RQB14の処
理を行うための動作を中断し、結果としてバースト転送
は停止される。しかしバースト転送停止後も引き続き調
停結果ARB22がアクティブであるので、各信号の生
成回路24〜30はこれを検出してアクセス要求信号R
QB14の処理を行うための動作を再起動する。これに
よりバースト転送が再開されることとなるが、このバー
スト転送の再開は図1のバスマスタ1が再開のための制
御を行わなくても、メモリ制御信号生成回路10が自動
的に行うものである。
FIG. 8 is a timing chart showing the operation of the embodiment of FIG. 1 described so far, and shows the operation when the column address change point is crossed during one burst transfer. The three-digit number in the figure represents the value of a 10-bit column address or row address in Hex. In FIG. 8, the latch address LADD37 latched at the first active edge (falling edge) of the nRAS signal 31 is 001 [Hex], and the address line corresponding to the row address of the address bus 3 is in burst transfer. 3FE, 3FF, 000 [Hex]. During this one burst transfer, the address line corresponding to the row address of the address bus 3 is 3FF [Hex].
From 000 [Hex] to 000 [Hex], the address line corresponding to the column address changes from 001 [Hex] to 002.
Change to [Hex]. Detection result RADD at this point
Since 20 becomes active, each signal generation circuit 24 to
Detecting this, 30 interrupts the operation for processing the access request signal RQB14, and as a result, the burst transfer is stopped. However, since the arbitration result ARB22 is still active after the burst transfer is stopped, the signal generation circuits 24 to 30 detect this and access request signal R
The operation for performing the processing of QB14 is restarted. This causes the burst transfer to be restarted, and the restart of the burst transfer is automatically performed by the memory control signal generation circuit 10 even if the bus master 1 of FIG. 1 does not perform control for restart. .

【0035】以上説明したように図1に示す本発明の一
実施例のメモリ制御回路は動作するが、本発明の構成は
図1の構成に限定するものではなく、本発明の主旨を逸
脱しない範囲で応用、変更することが可能である。概略
の動作は図1の実施例と同様のため詳細な説明は省略す
るが、図1の実施例とは別の構成を本発明の第2の実施
例として図9に示す。
Although the memory control circuit of the embodiment of the present invention shown in FIG. 1 operates as described above, the configuration of the present invention is not limited to the configuration of FIG. 1 and does not deviate from the gist of the present invention. It is possible to apply and change the range. The general operation is the same as that of the embodiment shown in FIG. 1, so detailed description thereof will be omitted, but a configuration different from the embodiment of FIG. 1 is shown in FIG. 9 as a second embodiment of the present invention.

【0036】[0036]

【表1】 状態SB1から次の状態への遷移を表す真理値表 ──────────────────────────────────── RADD ARA ARB 入力信号の表す意味 次の状態遷移 (20) (21) (22) ──────────────────────────────────── 0 0 0 RADDもARA もアクティブでな 状態SB2 へ遷移 いがARB がインアクティブで あるので転送を正常終了する ──────────────────────────────────── 0 0 1 RADDもARA もアクティブでな 状態SB1 へ遷移 く、かつARB がアクティブで あるので転送を継続する ──────────────────────────────────── 0 1 0 RADDはアクティブでないが 状態SB2 へ遷移 ARB がインアクティブである ので転送を正常終了する、こ の場合ARA がアクティブとな っていることは意味を持たな い ──────────────────────────────────── 0 1 1 ARA/ARB が共にアクティブで 無し あることは図3の回路ではあ (状態SB2 へ遷移) りえない ──────────────────────────────────── 1 0 0 RADDがアクティブであるが、 状態SB2 へ遷移 ARA もARB もインアクティブ であるので転送を正常終了す る ──────────────────────────────────── 1 0 1 RADDがアクティブであるので、 状態SB2 へ遷移 ARA がインアクティブ、ARB がアクティブであっても転送 を強制中断する ──────────────────────────────────── 1 1 0 RADDがアクティブであるが、 状態SB2 へ遷移 ARB がインアクティブである ので転送を正常終了する、こ の場合ARA がアクティブとな っていることは意味を持たな い ──────────────────────────────────── 1 1 1 ARA/ARB が共にアクティブで 無し あることは図3の回路ではあ ( 状態SB2 へ遷移) りえない ──────────────────────────────────── 注:表中の0はインアクティブを、1はアクティブを表す。[Table 1] Truth table showing transition from the state SB1 to the next state ───────────────────────────────── ──── RADD ARA ARB Meaning of input signal Next state transition (20) (21) (22) ────────────────────────── ─────────── 0 0 0 Both RADD and ARA are active Transition to SB2 but ARB is inactive, so transfer ends normally ─────────── ───────────────────────── 0 0 1 RADD and ARA are not active Transition to state SB1 and ARB is active. Continue ──────────────────────────────────── 0 1 0 RADD is inactive but transitions to state SB2 ARB is inactive, so transfer is completed normally . In this case, it doesn't make sense that ARA is active ───────────────────────────────── ──── 0 1 1 Both ARA / ARB are active and none is possible in the circuit in Fig. 3 (transition to state SB2) ────────────────── ────────────────── 1 0 0 RADD is active, but transitions to state SB2 ARA and ARB are both inactive, so transfer ends normally ─── ───────────────────────────────── 1 0 1 Since RADD is active, transition to state SB2 ARA is in active, ARB to force interrupting the transfer may be active ──────────────────────────────────── 1 1 0 RADD is active, Transition ARB to state SB2 is successful completion of the transfer because it is inactive, that the case of this ARA is Tsu Do not active is not a meaningless ─────────────── ───────────────────── 1 1 1 The ARA / ARB are both active and none in the circuit of Fig. 3 (transition to state SB2). ─────────────────────────────────── Note: In the table, 0 is inactive and 1 is active. Represent

【0037】[0037]

【表2】 状態SB1から次の状態への遷移を表す真理値表 (表1を簡略化した表) ────────────────────────── RADD ARA ARB 次の状態遷移 (20) (21) (22) ────────────────────────── X X 0 状態SB2 へ遷移 ────────────────────────── 0 0(Xと同等) 1 状態SB1 へ遷移 ────────────────────────── 1 X X 状態SB2 へ遷移 ────────────────────────── 注:表中の0はインアクティブを、1はアクティブを、Xは0または1を表す。[Table 2] Truth table showing transition from the state SB1 to the next state (simplified table of Table 1) ──────────────────────── ─── RADD ARA ARB Next state transition (20) (21) (22) ─────────────────────────── XX 0 State SB2 Transition ────────────────────────── 0 0 (equivalent to X) 1 Transition to state SB1 ──────────── ─────────────── 1 XX Transition to SB2 ────────────────────────── Note: Table 0 represents inactive, 1 represents active, and X represents 0 or 1.

【0038】[0038]

【発明の効果】以上述べたように本発明によれば、列ア
ドレスの変化点をまたいだ大量のデータ転送を行った場
合でも、列アドレスの変化点を検出しバースト転送を継
続/停止/再開する様制御したことで、ページメモリに
正しくに高速にアクセスすることが可能となる。また、
バースト転送の再開をバスマスタの制御によらず自動的
に実行する様制御したことで、バスマスタにおける転送
元のメモリアドレスや転送先のメモリアドレスと転送単
位の管理という煩雑な処理を無くすことも可能となる。
結果として、オーバーヘッドが少なく信頼性の高いメモ
リ制御回路を提供することができるようになる。
As described above, according to the present invention, even when a large amount of data is transferred across the column address changing points, the column address changing points are detected and burst transfer is continued / stopped / restarted. By controlling so that it becomes possible to access the page memory correctly and at high speed. Also,
By controlling the restart of burst transfer to be executed automatically without the control of the bus master, it is possible to eliminate the complicated process of managing the transfer source memory address and the transfer destination memory address and the transfer unit in the bus master. Become.
As a result, it is possible to provide a highly reliable memory control circuit with low overhead.

【0039】図9は、図1のブロック図の結線の一部を
変更した本発明の第2の実施例を示している。すなわ
ち、この実施例では、列アドレス変化点検出回路19は
アドレスバス3に接続されずに、時分割アドレスバスM
ADD7に接続されている。
FIG. 9 shows a second embodiment of the present invention in which some of the connections in the block diagram of FIG. 1 are modified. That is, in this embodiment, the column address change point detection circuit 19 is not connected to the address bus 3 and the time division address bus M
It is connected to ADD7.

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

【図1】本発明の一実施例を表すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】従来技術での一実施例を表すブロック図であ
る。
FIG. 2 is a block diagram showing an example of a conventional technique.

【図3】図1および図2のアクセス調停回路の一実施例
を表す回路図である。
FIG. 3 is a circuit diagram showing an embodiment of the access arbitration circuit shown in FIGS. 1 and 2.

【図4】図1および図2のメモリ制御信号生成回路の一
実施例を表すブロック図である。
FIG. 4 is a block diagram showing an embodiment of the memory control signal generation circuit of FIGS. 1 and 2.

【図5】図1および図2のメモリ制御信号生成回路のう
ち、RAS生成回路の一実施例を表す状態遷移図であ
る。
5 is a state transition diagram showing an embodiment of a RAS generation circuit of the memory control signal generation circuits of FIGS. 1 and 2. FIG.

【図6】図1の列アドレス変化点検出回路の一実施例を
表すブロック図である。
6 is a block diagram showing an embodiment of the column address change point detection circuit of FIG.

【図7】図1の実施例の動作を表すタイミングチャート
である。
FIG. 7 is a timing chart showing the operation of the embodiment of FIG.

【図8】図1の実施例の動作を表すタイミングチャート
である。
FIG. 8 is a timing chart showing the operation of the embodiment of FIG.

【図9】本発明の第2の実施例を表すブロック図であ
る。
FIG. 9 is a block diagram showing a second embodiment of the present invention.

【符号の説明】 1 バスマスタ 2 データバス 3 アドレスバス 4 双方向バスバッファ 5 列アドレス/行アドレス切替回路 6 メモリデータバス 7 時分割アドレスバス(MADD) 8 アクセス調停回路 9 調停結果 10 メモリ制御信号生成回路 11 制御信号 12 ダイナミックメモリ 13 アクセス要求信号A(RQA) 14 アクセス要求信号B(RQB) 15 アクセス要求信号C(RQC) 16 アクセス応答信号A(ACKA) 17 アクセス応答信号B(ACKB) 18 アクセス応答信号C(ACKC) 19 列アドレス変化点検出回路 20 検出結果(RADD) 21 調停結果A(ARA) 22 調停結果B(ARB) 23 調停結果C(ARC) 24 列アドレスストローブ(RAS)生成回路 25 行アドレスストローブ(CAS)生成回路 26 ライトイネーブル(WE)生成回路 27 アウトプットイネーブル(OE)生成回路 28 アクセス応答信号A(ACKA)生成回路 29 アクセス応答信号B(ACKB)生成回路 30 アクセス応答信号C(ACKC)生成回路 31 列アドレスストローブ(nRAS)信号 32 行アドレスストローブ(nCAS)信号 33 ライトイネーブル(nWE)信号 34 アウトプットイネーブル(nOE)信号 35 列アドレスラッチクロック 36 列アドレスラッチ回路 37 ラッチアドレス(LADD) 38 列アドレス比較回路[Explanation of symbols] 1 bus master 2 data bus 3 address bus 4 bidirectional bus buffer 5 column address / row address switching circuit 6 memory data bus 7 time division address bus (MADD) 8 access arbitration circuit 9 arbitration result 10 memory control signal generation Circuit 11 Control signal 12 Dynamic memory 13 Access request signal A (RQA) 14 Access request signal B (RQB) 15 Access request signal C (RQC) 16 Access response signal A (ACKA) 17 Access response signal B (ACKB) 18 Access response Signal C (ACKC) 19 Column address change point detection circuit 20 Detection result (RADD) 21 Arbitration result A (ARA) 22 Arbitration result B (ARB) 23 Arbitration result C (ARC) 24 Column address strobe (RAS) generation circuit 25 rows Address strobe ( AS) generation circuit 26 write enable (WE) generation circuit 27 output enable (OE) generation circuit 28 access response signal A (ACKA) generation circuit 29 access response signal B (ACKB) generation circuit 30 access response signal C (ACKC) generation Circuit 31 Column address strobe (nRAS) signal 32 Row address strobe (nCAS) signal 33 Write enable (nWE) signal 34 Output enable (nOE) signal 35 Column address latch clock 36 Column address latch circuit 37 Latch address (LADD) 38 columns Address comparison circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 列(Row)アドレス入力と行(Col
umn)アドレス入力を備えるメモリ素子を用い、メモ
リへのアクセスを調停するためのアクセス調停回路と、
該アクセス調停回路の調停結果によりバースト転送を実
行するためのメモリ制御信号をメモリへ供給するための
メモリ制御信号生成回路を備えたメモリ制御回路におい
て、 列アドレスの変化点を検出する列アドレス変化点検出回
路を設けたことを特徴とするメモリ制御回路。
1. A column (Row) address input and a row (Col)
umn) an access arbitration circuit for arbitrating access to the memory using a memory element having an address input,
A column address change check for detecting a column address change point in a memory control circuit having a memory control signal generation circuit for supplying a memory with a memory control signal for executing burst transfer according to the arbitration result of the access arbitration circuit A memory control circuit having an output circuit.
【請求項2】 請求項1記載のメモリ制御回路におい
て、 バースト転送時に該列アドレス変化点検出回路がバース
ト転送時の列アドレスの変化点を検出した場合には、該
メモリ制御信号生成回路においてバースト転送を停止す
るよう制御することを特徴とするメモリ制御回路。
2. The memory control circuit according to claim 1, wherein when the column address change point detection circuit detects a column address change point during burst transfer, burst occurs in the memory control signal generation circuit. A memory control circuit characterized by controlling to stop transfer.
【請求項3】 請求項1又は請求項2記載のメモリ制御
回路において、 バースト転送時に該列アドレス変化点検出回路がバース
ト転送時の列アドレスの変化点を検出しなかった場合に
は、該メモリ制御信号生成回路においてバースト転送を
継続するよう制御することを特徴とするメモリ制御回
路。
3. The memory control circuit according to claim 1 or 2, wherein when the column address change point detection circuit does not detect a column address change point during burst transfer, the memory A memory control circuit, wherein control is performed so that burst transfer is continued in a control signal generation circuit.
【請求項4】 請求項1、請求項2又は請求項3記載の
メモリ制御回路において、 バースト転送中に該列アドレス変化点検出回路がバース
ト転送時の列アドレスの変化点を検出した場合に、該メ
モリ制御信号生成回路においてバースト転送を停止する
よう制御し、 バースト転送停止後にも継続して当該バースト転送の実
行を要求する調停結果が該アクセス調停回路より出力さ
れている場合には、該メモリ制御信号生成回路は列アド
レスと行アドレスをメモリ素子に再入力してバースト転
送を再開するよう制御することを特徴とするメモリ制御
回路。
4. The memory control circuit according to claim 1, 2, or 3, wherein when the column address change point detection circuit detects a column address change point during burst transfer, If the memory control signal generation circuit controls to stop the burst transfer, and the access arbitration circuit outputs an arbitration result that continuously requests execution of the burst transfer even after the burst transfer is stopped, The control signal generation circuit is characterized in that the column address and the row address are re-input to the memory device to control the burst transfer again.
【請求項5】請求項4記載のメモリ制御回路において、 バースト転送の再開は、当該バースト転送を要求してい
るバスマスタが制御しなくても該メモリ制御信号生成回
路が自動的に再開することを特徴とするメモリ制御回
路。
5. The memory control circuit according to claim 4, wherein the burst transfer is restarted by the memory control signal generation circuit automatically restarting without being controlled by a bus master requesting the burst transfer. Characteristic memory control circuit.
JP33854192A 1992-12-18 1992-12-18 Memory control circuit Pending JPH06187229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33854192A JPH06187229A (en) 1992-12-18 1992-12-18 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33854192A JPH06187229A (en) 1992-12-18 1992-12-18 Memory control circuit

Publications (1)

Publication Number Publication Date
JPH06187229A true JPH06187229A (en) 1994-07-08

Family

ID=18319140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33854192A Pending JPH06187229A (en) 1992-12-18 1992-12-18 Memory control circuit

Country Status (1)

Country Link
JP (1) JPH06187229A (en)

Similar Documents

Publication Publication Date Title
US6622228B2 (en) System and method of processing memory requests in a pipelined memory controller
US6449703B2 (en) Pipelined memory controller
US8195918B2 (en) Memory hub with internal cache and/or memory access prediction
US6141283A (en) Method and apparatus for dynamically placing portions of a memory in a reduced power consumption state
US7610430B2 (en) System and method for memory hub-based expansion bus
US5265236A (en) Method and apparatus for increasing the speed of memory access in a virtual memory system having fast page mode
JPH02223091A (en) Computer memory system
JP3290650B2 (en) Memory controller
JP2004536417A (en) Memory device for performing addressing with different burst order in read and write operations
US5588128A (en) Dynamic direction look ahead read buffer
CN1748261A (en) Memory device and method having low-power, high write latency mode and high-power, low write latency mode and/or independently selectable write latency
US6567908B1 (en) Method of and apparatus for processing information, and providing medium
JP2001229072A (en) Collision detection for dual port ram operation of microcontroller
US6002632A (en) Circuits, systems, and methods with a memory interface for augmenting precharge control
US20050086420A1 (en) Low latency buffer control system and method
US5548797A (en) Digital clock pulse positioning circuit for delaying a signal input by a fist time duration and a second time duration to provide a positioned clock signal
KR960007833B1 (en) Method and apparatus for fast page mode selection
US5809534A (en) Performing a write cycle to memory in a multi-processor system
JPH06187229A (en) Memory control circuit
US20050097272A1 (en) Disk array device and control method of disk array device
US5255241A (en) Apparatus for intelligent reduction of worst case power in memory systems
WO2000025205A1 (en) Controlling access to a primary memory
JP3202272B2 (en) DMA controller
JP3169878B2 (en) Memory control circuit
JPH07271663A (en) Memory control circuit