JP2570361B2 - Storage control method - Google Patents

Storage control method

Info

Publication number
JP2570361B2
JP2570361B2 JP63033065A JP3306588A JP2570361B2 JP 2570361 B2 JP2570361 B2 JP 2570361B2 JP 63033065 A JP63033065 A JP 63033065A JP 3306588 A JP3306588 A JP 3306588A JP 2570361 B2 JP2570361 B2 JP 2570361B2
Authority
JP
Japan
Prior art keywords
access
address
page
output
cycle
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.)
Expired - Fee Related
Application number
JP63033065A
Other languages
Japanese (ja)
Other versions
JPH01207850A (en
Inventor
重一 秋田
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 JP63033065A priority Critical patent/JP2570361B2/en
Publication of JPH01207850A publication Critical patent/JPH01207850A/en
Application granted granted Critical
Publication of JP2570361B2 publication Critical patent/JP2570361B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 コンピュータシステムの処理能力を向上することがで
きる記憶制御方式に関し、 記憶素子のページモード機能を最大限に活用して処理
装置の性能を向上する記憶制御方式を提供することを目
的とし、 全アドレスビットを指定してアクセスする通常モード
と、該アドレスビットの所定部分により予め指定された
記憶領域について、該記憶領域内のアドレスのみを指定
してアクセスするページモードとを有する記憶素子のデ
ータ読出しアクセスの制御において、アクセスごとに、
前記アドレスビットの前記所定部分を保持する保持手段
と、アクセス開始時に該保持手段に保持されている内容
と、該所定部分とが一致するか不一致かを示す信号を出
力する比較手段と、該比較手段の動作と並行して前記ペ
ージモードによるアクセスを開始し、該比較手段から不
一致を示す該信号が出力されたことにより、前記通常モ
ードによるアクセスに切り替える制御手段とを設けるよ
うに構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding a storage control method capable of improving the processing capability of a computer system, a storage control method that improves the performance of a processing device by maximizing a page mode function of a storage element is described. A normal mode in which all address bits are designated for access, and a page mode in which, for a storage area specified in advance by a predetermined portion of the address bits, access is performed by specifying only an address in the storage area. In the control of the data read access of the storage element having
Holding means for holding the predetermined portion of the address bits; comparing means for outputting a signal indicating whether the content held in the holding means at the start of access matches the predetermined portion; Control means for starting access in the page mode in parallel with the operation of the means, and switching to access in the normal mode when the signal indicating mismatch is output from the comparing means.

〔産業上の利用分野〕[Industrial applications]

本発明は、コンピュータシステムの処理能力を向上す
ることができる記憶制御方式に関する。
The present invention relates to a storage control method that can improve the processing capability of a computer system.

近年、技術や業務のあらゆる分野にコンピュータが応
用されるようになってきた。コンピュータ処理におい
て、処理装置は主記憶装置から命令やオペランドを読出
して実行するため、その性能は使用されるメモリ素子の
速度によって大きく左右される。然るに、高速なメモリ
素子は消費電力が大で、かつ高価であり、与えられたメ
モリ素子を効率よく使用してコンピュータシステムの性
能を向上することができる記憶制御方式が望まれてい
る。
In recent years, computers have been applied to all fields of technology and business. In computer processing, a processing unit reads and executes instructions and operands from a main storage device, and thus the performance thereof is greatly affected by the speed of a memory element used. However, a high-speed memory device consumes a large amount of power and is expensive, and a storage control method that can efficiently use a given memory device and improve the performance of a computer system is desired.

〔従来の技術〕[Conventional technology]

第4図は従来例を示すタイミング図である。全図を通
じて同一符号は同一対象物を示す。
FIG. 4 is a timing chart showing a conventional example. The same reference numerals indicate the same objects throughout the drawings.

ダイナミックRAM(以下、DRAMという)のアクセスに
は通常モードによるアクセスとページモードによるアク
セスとがある。例えば16,384語の記憶容量を有するDRAM
の通常モードによるアクセスでは、先にアドレス16ビッ
トの上位8ビットをロウアドレスとして出力して所要の
記憶領域を指定し、次に下位8ビットをカラムアドレス
として出力することによって目的のアドレスを指定す
る。一方、ページモードによるアクセスでは、予めアド
レス上位8ビットで指定された同一の記憶領域(以下、
ページという)内のアドレスを指定する場合はカラムア
ドレスのみを出力してアドレス指定することにより高速
にメモリアクセスを行うことができる。従って、大部分
の命令がページ内において配列順に実行されるプログラ
ムを格納する処理装置の主メモリのアクセス制御はペー
ジモードによるアクセスが有効である。これを積極的に
活用するために、アクセス要求されるアドレスが前回ア
クセスと同一ページ内か否かを判定し、同一ページ内に
あればページモードによるアクセスを実行し、ページ境
界を越える時などで同一ページ内にない時は通常モード
によるアクセスを実行するように構成されている。即
ち、第4図において、メモリアクセス開始時の判定サイ
クルにおいてアドレス上位8ビットが前回アクセスと同
一ページを指定するか否かを判定し、同一ページでない
時は図(a)に示す通常モードによるアクセクを実行
し、同一ページの時は図(b)に示すページモードによ
るアクセクを実行する。
Dynamic RAM (hereinafter referred to as DRAM) accesses include normal mode access and page mode access. For example, DRAM with a storage capacity of 16,384 words
In the access in the normal mode, the upper 8 bits of the address 16 bits are output as a row address to specify a required storage area, and then the lower 8 bits are output as a column address to specify a target address. . On the other hand, in the access in the page mode, the same storage area (hereinafter, referred to as the upper 8 bits specified in the address) is used.
In the case of specifying an address within a page, a high-speed memory access can be performed by outputting only the column address and specifying the address. Therefore, in the access control of the main memory of the processing device that stores the program in which most of the instructions are executed in the order of arrangement in the page, the access in the page mode is effective. In order to utilize this positively, it is determined whether the address requested for access is within the same page as the previous access, and if it is within the same page, access is performed in the page mode. When the pages are not in the same page, the access in the normal mode is executed. That is, in FIG. 4, in the determination cycle at the start of memory access, it is determined whether or not the upper 8 bits of the address specify the same page as that of the previous access. If not, the access in the normal mode shown in FIG. Is executed, and when the pages are the same, the access is executed in the page mode shown in FIG.

第4図(a)において、アクセス開始時の判定サイク
ルにおいて旋回と同一ページのアクセスでないと判定し
た時は、アドレス指定サイクルにおいてアドレス上位8
ビットをロウアドレス(図ではRで示す)として、また
下位8ビットをカラムアドレス(図ではCで示す)とし
て出力すると共に、ロウ及びカラムアドレスを立下がり
端でDRAMにセットするタイミング信号*RAS及び*CASを
出力することにより、アクセスサイクルにおいてデータ
を読出し、パリティチェック等の検査を行って、処理装
置に読出データ“有効”を示す信号(以下、レディ信号
という)を出力する。
In FIG. 4A, when it is determined in the determination cycle at the start of access that the access is not for the same page as the turn, the upper eight addresses are determined in the address designation cycle.
The bits are output as a row address (indicated by R in the figure), the lower 8 bits are output as a column address (indicated by C in the figure), and the timing signals * RAS and By outputting * CAS, data is read in an access cycle, a check such as parity check is performed, and a signal indicating read data “valid” (hereinafter, referred to as a ready signal) is output to the processing device.

第4図(b)において、判定サイクルにおいて前回と
同一ページのアクセスであると判定した時は、アドレス
指定サイクルにおいて*RASを低レベルに保持したまま
*CASを制御してカラムアドレスのみを出力することに
より、アクセスサイクルにおいてデータを読出し、レデ
ィ信号を出力する。
In FIG. 4 (b), when it is determined in the determination cycle that the access is to the same page as the previous time, * CAS is controlled while the * RAS is kept low in the addressing cycle, and only the column address is output. Thereby, data is read in an access cycle and a ready signal is output.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記のように従来方法によると、今回のアクセスが前
回のアクセスと同一ページ内を指定するか否かを判定す
る判定サイクルは、ページモードによる高速アクセスを
活用して処理装置の高速化を図る有効な手段ではある
が、メモリアクセスごとに時間を要するので処理装置の
性能を十分に向上することができないという問題点があ
った。
As described above, according to the conventional method, the determination cycle for determining whether the current access specifies the same page as the previous access is effective in increasing the speed of the processing device by utilizing the high-speed access in the page mode. However, since it takes time for each memory access, there is a problem that the performance of the processing device cannot be sufficiently improved.

本発明は、記憶素子のページモード機能を最大限に活
用して処理装置の性能を向上する記憶制御方式を提供す
ることを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a storage control method that maximizes the page mode function of a storage element to improve the performance of a processing device.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理ブロック図を示す。 FIG. 1 is a block diagram showing the principle of the present invention.

図において、 1は全アドレスビットを指定してアクセスする通常モ
ードと、該アドレスビットの所定部分により予め指定さ
れた記憶領域について、該記憶領域内のアドレスのみを
指定してアクセスするページモードとを有する記憶素
子、 2はアクセスごとに、前記アドレスビットの前記所定
部分を保持する保持手段、 3はアクセス開始時に保持手段2に保持されている内
容と、該所定部分とが一致するか不一致かを示す信号を
出力する比較手段、 4は比較手段3の動作と並行してページモードによる
アクセスを開始し、比較手段3から不一致を示す該信号
が出力されたことにより、通常モードによるアクセスに
切り替える制御手段である。
In the figure, reference numeral 1 denotes a normal mode in which all address bits are specified and accessed, and a page mode in which, for a storage area specified in advance by a predetermined portion of the address bits, access is performed by specifying only an address in the storage area. 2 is holding means for holding the predetermined portion of the address bits for each access, and 3 is whether or not the content held in the holding means 2 at the start of access matches the predetermined portion. The comparison means 4 outputs a signal indicating the page mode in parallel with the operation of the comparison means 3, and switches to the access in the normal mode when the signal indicating the mismatch is output from the comparison means 3. Means.

〔作用〕[Action]

本発明によれば、保持手段2は記憶素子1へのアクセ
スごとにそのアドレスビットの所定部分を保持し、比較
手段3はアクセス開始時に、保持手段2に保持されてい
る内容とアクセス要求されるアドレスのビットの前記所
定部分とを比較して一致/不一致を示す信号を出力し、
制御手段4は比較手段3の比較動作と並行してページモ
ードによるアクセスを開始し、比較手段3から不一致信
号が出力されたときには通常モードによるアクセスに切
り替えるので、比較手段3から一致信号が出力された時
は比較手段3の比較動作に要する時間を実質的に削減す
ることができる。
According to the present invention, the holding means 2 holds a predetermined part of the address bit every time the storage element 1 is accessed, and the comparison means 3 requests access to the contents held in the holding means 2 at the start of access. Comparing a bit of the address with the predetermined portion to output a signal indicating match / mismatch;
The control means 4 starts access in the page mode in parallel with the comparison operation of the comparison means 3, and switches to access in the normal mode when the non-match signal is output from the comparison means 3, so that the match signal is output from the comparison means 3. In such a case, the time required for the comparing operation of the comparing means 3 can be substantially reduced.

〔実施例〕〔Example〕

以下、本発明の実施例を第2図及び第3図を参照して
説明する。全図を通じて同一符号は同一対象物を示す。
第2図で第1図に対応するものは一点鎖線で囲んであ
る。
Hereinafter, embodiments of the present invention will be described with reference to FIGS. 2 and 3. FIG. The same reference numerals indicate the same objects throughout the drawings.
In FIG. 2, those corresponding to FIG. 1 are surrounded by alternate long and short dash lines.

第2図において、 DRAM1aは、従来例で説明したDRAMと同じ機能及び構成
を有し、ページモード機能を備えるダイナミックRAMで
あって読出しアクセスにより読出データを出力する。
In FIG. 2, a DRAM 1a is a dynamic RAM having the same function and configuration as the DRAM described in the conventional example and having a page mode function, and outputs read data by read access.

ラッチ回路2aは、DRAM1aへのアクセスサイクルの最後
にマイクロプロセッサ(以下、MPUという)10からのア
ドレスA00〜A15(A00:MSB,A15:LSB)の上位8ビットA00
〜A07をラッチして保持する。
At the end of the access cycle to the DRAM 1a, the latch circuit 2a stores the upper 8 bits A00 of the addresses A00 to A15 (A00: MSB, A15: LSB) from the microprocessor (hereinafter referred to as MPU) 10.
~ A07 is latched and held.

比較回路3aは、アクセス開始時に、前回のアクセス時
にラッチ回路2aに保持されたアドレスビットとMPU10か
ら入力されるA00〜A07とを比較し、比較結果に基いて一
致/不一致信号を出力する。
At the start of access, the comparison circuit 3a compares the address bits held in the latch circuit 2a during the previous access with A00 to A07 input from the MPU 10, and outputs a match / mismatch signal based on the comparison result.

タイミング制御回路4aは、MPU10からのA00〜A07に対
応するロウアドレスとA08〜A15に対応するカラムアドレ
スとを切替えて出力するアドレス発生部43、ロウアドレ
スのタイミング信号*RASを発生するRAS発生部41、カラ
ムアドレスのタイミング信号*CASを発生するCAS発生部
42等から構成され、アクセス開始時に、即ち比較回路3a
の比較動作と並行してアドレス指定サイクルを実行して
ページモードによる高速アクセス(第4図(b)のアド
レス指定サイクル参照)を行い、比較回路3aから一致信
号が入力された時はMPU10に対して読出データ“有効”
を示すレディ信号を出力し、不一致信号が入力された時
はレディ信号を出力せずに、再度アドレス指定サイクル
を実行して通常モードによるアクセス(第4図(a)の
アドレス指定サイクル参照)を行って読出データと共に
レディ信号を出力する。
The timing control circuit 4a switches the row address corresponding to A00 to A07 and the column address corresponding to A08 to A15 from the MPU 10 and outputs the switched address. The RAS generator generates the row address timing signal * RAS. 41, CAS generator that generates timing signal * CAS for column address
42, etc. at the start of access, that is, the comparison circuit 3a
The addressing cycle is executed in parallel with the comparison operation to perform high-speed access in the page mode (refer to the addressing cycle in FIG. 4 (b)). Read data “valid”
Is output, and when a mismatch signal is input, the ready signal is not output and the addressing cycle is executed again to access in the normal mode (see the addressing cycle in FIG. 4 (a)). And outputs a ready signal together with the read data.

第3図の本発明の実施例のタイミング図において、本
発明の作用を従来例のタイミングと対比して示す。
In the timing chart of the embodiment of the present invention shown in FIG. 3, the operation of the present invention is shown in comparison with the timing of the conventional example.

比較回路3aの比較動作(判定サイクル)と並行して、
タイミング制御回路4aはアドレス指定サイクルを実行し
てページモードによる高速アクセスを行い、比較回路3a
によって一致信号が出力された時はアクセスサイクルに
おいてMPU10に読出データと共にレディ信号を出力す
る。
In parallel with the comparison operation (judgment cycle) of the comparison circuit 3a,
The timing control circuit 4a executes an addressing cycle to perform high-speed access in the page mode, and
When the match signal is output, a ready signal is output to the MPU 10 together with the read data in the access cycle.

ページモードのアドレス指定サイクルと並行して実行
された比較回路3aによる比較(判定サイクル)の結果が
不一致の時はレディ信号を出力せずに、再度アドレス指
定サイクルを実行して通常モードによるアクセスを行
い、アクセスサイクルにおいてMPU10に読出データと共
にレディ信号を出力する。
When the result of the comparison (judgment cycle) by the comparison circuit 3a executed in parallel with the page mode addressing cycle does not match, the ready mode is not output and the addressing cycle is executed again to access in the normal mode. Then, a ready signal is output to the MPU 10 together with the read data in the access cycle.

従って、第3図によって明らかなように、プログラム
がページ境界を跨ぐ時など、現アクセスと前回アクセス
の指定ページが異なる場合(と)は、本発明の実施
例のメモリアクセスに要する時間は従来例で要した時間
と同じであるが、プログラム実行の大部分を占める同一
ページ内のアクセスの場合(と)は、本発明では従
来例の判定サイクルに要した時間が実質的に削減される
ので、MPU10の処理能力はその分だけ高速化され、1つ
の適用例では処理装置の性能を数10%向上することがで
きた。
Therefore, as is apparent from FIG. 3, when the designated page of the current access differs from the designated page of the previous access, such as when the program crosses a page boundary, the time required for the memory access of the embodiment of the present invention is the same as the conventional example. In the case of (and) an access within the same page that occupies most of the program execution, the time required for the conventional determination cycle is substantially reduced according to the present invention. The processing capacity of the MPU 10 was correspondingly increased, and in one application example, the performance of the processing device could be improved by several tens of percent.

なお、本実施例ではMPUの主メモリへの適用例を示し
たが、他のシステムに同様に適用可能で、特に同一ペー
ジ内でアクセスが連続するようなシステムにおいて著し
い効果を奏する。
In the present embodiment, an example in which the MPU is applied to the main memory has been described. However, the present invention can be applied to other systems in a similar manner, and has a remarkable effect particularly in a system in which accesses are continuous within the same page.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、現アクセスが前
回アクセスと同一ページ指定か否かの判定に要した時間
を削減して、記憶素子DRAM1aのページモードアクセス機
能を最大限に活用することにより、処理装置MPU10の命
令実行速度を短縮してコンピュータシステムの性能を向
上することができるという効果がある。
As described above, according to the present invention, the time required to determine whether the current access is the same page designation as the previous access is reduced, and the page mode access function of the storage element DRAM1a is fully utilized. This has the effect that the instruction execution speed of the processing device MPU10 can be shortened and the performance of the computer system can be improved.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例を示すブロック図、 第3図は本発明の実施例のタイミング図、 第4図は従来例を示すタイミング図である。 図において、 1は記憶素子、1aはDRAM、 2は保持手段、2aはラッチ回路、 3は比較手段、3aは比較回路、 4は制御手段、 4aはタイミング制御回路、 41はRAS発生部、42はCAS発生部、 43はアドレス発生部、 10はMPU を示す。 1 is a block diagram showing the principle of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a timing chart of the embodiment of the present invention, and FIG. 4 is a timing chart showing a conventional example. . In the figure, 1 is a storage element, 1a is a DRAM, 2 is a holding unit, 2a is a latch circuit, 3 is a comparing unit, 3a is a comparing circuit, 4 is a control unit, 4a is a timing control circuit, 41 is a RAS generation unit, 42 Indicates a CAS generator, 43 indicates an address generator, and 10 indicates an MPU.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】全アドレスビットを指定してアクセスする
通常モードと、該アドレスビットの所定部分により予め
指定された記憶領域について、該記憶領域内のアドレス
のみを指定してアクセスするページモードとを有する記
憶素子(1)のデータ読出しアクセスの制御において、 アクセスごとに、前記アドレスビットの前記所定部分を
保持する保持手段(2)と、 アクセス開始時に該保持手段(2)に保持されている内
容と、該所定部分とが一致するか不一致かを示す信号を
出力する比較手段(3)と、 該比較手段(3)の動作と並行して、前記ページモード
によるアクセスを開始し、該比較手段(3)から不一致
を示す該信号が出力されたことにより、前記通常モード
によるアクセスに切り替える制御手段(4)とを設ける
ことを特徴とする記憶制御方式。
1. A normal mode in which all address bits are specified for access, and a page mode in which, for a storage area specified in advance by a predetermined portion of the address bits, access is performed by specifying only an address in the storage area. In the control of the data read access of the storage element (1), the holding means (2) for holding the predetermined portion of the address bits for each access, and the contents held in the holding means (2) at the start of the access And a comparing means (3) for outputting a signal indicating whether or not the predetermined part matches or does not match. In parallel with the operation of the comparing means (3), the access in the page mode is started, A control unit for switching to access in the normal mode when the signal indicating the mismatch is output from (3). That the storage control system.
JP63033065A 1988-02-16 1988-02-16 Storage control method Expired - Fee Related JP2570361B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63033065A JP2570361B2 (en) 1988-02-16 1988-02-16 Storage control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63033065A JP2570361B2 (en) 1988-02-16 1988-02-16 Storage control method

Publications (2)

Publication Number Publication Date
JPH01207850A JPH01207850A (en) 1989-08-21
JP2570361B2 true JP2570361B2 (en) 1997-01-08

Family

ID=12376334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63033065A Expired - Fee Related JP2570361B2 (en) 1988-02-16 1988-02-16 Storage control method

Country Status (1)

Country Link
JP (1) JP2570361B2 (en)

Also Published As

Publication number Publication date
JPH01207850A (en) 1989-08-21

Similar Documents

Publication Publication Date Title
EP0405318A2 (en) Microprocessor having cash bypass signal terminal
GB2325061A (en) Access rights for overlapping logical areas
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
US5802598A (en) Data memory access control and method using fixed size memory sections that are sub-divided into a fixed number of variable size sub-sections
EP0602807A2 (en) Cache memory systems
US5339402A (en) System for connecting an IC memory card to a central processing unit of a computer
JP2005501300A (en) Array and method for accessing data in a virtual memory array
JP2570361B2 (en) Storage control method
US5940873A (en) Address-translation method and system for translating effective addresses into physical addressee in computers
JPH07200395A (en) Data memory
JP2578182B2 (en) Data processing device and data processing system
KR0158487B1 (en) Cache memory control method and apparatus thereof
JPH01211142A (en) Memory control system
KR200204909Y1 (en) A microcontroller including an divided internal code memory
KR200182184Y1 (en) A combined cache with memory
JPH05143445A (en) Memory accelerating mechanism for virtual memory computer
KR940009824B1 (en) Cache memory system by using page mode of dynamic ram
JP2560520B2 (en) Advance control device
JPH07160577A (en) Cache memory controller
JPS623353A (en) Address space expanding device
EP0755000A2 (en) Microcomputer and address generation method
US20070143573A1 (en) Data processing apparatus and method using translation table emulation
KR19990048393A (en) DRAM embedded central processing unit and its data access method
JPS63197252A (en) Electronic computer
JPH0334190A (en) Semiconductor memory device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees