JPH0561761A - Main storage control system - Google Patents

Main storage control system

Info

Publication number
JPH0561761A
JPH0561761A JP3219573A JP21957391A JPH0561761A JP H0561761 A JPH0561761 A JP H0561761A JP 3219573 A JP3219573 A JP 3219573A JP 21957391 A JP21957391 A JP 21957391A JP H0561761 A JPH0561761 A JP H0561761A
Authority
JP
Japan
Prior art keywords
signal
dram
timing
stage
timing information
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.)
Withdrawn
Application number
JP3219573A
Other languages
Japanese (ja)
Inventor
Koichi Odawara
孝一 小田原
Kiyoshi Sudo
清 須藤
Kiminari Ogura
仁成 小椋
Tatsuya Yamaguchi
達也 山口
Yasutomo Sakurai
康智 桜井
Takumi Nonaka
巧 野中
Eiji Kanetani
英治 金谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3219573A priority Critical patent/JPH0561761A/en
Publication of JPH0561761A publication Critical patent/JPH0561761A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To change the control timing of a memory controller without requiring large man-hour and cost in the case of updating a DRAM by comparing control timing information and a stage signal and turning-on the respective signals when they are coincident. CONSTITUTION:A memory controller 2 is equipped with a stage circuit 4 to generate the stage signal by starting the operation when being accessed from a CPU through a memory bus 1, and a timing circuit part 8 to transmit timing information. The timing storage part 8 transmits the timing information to a DRAM signal control part 5, DRAM address control part 6 and DRAM data control part 7 corresponding to the kind of access from the CPU. The respective control parts 5-7 compare the stage signal from the stage circuit 4 with the timing information from the timing storage part 8 and when the compared result is equal, respective output signals to a DRAM 3 are turned on. Therefore, the change of access time due to the change of the DRAM is limited only for the information in the storage part 8.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、主記憶制御方式に関
し、特に、DRAMで構成される主記憶装置のアクセス
制御を行うメモリ制御装置の制御タイミングを容易に変
更することができる主記憶制御方式に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a main memory control system, and more particularly to a main memory control system capable of easily changing the control timing of a memory control device for controlling access to a main memory device composed of a DRAM. Regarding

【0002】[0002]

【従来の技術】近年、コンピュータシステムの高速化に
伴い、主記憶装置の高速化が要求されている。最近、ア
クセス速度の大きいDRAMが開発されており、これを
主記憶装置として使用するコンピュータが多くなってき
た。
2. Description of the Related Art In recent years, as the speed of computer systems has increased, there has been a demand for speeding up of main storage devices. Recently, a DRAM having a high access speed has been developed, and an increasing number of computers use it as a main storage device.

【0003】図6は、主記憶装置としてDRAMを使用
したコンピュータにおける主記憶制御方式を示す。図6
において、1は他の主記憶装置やCPUに接続されてい
るメモリバス、3は主記憶装置として使用されるDRA
M、2’はメモリバス1からのDRAM3に対するアク
セスを制御するメモリ制御装置である。
FIG. 6 shows a main memory control system in a computer using a DRAM as a main memory device. Figure 6
In FIG. 1, 1 is a memory bus connected to another main memory or a CPU, and 3 is a DRA used as a main memory
M and 2 ′ are memory control devices for controlling access to the DRAM 3 from the memory bus 1.

【0004】メモリ制御装置2’は、メモリバス1を通
じてCPUからアクセスされるとクロックのカウント動
作を開始し、アクセス開始からのステージ(アクセス開
始から終了までをクロックサイクルを単位として表した
時間的段階)を示すステージ信号を生成するステージ回
路4と、ステージ回路4からステージ信号を受けDRA
M3のRAS(ローアドレス選択)、CAS(カラムア
ドレス選択)等の制御信号を制御するDRAM信号制御
部5’と、ステージ回路4からステージ信号を受けDR
AMアドレス信号を制御するDRAMアドレス制御部
6’と、ステージ回路4からステージ信号を受けDRA
M3のリード/ライト(読み出し/書き込み)データを
制御するDRAMデータ制御部7’とを有する。
The memory controller 2'starts a clock counting operation when it is accessed from the CPU via the memory bus 1, and a stage from the start of access (a time step in which the cycle from the start to the end of the access is represented by a clock cycle). ), Which generates a stage signal indicating that the DRA receives the stage signal from the stage circuit 4.
A DRAM signal control unit 5 ′ that controls control signals such as RAS (row address selection) and CAS (column address selection) of M3, and DR that receives a stage signal from the stage circuit 4
A DRAM address control unit 6'for controlling an AM address signal and a DRA for receiving a stage signal from the stage circuit 4
And a DRAM data control unit 7'for controlling read / write (read / write) data of M3.

【0005】DRAM信号制御部5’、DRAMアドレ
ス制御部6’、およびDRAMデータ制御部7’は、予
め定められたステージタイミングでDRAM3への制御
信号、アドレス信号、およびデータ信号をそれぞれ送出
するようになっている。
The DRAM signal control unit 5 ', the DRAM address control unit 6', and the DRAM data control unit 7'transmit the control signal, the address signal, and the data signal to the DRAM 3 at a predetermined stage timing. It has become.

【0006】[0006]

【発明が解決しようとする課題】上述のように、従来の
メモリ制御装置2’の各制御部5’,6’,7’は、D
RAM3のアクセスの仕様に合わせて作られている。従
って、DRAM3を高速なものに変えることによってそ
のアクセスの高速化を計ろうとする場合、メモリ制御装
置2’を新しいDRAM3に合わせて作り変えなければ
ならない。
As described above, each control unit 5 ', 6', 7'of the conventional memory control device 2'is
It is made according to the access specifications of RAM3. Therefore, in order to speed up the access by changing the DRAM 3 to a high-speed one, the memory control device 2 ′ must be rebuilt according to the new DRAM 3.

【0007】このことは、特に、メモリ制御装置2’が
LSIで構成されている場合には、新たな開発のために
大きな工数および費用を必要とするという問題があっ
た。本発明は、上記従来の技術の欠点を除去し、DRA
Mの更新時等において、大きな工数および費用を必要と
することなくメモリ制御装置の制御タイミングの変更が
可能な主記憶制御方式を提供することを目的とする。
This has a problem that particularly when the memory control device 2'is formed of an LSI, a large number of man-hours and costs are required for new development. The present invention eliminates the above-mentioned drawbacks of the prior art and improves DRA.
An object of the present invention is to provide a main memory control method capable of changing the control timing of the memory control device without requiring a large number of steps and cost when updating M or the like.

【0008】[0008]

【課題を解決するための手段】本発明による主記憶制御
方式は、DRAMで構成される主記憶装置と、DRAM
へのアクセスの開始からのステージを表すステージ信号
を出力するステージ回路と、DRAMへのアクセスのた
めの制御信号、アドレス信号およびデータ信号の各オン
オフのタイミングをステージと関連付けて表すタイミン
グ情報を格納する手段と、タイミング情報とステージ信
号とを比較し、一致した時、制御信号、アドレス信号お
よびデータ信号をオンに制御する手段とを備えて構成さ
れる。
SUMMARY OF THE INVENTION A main memory control system according to the present invention includes a main memory device composed of a DRAM and a DRAM.
A stage circuit that outputs a stage signal that indicates the stage from the start of access to the memory, and timing information that indicates the ON / OFF timings of control signals, address signals, and data signals for accessing the DRAM in association with the stage are stored. And means for comparing the timing information and the stage signal and controlling the control signal, the address signal and the data signal to be ON when they match.

【0009】[0009]

【作用】上記構成により、DRAMへアクセスするため
に必要なRAS、CAS等の制御信号、アドレス信号お
よびデータ信号をオンオフするタイミングをステージと
関連付けて表すタイミング情報が、予めタイミング情報
格納手段に格納される。
With the above structure, the timing information storing means stores in advance the timing information representing the timings for turning on and off the control signals such as RAS and CAS, the address signals and the data signals necessary for accessing the DRAM in association with the stage. It

【0010】上記制御する手段は、各制御信号、アドレ
ス信号およびデータ信号に関する各タイミング情報とス
テージ信号とを比較し、一致した時、それぞれの信号を
オンにする。これにより、DRAMが変わっても、上記
格納手段に格納されるタイミング情報だけを変更すれば
よくハードウェアを変更する必要はない。
The means for controlling compares the timing information regarding each control signal, the address signal and the data signal with the stage signal, and turns on each signal when they match. As a result, even if the DRAM is changed, only the timing information stored in the storage means needs to be changed, and it is not necessary to change the hardware.

【0011】[0011]

【実施例】以下、本発明の実施例について、図面を参照
して、詳細に説明する。図1は、本発明の基本構成を示
す。図1において、1は、他の主記憶装置やCPUに接
続されているメモリバス、2は、メモリバス1に接続さ
れたメモリ制御装置、3は、主記憶装置としてメモリ制
御装置2によってアクセス制御されるDRAMである。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 shows the basic configuration of the present invention. In FIG. 1, 1 is a memory bus connected to another main storage device or CPU, 2 is a memory control device connected to the memory bus 1, and 3 is access control by the memory control device 2 as a main storage device. It is a DRAM that is used.

【0012】メモリ制御装置2は、メモリバス1を通じ
てCPUからアクセスされると動作を開始しステージ信
号を生成するステージ回路4と、ステージ回路4からの
ステージ信号と後述するタイミング格納部8からのタイ
ミング情報を受けDRAM3のRAS、CAS等の制御
信号を出力するDRAM信号制御部5と、ステージ回路
4からのステージ信号とタイミング格納部8からのタイ
ミング情報を受けDRAM3のアドレスを制御するDR
AMアドレス制御部6と、ステージ回路4からのステー
ジ信号とタイミング格納部8からのタイミング情報を受
けDRAM3ののリード/ライトデータを制御するDR
AMデータ制御部7と、タイミング格納部8とを有す
る。
The memory control device 2 starts operation when accessed by the CPU through the memory bus 1 and generates a stage signal, a stage signal from the stage circuit 4 and a timing from a timing storage unit 8 described later. A DRAM signal control unit 5 that receives information and outputs control signals such as RAS and CAS of the DRAM 3, and a DR that receives the stage signal from the stage circuit 4 and the timing information from the timing storage unit 8 and controls the address of the DRAM 3
A DR which receives the stage signal from the AM address control unit 6 and the stage circuit 4 and the timing information from the timing storage unit 8 and controls the read / write data of the DRAM 3.
It has an AM data control unit 7 and a timing storage unit 8.

【0013】タイミング格納部8は、メモリバス1を通
じてCPUからアクセスされ、そのアクセスの種類に応
じて各制御部5,6および7に対してタイミング情報を
送出する。
The timing storage unit 8 is accessed by the CPU through the memory bus 1 and sends timing information to the control units 5, 6 and 7 according to the type of access.

【0014】各制御部5,6および7は、ステージ回路
4からのステージ信号とタイミング格納部8からのタイ
ミング情報とを比較し、比較結果が一致の時に、DRA
M3に対するそれぞれの出力信号をオンにする制御を行
う。
Each of the control units 5, 6 and 7 compares the stage signal from the stage circuit 4 with the timing information from the timing storage unit 8 and when the comparison results are in agreement, the DRA
Control to turn on each output signal to M3 is performed.

【0015】図2は、本発明の一実施例を示す。図2に
おいて、メモリバス1のスタート信号線1aは、入力バ
ッファ9を介してステージカウンタ14およびメモリバ
ス監視部15と接続される。
FIG. 2 shows an embodiment of the present invention. In FIG. 2, the start signal line 1 a of the memory bus 1 is connected to the stage counter 14 and the memory bus monitoring unit 15 via the input buffer 9.

【0016】ステージカウンタ14は、アクセス開始を
示すスタート信号を受信すると、クロックカウントを開
始し、ステージを1−8で表すステージ信号を出力す
る。メモリバス監視部15は、スタート信号を受信する
と、アドレスバッファ16、モードバッファ18、ライ
トデータバッファ19、およびバッファ13を動作可能
にする。
When the stage counter 14 receives a start signal indicating the start of access, it starts clock counting and outputs a stage signal represented by 1-8. Upon receiving the start signal, the memory bus monitoring unit 15 enables the address buffer 16, the mode buffer 18, the write data buffer 19, and the buffer 13.

【0017】アドレスバス1bを通じて入力するアドレ
スは、入力バッファ10を介して、アドレスバッファ1
6に格納される。アドレスバッファ16は、デコーダ1
7およびマルチプレクサ36へアドレスを送る。デコー
ダ17は、アドレスをデコードし、タイミング格納部8
に対してタイミング情報レジスタを指定する信号を送出
する。
The address input via the address bus 1b is transferred via the input buffer 10 to the address buffer 1
6 is stored. The address buffer 16 is the decoder 1
7 and the address to multiplexer 36. The decoder 17 decodes the address, and the timing storage unit 8
A signal designating a timing information register is sent to.

【0018】メモリバス1からのアクセスがリードかラ
イトかを示すモード信号は、バッファ11を介してモー
ドバッファ18に入力する。モードバッファ18は、読
み出しモードの時オンとなり、書き込みモードの時オフ
となるリード信号を、マルチプレクサ20,21および
22の各選択信号として、また、AND回路23および
24の各一方の入力として供給する。
A mode signal indicating whether the access from the memory bus 1 is a read or a write is input to the mode buffer 18 via the buffer 11. The mode buffer 18 supplies a read signal that is turned on in the read mode and turned off in the write mode as selection signals for the multiplexers 20, 21 and 22 and as an input to each of the AND circuits 23 and 24. ..

【0019】メモリバス1のデータバス1dは、入力バ
ッファ12、ライトデータバッファ19、および出力バ
ッファ33を介してDRAM3のデータ端子と接続さ
れ、この経路を経てメモリバス1からDRAM3へデー
タが書き込まれる。
The data bus 1d of the memory bus 1 is connected to the data terminal of the DRAM 3 via the input buffer 12, the write data buffer 19 and the output buffer 33, and the data is written from the memory bus 1 to the DRAM 3 via this path. ..

【0020】また、データバス1dは、出力バッファ1
3、リードバッファ30、および入力バッファ34を介
してDRAM3のデータ端子と接続され、この経路を経
てDRAM3からメモリバス1へデータが読み出され
る。
The data bus 1d is connected to the output buffer 1
3, the read buffer 30, and the input buffer 34 are connected to the data terminal of the DRAM 3, and the data is read from the DRAM 3 to the memory bus 1 via this path.

【0021】タイミング格納部8は、タイミング情報レ
ジスタ8−1,8−2,8−3,8−4,8−5,8−
6,8−7および8−8を有する。DRAM3のアクセ
スのために必要な各信号のタイミング情報が、デコーダ
17の出力によって指定されるタイミング情報レジスタ
に格納される。
The timing storage unit 8 includes timing information registers 8-1, 8-2, 8-3, 8-4, 8-5, 8-.
6,8-7 and 8-8. The timing information of each signal required for accessing the DRAM 3 is stored in the timing information register designated by the output of the decoder 17.

【0022】タイミング情報レジスタ8−1,8−2,
8−3,8−4には、それぞれ、リード時のRASをオ
ンにするタイミングを指定するリードRASオン情報、
ライト時のRASをオンにするタイミングを指定するラ
イトRASオン情報、リード時のRASをオフにするタ
イミングを指定するリードRASオフ情報、ライト時の
RASをオフにするタイミングを指定するライトRAS
オフ情報が格納される。
Timing information registers 8-1, 8-2,
Read RAS on information 8-3 and 8-4 respectively specify the timing to turn on the RAS at the time of read,
Write RAS on information that specifies the timing to turn on the RAS during writing, read RAS off information that specifies the timing to turn off the RAS during reading, write RAS that specifies the timing to turn off the RAS during writing
Off information is stored.

【0023】タイミング情報レジスタ8−5,8−6,
8−7,8−8には、それぞれ、リード時のアドレスを
供給するタイミングに関する情報、ライト時のアドレス
を供給するタイミングに関する情報、リード時のデータ
のタイミングに関する情報、および、ライト時のデータ
のタイミングに関する情報が格納される。
Timing information registers 8-5, 8-6,
8-7 and 8-8 respectively show information regarding the timing of supplying an address during reading, information regarding the timing of supplying an address during writing, information regarding the timing of data during reading, and data during writing. Information about timing is stored.

【0024】タイミング情報レジスタ8−1および8−
2はマルチプレクサ20に接続される。マルチプレクサ
20は、モードバッファ18からのリード信号がオンま
たはオフの時に、リードRASオン情報またはライトR
ASオン情報をそれぞれ選択する。
Timing information registers 8-1 and 8-
2 is connected to the multiplexer 20. The multiplexer 20 reads the read RAS on information or the write R when the read signal from the mode buffer 18 is on or off.
Select AS-on information respectively.

【0025】タイミング情報レジスタ8−3および8−
4はマルチプレクサ21に接続される。マルチプレクサ
21は、モードバッファ18からのリード信号がオンま
たはオフの時に、リードRASオフ情報またはライトR
ASオフ情報をそれぞれ選択する。
Timing information registers 8-3 and 8-
4 is connected to the multiplexer 21. The multiplexer 21 reads the read RAS off information or the write R when the read signal from the mode buffer 18 is on or off.
AS off information is selected respectively.

【0026】タイミング情報レジスタ8−5および8−
6はマルチプレクサ22に接続される。マルチプレクサ
22は、モードバッファ18からのリード信号がオンま
たはオフの時に、リードアドレス情報またはライトアド
レス情報をそれぞれ選択する。
Timing information registers 8-5 and 8-
6 is connected to the multiplexer 22. The multiplexer 22 selects the read address information or the write address information when the read signal from the mode buffer 18 is on or off, respectively.

【0027】タイミング情報レジスタ8−7および8−
8は、AND回路23および24の各他方の入力端子
に、それぞれ接続される。AND回路23および24
は、それぞれ、モードバッファ18からのリード信号が
オンまたはオフの時に、リードデータ情報またはライト
データ情報をそれぞれ選択する。
Timing information registers 8-7 and 8-
8 is connected to the other input terminals of the AND circuits 23 and 24, respectively. AND circuits 23 and 24
Respectively select read data information or write data information when the read signal from the mode buffer 18 is on or off.

【0028】マルチプレクサ20,21および22の出
力は、それぞれ、比較器25,26および27の各一方
の入力端子に接続される。AND回路23および24の
出力は比較器28および29の各一方の入力端子に接続
される。
The outputs of the multiplexers 20, 21 and 22 are connected to the input terminals of the comparators 25, 26 and 27, respectively. The outputs of the AND circuits 23 and 24 are connected to the input terminals of the comparators 28 and 29, respectively.

【0029】比較器25,26,27,28および29
の各他方の入力端子には、ステージカウンタ14の出力
端子が共通に接続される。各比較器は、それぞれ対応す
るマルチプレクサの出力とステージ信号を比較し、一致
した場合にオン信号を出力する。
Comparators 25, 26, 27, 28 and 29
The output terminal of the stage counter 14 is commonly connected to each of the other input terminals of the. Each comparator compares the output of the corresponding multiplexer with the stage signal, and outputs an ON signal when they match.

【0030】比較器25および26の各出力端子は、J
Kフリップフロップ31のJ端子およびK端子に、それ
ぞれ、接続される。JKフリップフロップ31のQ出力
信号は、バッファ35を介してRAS信号となる。
The output terminals of the comparators 25 and 26 are J
It is connected to the J terminal and the K terminal of the K flip-flop 31, respectively. The Q output signal of the JK flip-flop 31 becomes the RAS signal via the buffer 35.

【0031】RAS信号は、比較器25からの一致信号
がオンになると、その次のクロックでオンとなり、比較
器26からの一致信号がオンになると、その次のクロッ
クでオフとなる。オフとなる。
The RAS signal turns on at the next clock when the match signal from the comparator 25 turns on, and turns off at the next clock when the match signal from the comparator 26 turns on. Turns off.

【0032】マルチプレクサ20および21、比較器2
5および26、フリップフロップ31,ならびにバッフ
ァ35は図1のDRAM信号制御部5のRAS部分を形
成する。なお、図2においては、タイミング情報および
制御線はRASの分しか示していないが、他の制御信号
CAS、OEおよびWEの分についても同様である。
Multiplexers 20 and 21, comparator 2
5 and 26, flip-flop 31, and buffer 35 form the RAS portion of DRAM signal control unit 5 of FIG. Although the timing information and the control line are shown only for RAS in FIG. 2, the same applies to the other control signals CAS, OE and WE.

【0033】比較器27の出力(アドレス情報)は、フ
リップフロップ32のJ入力となる。フリップフロップ
32は、比較器27からの一致信号がオンになると、そ
の次のクロックでQ出力をオンにする。このQ出力は、
マルチプレクサ36の選択信号となる。
The output (address information) of the comparator 27 becomes the J input of the flip-flop 32. When the coincidence signal from the comparator 27 is turned on, the flip-flop 32 turns on the Q output at the next clock. This Q output is
It serves as a selection signal for the multiplexer 36.

【0034】マルチプレクサ36は、アドレスバッファ
16からローアドレスおよびカラムアドレスを入力し、
フリップフロップ32からの選択信号によって、いずれ
か一方を選択し、バッファ37を介してDRAMアドレ
ス信号としてDRAM3へ出力する。
The multiplexer 36 inputs the row address and the column address from the address buffer 16,
Either one is selected by the selection signal from the flip-flop 32 and is output to the DRAM 3 via the buffer 37 as a DRAM address signal.

【0035】マルチプレクサ22、比較器27、フリッ
プフロップ32、マルチプレクサ36およびバッファ3
7は、図1におけるDRAMアドレス制御部6を形成す
る。
The multiplexer 22, the comparator 27, the flip-flop 32, the multiplexer 36 and the buffer 3
Reference numeral 7 forms the DRAM address control unit 6 in FIG.

【0036】比較器28の出力は、リードバッファ30
の制御信号となる。つまり、比較器28の出力がオンの
時、DRAM3からリードバッファ30を通じて、デー
タがメモリバス1へ読み出される。
The output of the comparator 28 is the read buffer 30.
Control signal. That is, when the output of the comparator 28 is on, the data is read from the DRAM 3 to the memory bus 1 through the read buffer 30.

【0037】比較器29の出力は、出力バッファ33の
制御信号となる。つまり、比較器29の出力がオンの
時、出力バッファ33を通じて、データがDRAM3へ
送られる。
The output of the comparator 29 becomes a control signal for the output buffer 33. That is, when the output of the comparator 29 is on, the data is sent to the DRAM 3 through the output buffer 33.

【0038】AND回路23および24、比較器28お
よび29、ならびにバッファ30、33および34は、
図1におけるDRAMデータ制御部7を形成する。
The AND circuits 23 and 24, the comparators 28 and 29, and the buffers 30, 33 and 34 are
The DRAM data control unit 7 in FIG. 1 is formed.

【0039】以下、図2の回路の動作について説明す
る。図3は、書き込み(ライト)動作の一例を示すタイ
ミングチャートである。
The operation of the circuit shown in FIG. 2 will be described below. FIG. 3 is a timing chart showing an example of the write operation.

【0040】図3において、(A)は、ステージカウン
タ14がカウントするクロック信号である。(B)は、
ステージカウンタ14から出力されるステージ信号であ
って、1から8までのステージを設定する。
In FIG. 3, (A) is a clock signal counted by the stage counter 14. (B) is
It is a stage signal output from the stage counter 14 and sets stages 1 to 8.

【0041】(C)はRAS信号、(D)はCAS信号
(いずれもローレベルでオン)、(E)はアドレス信
号、(F)はデータ信号である。図3の(A)〜(F)
の各信号が図示のタイミングになるように、各信号に対
応したタイミング情報レジスタにタイミング情報が予め
セットされる。
(C) is a RAS signal, (D) is a CAS signal (all are on at a low level), (E) is an address signal, and (F) is a data signal. 3A to 3F
The timing information is set in advance in the timing information register corresponding to each signal so that each signal of FIG.

【0042】まず、メモリバス1からタイミング情報が
つぎの要領で各タイミング情報レジスタに入力される。
始めに、メモリバス1よりアドレスが送出され、アドレ
スバッファ16にセットされる。このアドレスはデコー
ダ17でデコードされ、その結果、タイミング情報をセ
ットすべきタイミング情報レジスタが決定される。
First, timing information is input from the memory bus 1 to each timing information register in the following manner.
First, an address is sent out from the memory bus 1 and set in the address buffer 16. This address is decoded by the decoder 17, and as a result, the timing information register in which the timing information should be set is determined.

【0043】また、ライトを指定するモード信号がモー
ドバッファ18にセットされる。次に、メモリバス1か
らのタイミング情報が、ライトデータバッファ19を経
て、デコーダ17によって指定されたタイミング情報レ
ジスタに書き込まれる。
A mode signal designating writing is set in the mode buffer 18. Next, the timing information from the memory bus 1 is written into the timing information register designated by the decoder 17 via the write data buffer 19.

【0044】図3のタイミングチャートのタイミングに
従ってタイミング情報を作るには次のように行う。RA
Sはステージ1の終わりでオンになるから、タイミング
情報レジスタ8−2のライトRASオン情報は1にセッ
トされ、タイミング情報レジスタ8−4のライトRAS
オフ情報は7にセットされる。
The timing information is generated according to the timing shown in the timing chart of FIG. 3 as follows. RA
Since S is turned on at the end of stage 1, the write RAS on information of the timing information register 8-2 is set to 1, and the write RAS of the timing information register 8-4 is set.
Off information is set to 7.

【0045】アドレスは、ステージ2の終点でローアド
レスからカラムアドレスに変わるから、タイミング情報
レジスタ8−6のライトアドレス情報は2にセットされ
る。データはステージ6で出力されるから、タイミング
情報レジスタ8−8のライトデータ情報は、6にセット
される。
Since the address changes from the row address to the column address at the end of stage 2, the write address information of the timing information register 8-6 is set to 2. Since the data is output at the stage 6, the write data information of the timing information register 8-8 is set to 6.

【0046】なお、ライトとリードとで格納するタイミ
ング情報レジスタが異なるのは、ライトとリードで動作
タイミングが異なるからである。上記と同様の手順で、
全てのタイミング情報レジスタにタイミング情報が設定
される。全てのタイミング情報の設定が終了すると、D
RAM3の動作が可能となる。
The timing information register to store the write information differs from that to the read information because the operation timing is different between the write operation and the read operation. With the same procedure as above,
Timing information is set in all timing information registers. When all the timing information has been set, D
The RAM 3 can be operated.

【0047】次に、図3に示すライト動作について説明
する。メモリバス1に接続されるCPUからDRAM3
にライトアクセスする場合、まず、スタート信号がオン
になり、ステージカウンタ14が動作を開始し、ステー
ジカウントを1から1クロックサイクルについて1ずつ
ステージ番号を増加していく。
Next, the write operation shown in FIG. 3 will be described. From the CPU connected to the memory bus 1 to the DRAM 3
In the case of write access, first, the start signal is turned on, the stage counter 14 starts operating, and the stage count is incremented by 1 for each one clock cycle.

【0048】メモリバス監視部15は、スタート信号を
受信すると、アドレスバッファ16、モードバッファ1
8およびライトデータバッファ19を動作可能にする。
その結果、アドレスバッファ16にはアドレスが、モー
ドバッファ18には書き込みモードであることを示す信
号が、そして、ライトデータバッファ19には、データ
が、それぞれ、格納される。
Upon receiving the start signal, the memory bus monitor 15 receives the address buffer 16 and the mode buffer 1.
8 and write data buffer 19 are enabled.
As a result, the address is stored in the address buffer 16, the signal indicating the write mode is stored in the mode buffer 18, and the data is stored in the write data buffer 19.

【0049】この場合ライトであるので、モードバッフ
ァ18の出力のリード信号はオフである。従って、マル
チプレクサ20、21および22、ならびに、AND回
路23および24は、全て、ライト関係のタイミング情
報レジスタの出力を選択する。
In this case, since it is a write, the read signal output from the mode buffer 18 is off. Therefore, the multiplexers 20, 21 and 22, and the AND circuits 23 and 24 all select the output of the write-related timing information register.

【0050】RAS信号の制御は、次のように行われ
る。ステージ1で、マルチプレクサ20の出力とステー
ジ信号が一致し、比較器25の一致信号はオンになる。
その結果、JKフリップフロップ31のJ入力がオンと
なるので、次のクロックでRAS信号はオンになる。
The control of the RAS signal is performed as follows. In stage 1, the output of the multiplexer 20 matches the stage signal, and the match signal of the comparator 25 turns on.
As a result, the J input of the JK flip-flop 31 turns on, and the RAS signal turns on at the next clock.

【0051】ステージ7で、マルチプレクサ21の出力
とステージ信号が一致し、比較器26の一致信号はオン
になる。その結果、フリップフロップ31のK入力がオ
ンになるので、次のクロックでRAS信号はオフにな
る。
At stage 7, the output of the multiplexer 21 matches the stage signal, and the match signal of the comparator 26 turns on. As a result, the K input of the flip-flop 31 turns on, and the RAS signal turns off at the next clock.

【0052】アドレス制御は、次のように行われる。ス
テージ2で、マルチプレクサ22の出力とステージ信号
が一致し、比較器27の一致信号はオンになる。その結
果、フリップフロップ32のJ入力がオンになるので、
次のクロックでQ信号はオンになり、マルチプレクサ3
6の切り換えが行われ、DRAMアドレス出力が、ロー
アドレスからカラムアドレスに変化する。
Address control is performed as follows. In stage 2, the output of the multiplexer 22 and the stage signal match, and the match signal of the comparator 27 turns on. As a result, the J input of the flip-flop 32 is turned on,
At the next clock, the Q signal turns on and the multiplexer 3
6 is switched, and the DRAM address output changes from the row address to the column address.

【0053】データ制御は、次のように行われる。リー
ド信号がオフであるので、タイミング情報レジスタ8−
7のリードデータ情報出力は、AND回路23で抑止さ
れ比較器28には伝わらない。タイミング情報レジスタ
8−8のライトデータ情報は、AND回路24を通って
比較器29でステージ信号と比較される。
Data control is performed as follows. Since the read signal is off, the timing information register 8-
The read data information output of 7 is suppressed by the AND circuit 23 and is not transmitted to the comparator 28. The write data information of the timing information register 8-8 passes through the AND circuit 24 and is compared with the stage signal by the comparator 29.

【0054】ステージ6で比較器29の一致信号がオン
となり、出力バッファ33を動作可能にする。その結
果、ライトデータバッファ19に格納されているデータ
が、DRAM3へ出力される。
At the stage 6, the coincidence signal of the comparator 29 is turned on to enable the output buffer 33. As a result, the data stored in the write data buffer 19 is output to the DRAM 3.

【0055】以上、図2の回路のライト動作について述
べたが、リードモードの場合には、タイミング格納部8
のリード関係のタイミング情報レジスタに格納されるタ
イミング情報と、ステージ信号とを比較することによっ
て、ライトの場合と同様に制御される。
The write operation of the circuit of FIG. 2 has been described above. In the read mode, the timing storage unit 8 is used.
By comparing the timing information stored in the read-related timing information register with the stage signal, control is performed in the same manner as in the case of writing.

【0056】ただし、リードの場合は、比較器28が動
作し、タイミング情報レジスタ8−7のリードデータ情
報によってリードバッファ30を動作可能にする。一
方、メモリバス監視部15によってバッファ13が動作
可能となる。その結果、リードデータ情報によるタイミ
ングでDRAM3からメモリバス1へデータが転送され
る。
However, in the case of reading, the comparator 28 operates and the read buffer 30 becomes operable according to the read data information of the timing information register 8-7. On the other hand, the memory bus monitoring unit 15 enables the buffer 13 to operate. As a result, the data is transferred from the DRAM 3 to the memory bus 1 at the timing according to the read data information.

【0057】上述のように、本実施例では、タイミング
格納部8を構成する各タイミング情報レジスタに格納さ
れるタイミング情報は、各信号がオンまたはオフとなる
タイミングをステージ番号で表す。そして、各タイミン
グ情報と現ステージとが一致した時、対応する信号をオ
ンにする。
As described above, in the present embodiment, the timing information stored in each timing information register forming the timing storage unit 8 indicates the timing when each signal is turned on or off by the stage number. Then, when each timing information matches the current stage, the corresponding signal is turned on.

【0058】このようにすることによって、DRAMが
変わっても、新しいDRAMの制御タイミングに応じ
て、必要なタイミング情報レジスタ内のタイミング情報
を入れ換えればよく、メモリ制御装置全体を設計製作し
直す必要がない。
By doing so, even if the DRAM is changed, the necessary timing information in the timing information register may be exchanged according to the control timing of the new DRAM, and it is necessary to redesign and manufacture the entire memory control device. There is no.

【0059】図4および図5は、本発明の他の実施例を
示す。本実施例は、DRAM3のページライトアクセス
の例であって、CAS信号が8ステージの間に2回オン
オフを行うことによって2回のページアクセスを行う。
図5は、クロック、ステージ信号、RAS信号、および
CAS信号の各波形を示す。図4は、図5に示すタイミ
ングを実現するための回路のCAS信号に関する部分を
示す。
4 and 5 show another embodiment of the present invention. The present embodiment is an example of page write access of the DRAM 3, and the page access is performed twice by turning the CAS signal on and off twice during eight stages.
FIG. 5 shows waveforms of a clock, a stage signal, a RAS signal, and a CAS signal. FIG. 4 shows a portion related to the CAS signal of the circuit for realizing the timing shown in FIG.

【0060】図4において、ステージカウンタ14は、
メモリバス1からのスタート信号をカウントし、ステー
ジ信号を出力する。デコーダ39は、ステージ信号をデ
コードし、それぞれステージ番号と同じ番号の信号SG
1〜SG8を8つのAND回路40〜47へ出力する。
In FIG. 4, the stage counter 14 is
The start signal from the memory bus 1 is counted and the stage signal is output. The decoder 39 decodes the stage signal and outputs the signal SG having the same number as the stage number.
1 to SG8 are output to eight AND circuits 40 to 47.

【0061】タイミング情報レジスタ8−9は、リード
時のCAS情報、タイミング情報レジスタ8−10は、
ライト時のCAS情報を格納する。タイミング情報レジ
スタ8−9または8−10の出力が、前実施例と同様に
マルチプレクサ38によって選択される。
The timing information register 8-9 is the CAS information at the time of reading, and the timing information register 8-10 is
The CAS information at the time of writing is stored. The output of the timing information register 8-9 or 8-10 is selected by the multiplexer 38 as in the previous embodiment.

【0062】マルチプレクサ38の出力は、AND回路
40〜47の各他方の入力端子に順次入力する。OR回
路48は、AND回路40〜47の全出力の論理和をと
り、その結果をフリップフロップ49へ出力する。フリ
ップフロップ49は1クロック遅れでDRAMのCAS
信号を出力する。
The output of the multiplexer 38 is sequentially input to the other input terminals of the AND circuits 40 to 47. The OR circuit 48 takes the logical sum of all outputs of the AND circuits 40 to 47 and outputs the result to the flip-flop 49. The flip-flop 49 is delayed by one clock and is the CAS of the DRAM.
Output a signal.

【0063】図5に示す各信号のタイミングに従い、次
のようにライトCAS情報を形成する。 ライトCAS
情報を1−8のステージ番号に対応する8ビットで形成
し、各ビットをCAS1〜CAS8と名付ける。
Write CAS information is formed as follows in accordance with the timing of each signal shown in FIG. Light CAS
Information is formed by 8 bits corresponding to the stage numbers 1-8, and each bit is named CAS1 to CAS8.

【0064】CAS1〜CAS8は、対応するステージ
の次のステージでCAS信号がオンになる場合には1、
オフになる場合には0にされる。従って、図5の場合
は、CAS情報は“00101000”となり、これが
タイミング情報レジスタ8−10に格納される。
CAS1 to CAS8 are 1 when the CAS signal is turned on in the stage next to the corresponding stage,
When it is turned off, it is set to 0. Therefore, in the case of FIG. 5, the CAS information is "00101000", which is stored in the timing information register 8-10.

【0065】以下、上記のライトタイミング情報による
動作について説明する。図2の実施例で説明したと同様
に、メモリバス1からのスタート信号によってステージ
カウンタ14が動作を開始する。この場合、ライトであ
るので、タイミング情報レジスタ8−10のライトCA
S情報がマルチプレクサ38によって選択され、上述の
CAS1〜CAS8が出力される。
The operation based on the above write timing information will be described below. As in the embodiment described with reference to FIG. 2, the start signal from the memory bus 1 causes the stage counter 14 to start operating. In this case, since it is a write, the write CA of the timing information register 8-10
The S information is selected by the multiplexer 38, and the above CAS1 to CAS8 are output.

【0066】タイミング情報は“00101000”で
あるので、CAS3とCAS5のみ1で、その他は0で
ある。まず、ステージ1と2では、SG1とSG2が順
にオンとなるが、CAS1とCAS2がオフなので、A
ND回路40および41の出力はオフである。
Since the timing information is "00101000", only CAS3 and CAS5 are 1 and the others are 0. First, in stages 1 and 2, SG1 and SG2 are sequentially turned on, but since CAS1 and CAS2 are off, A
The outputs of the ND circuits 40 and 41 are off.

【0067】ステージ3では、SG3とCAS3がオン
であるので、AND回路42の出力はオン、従って、0
R回路48の出力はオンとなり、フリップフロップ49
をセットする。その結果、次のステージ4でDRAM3
のCAS信号はオンとなる。
In stage 3, since SG3 and CAS3 are on, the output of the AND circuit 42 is on, and therefore 0.
The output of the R circuit 48 is turned on, and the flip-flop 49
Set. As a result, in the next stage 4, the DRAM 3
The CAS signal of is turned on.

【0068】ステージ4ではCAS4がオフなので、A
ND回路43の出力はオフである。ステージ5でCAS
5がオンなので、AND回路44の出力はオン、従っ
て、OR回路48の出力がオンとなり、フリップフロッ
プ49をセットする。その結果、次のステージ6でDR
AM3のCAS信号はオンとなる。ステージ6−8で
は、CAS6−8がオフAND回路45〜47の出力は
オンにならない。
At stage 4, since CAS4 is off, A
The output of the ND circuit 43 is off. CAS on stage 5
Since 5 is on, the output of the AND circuit 44 is on, so the output of the OR circuit 48 is on and the flip-flop 49 is set. As a result, DR in the next stage 6
The CAS signal of AM3 is turned on. In the stage 6-8, the CAS 6-8 is off, and the outputs of the AND circuits 45 to 47 are not on.

【0069】本実施例のように、DRAM3の制御信号
を複数回オンオフする場合には、タイミング情報をステ
ージ信号に対応するビット列で形成し、ステージ信号と
ビットとを順次比較する。本実施例においても、DRA
Mが変わっても、タイミング情報レジスタの内容を変更
するだけですむ。
When the control signal of the DRAM 3 is turned on and off a plurality of times as in this embodiment, the timing information is formed by a bit string corresponding to the stage signal, and the stage signal and the bit are sequentially compared. Also in this embodiment, DRA
Even if M changes, it is only necessary to change the contents of the timing information register.

【0070】いずれの場合においても、タイミング情報
レジスタへのデータの書き込みは、主記憶装置を使用す
る前にファームウェア等で行えばよい。従って、使用す
るDRAMを変更したためメモリタイミングが変わった
場合は、そのファームウェアを変更すればよい。
In any case, the writing of data to the timing information register may be performed by firmware or the like before using the main storage device. Therefore, if the memory timing changes because the DRAM to be used is changed, the firmware may be changed.

【0071】[0071]

【発明の効果】本発明によれば、DRAMの制御信号、
アドレス信号、およびデータ信号の各制御タイミングに
関する情報を、予めタイミング格納部に格納しておき、
これに従ってDRAMの動作のタイミングを制御するの
で、DRAMの変更によるアクセスタイミングの変更に
対して、タイミング格納部に格納してあるタイミング情
報の設定値の変更のみで対処することができる。
According to the present invention, the control signal of the DRAM,
Information regarding each control timing of the address signal and the data signal is stored in the timing storage unit in advance,
Since the timing of the operation of the DRAM is controlled in accordance with this, it is possible to deal with the change of the access timing due to the change of the DRAM only by changing the set value of the timing information stored in the timing storage unit.

【0072】従って、DRAMを主記憶装置として使用
するコンピュータシステムの高速化に伴うメモリ制御装
置の設計製作を短期間で、かつ、ハードウェアの変更な
しで行うことができる。
Therefore, it is possible to design and manufacture the memory control device in a short period of time without changing the hardware, as the speed of the computer system using the DRAM as the main storage device increases.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明の一実施例を示す図である。FIG. 2 is a diagram showing an embodiment of the present invention.

【図3】図2の回路の動作を説明するためのタイミング
チャートである。
FIG. 3 is a timing chart for explaining the operation of the circuit of FIG.

【図4】本発明の他の実施例を示す図である。FIG. 4 is a diagram showing another embodiment of the present invention.

【図5】図4の回路の動作を説明するためのタイミング
チャートである。
5 is a timing chart for explaining the operation of the circuit of FIG.

【図6】従来の技術を説明するための図である。FIG. 6 is a diagram for explaining a conventional technique.

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

1 メモリバス 2,2’ メモリ制御装置 3 DRAM 4 ステージ回路 5,5’ DRAM信号制御部 6,6’ DRAMアドレス制御部 7,7’ DRAMデータ制御部 8 タイミング格納部 8−1〜8−8 タイミング情報レジスタ 9,10,11,12,13,30,33,34,3
5,37 バッファ 14 ステージカウンタ 15 メモリバス監視部 16 アドレスバッファ 17,39 デコーダ 18 モードバッファ 19 ライトデータバッファ 20,21,22,36,38 マルチプレクサ 23,24,40〜47 AND回路 25〜29 比較器 31,32,49 フリップフロップ 48 OR回路
1 Memory Bus 2, 2'Memory Control Device 3 DRAM 4 Stage Circuit 5, 5'DRAM Signal Control Unit 6, 6'DRAM Address Control Unit 7, 7'DRAM Data Control Unit 8 Timing Storage Unit 8-1 to 8-8 Timing information register 9, 10, 11, 12, 13, 30, 33, 34, 3
5,37 buffer 14 stage counter 15 memory bus monitoring unit 16 address buffer 17,39 decoder 18 mode buffer 19 write data buffer 20, 21, 22, 36, 38 multiplexer 23, 24, 40-47 AND circuit 25-29 comparator 31, 32, 49 Flip-flop 48 OR circuit

フロントページの続き (72)発明者 山口 達也 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 桜井 康智 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 野中 巧 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 金谷 英治 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内Front page continued (72) Inventor Tatsuya Yamaguchi 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa, Fujitsu Limited Takumi Nonaka 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Eiji Kanaya 1015, Kamikodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 DRAMで構成される主記憶装置と、 前記DRAMへのアクセスの開始からのステージを表す
ステージ信号を出力するステージ回路と、 前記DRAMへのアクセスのための制御信号、アドレス
信号およびデータ信号の各オンオフのタイミングをステ
ージと関連付けて表すタイミング情報を格納する手段
と、 前記タイミング情報と前記ステージ信号とを比較し、一
致した時、制御信号、アドレス信号およびデータ信号を
オンに制御する手段とを備えたことを特徴とする主記憶
制御方式。
1. A main memory comprising a DRAM, a stage circuit which outputs a stage signal indicating a stage from the start of access to the DRAM, a control signal for accessing the DRAM, an address signal, and A unit that stores timing information that represents each ON / OFF timing of a data signal in association with a stage, compares the timing information with the stage signal, and when they match, controls a control signal, an address signal, and a data signal to be ON. And a means for controlling a main memory.
JP3219573A 1991-08-30 1991-08-30 Main storage control system Withdrawn JPH0561761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3219573A JPH0561761A (en) 1991-08-30 1991-08-30 Main storage control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3219573A JPH0561761A (en) 1991-08-30 1991-08-30 Main storage control system

Publications (1)

Publication Number Publication Date
JPH0561761A true JPH0561761A (en) 1993-03-12

Family

ID=16737637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3219573A Withdrawn JPH0561761A (en) 1991-08-30 1991-08-30 Main storage control system

Country Status (1)

Country Link
JP (1) JPH0561761A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008126172A1 (en) * 2007-03-13 2008-10-23 Panasonic Corporation Memory controller and memory control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008126172A1 (en) * 2007-03-13 2008-10-23 Panasonic Corporation Memory controller and memory control method
JPWO2008126172A1 (en) * 2007-03-13 2010-07-15 パナソニック株式会社 Memory control device and memory control method
US8180957B2 (en) 2007-03-13 2012-05-15 Panasonic Corporation Memory control unit and memory control method

Similar Documents

Publication Publication Date Title
EP0384620B1 (en) High performance memory system
JP4901285B2 (en) Memory card that can improve read performance
JP3869021B2 (en) Two-step memory device command buffer apparatus and method, and memory device and computer system using the same
KR920005739B1 (en) A partially storing control circuit used in a memory unit
US6918016B1 (en) Method and apparatus for preventing data corruption during a memory access command postamble
KR100298955B1 (en) Data processing system
US6118682A (en) Method and apparatus for reading multiple matched addresses
JPH0561761A (en) Main storage control system
US5163135A (en) Computer system and method for setting recovery time upon execution of an I/O command
US5708842A (en) Apparatus for changing coefficients utilized to perform a convolution operation having address generator which uses initial count number and up/down count inputs received from external
US7395399B2 (en) Control circuit to enable high data rate access to a DRAM with a plurality of areas
US6175518B1 (en) Remote register hierarchy accessible using a serial data line
JPH04106793A (en) Memory interface circuit
JPH02158824A (en) Storage control device for disk device
JPH0743668B2 (en) Access control device
JP2839311B2 (en) Memory control circuit
JP2716254B2 (en) List vector processing device
JPH1078917A (en) Cache memory device and its diagnostic method
JPS6391756A (en) Partial write instruction processing system for storage device
JPH0581122A (en) System for controlling partial write of memory
JPS6214919B2 (en)
JPH07146814A (en) Memory device
JPH10105457A (en) Memory control system and memory control circuitt
JPH05334198A (en) Memory controlling device
JPH0784866A (en) Memory control circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981112