JPS5938862A - Memory access system - Google Patents

Memory access system

Info

Publication number
JPS5938862A
JPS5938862A JP14890782A JP14890782A JPS5938862A JP S5938862 A JPS5938862 A JP S5938862A JP 14890782 A JP14890782 A JP 14890782A JP 14890782 A JP14890782 A JP 14890782A JP S5938862 A JPS5938862 A JP S5938862A
Authority
JP
Japan
Prior art keywords
data
address
central processing
processing unit
register
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
JP14890782A
Other languages
Japanese (ja)
Inventor
Tetsuo Urushibara
漆原 哲夫
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 JP14890782A priority Critical patent/JPS5938862A/en
Publication of JPS5938862A publication Critical patent/JPS5938862A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To operate a storage device without losing an economical property, by sending back a data, etc. accumulated in a data register to a central processing unit, when an address transferred from the central processing unit coincides with accumulated contents of an address register. CONSTITUTION:A storage part MU stores a data, etc. An address register AR accumulates an address a1 transferred from a central processing unit CPU, and a data register DR accumulates a data, etc. extracted from the storage part MU. The address a1 transferred from the central processing unit CPU is collated with accumulated contents a2 of the address register AR by a collating circuit MA, and when the coincidence is detected by this collating circuit MA, the data, etc. accumulated in the data register DR are sent back to the central processing unit CPU. A storage control part MC controls an operation of each part.

Description

【発明の詳細な説明】 ia)  発明の技術分野 本発明はメモリアクセス方式、特にプログラムおよびデ
ータを格納する記憶装置と、該記憶装置から前記プログ
ラムおよびデータを読出し、処理する中央処理装置とを
具備するデータ処理装置におけるメモリアクセス方式に
関す。
DETAILED DESCRIPTION OF THE INVENTION ia) Technical Field of the Invention The present invention relates to a memory access system, particularly a storage device that stores programs and data, and a central processing unit that reads and processes the programs and data from the storage device. This invention relates to a memory access method in a data processing device.

(bl  技術の背景 近年半導体論理素子の進歩に伴い、中央処理装置の演算
速度は急速に向上しつつある。一方記憶素子については
、記憶密度は向上されつつあるが、速度に関しては論理
素子の進歩に遥かに及ばない。
(bl Technology background) With recent advances in semiconductor logic devices, the calculation speed of central processing units has been rapidly improving.On the other hand, the storage density of memory devices has been improving; It falls far short of that.

その結果記憶装置の速度がデータ処理装置の処理能力を
限定することとなり、記憶装置の高速化が強く要望され
ている。
As a result, the speed of the storage device limits the processing capacity of the data processing device, and there is a strong demand for faster storage devices.

(C)  従来技術と問題点 この種記憶装置の高速化を考慮した従来あるメモリアク
セス方式としては、所謂キャッシュバッファメモリ方式
が公知である。該方式は中央処理装置と記憶装置との間
に小容量の高速メモリを設け、記憶装置の格納するプロ
グラムおよびデータ(以後データ類と総称する)から中
央処理装置の使用頻度の高いデータ類を予め格納してお
き、中央処理装置は該高速メモリにアクセスすることに
より、高速化を図るものである。然し該方式においては
、高速メモリを必要とするのみならず、該高速メモリの
記憶内容の使用頻度(所謂ヒント率)が問題となり、該
記憶内容以外を使用する場合に記憶装置と高速メモリと
の間で記憶内容を高速に転送して記憶内容を入替える手
段が必要となり、当該データ処理装置の経済性を損なう
結果となる。
(C) Prior Art and Problems A so-called cache buffer memory method is known as a conventional memory access method designed to increase the speed of this type of storage device. In this method, a small-capacity high-speed memory is installed between the central processing unit and the storage device, and the frequently used data of the central processing unit is stored in advance from the programs and data (hereinafter collectively referred to as data) stored in the storage device. The central processing unit accesses the high-speed memory to increase the speed. However, in this method, not only a high-speed memory is required, but also the frequency of use of the memory contents of the high-speed memory (so-called hint rate) becomes a problem, and when using other than the memory contents, the communication between the storage device and the high-speed memory becomes a problem. A means for exchanging the stored contents by transferring the stored contents at high speed between the two is required, which results in a loss of economic efficiency of the data processing apparatus.

(dl  発明の目的 本発明の目的は、前述の如き従来あるメモリアクセス方
式の欠点を除去し、当該データ処理装置の経済性を損な
うこと無く、記憶装置を高速化する手段を実現すること
に在る。
(dl Purpose of the Invention The purpose of the present invention is to eliminate the drawbacks of the conventional memory access method as described above and to realize a means for increasing the speed of a storage device without impairing the economic efficiency of the data processing device. Ru.

(el  発明の構成 この目的は、プログラムおよびデータを格納する記憶装
置と、該記憶装置から前記プログラムおよびデータを読
出し、処理する中央処理装置とを具備するデータ処理装
置において、前記記憶装置内に中央処理装置から伝達さ
れるアドレスを蓄積するアドレスレジスタと、該記憶装
置から続出された前記データ類を蓄積するデータレジス
タと、前記アドレスレジスタの蓄積内容に1を加算する
    ′加算回路と、前記中央処理装置から伝達され
るアドレスと前記アドレスレジスタの蓄積内容との一致
を判定する手段とを設け、該手段により一致と判定した
時に前記データレジスタの蓄積するデータ類を前記中央
処理装置に返送することにより達成される。
(el) Structure of the Invention The object of the present invention is to provide a data processing device that includes a storage device that stores programs and data, and a central processing unit that reads and processes the programs and data from the storage device. an address register that stores addresses transmitted from the processing device, a data register that stores the data sequentially output from the storage device, an adder circuit that adds 1 to the stored contents of the address register, and the central processing unit. By providing means for determining whether the address transmitted from the device matches the contents stored in the address register, and when it is determined by the means that they match, the data stored in the data register is returned to the central processing unit. achieved.

(f)  発明の実施例 以下、本発明の一実施例を図面により説明する。(f) Examples of the invention An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例によるメモリアクセス方式を
示す図であり、第2図は第1図における動作過程の一例
を示す図である。なお、全図を通じて同一符号は同一対
象物を示す。第1図においては、記憶装置はデータ類を
格納する記憶部MUと、図示されぬ中央処理装置CPU
から伝達されるアドレスa1を蓄積するアドレスレジス
タARと、記憶部MUから抽出されるデータ類を蓄積す
るデータレジスタDRと、前記アドレスレジスタARの
蓄積内容a2に1を加算する加算回路ADと、中央処理
装置CPUから伝達されるアドレスa1とアドレスレジ
スタARの蓄積内容a2とを照合する照合回路MAと、
前記各部の動作を制御する記憶制御部MCとを具備して
いる。次に第2図を参照し乍ら記憶装置の動作を説明す
る。初期状態においては、アドレスレジスタARおよび
データレジスタDRの蓄積内容a2およびdlは何れも
Oとする。今中央処理装置CPUからアドレスa1とし
てm番地が、イネーブル信号e1続出し動作を指示する
読出し指示信号rおよび命令の続出しを指示する命令信
号iと共に伝達されると、照合回路MAは伝達されたア
ドレスal=mと、アドレスレジスタARの蓄積内容a
2−0とを照合し、不一致信号nを出力する。該不一致
信号nを受信した記憶制御部MCは、アドレスレジスタ
ARにセントタイミング信号t1を送り、アドレスa1
をアドレスレジスタARに蓄積させる。その結果アドレ
スレジスタARの蓄積内容a2もm番地となり、記憶部
MUのm番地にアクセスが行われ、該m番地に格納され
ているデータ[(m)(この場合は命令)が抽出される
。続いて記憶制御部MCはデータレジスタDRにセント
タイミング信号t2を送り、抽出された命令(m)をデ
ータレジスタDRに蓄積させた後、更にドライバDV1
に駆動信号dvを送り、データレジスタDRの蓄積内容
dl=(m)を出力データ類d2=(m)として出力す
る。同時にドライバDV2を介して同期信号Sを出力し
、出力データ[d2−(m)と共に中央処理装置CPU
に返送する。なお加算回路ADは、アドレスレジスタA
Rの蓄積内容a2=mに1を加算してm+1を出力して
いる。
FIG. 1 is a diagram showing a memory access method according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the operation process in FIG. 1. Note that the same reference numerals indicate the same objects throughout the figures. In FIG. 1, the storage devices include a storage unit MU that stores data, and a central processing unit CPU (not shown).
an address register AR that stores the address a1 transmitted from the address register AR; a data register DR that stores data extracted from the storage unit MU; an adder circuit AD that adds 1 to the stored content a2 of the address register AR; a verification circuit MA that verifies the address a1 transmitted from the processing unit CPU and the stored content a2 of the address register AR;
The storage controller MC includes a storage control unit MC that controls the operation of each of the units. Next, the operation of the storage device will be explained with reference to FIG. In the initial state, the stored contents a2 and dl of the address register AR and data register DR are both O. Now, when address m is transmitted from the central processing unit CPU as address a1 along with the read instruction signal r that instructs the successive operation of the enable signal e1 and the command signal i that instructs the successive command operation, the collation circuit MA is transmitted. Address al=m and accumulated content a of address register AR
2-0 and outputs a mismatch signal n. The storage control unit MC, which has received the mismatch signal n, sends a cent timing signal t1 to the address register AR, and sets the address a1.
is stored in address register AR. As a result, the accumulated content a2 of the address register AR also becomes the address m, and the address m of the storage unit MU is accessed, and the data [(m) (in this case, an instruction) stored at the address m is extracted. Subsequently, the memory control unit MC sends a cent timing signal t2 to the data register DR, and after storing the extracted instruction (m) in the data register DR, the memory control unit MC further sends a cent timing signal t2 to the data register DR.
The drive signal dv is sent to the data register DR, and the stored contents dl=(m) of the data register DR are outputted as output data d2=(m). At the same time, the synchronizing signal S is output via the driver DV2, and the central processing unit CPU is outputted together with the output data [d2-(m).
send it back to Note that the adder circuit AD is an address register A.
1 is added to the accumulated content of R, a2=m, and m+1 is output.

続いて記憶制御部MCはアドレスレジスタARにセット
タイミング信号t1を送ると、アドレスレジスタARに
は加算回路ADの出力するm+lが蓄積される。その結
果アドレスレジスタARからは蓄積内容a2=m+lが
出力されて記憶部MUにアクセスが行われ、記憶部MU
のm+1番地から次の命令(m+1)が抽出される。続
いて記憶制御部MCはデータレジスタDRにセットタイ
ミング信号t2を送り、記憶部MUから抽出された命令
(m+1>を蓄積させる。かかる状態で、中央処理装置
CPUから次の命令(m+1)を読出す為に、アドレス
al=m+lが、イネーブル信号e、読出し指示信号r
および命令信号iと共に伝達されると、照合回路MAは
伝達されたアドレスal=m+1と、アドレスレジスタ
ARの蓄積内容a2=m+1とを照合し、一致信号yを
出力する。該一致信号yを受信した記憶制御部MCはド
ライバDVIに駆動信号dvを送り、データレジスタD
Rの蓄積内容dl=(m+1)を出力データ類d2−(
m+1>として出力する。同時にドライバDV2を介し
て同期信号Sを出力し、出力データ類c12=(m+1
)と共に中央処理装置CPUに返送する。なお加算回路
ADは、アドレスレジスタARの蓄積内容a2=m+l
に1を加算してm+2を出力している。続いて記憶制御
部MCはアドレスレジスタARにセットタイミング信号
t1を送ると、アドレスレジスタARには加算回路AD
の出力するm+2が蓄積される。その結果アドレスレジ
スタARからは蓄積内容a2−m+2が出力されて記憶
部MUにアクセスが行われ、記憶部MUのm+2番地か
ら次の命令(m+2)が抽出される。続いて記憶制御部
MCはデータレジスタDRにセントタイミング信号t2
を送り、記憶部MUから抽出された命令(m+2)を蓄
積させる。以下同様にして、中央処理装置CPUから連
続するアドレスal=m+2、m + 3、・・・が伝
達される度に照合回路MAは一致信号yを出力し、記憶
制御部MCはドライバDVIに駆動信号を送ることによ
り、直ちにデータレジスタDRの蓄積内容dl=(m+
2)、(m+3)、−・・を出力データ類d2として同
期信号Sと共に中央処理装置CPUに返送する。
Subsequently, the storage control unit MC sends a set timing signal t1 to the address register AR, and m+l output from the adder circuit AD is accumulated in the address register AR. As a result, the stored content a2=m+l is output from the address register AR, and the storage unit MU is accessed, and the storage unit MU
The next instruction (m+1) is extracted from address m+1. Next, the memory control unit MC sends a set timing signal t2 to the data register DR to store the instruction (m+1> extracted from the memory unit MU. In this state, the next instruction (m+1) is read from the central processing unit CPU. In order to output the address al=m+l, the enable signal e and the read instruction signal r
When the instruction signal i is transmitted together with the command signal i, the collation circuit MA collates the transmitted address al=m+1 with the stored content a2=m+1 of the address register AR, and outputs a match signal y. The storage control unit MC that received the coincidence signal y sends a drive signal dv to the driver DVI, and the data register D
The accumulated contents of R dl=(m+1) are output data d2−(
Output as m+1>. At the same time, the synchronizing signal S is output via the driver DV2, and the output data type c12=(m+1
) is sent back to the central processing unit CPU. Note that the adder circuit AD stores the accumulated contents of the address register AR a2=m+l
1 is added to output m+2. Subsequently, the storage control unit MC sends a set timing signal t1 to the address register AR, and the adder circuit AD is sent to the address register AR.
The output m+2 is accumulated. As a result, the stored content a2-m+2 is output from the address register AR, the storage unit MU is accessed, and the next instruction (m+2) is extracted from address m+2 of the storage unit MU. Subsequently, the storage control unit MC sends a cent timing signal t2 to the data register DR.
, and the instruction (m+2) extracted from the storage unit MU is stored. Similarly, each time the central processing unit CPU transmits successive addresses al=m+2, m+3, . By sending a signal, the accumulated content of data register DR is immediately changed to dl=(m+
2), (m+3), -, etc. are sent back to the central processing unit CPU as output data d2 together with the synchronization signal S.

以上の説明から明らかな如く、本実施例によれば、記憶
装置は中央処理装置CPUから連続したアドレスal=
m+1、m+2、m+3、・・・が伝達される限り、記
憶部MUにアクセスすること無く、既にデータレジスタ
DRに蓄積されている次の番地の記憶内容dl=(m+
1)、(m+2)、(m+3)、・・・を直ちに出力デ
ータ1ld2として中央処理装置CPUに返送する。か
かる場合のデータ類の読出し時間Tlは、記憶部MUか
らデータ類が抽出される場合の読出し時間T2に比し半
減する。
As is clear from the above description, according to the present embodiment, the storage device has continuous addresses al=
As long as m+1, m+2, m+3, . . . are transmitted, the storage content dl=(m+
1), (m+2), (m+3), . . . are immediately returned to the central processing unit CPU as output data 1ld2. The reading time Tl of data in such a case is halved compared to the reading time T2 when data is extracted from the storage unit MU.

なお、第1図および第2図はあく迄本発明の一実施例に
過ぎず、例えば記憶装置は中央処理装置CPUから伝達
される総てのアドレスa1に対し、1組のアドレスレジ
スタAR,データレジスタDR1加算回路ADおよび照
合回路MAも設けるものに限定することは無く、命令用
とデータ用とをそれぞれ独立に1組宛設け、中央処理装
置CPUから伝達される命令信号lとデータの読出しを
指示するデータ信号pとにより両組を選択使用すること
により、命令およびデータの読出しアドレスの連続性を
独立に維持することも考慮されるが、かかる場合にも本
発明の効果は変らない。またデータの読出しアドレスに
連続性の少ないことに着目して、データ用のアドレスレ
ジスタAR、データレジスタDR1加算回路ADおよび
照合回路M/ Aを省略し、1組のアドレスレジスタAR,データレジ
スタDR,加算回路ADおよび照合回路MAを命令用に
専用させることも考慮されるが、かかる場合にも本発明
の効果は変らない。更に中央処理装置CPUから伝達さ
れるアドレスa1の連続性を判定する手段は記憶装置内
の照合回路MAに限定されることは無く、中央処理装置
CPUからアドレスa1の非連続性を示すジャンプ成立
信号を受信した記憶制御部MCが判定することも考慮さ
れるが、かかる場合にも本発明の効果は変らない。
Note that FIGS. 1 and 2 are only one embodiment of the present invention, and for example, a storage device has one set of address registers AR and data for every address a1 transmitted from the central processing unit CPU. The register DR1 is not limited to the addition circuit AD and the collation circuit MA, and one set for instructions and one for data are provided independently, and the reading of the command signal l and data transmitted from the central processing unit CPU is performed. It is also possible to maintain the continuity of the instruction and data read addresses independently by selectively using both sets according to the instructing data signal p, but the effects of the present invention do not change even in such a case. Also, focusing on the fact that there is little continuity in data read addresses, the data address register AR, data register DR1 adder circuit AD, and matching circuit M/A are omitted, and one set of address register AR, data register DR, Although it may be considered to dedicate the adder circuit AD and the collation circuit MA to instructions, the effects of the present invention do not change even in such a case. Further, the means for determining the continuity of the address a1 transmitted from the central processing unit CPU is not limited to the collation circuit MA in the storage device, and the means for determining the continuity of the address a1 transmitted from the central processing unit CPU is not limited to the check circuit MA in the storage device, but also a jump establishment signal indicating the discontinuity of the address a1 from the central processing unit CPU. It is also considered that the storage control unit MC that receives the information makes the determination, but the effects of the present invention do not change even in such a case.

(幻 発明の効果 以上、本発明によれば、前記データ処理装置において、
若干の機構を記憶装置に設けることにより、連続したア
ドレスに格納されているデータ類の読出し時間が大幅に
削減され、当該データ処理装置の経済性を損なうこと無
く、記憶装置を高速化する手段を実現することが可能と
なる。
(Phantom) As described above, according to the present invention, in the data processing device,
By providing some mechanisms in the storage device, the time required to read data stored in consecutive addresses can be significantly reduced, and this provides a means to speed up the storage device without impairing the economic efficiency of the data processing device. It becomes possible to realize this.

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

第1図は本発明の一実施例によるメモリアクセ/ρ ス方式を示す図、第2図は第1図における動作過程の一
例を示す図である。 図において、MUは記憶部、ARはアドレスレジスタ、
DRはデータレジスタ、ADは加算回路、MAは照合回
路、MCは記憶制御部、DVIおよびDV2はドライバ
、alはアドレス、a2はアドレスレジスタの蓄積内容
、dlはデータレジスタの蓄積内容、d2は出力データ
類、eはイネ−・プル信号、rは読出し指示信号、Wは
書込み指示信号、iは命令信号、pはデータ信号、Sは
同期信号、tlおよびt2はセントタイミング信号、d
vは駆動信号、yば一致信号、nは不一致信号、m、m
+lおよびm+2ば番地、(m)、(m+1)および(
m+2)はデータ類(命令)、を示す。 第1図 ′!!Az図
FIG. 1 is a diagram showing a memory access method according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the operation process in FIG. 1. In the figure, MU is a storage unit, AR is an address register,
DR is a data register, AD is an adder circuit, MA is a collation circuit, MC is a memory control unit, DVI and DV2 are drivers, al is an address, a2 is the stored content of the address register, dl is the stored content of the data register, and d2 is the output Data type, e is enable/pull signal, r is read instruction signal, W is write instruction signal, i is command signal, p is data signal, S is synchronization signal, tl and t2 are cent timing signals, d
v is a drive signal, y is a coincidence signal, n is a mismatch signal, m, m
+l and m+2 addresses, (m), (m+1) and (
m+2) indicates data type (command). Figure 1'! ! Az diagram

Claims (1)

【特許請求の範囲】[Claims] プログラムおよびデータを格納する記憶装置と、該記憶
装置から前記プログラムおよびデータを読出し、処理す
る中央処理装置とを具備するデータ処理装置において、
前記記憶装置内に中央処理装置から伝達されるアドレス
を蓄積するアドレスレジスタと、該記憶装置から読出さ
れた前記データ類を蓄積するデータレジスタと、前記ア
ドレスレジスタの蓄積内容に1を加算する加算回路と、
前記中央処理装置から伝達されるアドレスと前記アドレ
スレジスタの蓄積内容との一致を判定する手段とを設け
、該手段により一致と判定した時に前記データレジスタ
の蓄積するデータ類を前記中央処理装置に返送すること
を特徴とするメモリアクセス方式。
A data processing device comprising a storage device that stores programs and data, and a central processing unit that reads and processes the programs and data from the storage device,
an address register that stores addresses transmitted from the central processing unit in the storage device; a data register that stores the data read from the storage device; and an adder circuit that adds 1 to the contents stored in the address register. and,
means for determining whether the address transmitted from the central processing unit matches the contents stored in the address register; and when the means determines that they match, the data stored in the data register is returned to the central processing unit. A memory access method characterized by:
JP14890782A 1982-08-27 1982-08-27 Memory access system Pending JPS5938862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14890782A JPS5938862A (en) 1982-08-27 1982-08-27 Memory access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14890782A JPS5938862A (en) 1982-08-27 1982-08-27 Memory access system

Publications (1)

Publication Number Publication Date
JPS5938862A true JPS5938862A (en) 1984-03-02

Family

ID=15463327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14890782A Pending JPS5938862A (en) 1982-08-27 1982-08-27 Memory access system

Country Status (1)

Country Link
JP (1) JPS5938862A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63147245A (en) * 1986-12-10 1988-06-20 Nec Corp Memory access system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63147245A (en) * 1986-12-10 1988-06-20 Nec Corp Memory access system

Similar Documents

Publication Publication Date Title
JPS6118222B2 (en)
JPH07113903B2 (en) Cache storage control method
JP2714952B2 (en) Computer system
US5107416A (en) Arrangement for simultaneously dealing with transfer requests produced by central, arithmetic and input-output processors of a super computer
JPS5938862A (en) Memory access system
JPH0225958A (en) High-speed data transfer system
US6335903B2 (en) Memory system
JPS60193044A (en) Data buffer device
JPH0115900B2 (en)
JP2557857B2 (en) Cache storage
JP2596637B2 (en) Cache control method
JPS60134956A (en) Information processing system
JPH03241442A (en) Store buffer control system
JPS59180878A (en) Control system for buffer storage
JP2964504B2 (en) Document processing device
JPS63103342A (en) Main memory controller
JPS59125463A (en) External storage control system
JP2966038B2 (en) Digital data processing unit arbitration apparatus and method
JPS62284451A (en) Channel device
JPS59117653A (en) External storage controller
JPS6168641A (en) Information processor
JPH1055303A (en) Memory system
JPS6073758A (en) Disk cache control system
JPS6252342B2 (en)
JPS56163572A (en) Data processing system