JPS63187349A - Memory device - Google Patents

Memory device

Info

Publication number
JPS63187349A
JPS63187349A JP62018334A JP1833487A JPS63187349A JP S63187349 A JPS63187349 A JP S63187349A JP 62018334 A JP62018334 A JP 62018334A JP 1833487 A JP1833487 A JP 1833487A JP S63187349 A JPS63187349 A JP S63187349A
Authority
JP
Japan
Prior art keywords
address
access
memory
data
read
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
JP62018334A
Other languages
Japanese (ja)
Inventor
Motoaki Yamazaki
元明 山崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62018334A priority Critical patent/JPS63187349A/en
Publication of JPS63187349A publication Critical patent/JPS63187349A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten a memory access time, by pre-reading a memory address continued at every instruction fetch, operand fetch, and classification of memory access in direct memory access (DMA) transfer. CONSTITUTION:When read access from a processor 1 or another master device is generated, it is decided whether the access is the instruction fetch or the operand fetch of the access, or the DMA transfer by an access classification decision circuit. And when a data whose address coincides with the access address of the master device exists in either data buffer registers 13-16, the content of the data is sent to the master device, and the next data is read out from a memory module by incrementing the values of address counters 5-8, thereby, preparation for the next access is provided. Also, when no address counters 5-8 whose address coincides exist, the address is read out directly from memory modules 17-20, and also, the data of continuous addresses of the installed numbers of memory blocks is block-read from the address, and a corresponding address is set on the address counters 5-8.

Description

【発明の詳細な説明】 〔直東上の利用分野〕 本発明は情報処理装置用の記憶装置に係り、特にメモリ
アクセスタイムを短縮するために好適な記憶装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application] The present invention relates to a storage device for an information processing device, and particularly to a storage device suitable for shortening memory access time.

〔従来の技術〕[Conventional technology]

メモリ装置のアクセスタイムを短縮する方法として、例
えば特開昭59−177782号公報の背景欄に記載さ
れているように、主記憶装置とシステムインターフェー
ス装置とを予じめ定められた大きさのブロックごとに対
応させ、しかもそれらの間の一度のデータの転送幅はブ
ロックの4となるように構成し、ブロック全体の転送は
N回転送を行なうと言う方式が用いられていた。
As a method of shortening the access time of a memory device, for example, as described in the background section of Japanese Patent Application Laid-Open No. 177782/1982, the main memory device and the system interface device are arranged in blocks of a predetermined size. A system was used in which the width of data transfer at one time between them was set to four blocks, and the transfer of the entire block was performed N times.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、バックアメモリに対する主記憶装置か
らのブロックリードあるいは主記憶装置に誓込むスワッ
プアウト時の待ち合せ時間のためバックアメモリにロー
ドされたデータが1回のみしか使用されない場合あるい
は一部分のみしか使用されない場合には高価な高速メモ
リを使用する割にあまり有効であるとは言えない。
The above conventional technology is only used when the data loaded into the backup memory is used only once or only partially because of the waiting time during block read from the main memory to the backup memory or swap-out to the main memory. If not, it cannot be said to be very effective even though expensive high-speed memory is used.

本発明の目的はプログラムの同一ルーチンが比軟的短周
期の間に再使用されないような構造を持つプログラムに
も有効なメモリアクセスタイムを短縮するメモリ制御方
式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a memory control method that shortens memory access time and is effective even for programs having a structure in which the same routine of the program is not reused within a relatively short cycle.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、同時にアクセス可能なインタリーブ方式の
メモリモジュールを複数個設け、各メモリモジュール対
応にデータバッフアレジスタラ投首し、該データバッフ
ァレジスタとしては命令7エツチ用、オペランドフェッ
チ用、ダイレクトメモリアクセス(以下rDMA」と略
称す。)転送用の6柱を設け、プロセッサまたは他のマ
スター装置からの読み出しアクセスが発生するとアクセ
ス種別刊足回路により該アクセスの命令フェッチかオペ
ランドフェッチかまたはDMA転送の何れであるかを判
定し、判定されたアクセス種別のデータパンファーレジ
スタ対応の該レジスタに収容されているデータのアドレ
スを示すインターリーブの数だけあるアドレスカウンタ
の値を各々調べ、マスター装置からのアクセスアドレス
と一致したデータが何れかのデータバッファ−レジスタ
に有ればその内容をマスター装置に送出し、該アドレス
カウンタの1直をインクリメントレメモリモジュールか
ら次のデータを読み出し次のアクセスにそなえ、アドレ
スか一致するアドレスカウンタが存在しない場合は該ア
ドレスをメモリモジュールから直接読み出すと共に、上
記のメモリアクセスに応じた種別のデータレジスタVC
該アドレスからメモリブロックの設置数分の連続したア
ドレスのデータをブロックリードし、該アドレスカウン
ターには該当アドレスを設定することにより達成するこ
とができる。
The above purpose is to provide a plurality of interleaved memory modules that can be accessed at the same time, and to set up a data buffer register for each memory module. (hereinafter abbreviated as "rDMA") six pillars for transfer are provided, and when a read access from a processor or other master device occurs, the access type control circuit determines whether the access is an instruction fetch, operand fetch, or DMA transfer. The access address from the master device is determined by checking the values of address counters corresponding to the determined access type and the number of address counters corresponding to the number of interleaves indicating the address of the data stored in the register. If there is data matching that in any data buffer register, the contents are sent to the master device, and the address counter is incremented to read the next data from the memory module and prepare for the next access. If a matching address counter does not exist, the address is read directly from the memory module, and the data register VC of the type corresponding to the above memory access is read.
This can be achieved by block reading data from consecutive addresses as many as the number of installed memory blocks from this address, and setting the corresponding address in the address counter.

〔作用〕[Effect]

本発明の記憶装置は、命令フェッチ対応のデータバッフ
ァレジスタ群がメモリモジュール対応のデータバッファ
レジスタにより構成されており、また各々のデータバッ
ファレジスタには対応したプリセット可能なアドレスカ
ウンタが設けられており、該データバッファレジスタに
入っているデータのアドレスがセットされている。また
、グロ・ 6 ・ セッサよりの命令フェッチの耽み出しアクセスのアドレ
スが上記データバッファレジスタの何れかと一致すれば
命令フェッチはほぼデータバッファレジスタへのアクセ
スタイムと同等に高速読み出しが可ahとなり、さらに
インタリーブされたメモリモジュール毎に連続したアド
レスの先行読み出しを行っているためメモリモジュール
の設置数をメモリモジュールのアクセスタイムをメモリ
モジュール設置数で刺した数がプロセッサのサイクルタ
イムより小になるように設定しておけは、分岐命令が発
生しないかぎり命令語のアドレスは連続するため命令フ
ェッチは高速で火打することがでキル。分岐命令でデー
タバッファ−レジスタ上ノデータが使えな(なった場合
は、最初の1回の命令フェッチにメモリブロックにアク
セスした場合の時間がかかるが以後は丹び上記の高速動
作が可能になる。
In the storage device of the present invention, a data buffer register group compatible with instruction fetch is composed of data buffer registers compatible with memory modules, and each data buffer register is provided with a corresponding presettable address counter, The address of the data contained in the data buffer register is set. In addition, if the address of the indulgence access of the instruction fetch from the GRO 6 processor matches any of the data buffer registers mentioned above, the instruction fetch can be read at high speed, which is almost the same as the access time to the data buffer register. Furthermore, since pre-reading of consecutive addresses is performed for each interleaved memory module, the number of memory modules installed, the access time of the memory module multiplied by the number of installed memory modules, is smaller than the cycle time of the processor. If you set this, the instruction address will be continuous unless a branch instruction occurs, so the instruction fetch can be executed at high speed. If the data on the data buffer register becomes unusable due to a branch instruction, the first instruction fetch takes the same amount of time as accessing the memory block, but from then on, the above-mentioned high-speed operation becomes possible.

オペランドフェッチ、DMA転送の場合モ各々に対眼、
シたデータバッファレジスタ群を持っているので連続ア
ドレスアクセスに対して同様な効果・ 4 ・ が発生する。
For operand fetch and DMA transfer,
Since it has a group of data buffer registers, a similar effect occurs for continuous address access.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図および第2図を用いて
詳細に説明する。第1図は本発明を実施するための記憶
装置の構成を示す図である。同図において1はプロセッ
サ、2はアドレスレジスタ。
Hereinafter, one embodiment of the present invention will be described in detail using FIGS. 1 and 2. FIG. 1 is a diagram showing the configuration of a storage device for implementing the present invention. In the figure, 1 is a processor and 2 is an address register.

3はデータレジスタ、4は制御回路、5〜8はデータバ
ッファレジスタ17〜2oにセットされているデータの
アドレスを示すためのアドレスカウンタ、9〜12はア
ドレス比較器、13〜16はメモリモジュール17〜2
0より読出したデータを一時記憶しておくためのデータ
バッファ−レジスタ、17〜20は同時読み出し可能な
メモリモジュールである。
3 is a data register, 4 is a control circuit, 5 to 8 are address counters for indicating the addresses of data set in data buffer registers 17 to 2o, 9 to 12 are address comparators, and 13 to 16 are memory modules 17. ~2
Data buffer registers 17 to 20 for temporarily storing data read from 0 are memory modules that can be read simultaneously.

第1図に示す構成はメモリモジュールを4個設置した場
合を示しまたアドレスカウンタ、アドレス比較器、デー
タバッファレジスタについては命令フェッチ用のみを図
示してあり、オペランドフェッチおよびDMA転送用に
ついては同様であるので省略しである。
The configuration shown in Figure 1 shows the case where four memory modules are installed, and the address counter, address comparator, and data buffer register are only shown for instruction fetch, and the same applies for operand fetch and DMA transfer. It is omitted because it is.

要求性能と経済性の観点から本発明を命令フェッチにの
み適用することも可能である。
From the viewpoint of required performance and economy, it is also possible to apply the present invention only to instruction fetch.

第2図は本発明を説明するためのタイムチャートである
FIG. 2 is a time chart for explaining the present invention.

次に第1図および第2図により本発明による動作Z説明
するっフーロセツサ1より命令フェッチのリードアクセ
スが発生するとプロセッサ1よりアドレス信号A、アク
セスの種類を示す信号FCおよびアドレスス)o−プ信
号ASが出力される。
Next, the operation Z according to the present invention will be explained with reference to FIG. 1 and FIG. A signal AS is output.

このアドレス(N号Aはアドレスレジスタ2に一時記憶
される。制御回路4はアドレスストa−プ信芳ASによ
り起動され、アドレスカウンタ5〜8か有効であるか否
かをチェックする。今、最初のアクセスであるためデー
タバッファレジスタ17〜20には有効なデータかセッ
トされていないとするとアドレスカウンタ5〜8は無効
であり上記)aセッサ1からのアクセスに対しメモリモ
ジュール17〜20から読み出し動作を開始する。今指
定されたアドレスが“1°番地であったと仮定するとア
ドレスカウンタ6に111を、アドレスカウンタ7に1
2′を、アドレスカウンタ8に“6′を、アドレスカウ
ンタ5に”4°をセットしメモリモジュール17〜20
を同時にリードしデータバッファレジスタ16〜16に
1〜4番地の内容をセットする。次にデータバッファレ
ジスタ14の内存はデータレジスタ3に転送し、前記デ
ータレジスタ6にセットされたデータはプロセッサ1に
転送されて上記アクセスは終了する。次に、アドレスカ
ウンタ6はインクリメントされアドレス値は′5″とな
り5番地のデータを準備するためメモリモジュール18
を読み出し、データバッファレジスタ14ヘデータを転
送する動作が開始される。次に、命令フェッチのため2
番地をリードするとすると、2査地のデータIt’Lデ
ータバツファレジスタ15にすでに準備済であるから、
データバッファレジスタ15からデータレジスタ5に転
送して動作を終了する。次に前述と同様データバッファ
レジスタ15には次のデータを準備する動作が開始され
る。以上の動作のタイムチャートは第2図に示す通りで
ある。上記の動作は分岐命令の出現するまで(り返し、
本実施、7 。
This address (No. A) is temporarily stored in the address register 2. The control circuit 4 is activated by the address stop AS and checks whether the address counters 5 to 8 are valid. If valid data is not set in the data buffer registers 17 to 20, address counters 5 to 8 are invalid, and the read operation from the memory modules 17 to 20 is performed in response to the access from the a processor 1 described above. Start. Assuming that the address just specified is address “1°,” address counter 6 will be set to 111, and address counter 7 will be set to 1.
2', address counter 8 to 6', address counter 5 to 4°, and memory modules 17 to 20
are read at the same time and the contents of addresses 1 to 4 are set in data buffer registers 16 to 16. Next, the data stored in the data buffer register 14 is transferred to the data register 3, and the data set in the data register 6 is transferred to the processor 1, and the access is completed. Next, the address counter 6 is incremented and the address value becomes '5'', and the memory module 18 prepares the data at address 5.
The operation of reading the data and transferring the data to the data buffer register 14 is started. Next, 2
If we read the address, the data for the 2nd address has already been prepared in the It'L data buffer register 15, so
The data is transferred from the data buffer register 15 to the data register 5, and the operation ends. Next, as described above, the operation of preparing the next data in the data buffer register 15 is started. A time chart of the above operations is shown in FIG. The above operation continues until a branch instruction appears (repeatedly,
This implementation, 7.

例によれはメモリのアクセスタイムは等価等に非常に高
速化できる。分岐命令が出現した場合には、アドレス比
較器9〜12の一致がとれなくなり、これが制御回路に
連絡され、最初のアクセスと同様のシーケンスを取るこ
ととなる。
For example, the memory access time can be made much faster. When a branch instruction appears, address comparators 9 to 12 no longer match, this is communicated to the control circuit, and the same sequence as the first access is taken.

〔発明の効果〕 本発明によれは、命令フェッチ、オペランドフェッチ、
およびDMA転送の各メモリアクセスの種別毎に連続し
たメモリ番地を先行読み出しているため、上記の種別毎
のメモリアクセス番地が連続している限りメモリアクセ
スタイムを大幅に短縮できるという効果かある。
[Effects of the Invention] According to the present invention, instruction fetch, operand fetch,
Since consecutive memory addresses are pre-read for each type of memory access in DMA transfer, the memory access time can be significantly reduced as long as the memory access addresses for each type are consecutive.

【図面の簡単な説明】[Brief explanation of the drawing]

図はいずれも本発明の一実施例を示すもので第1図は記
憶装置の構成図、第2図は動作説明のためのタイムチャ
ートである。 符号の説明 1・・・プロセッサ    2・・・アドレスレジスタ
6・・・データレジスタ  4・・・制御回路5〜8・
・・アドレスカウンタ ・ 8 ・ 9〜12・・・比較器
Each figure shows an embodiment of the present invention, and FIG. 1 is a configuration diagram of a storage device, and FIG. 2 is a time chart for explaining the operation. Explanation of symbols 1...Processor 2...Address register 6...Data register 4...Control circuits 5-8.
・Address counter ・ 8 ・ 9 to 12 ・ Comparator

Claims (1)

【特許請求の範囲】[Claims] 1、同時にアクセス可能なインタリーブ方式のメモリモ
ジュールを複数個設置した情報処理装置用の記憶装置に
おいて、プロセッサまたは他のマスター装置からの読み
出しアクセスが命令、フェッチ、オペランドフエツチま
たはダイレクトメモリアクセス転送の何れかであるかを
判定する手段と、上記複数種類のアクセスに対応した上
記メモリモジュール毎にメモリモジュールから読み出し
たデータを一時記憶するデータバッファ−レジスタ群を
設け、該データバッファレジスタ群には上記メモリアク
セスの種類毎に現アクセスアドレスからインタリーブの
数までのアドレスに対応したデータを先行して読み出し
ておくことを特徴とする記憶装置。
1. In a storage device for an information processing device that has multiple interleaved memory modules that can be accessed simultaneously, read access from a processor or other master device is performed by instruction, fetch, operand fetch, or direct memory access transfer. and a data buffer register group for temporarily storing data read out from the memory module for each of the memory modules corresponding to the plurality of types of access, and the data buffer register group includes means for determining whether the memory is A storage device characterized in that data corresponding to addresses from the current access address to the number of interleaves is read in advance for each type of access.
JP62018334A 1987-01-30 1987-01-30 Memory device Pending JPS63187349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62018334A JPS63187349A (en) 1987-01-30 1987-01-30 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62018334A JPS63187349A (en) 1987-01-30 1987-01-30 Memory device

Publications (1)

Publication Number Publication Date
JPS63187349A true JPS63187349A (en) 1988-08-02

Family

ID=11968744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62018334A Pending JPS63187349A (en) 1987-01-30 1987-01-30 Memory device

Country Status (1)

Country Link
JP (1) JPS63187349A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03122733A (en) * 1989-10-05 1991-05-24 Matsushita Electric Ind Co Ltd Memory reading device
KR100607987B1 (en) 2004-06-24 2006-08-02 삼성전자주식회사 Memory controller for scheduling a plurality of commands, and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03122733A (en) * 1989-10-05 1991-05-24 Matsushita Electric Ind Co Ltd Memory reading device
KR100607987B1 (en) 2004-06-24 2006-08-02 삼성전자주식회사 Memory controller for scheduling a plurality of commands, and method thereof

Similar Documents

Publication Publication Date Title
JPS63187349A (en) Memory device
JPH0696007A (en) Dma transfer system
JPS60205760A (en) Memory controller
JPH0644246B2 (en) Cache memory control system
JPH04120652A (en) Parallel processors
JP2531209B2 (en) Channel device
JPS59214977A (en) Data processing device
JPS60186964A (en) Vector processor
JPH0736806A (en) Dma system
JP2531207B2 (en) Channel device
JPH01315858A (en) Data transfer control method and device
JPH06231032A (en) Access controller
JPH0589027A (en) Write buffer provided with monitoring function
JPS63286959A (en) Memory access system
JPS61117651A (en) Interface device
JP2550493B2 (en) I / O controller
JPH01116745A (en) Cash memory control system
JPS61264436A (en) Data processing system
JPS63155346A (en) Ram check system
JPH04107634A (en) Memory data bypass control system
JPS5932813B2 (en) Data transfer method
JPH07253923A (en) Memory control circuit
JPH0685154B2 (en) Intermediate buffer control method
JPH01129334A (en) Data control system for cache memory
JPH06103148A (en) Write buffer