JPH0619782A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPH0619782A
JPH0619782A JP19616492A JP19616492A JPH0619782A JP H0619782 A JPH0619782 A JP H0619782A JP 19616492 A JP19616492 A JP 19616492A JP 19616492 A JP19616492 A JP 19616492A JP H0619782 A JPH0619782 A JP H0619782A
Authority
JP
Japan
Prior art keywords
memory
bank
address
data
signal
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
JP19616492A
Other languages
Japanese (ja)
Inventor
Hiroshi Hosokawa
博司 細川
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP19616492A priority Critical patent/JPH0619782A/en
Publication of JPH0619782A publication Critical patent/JPH0619782A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce overhead at the time of continuous access to each memory bank. CONSTITUTION:When an access mode to each memory bank is set, a memory address control circuit IT controls address setting to plural memory banks to wich address bit lines excepting for both of the lowest-order bit lines of the memory address of each banks are shared-connected and control circuits 12 and 14 control the transfer of writing data to each memory band or reading data from it through buffers 21 and 23 in accordance with an asserted column address strobe signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、システムバスを介して
接続されるデバイスがバンク構成されるメモリを介して
データ処理を行う装置に係り、特にバンク構成されるメ
モリへのアクセスを制御するメモリ制御回路に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for performing data processing via a memory having a bank formed by devices connected via a system bus, and particularly to a memory for controlling access to the memory made up of banks. It relates to a control circuit.

【0002】[0002]

【従来の技術】従来、この種の装置において複数のメモ
リチップをバンク構成してメモリアクセスを行う場合、
2WAYメモリバンク・インターリーブ制御に代表され
るように、各メモリバンクを交互にアクセスするタイミ
ングで構成されている。
2. Description of the Related Art Conventionally, in a device of this type, when a plurality of memory chips are formed into banks to perform memory access,
As represented by the 2-way memory bank interleave control, each memory bank is alternately accessed.

【0003】図8は従来のメモリ制御回路の構成を説明
するブロック図であり、図9〜図10等を参照しながら
構成ならびに動作について説明する。
FIG. 8 is a block diagram for explaining the structure of a conventional memory control circuit, and the structure and operation will be described with reference to FIGS. 9 to 10.

【0004】図において、システムバス1からのサイク
ルスタート信号/TS(/はアクティブローを示す)や
応答信号/ACKその他のコントローラ信号6やメモリ
バンク指定等に必要なアドレスバス4の情報から、DR
AMコントローラ全体を制御する信号をステートコント
ローラ7で生成する。アドレス/データバス2はステー
トコントローラ7からの制御信号301によりマルチプ
レクサ3でアドレスバス4とデータバス5に切り分けら
れ、アドレスのラッチ信号302によりアドレスラッチ
16に格納される。このアドレスがメモリアドレスの場
合はローアドレスストローブ信号/RAS10と書込み
イネーブル信号(/WE)11の制御信号303,Aバ
ンクのカラムアドレスストローブ信号/CASであるカ
ラムアドレスストローブ信号群/CAS−Axの制御信
号305,AバンクのメモリアドレスであるMA−Ax
の制御信号306,BバンクのメモリアドレスであるM
A−Bxの制御信号307,Aバンクのメモリデータで
あるDT−Axの制御信号308,Aバンクのメモリデ
ータであるDT−Bxの制御信号309によりメモリへ
のアクセスが行われる。
In the figure, the DR is calculated from the cycle start signal / TS (/ indicates active low) from the system bus 1, the response signal / ACK and other controller signals 6 and information of the address bus 4 necessary for memory bank designation.
The state controller 7 generates a signal for controlling the entire AM controller. The address / data bus 2 is divided into the address bus 4 and the data bus 5 by the multiplexer 3 by the control signal 301 from the state controller 7, and stored in the address latch 16 by the address latch signal 302. When this address is a memory address, the control signal 303 of the row address strobe signal / RAS10 and the write enable signal (/ WE) 11, the column address strobe signal of A bank / CAS, the column address strobe signal group / CAS-Ax control Signal 305, MA-Ax which is the memory address of A bank
Control signal 306, M which is the memory address of B bank
The memory is accessed by the control signal 307 of A-Bx, the control signal 308 of DT-Ax which is the memory data of the A bank, and the control signal 309 of DT-Bx which is the memory data of the A bank.

【0005】先ず、ラッチされたアドレス310からA
バンクのアドレス(MA−Ax)制御回路311により
Aバンクのローアドレスがアドレス線312に、Bバン
クのアドレス(MA−Bx)制御回路313によりBバ
ンクのローアドレスがアドレス線314に同時に出力さ
れ、その1クロック後、/RAS,/CASの制御回路
9によりローアドレスストローブ信号/RAS10がア
サートされ、次に半クロック後、アドレス(MA−A
x)制御回路311によりAバンクのメモリのカラムア
ドレスがアドレス線312に出力され、のアドレス(M
A−Bx)制御回路313によりBバンクのメモリのカ
ラムアドレスがアドレス線314に出力され、そしてラ
イトアクセスの場合には、書込みイネーブル信号(/W
E)11がアサートされる。
First, from the latched address 310 to A
The bank address (MA-Ax) control circuit 311 outputs the A bank row address to the address line 312, and the B bank address (MA-Bx) control circuit 313 outputs the B bank row address to the address line 314 at the same time. One clock after that, the row address strobe signal / RAS10 is asserted by the control circuit 9 for / RAS and / CAS, and then half a clock later, the address (MA-A
x) The control circuit 311 outputs the column address of the memory of bank A to the address line 312, and the address (M
The A-Bx) control circuit 313 outputs the column address of the memory of the B bank to the address line 314, and in the case of write access, the write enable signal (/ W
E) 11 is asserted.

【0006】ここまでは、Aバンクの制御信号も、Bバ
ンクの制御信号も同じタイミングで動作する。メモリへ
のアクセスアドレスがAバンクからのアクセスの場合、
カラムアドレスストローブ信号群/CAS−Bxの制御
回路14はそのままで、メモリアドレスがカラムアドレ
スに変化した1クロック後、カラムアドレスストローブ
信号群/CAS−Axの制御回路12により、制御信号
線(/CAS−Ax)13がアサートされる。この時、
シングル転送の時はアクセス要求に対応するバイトに相
当する制御信号線(/CAS−Ax)13のみアサート
され、バースト転送の時は4本すべての制御信号線(/
CAS−Ax)13がアサートされる(Bバンクからの
アクセスの時は同様に制御信号線(/CAS−Bx)1
5がサートされる)。
Up to this point, the control signals for bank A and the control signals for bank B operate at the same timing. If the memory access address is from bank A,
The control circuit 14 for the column address strobe signal group / CAS-Bx remains the same, and one clock after the memory address is changed to the column address, the control circuit 12 for the column address strobe signal group / CAS-Ax controls the control signal line (/ CAS). -Ax) 13 is asserted. At this time,
Only the control signal line (/ CAS-Ax) 13 corresponding to the byte corresponding to the access request is asserted during the single transfer, and all four control signal lines (/ CAS-Ax) 13 during the burst transfer (/
CAS-Ax) 13 is asserted (when accessing from bank B, control signal line (/ CAS-Bx) 1
5 is asserted).

【0007】バースト転送の時には、カラムアドレスス
トローブ信号群/CAS−Bxの制御回路14により制
御信号線(/CAS−Bx)15は制御信号線(/CA
S−Ax)13に対して1クロック遅れてアサートされ
る。Aバンク,Bバンクともカラムアドレスストローブ
信号群/CASxのネゲートは、アサートの1.5クロ
ック後に行われ、バースト転送時は各バンクのメモリア
ドレスのカラムアドレスチェンジが各バンクのカラムア
ドレスストローブ信号群/CASxのネゲートと同時に
行われ、半クロック後に、カラムアドレスストローブ信
号群/CASxがサートされる。すなわちカラムアドレ
スストローブ信号群/CASxのアサートタイミングの
幅は2クロックで、AバンクとBバンクでは1クロック
ずれてアサートされるため交互にアサートされる訳であ
る。以上の動作がバースト転送終了まで繰り返され、メ
モリへのアクセスアドレスがBバンクからのアクセスの
場合は、制御信号線(/CAS−Bx)15から先にア
クセスされ、同様のアクセスが行われる。
At the time of burst transfer, the control signal line (/ CAS-Bx) 15 is controlled by the control circuit 14 of the column address strobe signal group / CAS-Bx.
S-Ax) 13 is asserted one clock later. In both the A bank and the B bank, the column address strobe signal group / CASx is negated 1.5 clocks after the assertion, and during burst transfer, the column address change of the memory address of each bank / column address strobe signal group / This is performed at the same time as the negation of CASx, and after half a clock, the column address strobe signal group / CASx is asserted. That is, the width of the assert timing of the column address strobe signal group / CASx is 2 clocks, and the A bank and the B bank are asserted with a 1 clock shift, so that they are alternately asserted. The above operation is repeated until the burst transfer is completed, and when the access address to the memory is the access from the B bank, the control signal line (/ CAS-Bx) 15 is accessed first, and the same access is performed.

【0008】以上がメモリアクセス時の制御信号および
メモリアドレスの動作タイミングであるが、次にメモリ
リード時と、メモリライト時のデータと応答信号/AC
Kの制御およびタイミングについて説明する。
The above is the operation timing of the control signal and the memory address during the memory access. Next, the data and the response signal / AC during the memory read and the memory write.
The control and timing of K will be described.

【0009】先ず、メモリライト時は、システムバス1
からのデータバス5をマルチプレクサ/セレクタ25が
制御信号308により最初のアクセスのAバンクのデー
タバス315に切り換え、データバスバッファ(DT−
Axバッファ)317にラッチされ、Aバンクのメモリ
データバス20に出力される。この時、システムバス1
には応答信号/ACKがサートされ、シングル転送の場
合は次のクロックで応答信号/ACKがネゲートされて
システムバスが解放されるが、バースト転送時は1クロ
ック後にシステムからのデータバス5がBバンク用のデ
ータに切り換わり、Aバンク同様制御信号線309によ
りBバンクのデータバス316に切り換わってデータバ
スバッファ(DT−Bxバッファ)318にラッチさ
れ、Bバンクのメモリデータバス22に出力される。さ
らに、1クロック後には、システムからのデータバス5
はAバンク用のデータに切り換わり、その後はバースト
転送終了まで同様の制御が行われる。この時、データバ
ッファが各バンクに1ワードの時は、Bバンクの制御信
号線(/CAS−Bx)15のアサートがAバンクの制
御信号線(/CAS−Ax)13のアサートに1クロッ
ク遅れるため、1ウエイト入ることになる。メモリへの
アクセスアドレスがBバンクからのアクセスの場合は、
Bバンク用のデータが最初にラッチされ、Aバンクの時
と同様の制御が行われる。
First, during memory write, the system bus 1
The data bus 5 from the multiplexer / selector 25 is switched to the data bus 315 of the A bank of the first access by the control signal 308, and the data bus buffer (DT-
Ax buffer) 317 and outputs to the memory data bus 20 of the A bank. At this time, system bus 1
The response signal / ACK is asserted on the bus, and in the case of single transfer the response signal / ACK is negated at the next clock and the system bus is released. The data is switched to the bank data, is switched to the data bus 316 of the B bank by the control signal line 309 like the A bank, is latched in the data bus buffer (DT-Bx buffer) 318, and is output to the memory data bus 22 of the B bank. It Furthermore, after one clock, the data bus 5 from the system
Is switched to data for A bank, and thereafter, the same control is performed until the end of burst transfer. At this time, when the data buffer has one word in each bank, the assertion of the control signal line (/ CAS-Bx) 15 of the B bank is delayed by one clock from the assertion of the control signal line (/ CAS-Ax) 13 of the A bank. Therefore, one weight will be included. If the memory access address is from bank B,
The data for bank B is first latched, and the same control as that for bank A is performed.

【0010】次に、メモリリード時は、最初のアクセス
のAバンクからのメモリデータバス20が制御信号30
8,301によりシステムバス1に出力され、システム
バス1にはAバンクの制御信号線(/CAS−Ax)1
3のネゲートタイミングでデータが確定するよう応答信
号/ACKをアサートする。バースト転送時は、1クロ
ック後は、制御信号311によりマルチプレクサ/セレ
クタ25がBバンクのデータに切り換わり、システムバ
ス1に出力され、以上の動作がバースト転送終了まで繰
り返される。メモリへのアクセスアドレスがBバンクか
らのアクセスの場合は、Bバンクのデータが最初にセレ
クトされ、Aバンクの時と同様の制御が行われる。以
下、図9に示すタイミングチャートを参照しながらメモ
リライト動作について、図10に示すタイミングチャー
トを参照しながらメモリリード動作について説明する。
Next, at the time of memory read, the memory data bus 20 from the A bank of the first access is controlled by the control signal 30.
8 and 301 to the system bus 1, and the system bus 1 has the control signal line (/ CAS-Ax) 1 of the A bank.
The response signal / ACK is asserted so that the data is determined at the negate timing of 3. In the burst transfer, one clock later, the multiplexer / selector 25 is switched to the B bank data by the control signal 311 and is output to the system bus 1, and the above operation is repeated until the burst transfer is completed. When the access address to the memory is the access from the B bank, the data in the B bank is first selected and the same control as in the A bank is performed. Hereinafter, the memory write operation will be described with reference to the timing chart shown in FIG. 9, and the memory read operation will be described with reference to the timing chart shown in FIG.

【0011】図9において、401はシステムクロック
(CLK)、402はサイクルスタート信号(TS)、
403はリード/ライト信号(R/W)、404は応答
信号(/ACK)、405はシステムアドレス/データ
バス(ADx)である。上記401〜405はシステム
バス1上の信号である。
In FIG. 9, 401 is a system clock (CLK), 402 is a cycle start signal (TS),
Reference numeral 403 is a read / write signal (R / W), 404 is a response signal (/ ACK), and 405 is a system address / data bus (ADx). The signals 401 to 405 are signals on the system bus 1.

【0012】406はローアドレスストローブ信号/R
AS、407はメモリのライトイネーブル信号(/W
E)、408はAバンクのメモリアドレスであるMA−
Ax、409はAバンクのカラムアドレストローブ信号
/CAS−Ax、410はAバンクのメモリデータDT
−Ax、411はBバンクのメモリアドレスMA−B
x、412はBバンクのカラムアドレストローブ信号/
CAS−Bx、413はBバンクのメモリデータDT−
Bxを示す。
406 is a row address strobe signal / R
AS and 407 are memory write enable signals (/ W
E) and 408 are memory addresses MA- of the A bank.
Ax and 409 are column address strobe signals of A bank / CAS-Ax, and 410 is memory data DT of A bank.
-Ax and 411 are memory addresses MA-B of B bank
x and 412 are column address strobe signals of B bank /
CAS-Bx, 413 are memory data DT- of B bank
Bx is shown.

【0013】サイクルスタート信号402がアサートさ
れた時のシステムクロック401の立ち上がりタイミン
グでシステムアドレスバス414をラッチし、このアド
レスからAバンクのローアドレス415とカラムアドレ
ス416,417、さらにBバンクのローアドレス41
8とカラムアドレス419,420に変換される。ま
た、この時リード/ライト信号403がライト時は、ラ
イトイネーブル信号(/WE)407がサートされる。
システムデターバス421とシステムデターバス422
がAバンクメモリデータ(DT−AX)423とシステ
ムデターバス424に、システムデータバス425とシ
ステムデターバス426がBバンクメモリデータ(DT
−Bx)427とBバンクメモリデータ(DT−Bx)
428に出力される。
The system address bus 414 is latched at the rising timing of the system clock 401 when the cycle start signal 402 is asserted, and the row address 415 and column addresses 416 and 417 of the A bank and the row address of the B bank are latched from this address. 41
8 and column addresses 419 and 420. At this time, when the read / write signal 403 is written, the write enable signal (/ WE) 407 is asserted.
System data bus 421 and system data bus 422
To the A bank memory data (DT-AX) 423 and the system data bus 424, and the system data bus 425 and the system data bus 426 to the B bank memory data (DT).
-Bx) 427 and B bank memory data (DT-Bx)
It is output to 428.

【0014】次に、メモリリードタイミングは図10に
示すように、システムバス1の応答信号(/ACK)4
04と、リードライト信号403と、メモリライトイネ
ーブル信号407とデータバス以外の動作タイミングは
メモリライトの場合と同様である。
Next, as shown in FIG. 10, the memory read timing is the response signal (/ ACK) 4 of the system bus 1.
04, the read / write signal 403, the memory write enable signal 407, and the operation timings other than the data bus are the same as those in the case of the memory write.

【0015】サイクルスタート信号401がアサートさ
れた時のシステムクロック401の立ち上がり時にリー
ド/ライト信号403がリードの場合は、メモリへのメ
モリライトイネーブル信号407がディゼーブルとな
り、Aバンクからのデータ501,502がシステムデ
ータバス503,504に、Bバンクからのデータ50
5,506がシステムデータバス507,508がそれ
ぞれシステムアドレス/データバス(ADx)405上
に出力され、システムバスの応答信号404がアサート
のタイミングで取り込まれる。
If the read / write signal 403 is read at the rise of the system clock 401 when the cycle start signal 401 is asserted, the memory write enable signal 407 to the memory becomes disable and the data 501, 502 from the A bank. To the system data buses 503 and 504, the data 50 from the B bank
5, 506 and system data buses 507 and 508 are output onto the system address / data bus (ADx) 405, respectively, and the response signal 404 of the system bus is fetched at the assert timing.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、上記従
来例では複数のメモリバンクをアクセス制御するメモリ
制御回路は、上記のように各メモリバンクを異なるタイ
ミングでアクセスする方法(インターリーブ制御)のた
め、下記(1) 〜(4) に示す問題点があった。
However, in the above-mentioned conventional example, the memory control circuit for controlling access to a plurality of memory banks has the following method (interleave control) for accessing each memory bank at different timings as described above. There were problems shown in (1) to (4).

【0017】(1) 最後にアクセスしたメモリバンクのア
クセス終了時間がメモリアクセスサイクルタイムとな
り、結果としてメモリアクセスタイムが低速となる。
(1) The access end time of the last accessed memory bank becomes the memory access cycle time, and as a result, the memory access time becomes slow.

【0018】(2) 最初にアクセスするメモリバンク次第
で各メモリバンクへのアクセスタイミングを変える必要
があり、制御回路が複雑化する。また、アクセスタイミ
ングを変えない回路構成の場合は、一方のバンクからの
アクセスのみといったの限定的な仕様となる。
(2) It is necessary to change the access timing to each memory bank depending on the memory bank to be accessed first, which complicates the control circuit. Further, in the case of a circuit configuration in which the access timing is not changed, the limited specifications are such that only one bank accesses.

【0019】(3) システム構成の変更に伴いメモリバン
クの数が増えた場合は、アクセスタイミングを変更する
必要があり、システム拡張に容易に対応できない。
(3) When the number of memory banks is increased due to the change of the system configuration, it is necessary to change the access timing, so that the system expansion cannot be easily accommodated.

【0020】(4) 各メモリバンクのアクセスタイミング
が異なるため、各メモリバンク用のメモリアドレスが必
要となり、大きなアドレスビット幅が必要となり、メモ
リ回路が複雑化するとともに、回路コストが高くなる。
(4) Since the access timing of each memory bank is different, a memory address for each memory bank is required and a large address bit width is required, which complicates the memory circuit and increases the circuit cost.

【0021】本発明は、上記の問題点を解決するために
なされたもので、各メモリバンクへのアクセスモードに
基づいて各メモリバンクのカラムアドレスのアサートタ
イミングを制御することにより、各メモリバンクへの連
続アクセス時におけるオーバーヘッドを軽減できるメモ
リ制御回路を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems. By controlling the assert timing of the column address of each memory bank based on the access mode to each memory bank, each memory bank is controlled. It is an object of the present invention to obtain a memory control circuit that can reduce the overhead during continuous access of.

【0022】[0022]

【課題を解決するための手段】本発明に係るメモリ制御
回路は、各バンクのメモリアドレスの両最下位ビットラ
インを除くアドレスビットラインが共有接続された複数
のメモリバンクと、各メモリバンクへのアクセスモード
に基づいて各メモリバンクに対する同一または個別のメ
モリアドレス設定を制御するアドレス設定制御手段と、
このアドレス設定制御手段により設定されたアドレスに
基づくカラムアドレスのアサートタイミングを制御する
タイミング制御手段と、各メモリバンクへの書込みデー
タまたは各メモリバンクからの読出しデータを格納する
データバッファと、タイミング制御手段によりアサート
されたカラムアドレスに基づいて各メモリバンクへの書
込みデータまたは各メモリバンクからの読出しデータの
転送を制御する転送制御手段とを有するものである。
A memory control circuit according to the present invention includes a plurality of memory banks to which address bit lines other than both least significant bit lines of a memory address of each bank are connected in common, and to each memory bank. Address setting control means for controlling the same or individual memory address setting for each memory bank based on the access mode;
Timing control means for controlling the assert timing of the column address based on the address set by the address setting control means, a data buffer for storing write data to each memory bank or read data from each memory bank, and timing control means. And a transfer control means for controlling transfer of write data to each memory bank or read data from each memory bank based on the column address asserted by.

【0023】[0023]

【作用】本発明においては、各メモリバンクへのアクセ
スモードが設定されると、アドレス設定制御手段が各バ
ンクのメモリアドレスの両最下位ビットラインを除くア
ドレスビットラインが共有接続された複数のメモリバン
クへのアドレス設定を制御し、タイミング制御手段がア
サートされたカラムアドレスストローブ信号に応じてデ
ータバッファを介した各メモリバンクへの書込みデータ
または各メモリバンクからの読出しデータの転送を制御
することにより、各メモリバンクへの連続アクセス時に
おけるオーバーヘッドを軽減することを可能とする。
According to the present invention, when the access mode to each memory bank is set, the address setting control means causes the plurality of memories in which the address bit lines except the least significant bit lines of the memory address of each bank are connected in common. By controlling the address setting to the bank, the timing control means controls the transfer of write data to each memory bank or read data from each memory bank via the data buffer in accordance with the asserted column address strobe signal. , It is possible to reduce the overhead at the time of continuous access to each memory bank.

【0024】[0024]

【実施例】図1は本発明の一実施例を示すメモリ制御回
路を有する情報処理装置の一例を示すシステム構成図で
ある。
1 is a system configuration diagram showing an example of an information processing apparatus having a memory control circuit showing an embodiment of the present invention.

【0025】図において、201は装置全体を制御する
CPU、202は本発明に係るメモリ制御回路(Memory
Controller) で、メモリバンク203,204へのメモ
リアクセスを制御する。メモリバンク203,204に
はCPU201が実行するプログラムが記憶されるとと
もに、CPU201のワークエリアとして機能する。2
05はダイレクトメモリアクセスコントローラ(DMA
C)で、CPU201を介さずにメモリバンク203,
204とI/Oデバイス間でデータの転送を行う。20
6はイーサネット(ゼロック社製の登録商標)等のLA
N(ローカルエリアネットワーク)とのインタフェース
(LAN−i/f)、207はROM,SRAM,RS
232C等を備える入出力デバイス類(I/O)、20
8はハ−ドディスク、209はフロッピ−ディスク、2
10はディスクインタフェースで(Disk−i/
f)、ハ−ドディスク208,フロッピ−ディスク20
9のアクセスを行うディスクインタフェース、211は
プリンタ、212はプリンタインタフェース(Prin
ter−i/f)、213はキーボードやマウスのイン
タフェース(Key−i/f)、214はキーボード、
215はポインティングデバイスであるマウス、216
はイーサネット等のローカルエリアネットワーク、21
7はCRT等の画像表示器、218は前記画像表示器2
17のインタフェース(Video−i/f)である。
In the figure, 201 is a CPU that controls the entire apparatus, and 202 is a memory control circuit (Memory) according to the present invention.
Controller) controls memory access to the memory banks 203 and 204. Programs executed by the CPU 201 are stored in the memory banks 203 and 204, and also function as a work area of the CPU 201. Two
05 is a direct memory access controller (DMA
C), the memory bank 203 without the CPU 201,
Data is transferred between the I / O device 204 and the I / O device. 20
6 is LA such as Ethernet (registered trademark of Xerox Co., Ltd.)
N (local area network) interface (LAN-i / f), 207 ROM, SRAM, RS
Input / output devices (I / O) including 232C, 20
8 is a hard disk, 209 is a floppy disk, 2
10 is a disk interface (Disk-i /
f), hard disk 208, floppy disk 20
9 is a disk interface for access, 211 is a printer, 212 is a printer interface (Print
ter-i / f), 213 is a keyboard or mouse interface (Key-i / f), 214 is a keyboard,
A mouse 215 is a pointing device.
Is a local area network such as Ethernet, 21
7 is an image display such as a CRT, 218 is the image display 2
17 interfaces (Video-i / f).

【0026】以下、各部の動作について説明する。The operation of each unit will be described below.

【0027】CPU201がパワーオンされると、入出
力デバイス類207にあるROM内のプログラムに従っ
てシステムチェック等の立上げ処理を行った後、ハ−ド
ディスク208内に格納されたOS等のプログラムをメ
インメモリに持ってくる。ユーザのキーボード214や
マウス215からの指示により、アプリケーションプロ
グラムが動作する。メモリ(ABank Memor
y)203,メモリ(BBank Memory)20
4へのアクセスはメモリ制御回路202から同じタイミ
ングで行われる。
When the CPU 201 is powered on, a startup process such as a system check is performed according to the programs in the ROM of the input / output devices 207, and then the programs such as the OS stored in the hard disk 208 are executed. Bring it to main memory. The application program operates according to an instruction from the user's keyboard 214 or mouse 215. Memory (ABank Memor
y) 203, memory (BBank Memory) 20
4 are accessed from the memory control circuit 202 at the same timing.

【0028】図2は、図1に示したメモリ制御回路20
2の詳細構成を説明するブロック図であり、図1と同一
のものには同じ符号を付してある。
FIG. 2 shows the memory control circuit 20 shown in FIG.
2 is a block diagram illustrating a detailed configuration of FIG. 2, and the same components as those in FIG. 1 are denoted by the same reference numerals.

【0029】図において、1はシステムバス、2はシス
テムアドレス/データバス、3はアドレスとデータを切
り分けるマルチプレクサ、4はシステムアドレスバス、
5はシステムデータバス、6はクロック及びコントロー
ル信号のバス、7はメモリ制御回路全体を制御するステ
ートコントローラ、8はステートコントローラ7からの
制御信号、9はローアドレスストローブ信号(/RAS
信号表記/はアクティブローを示す)10及び書込みイ
ネーブル信号(/WE)11を発生制御する制御回路、
12は前記メモリ203(Aバンク)へのカラムアドレ
スストローブ信号群(/CAS−Ax)13(−Aはバ
ン先を示し、xは複数の信号を示す)を出力する制御回
路、14は前記メモリ204(Bバンク)へのカラムア
ドレスストローブ信号群/CAS−Bx15(−Bはバ
ン先を示し、xは複数の信号を示す)を出力する制御回
路、16はアドレスラッチで、システムアドレス2のア
ドレスをラッチする。17はメモリアドレス制御回路
で、メモリアドレス(MAx)制御線18,19,20
を対応するメモリ203,204に出力する。なお、メ
モリアドレス(MAx)制御線19はAバンクのメモリ
203のアドレスの最下位ビットMAA0に接続され、
メモリアドレス(MAx)制御線20はBバンクのメモ
リ204のアドレスの最下位ビットMAB0に接続され
ている。
In the figure, 1 is a system bus, 2 is a system address / data bus, 3 is a multiplexer for separating address and data, 4 is a system address bus,
Reference numeral 5 is a system data bus, 6 is a clock and control signal bus, 7 is a state controller for controlling the entire memory control circuit, 8 is a control signal from the state controller 7, and 9 is a row address strobe signal (/ RAS).
A signal notation / indicates active low) 10 and a control circuit for controlling generation of a write enable signal (/ WE) 11,
Reference numeral 12 is a control circuit for outputting a column address strobe signal group (/ CAS-Ax) 13 (-A is a van tip, x is a plurality of signals) to the memory 203 (A bank), and 14 is the memory. A control circuit for outputting a column address strobe signal group / CAS-Bx15 (-B indicates a van tip and x indicates a plurality of signals) to 204 (B bank), 16 is an address latch, and an address of system address 2 Latch. Reference numeral 17 denotes a memory address control circuit, which is a memory address (MAx) control line 18, 19, 20
Is output to the corresponding memories 203 and 204. The memory address (MAx) control line 19 is connected to the least significant bit MAA0 of the address of the memory 203 in the A bank,
The memory address (MAx) control line 20 is connected to the least significant bit MAB0 of the address of the memory 204 of the B bank.

【0030】21はバッファ(DT−AxB)で、Aバ
ンクのメモリ203のデータ線DT−Ax22の内容を
保持する。23はバッファ(DT−BxB)で、Bバン
クのメモリ204のデータ線DT−Bx24の内容を保
持する。25はシステムデータバス5のマルチプレクサ
として、およびバッファ(データバスバッファ)21,
23のセレクタとしての機能を備えるマルチプレクサ/
セレクタである。
Reference numeral 21 is a buffer (DT-AxB), which holds the contents of the data line DT-Ax22 of the memory 203 of the A bank. A buffer (DT-BxB) 23 holds the content of the data line DT-Bx 24 of the memory 204 of the B bank. 25 is a multiplexer for the system data bus 5, and a buffer (data bus buffer) 21,
A multiplexer / function having a function as a selector of 23 /
It is a selector.

【0031】このように構成されたメモリ制御回路にお
いて、各Aバンクのメモリ203,Bバンクのメモリ2
04へのアクセスモードが設定されると、メモリアドレ
ス制御回路17が各バンクのメモリアドレスの両最下位
ビットラインを除くアドレスビットラインが共有接続さ
れた複数のメモリバンクへのアドレス設定を制御し、制
御手段12,14がアサートされたカラムアドレススト
ローブ信号に応じてバッファ21,23を介した各メモ
リバンクへの書込みデータまたは各メモリバンクからの
読出しデータの転送を制御する各メモリバンクへの連続
アクセス時におけるオーバーヘッドを軽減することを可
能とする。
In the memory control circuit thus configured, the memory 203 of each A bank and the memory 2 of the B bank
When the access mode to 04 is set, the memory address control circuit 17 controls the address setting to a plurality of memory banks to which the address bit lines except the least significant bit lines of the memory address of each bank are shared and connected. Sequential access to each memory bank for controlling transfer of write data to or read data from each memory bank via the buffers 21 and 23 in response to the asserted column address strobe signal by the control means 12 and 14. It is possible to reduce the overhead in time.

【0032】図3は、図2に示したメモリ制御回路20
2の要部詳細構成を説明するブロック図であり、図8と
同一のものには同じ符号を付してある。
FIG. 3 shows the memory control circuit 20 shown in FIG.
9 is a block diagram illustrating a detailed configuration of a main part of FIG. 2, and the same components as those in FIG. 8 are denoted by the same reference numerals.

【0033】以下、図4および図5に示すタイミングチ
ャートを参照しながら本発明に係るメモリ制御回路にお
ける2バンクのインターリーブ制御動作について説明す
る。なお、図8に示したメモリアクセス方法との相違
は、バースト転送時、両バンク同時にカラムアドレスス
トローブ信号群/CAS−Ax13,カラムアドレスス
トローブ信号群/CAS−Bx15(カラムアドレスス
トローブ信号/CASx)をアサートし、奇数ワード転
送時は、最後のワードのアドレスに対応するバンクのカ
ラムアドレスストローブ信号/CASxだけをアサート
する。また、メモリアドレスは両バンク共通であるが、
Aバンクのメモリアドレスの最下位ビット(MAA0)
となるメモリアドレス制御線19とBバンクのメモリア
ドレスの最下位ビット(MAB0)となるとなるメモリ
アドレス制御線20のみ別別とする構成となっている。
以下、図3におけるメモリアクセスの基本動作について
説明する。
The interleave control operation of two banks in the memory control circuit according to the present invention will be described below with reference to the timing charts shown in FIGS. It should be noted that the difference from the memory access method shown in FIG. 8 is that during burst transfer, column address strobe signal group / CAS-Ax13 and column address strobe signal group / CAS-Bx15 (column address strobe signal / CASx) are simultaneously applied to both banks. During the odd word transfer, only the column address strobe signal / CASx of the bank corresponding to the address of the last word is asserted. Also, the memory address is common to both banks,
The least significant bit of the memory address of Bank A (MAA0)
The memory address control line 19 and the memory address control line 20 that becomes the least significant bit (MAB0) of the memory address of the B bank are separately configured.
The basic operation of memory access in FIG. 3 will be described below.

【0034】先ず、ステートコントローラ7からのメモ
リアドレスの制御信号601によりラッチされたアドレ
ス310からメモリアドレス制御回路17によりA,B
両バンクにメモリのローアドレスがメモリアドレス(M
Ax)制御線18〜20に出力される。その1クロック
後、制御回路9によりローアドレスストローブ信号10
がアサートされ、次に半クロック後、メモリアドレス制
御回路17により両バンクのメモリのカラムアドレスが
メモリアドレス(MAx)制御線18〜20に出力さ
れ、ライトアクセスの場合は書込みイネーブル信号(/
WE)11がアサートされる。
First, from the address 310 latched by the memory address control signal 601 from the state controller 7, the memory address control circuit 17 starts A, B.
In both banks, the row address of the memory is the memory address (M
Ax) Output on control lines 18-20. One clock later, the control circuit 9 causes the row address strobe signal 10
Is asserted, and half a clock later, the memory address control circuit 17 outputs the column addresses of the memories of both banks to the memory address (MAX) control lines 18 to 20, and the write enable signal (/
WE) 11 is asserted.

【0035】シングル転送の時は、従来のタイミングと
同じであるが、バースト転送の時は、従来AバンクとB
バンクのカラムアドレスストローブ信号/CASxが交
互にアクセスされたが、本発明では両バンクのカラムア
ドレスストローブ信号/CASxが同時にアクセスされ
る。すなわち従来の方法で先にアクセスされたバンクの
カラムアドレスストローブ信号/CASxのアサートタ
イミングで両バンクのカラムアドレスストローブ信号/
CASxをアサートし、奇数転送の場合は、最後のワー
ドのアドレスに対応するバンクのカラムアドレスストロ
ーブ信号/CASxのみをアサートする。また、バース
ト転送でAバンクからのアクセス時は両バンクのメモリ
アドレスの最下位ビット(MAA0)となるとなるメモ
リアドレス制御線19,20は同じ信号が出力される
が、バースト転送でBバンクからのアクセス時はBバン
クのメモリアドレスの最下位ビット(MAB0)となる
メモリアドレス制御線20はアクセスアドレスに相当す
る信号が出力され、Aバンクの最下位ビットMAA0と
なるメモリアドレス制御線19はBバンクの最下位ビッ
トMAB0となるメモリアドレス制御線20を反転した
信号が出力される。
At the time of single transfer, the timing is the same as the conventional timing, but at the time of burst transfer, the conventional A bank and B are used.
Although the column address strobe signals / CASx of the banks are alternately accessed, the column address strobe signals / CASx of both banks are simultaneously accessed in the present invention. That is, the column address strobe signal / CASx of both banks is accessed at the assert timing of the column address strobe signal / CASx of the bank previously accessed by the conventional method.
CASx is asserted, and in the case of odd transfer, only the column address strobe signal / CASx of the bank corresponding to the address of the last word is asserted. Further, the same signal is output to the memory address control lines 19 and 20 which become the least significant bit (MAA0) of the memory addresses of both banks when accessing from bank A in burst transfer, but the same signal is output from bank B in burst transfer. At the time of access, a signal corresponding to the access address is output from the memory address control line 20 which is the least significant bit (MAB0) of the memory address of the B bank, and the memory address control line 19 which is the least significant bit MAA0 of the A bank is the B bank. A signal obtained by inverting the memory address control line 20 which is the least significant bit MAB0 is output.

【0036】3ワード以上の転送時は、カラムアドレス
ストローブ信号/CASxのネゲートタイミングでAバ
ンクの最下位ビットMAA0となるメモリアドレス制御
線19,Bバンクの最下位ビットMAB0となるメモリ
アドレス制御線20を反転する。これにより、Bバンク
のアドレスバンダリーからのバースト転送であっても4
ワードのラップラウンドアクセスが可能となるわけであ
る。
When transferring three or more words, the memory address control line 19 for the least significant bit MAA0 of the A bank and the memory address control line 20 for the least significant bit MAB0 of the B bank at the negate timing of the column address strobe signal / CASx. Invert. As a result, even if the burst transfer from the B bank address boundary is 4
Wrap-round access of words will be possible.

【0037】以上がメモリアクセス時の制御信号および
メモリアドレスの動作タイミングであるが、次にメモリ
リード時とメモリライト時のデータの制御およびタイミ
ングについて説明する。 〔メモリライト時のデータの制御例〕先ず、メモリライ
ト時は、ノーウエイトでシステムバスに応答信号/AC
Kがサートされ、システムバス1からのデータ信号5を
マルチプレクサ/セレクタ25が制御信号308により
最初のアクセスのAバンクのデータバス315に切り換
え、データバスバッファ(DT−Ax)21にラッチさ
れ、Aバンクのデータ線(DT−Ax)22に出力され
る。シングル転送の場合は、次のクロックで応答信号/
ACKがネゲートされてシステムバスが解放されるが、
バースト転送時は、1クロック後にシステムからのデー
タバス5はBバンク用のデータに切り換わり、Aバンク
同様制御信号309によりBバンクのデータバス316
に切り換わってデータバスバッファ(DT−Bx)23
にラッチされ、Bバンクのデータ線DT−Bx24に出
力される。さらに、1クロック後には、システムバス1
からのデータバス5はAバンク用のデータに切り換わ
り、その後はバースト転送終了まで同様の制御が行われ
る。この時、データッバッファが各バンクに1ワードの
時は、従来のインタリーブ制御では1ウエイト入った
が、本発明の場合はノーウエイトで動作する。
The above is the operation timing of the control signal and memory address at the time of memory access. Next, the control and timing of data at the time of memory read and memory write will be described. [Example of data control during memory write] First, during memory write, a response signal / AC is sent to the system bus with no wait.
K is asserted, the data signal 5 from the system bus 1 is switched by the multiplexer / selector 25 to the data bus 315 of A bank of the first access by the control signal 308, and latched in the data bus buffer (DT-Ax) 21. It is output to the data line (DT-Ax) 22 of the bank. For single transfer, the response signal /
ACK is negated and the system bus is released,
At the time of burst transfer, the data bus 5 from the system is switched to data for the B bank after one clock, and like the A bank, the data bus 316 of the B bank is controlled by the control signal 309.
Data bus buffer (DT-Bx) 23
And is output to the data line DT-Bx24 of the B bank. Furthermore, after one clock, the system bus 1
The data bus 5 is switched to the data for the A bank, and thereafter, the same control is performed until the end of the burst transfer. At this time, when the data buffer has one word in each bank, 1 wait is entered in the conventional interleave control, but in the case of the present invention, it operates in no wait.

【0038】具体的には、図4に示すタイミングチャー
トに従ってメモリライトアクセスサイクルが実行され
る。なお、図9と同一のものには同じ符号を付してあ
る。
Specifically, the memory write access cycle is executed according to the timing chart shown in FIG. The same parts as those in FIG. 9 are designated by the same reference numerals.

【0039】図4において、701は両バンクのメモリ
アドレスMAxを示し、サイクルスタート信号(TS)
402がアサートされた時のシステムクロック(CL
K)401の立ち上がりのタイミングでシステムアドレ
スバス414をラッチし、このアドレスから両バンクの
ローアドレス702とカラムアドレス703,Aバンク
のメモリアドレスの最下位ビットMAA0,アドレス7
04に変換される。また、この時、リード/ライト信号
(R/W)403がライト時は、ライトイネーブル信号
(/WE)407がアサートされる。システムアドレス
/データバス(ADx)405のアドレス705,70
6がAバンクのメモリデータDT−Ax410のデータ
707,708として、システムアドレス/データバス
(ADx)405のアドレス709,710がBバンク
のメモリデータDT−Bx413上のデータ711,7
12として出力される。 〔メモリリード時のデータの制御例〕メモリリード時
は、Aバンクからのデータ線DT−Ax22のデータ
と、Bバンクからのデータ線DT−Bx24のデータが
制御信号308,309によりデータバスバッファ(D
T−Ax)21,データバスバッファ(DT−Bx)2
3にカラムアドレスストローブ信号/CASx409の
ネゲートタイミングでラッチされ、最初のアクセスアド
レスに対応するバンクのデータがマルチプレクサ/セレ
クタ25でセレクトされてデータバス5を通り、制御信
号301によりシステムバス1に出力され、システムバ
ス1にはカラムアドレスストローブ信号/CASx40
9のネゲートタイミングでデータが確定するように応答
信号(/ACK)409をアサートする。バースト転送
時は、1クロック後は制御信号309によりマルチプレ
クサ/セレクタ25がBバンクのデータがシステムバス
1に出力され、以上の動作がバ−スト転送終了まで繰り
返される。メモリへのアクセスアドレスがBバンクから
のアクセスの場合は、Bバンク用のデータが最初にラッ
チされ、Aバンクの時と同様に制御が行われる。
In FIG. 4, reference numeral 701 indicates the memory address MAx of both banks, and the cycle start signal (TS).
System clock when 402 is asserted (CL
K) The system address bus 414 is latched at the rising timing of 401, and from this address, the row address 702 and the column address 703 of both banks, the least significant bit MAA0 of the memory address of the A bank, the address 7
Converted to 04. At this time, when the read / write signal (R / W) 403 is written, the write enable signal (/ WE) 407 is asserted. Addresses 705 and 70 of the system address / data bus (ADx) 405
6 is data 707 and 708 of the memory data DT-Ax 410 of the A bank, and addresses 709 and 710 of the system address / data bus (ADx) 405 are data 711 and 7 of the memory data DT-Bx 413 of the B bank.
It is output as 12. [Data Control Example During Memory Read] During memory read, the data on the data line DT-Ax22 from the A bank and the data on the data line DT-Bx24 from the B bank are transferred to the data bus buffer (control signal 308, 309). D
T-Ax) 21, data bus buffer (DT-Bx) 2
3 is latched at the negation timing of the column address strobe signal / CASx409, the data of the bank corresponding to the first access address is selected by the multiplexer / selector 25, passes through the data bus 5, and is output to the system bus 1 by the control signal 301. Column address strobe signal / CASx40 on the system bus 1.
The response signal (/ ACK) 409 is asserted so that the data is determined at the negation timing of 9. At the burst transfer, one clock later, the multiplexer / selector 25 outputs the data of bank B to the system bus 1 by the control signal 309, and the above operation is repeated until the end of the burst transfer. When the access address to the memory is the access from the B bank, the data for the B bank is first latched, and the control is performed as in the case of the A bank.

【0040】具体的には、図5に示すタイミングチャー
トに従ってメモリライトアクセスサイクルが実行され
る。なお、図10と同一のものには同じ符号を付してあ
る。
Specifically, the memory write access cycle is executed according to the timing chart shown in FIG. The same parts as those in FIG. 10 are designated by the same reference numerals.

【0041】システムバス1の応答信号(/ACK)4
04,リード/ライト信号(R/W)403,メモリラ
イトイネーブル信号407,データバス等以外の動作タ
イミングはメモリライトの場合と同じである。
Response signal (/ ACK) 4 of system bus 1
04, read / write signal (R / W) 403, memory write enable signal 407, operation timings other than the data bus are the same as in the case of memory write.

【0042】サイクルスタート信号(TS)402のア
サートされた時のシステムクロック(CLK)401の
立ち上がり時、かつリード/ライト信号(R/W)40
3がリードの時、メモリへのメモリライトイネーブル信
号(/WE)407がディセーブルとなり、Aバンクの
メモリデータDT−Ax410のデータ801,802
がシステムデータバスシステムアドレス/データバス
(ADx)405のデータ803,804として、スバ
ンクからのメモリデータDT−Ax413のデータ80
5,806がシステムデータバスシステムアドレス/デ
ータバス(ADx)405のデータ807,808とし
て出力され、システムバス1の応答信号(/ACK)4
04のアサートのタイミングで取り込まれる。
When the system clock (CLK) 401 rises when the cycle start signal (TS) 402 is asserted, and the read / write signal (R / W) 40
When 3 is a read, the memory write enable signal (/ WE) 407 to the memory is disabled and the data 801 and 802 of the memory data DT-Ax410 of the A bank.
Is the data 803 of the system data bus system address / data bus (ADx) 405 and the data 80 of the memory data DT-Ax 413 from the bank.
5, 806 are output as data 807 and 808 of the system data bus system address / data bus (ADx) 405, and the response signal (/ ACK) 4 of the system bus 1 is output.
It is taken in at the timing of 04 assertion.

【0043】図6は本発明に係るメモリ制御回路におけ
るリードアクセス処理手順の一例を示すフローチャート
である。なお、(1) 〜(30)は各ステップを示す。
FIG. 6 is a flow chart showing an example of a read access processing procedure in the memory control circuit according to the present invention. In addition, (1) to (30) show each step.

【0044】先ず、サイクルスタート信号402がアサ
ートされるのを待機し(1) 、サイクルスタート信号40
2がアサートされたら、システムアドレスバスがラッチ
されるのを待機し(2) 、システムクロック1のカウンタ
clkを「0」とするとともに、両バンクにメモリのロ
ーアドレスを出力する(3) 。次いで、システムクロック
1が1クロック分経過するのを待機し(4) 、ローアドレ
スストローブ信号(/RASx)10をアサートし(5)
、これよりシステムクロック1の半クロック後(6) 、
リードアクセスかどうかを判定し(7) 、YESならば書
込みイネーブル信号(/WE)11をアサートし(8) 、
ステップ(9) 以降に進み、NOならばバンク先がAかど
うかを判定し(9) 、YESならばメモリアドレス(MA
x)をコラムアドレスとし、Aバンクのメモリアドレス
の最下位ビットMAA0とBバンクのメモリアドレスの
最下位ビットMAB0を同一とし(11)、NOならばAバ
ンクのメモリアドレスの最下位ビットMAA0をとBバ
ンクのメモリアドレスの最下位ビットMAB0を反転し
て出力する(10)。次いで、システムクロック1の1クロ
ック後(12)、バーストモードかどうかを判定し(13)、N
Oならばアクセス要求に対応するバイト分制御信号線
(/CAS−Ax)13をアサートし(14)、YESなら
ば制御信号線(/CAS−Ax)13の4本すべてをア
サートする(15)。
First, waiting for the cycle start signal 402 to be asserted (1), the cycle start signal 40 is
When 2 is asserted, it waits for the system address bus to be latched (2), sets the counter clk of the system clock 1 to "0", and outputs the memory row address to both banks (3). Next, the system clock 1 waits for one clock to elapse (4), and the row address strobe signal (/ RASx) 10 is asserted (5).
, After this, half a clock of the system clock 1 (6),
It is judged whether it is a read access (7), and if YES, the write enable signal (/ WE) 11 is asserted (8),
The process proceeds to step (9) and thereafter. If NO, it is determined whether or not the bank destination is A (9). If YES, the memory address (MA
x) is a column address, the least significant bit MAA0 of the memory address of the A bank and the least significant bit MAB0 of the memory address of the B bank are the same (11), and if NO, the least significant bit MAA0 of the memory address of the A bank is determined. The least significant bit MAB0 of the memory address of bank B is inverted and output (10). Then, one clock after the system clock 1 (12), it is judged whether or not it is in the burst mode (13), and N
If it is O, the control signal line (/ CAS-Ax) 13 for bytes corresponding to the access request is asserted (14), and if YES, all four control signal lines (/ CAS-Ax) 13 are asserted (15). .

【0045】次いで、シングル転送かどうかを判定し(1
6)、YESならば転送先がAバンクかどうかを判定し(1
7)、YESならばAバンクのカラムアドレスストローブ
信号(CAS−Ax)409をアサートし(18)、これよ
りシステムクロック1の半クロック後(20)、カラムスア
ドレストローブ信号(CAS−Ax)409をネゲート
し(22)、ローアドレスストローブ信号(/RASx)1
0,書込みイネーブル信号(/WE)11をネゲートし
(24)、処理を終了する。
Then, it is judged whether it is a single transfer (1
6) If YES, determine whether the transfer destination is bank A (1
7) If YES, the column address strobe signal (CAS-Ax) 409 of the A bank is asserted (18), and half a clock of the system clock 1 (20) after this, the column address strobe signal (CAS-Ax) 409 is sent. Negated (22), row address strobe signal (/ RASx) 1
0, negate write enable signal (/ WE) 11
(24), the process ends.

【0046】一方、ステップ(17)の判定でNOの場合
は、カラムアドレスストローブ信号(CAS−Bx)4
12をアサートし(19)、これよりシステムクロック1の
半クロック後(21)、カラムアドレスストローブ信号(C
AS−Bx)412をネゲートし(23)、書込みイネーブ
ル信号(/WE)11をネゲートし(24)、処理を終了す
る。
On the other hand, if the determination in step (17) is NO, the column address strobe signal (CAS-Bx) 4
12 is asserted (19), and half a clock of the system clock 1 after this (21), the column address strobe signal (C
The AS-Bx) 412 is negated (23), the write enable signal (/ WE) 11 is negated (24), and the process ends.

【0047】一方、ステップ(16)の判定でNO場合ステ
ップは、カラムアドレスストローブ信号(CAS−A
x)409,カラムアドレスストローブ信号(CAS−
Bx)412を同時にアサートし(25)、システムクロッ
ク1の半クロック後(26)、カラムスアドレストローブ信
号(CAS−Ax)409,カラムアドレスストローブ
信号(CAS−Bx)412を同時にネゲートし(27)、
最後のワードかどうかを判定し(28)、YESならばロー
アドレスストローブ信号(/RASx)10,書込みイ
ネーブル信号(/WE)11をネゲートし(24)、処理を
終了する。
On the other hand, if the judgment in step (16) is NO, the step is the column address strobe signal (CAS-A).
x) 409, column address strobe signal (CAS-
Bx) 412 is asserted at the same time (25), half a clock after the system clock 1 (26), and the column address strobe signal (CAS-Ax) 409 and the column address strobe signal (CAS-Bx) 412 are simultaneously negated (27). ,
It is determined whether the word is the last word (28). If YES, the row address strobe signal (/ RASx) 10 and the write enable signal (/ WE) 11 are negated (24), and the processing is ended.

【0048】一方、ステップ(28)の判定でNOの場合
は、Aバンクのメモリアドレスの最下位ビットMAA0
とBバンクのメモリアドレスの最下位ビットMAB0を
それぞれ反転し(29)、これよりシステムクロック1の半
クロック後(30)、ステップ(15)に戻る。
On the other hand, if the decision in step (28) is NO, the least significant bit MAA0 of the memory address of bank A is MAA0.
And the least significant bit MAB0 of the memory address of the B bank is inverted (29), half clock of the system clock 1 is passed (30), and the process returns to the step (15).

【0049】図7は本発明に係るメモリ制御回路におけ
るライトアクセス処理手順の一例を示すフローチャート
である。なお、(1) 〜(28)は各ステップを示す。
FIG. 7 is a flow chart showing an example of a write access processing procedure in the memory control circuit according to the present invention. In addition, (1) to (28) indicate each step.

【0050】先ず、サイクルスタート信号402がアサ
ートされるのを待機し(1) 、サイクルスタート信号40
2がアサートされたら、システムアドレスバスがラッチ
されるのを待機し(2) 、システムクロック1のカウンタ
clkを「0」とし(3) 、アクセスモードがライトモー
ドかどうかを判定し(4) 、YESならば応答信号(/A
CK)404をアサートし(5) 、バンク先がAかどうか
を判定し(6) 、YESならばAバンクのメモリデータ
(DT−Ax)410をラッチし(7) 、NOならばBバ
ンクのメモリデータ(DT−Bx)413をラッチし
(8) 、これよりシステムクロック1の1クロック後(9)
、最後のワードかどうかを判定し(10)、NOならばス
テップ(5) に戻り、YESならば応答信号(/ACK)
404をネゲートとし(11)、処理を終了する。
First, waiting for the cycle start signal 402 to be asserted (1), the cycle start signal 40 is
When 2 is asserted, it waits for the system address bus to be latched (2), sets the counter clk of the system clock 1 to "0" (3), and determines whether the access mode is the write mode (4), If YES, the response signal (/ A
CK) 404 is asserted (5) and it is determined whether the bank destination is A (6). If YES, the memory data (DT-Ax) 410 of the A bank is latched (7), and if NO, the B bank Latch the memory data (DT-Bx) 413
(8), 1 clock after system clock 1 from this (9)
, It is judged whether it is the last word (10), if NO, return to step (5), and if YES, response signal (/ ACK)
404 is negated (11), and the process ends.

【0051】一方、ステップ(4) の判定でNO場合は、
システムクロック1の3クロック後(12)、応答信号(/
ACK)をアサートし(13)、バンク先がAかどうかを判
定し(14)、YESならばマルチプレクサ/セレクタ23
がアクセス先のデータバスをAバンクに切り換え(15)、
次のシステムクロック1で(16)、データバスバッファ
(DT−Ax)21,データバスバッファ(DT−B
x)23にラッチされ(17)、シングル転送かどうかを判
定し(18)、NOならばステップ(11)に戻り、YESなら
ばマルチプレクサ/セレクタ23がアクセス先のデータ
バスをBバンクに切り換え(19)、次のシステムクロック
1で(20)、最後のワードかどうかを判定し(21)、NOな
らばステップ(13)に戻り、YESならばステップ(11)に
戻り、応答信号(/ACK)をネゲートとし(11)、処理
を終了する。
On the other hand, if the judgment in step (4) is NO,
Three clocks after the system clock 1 (12), the response signal (/
ACK) is asserted (13), it is judged whether the bank destination is A (14), and if YES, the multiplexer / selector 23
Switches the data bus of the access destination to A bank (15),
At the next system clock 1, (16), data bus buffer (DT-Ax) 21, data bus buffer (DT-B)
x) 23 is latched (17), it is judged whether it is a single transfer (18), if NO, the process returns to step (11), and if YES, the multiplexer / selector 23 switches the data bus of the access destination to the B bank ( 19), at the next system clock 1 (20), it is judged whether or not it is the last word (21). If NO, return to step (13), and if YES, return to step (11) to return the response signal (/ ACK ) Is negated (11), and the process ends.

【0052】一方、ステップ(14)の判定でNOの場合
は、マルチプレクサ/セレクタ23がアクセス先のデー
タバスをBバンクに切り換え(22)、次のシステムクロッ
ク1で(23)、データバスバッファ(DT−Ax)21,
データバスバッファ(DT−Bx)23にラッチされ(2
4)、シングル転送かどうかを判定し(25)、NOならばス
テップ(11)に戻り、YESならばマルチプレクサ/セレ
クタ23がアクセス先のデータバスをAバンクに切り換
え(26)、次のシステムクロック1で(27)、最後のワード
かどうかを判定し(28)、NOならばステップ(13)に戻
り、YESならばステップ(11)に戻り、応答信号(/A
CK)404をネゲートとし(11)、処理を終了する。
On the other hand, if the determination in step (14) is NO, the multiplexer / selector 23 switches the access destination data bus to the B bank (22), and at the next system clock 1 (23) the data bus buffer ( DT-Ax) 21,
Latched in the data bus buffer (DT-Bx) 23 (2
4) It is judged whether it is a single transfer (25), if NO, the process returns to step (11), and if YES, the multiplexer / selector 23 switches the data bus of the access destination to the A bank (26), and the next system clock. In 1 (27), it is judged whether or not it is the last word (28). If NO, the process returns to step (13), and if YES, the process returns to step (11) and the response signal (/ A
CK) 404 is negated (11), and the process ends.

【0053】これにより、リード時、偶数ワードの転送
の時は、従来のインタリーブに比べてメモリアクセスサ
イクルが短くなるため、ローアドレスストローブ/RA
Sのプリチャージが早く終了し、連続アクセス時にオー
バヘッドが軽減される。
As a result, the memory access cycle becomes shorter when reading and transferring even-numbered words than in the conventional interleaving.
The precharge of S is completed early, and the overhead is reduced during continuous access.

【0054】また、ライト時、データバッファが両バン
クに1ワードの時ノーウエイトで動作でき、上記理由に
よるオーバヘッドが軽減される。
Further, at the time of writing, when the data buffer has one word in both banks, it can operate without a wait, and the overhead due to the above reason is reduced.

【0055】さらに、両バンク同じタイミングでアクセ
スするため、メモリアドレスを削減でき、小型化が図ら
れる。
Furthermore, since access is made at the same timing in both banks, memory addresses can be reduced and miniaturization can be achieved.

【0056】また、メモリアドレスの最下位ビットを各
バンク毎に別々としたため、バースト転送時4ワードの
ラップラウンドアクセスが可能となる。
Further, since the least significant bit of the memory address is set separately for each bank, wrap round access of 4 words becomes possible during burst transfer.

【0057】なお、上記実施例ではメモリバンクが2つ
の場合について説明したが、両バンク同時にアクセスす
るためメモリバンクの数が増えても同様の制御が可能で
ある。
In the above embodiment, the case where there are two memory banks has been described. However, since both banks are accessed simultaneously, the same control can be performed even if the number of memory banks is increased.

【0058】また、上記実施例では両バンクのメモリア
ドレスは最下位ビットのみ別々とすることで4ワードラ
ップラウンドバースト転送できるようにしたが、最下位
2ビットを別々とすることで8ワードラップラウンドバ
ースト転送が可能となる。同様に、1ビットずつ増やせ
ば16,32,64,…ワードラップラウンドにも容易
に対応できる。
Further, in the above embodiment, the memory addresses of both banks are set so that only the least significant bit is separate so that a 4-word wrap round burst transfer can be performed. However, by separating the least significant 2 bits, an 8-word wrap round is realized. Burst transfer is possible. Similarly, if the number of bits is increased by 1 bit, it is possible to easily cope with 16, 32, 64, ... Word wrap rounds.

【0059】さらに、上記実施例では両バンクのメモリ
アドレスは最下位ビットのみ別々とする構成により4ワ
ードラップランドバースト転送できるようにしたが、メ
モリアドレスは両バンク共通とする代わりに、メモリバ
ンクの数を「4」とすることにより、4ワードラップラ
ンドバースト転送が可能となる。同様にメモリバンクを
8,16,32…ワードラップラウンドに対応できる。
Further, in the above embodiment, the memory addresses of both banks are set so that only the least significant bit is separated so that 4-word lap land burst transfer can be performed. However, instead of using the same memory address for both banks, By setting the number to "4", 4-word lapland burst transfer becomes possible. Similarly, the memory banks can be used for 8, 16, 32 ... Word wrap round.

【0060】[0060]

【発明の効果】以上説明したように、本発明は各メモリ
バンクへのアクセスモードが設定されると、アドレス設
定制御手段が各バンクのメモリアドレスの両最下位ビッ
トラインを除くアドレスビットラインが共有接続された
複数のメモリバンクへのアドレス設定を制御し、タイミ
ング制御手段がアサートされたカラムアドレスストロー
ブ信号に応じてデータバッファを介した各メモリバンク
への書込みデータまたは各メモリバンクからの読出しデ
ータの転送を制御するように構成したので、リード時、
偶数ワードの転送の時は従来のインターリーブに比べて
メモリアクセスが短くなるため、ローアドレスストロー
ブ信号のプリチャージが早く終了し、各メモリバンクへ
の連続アクセス時におけるオーバーヘッドを軽減するこ
とができる。
As described above, according to the present invention, when the access mode to each memory bank is set, the address setting control means shares the address bit lines except the least significant bit lines of the memory address of each bank. The write data to each memory bank or the read data from each memory bank is controlled by the timing control means in accordance with the asserted column address strobe signal for controlling the address setting to the connected memory banks. Since it is configured to control transfer,
Since memory access becomes shorter when transferring even-numbered words as compared with conventional interleaving, precharging of the row address strobe signal ends earlier, and overhead during continuous access to each memory bank can be reduced.

【0061】また、ライト時、データバッファが両バン
クに1ワードの時、ノーウエイトで動作せることがで
き、各メモリバンクへの連続アクセス時におけるオーバ
ーヘッドを軽減することができる。
Further, at the time of writing, when the data buffer has one word in both banks, the operation can be performed without a wait, and the overhead at the time of continuous access to each memory bank can be reduced.

【0062】さらに、両メモリバンクを同じタイミング
でアクセスするため、メモリアドレスを削減でき、メモ
リ制御回路の構成を小型化できる。
Further, since both memory banks are accessed at the same timing, the memory address can be reduced and the memory control circuit can be downsized.

【0063】また、両メモリバンクの最下位ビットを別
別としたため、バースト転送時、4ワードのラップラウ
ンドアクセスが可能となる等の幾多の優れた効果を奏す
る。
Further, since the least significant bits of both memory banks are separately provided, a number of excellent effects such as 4-word wrap round access becomes possible during burst transfer.

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

【図1】本発明の一実施例を示すメモリ制御回路を有す
る情報処理装置の一例を示すシステム構成図である。
FIG. 1 is a system configuration diagram showing an example of an information processing apparatus having a memory control circuit showing an embodiment of the present invention.

【図2】図1に示したメモリ制御回路の詳細構成を説明
するブロック図である。
FIG. 2 is a block diagram illustrating a detailed configuration of a memory control circuit shown in FIG.

【図3】図2に示したメモリ制御回路の要部詳細構成を
説明するブロック図である。
FIG. 3 is a block diagram illustrating a detailed configuration of a main part of the memory control circuit shown in FIG.

【図4】本発明に係るメモリ制御回路におけるメモリラ
イト動作を説明するタイミングチャートである。
FIG. 4 is a timing chart illustrating a memory write operation in the memory control circuit according to the present invention.

【図5】本発明に係るメモリ制御回路におけるメモリリ
ード動作を説明するタイミングチャートである。
FIG. 5 is a timing chart illustrating a memory read operation in the memory control circuit according to the present invention.

【図6】本発明に係るメモリ制御回路におけるリードア
クセス処理手順の一例を示すフローチャートである。
FIG. 6 is a flowchart showing an example of a read access processing procedure in the memory control circuit according to the present invention.

【図7】本発明に係るメモリ制御回路におけるライトア
クセス処理手順の一例を示すフローチャートである。
FIG. 7 is a flowchart showing an example of a write access processing procedure in the memory control circuit according to the present invention.

【図8】従来のメモリ制御回路の構成を説明するブロッ
ク図である。
FIG. 8 is a block diagram illustrating a configuration of a conventional memory control circuit.

【図9】従来のメモリ制御回路におけるメモリライト動
作を説明するタイミングチャートである。
FIG. 9 is a timing chart explaining a memory write operation in a conventional memory control circuit.

【図10】従来のメモリ制御回路におけるメモリリード
動作を説明するタイミングチャートである。
FIG. 10 is a timing chart explaining a memory read operation in a conventional memory control circuit.

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

1 システムバス 2 システムアドレス/データバス 5 システムデータバス 7 ステートコントローラ 9 制御回路 12 制御回路 14 制御回路 16 アドレスラッチ 17 メモリアドレス制御回路 21 バッファ 22 バッファ 1 System Bus 2 System Address / Data Bus 5 System Data Bus 7 State Controller 9 Control Circuit 12 Control Circuit 14 Control Circuit 16 Address Latch 17 Memory Address Control Circuit 21 Buffer 22 Buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各バンクのメモリアドレスの両最下位ビ
ットラインを除くアドレスビットラインが共有接続され
た複数のメモリバンクと、各メモリバンクへのアクセス
モードに基づいて各メモリバンクに対する同一または個
別のメモリアドレス設定を制御するアドレス設定制御手
段と、このアドレス設定制御手段により設定されたアド
レスに基づくカラムアドレスのアサートタイミングを制
御するタイミング制御手段と、各メモリバンクへの書込
みデータまたは各メモリバンクからの読出しデータを格
納するデータバッファと、前記タイミング制御手段によ
りアサートされたカラムアドレスに基づいて各メモリバ
ンクへの書込みデータまたは各メモリバンクからの読出
しデータの転送を制御する転送制御手段とを有すること
を特徴とするメモリ制御回路。
1. A plurality of memory banks to which address bit lines other than both least significant bit lines of a memory address of each bank are connected in common, and the same or individual memory banks for each memory bank based on an access mode to each memory bank. Address setting control means for controlling the memory address setting, timing control means for controlling the assert timing of the column address based on the address set by the address setting control means, write data to each memory bank or from each memory bank A data buffer for storing read data; and a transfer control means for controlling transfer of write data to each memory bank or read data from each memory bank based on a column address asserted by the timing control means. Characteristic memory Control circuit.
JP19616492A 1992-06-30 1992-06-30 Memory control circuit Pending JPH0619782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19616492A JPH0619782A (en) 1992-06-30 1992-06-30 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19616492A JPH0619782A (en) 1992-06-30 1992-06-30 Memory control circuit

Publications (1)

Publication Number Publication Date
JPH0619782A true JPH0619782A (en) 1994-01-28

Family

ID=16353276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19616492A Pending JPH0619782A (en) 1992-06-30 1992-06-30 Memory control circuit

Country Status (1)

Country Link
JP (1) JPH0619782A (en)

Similar Documents

Publication Publication Date Title
KR100443606B1 (en) Method and system for storing and processing multiple memory addresses
US5022004A (en) Method and apparatus for DRAM memory performance enhancement
JP4737438B2 (en) Information processing apparatus that shares resources among multiple processing units
WO2006091283A2 (en) Memory device and method having multiple internal data buses and memory bank interleaving
KR100679370B1 (en) Word Ordering Method in Memory Devices
US20060059320A1 (en) Memory control device
JP2000315173A (en) Memory controller
KR100298955B1 (en) Data processing system
JP2000020451A (en) Device and method for processing information and provision method
JPH0793274A (en) Data transfer method and data transfer device
JPH0619782A (en) Memory control circuit
JPH08129881A (en) SDRAM control device
JP4606725B2 (en) High speed memory access controller
JP2534321B2 (en) Data transfer control method and apparatus
JP4549073B2 (en) Memory control circuit
JP3201439B2 (en) Direct memory access control circuit
JP2552366B2 (en) Bit block transfer controller
JPH04297936A (en) Memory control circuit
JP3563340B2 (en) Memory controller
JPH0743668B2 (en) Access control device
JP2581144B2 (en) Bus control device
JPH1049437A (en) Dynamic RAM controller
JPH0784866A (en) Memory control circuit
JPH05257800A (en) Information processor
JPS63271561A (en) DMA control circuit