JPH047760A - High speed memory access system - Google Patents
High speed memory access systemInfo
- Publication number
- JPH047760A JPH047760A JP11085890A JP11085890A JPH047760A JP H047760 A JPH047760 A JP H047760A JP 11085890 A JP11085890 A JP 11085890A JP 11085890 A JP11085890 A JP 11085890A JP H047760 A JPH047760 A JP H047760A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- data read
- microprocessor
- read address
- 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
Links
- 238000013500 data storage Methods 0.000 claims description 16
- 238000000034 method Methods 0.000 description 13
- 230000003321 amplification Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マイクロプロセッサとそれに付随するメモリ
部とを有する制御装置におけるメモリ高速アクセス方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a high-speed memory access method in a control device having a microprocessor and an associated memory section.
従来、この種のメモリ高速アクセス方式としては、キヤ
ノンュメモリを利用する方式があった。Conventionally, as this type of high-speed memory access method, there has been a method using Canon memory.
(発明が解決しようとするIO)
上述した従来のキャソノユメモリを利用するメモリ高速
アクセス方式では、キヤノンュメモリとして高価な高速
メモリを使用しなければならず、しかもそのキャノソユ
メモリの専用コントローラが必要となるので、そのメモ
リ高速アクセス方式が適用される制御装置が非常に高価
な制御装置になってしまうという欠点がある。(IO to be solved by the invention) In the conventional high-speed memory access method using the conventional cassette memory described above, an expensive high-speed memory must be used as the cassette memory, and furthermore, a dedicated controller for the cassette memory is required. Therefore, there is a drawback that the control device to which the high-speed memory access method is applied becomes a very expensive control device.
本発明の目的は、上述の点に鑑み、安価な制御装置でマ
イクロプロセッサのメモリアクセスを高速化することが
でき、マイクロプロセッサの処理性能を向上させること
ができるメモリ高速アクセス方式を提供することにある
。In view of the above points, an object of the present invention is to provide a high-speed memory access method that can speed up the memory access of a microprocessor using an inexpensive control device and improve the processing performance of the microprocessor. be.
本発明のメモリ高速アクセス方式は、マイクロプロセッ
サとそれに付随するメモリ部とを有する制御装置におい
て、メモリ部から読み出された読出しデータを蓄積する
データ蓄積部と、メモリ部に送出するメモリデータ読出
しアドレスを蓄積し前記データ蓄積部に読出しデータが
蓄積された時点でメモリ部に送出するメモリデータ読出
しアドレスをカウントアンプするアドレス制御部と、マ
イクロプロセッサからのメモリデータ読出しアドレスと
前記アドレス制御部に蓄積されているメモリデータ読出
しアドレスとを比較して両者が一致しない場合にマイク
ロプロセッサからのメモリデータ読出しアドレスを前記
アドレス制御部に蓄積するアドレス比較部とを有する。The memory high-speed access method of the present invention provides a control device having a microprocessor and an associated memory section, which includes a data storage section that accumulates read data read from the memory section, and a memory data read address that is sent to the memory section. an address control section that counts and amplifies a memory data read address to be sent to the memory section at the time when the read data is accumulated in the data storage section; and an address comparison section that compares the memory data read address from the microprocessor and stores the memory data read address from the microprocessor in the address control section if the two do not match.
本発明のメモリ高速アクセス方式では、データ蓄積部が
メモリ部から読み出された読出しデータを蓄積し、アド
レス制御部がメモリ部に送出するメモリデータ読出しア
ドレスを蓄積しデータ蓄積部に読出しデータが蓄積され
た時点でメモリ部に送出するメモリデータ読出しアドレ
スをカウントアンプし、アドレス比較部がマイクロプロ
セッサからのメモリデータ読出しアドレスとアドレス制
御部に蓄積されているメモリデータ読出しアドレスとを
比較して両者が一致しない場合にマイクロプロセッサか
らのメモリデータ読出しアドレスをアドレス制御部に蓄
積する。In the memory high-speed access method of the present invention, the data storage section stores the read data read from the memory section, the address control section stores the memory data read address to be sent to the memory section, and the read data is stored in the data storage section. The address comparator counts and amplifies the memory data read address sent to the memory unit at the time when the memory data read address from the microprocessor is stored in the memory data read address stored in the address control unit. If they do not match, the memory data read address from the microprocessor is stored in the address control section.
次に、本発明について凹面を参照して説明する。 Next, the present invention will be explained with reference to a concave surface.
第1図は、本発明のメモリ高速アクセス方式の一実施例
の構成を示すブロックRである。本実施例のメモリ高速
アクセス方式は、マイクロプロセッサ1と、アドレス制
御部2と、アドレス比較部3と、データ蓄積部4と、メ
モリ部5とを含んで構成されている。FIG. 1 is a block R showing the configuration of an embodiment of the memory high-speed access method of the present invention. The high-speed memory access system of this embodiment includes a microprocessor 1, an address control section 2, an address comparison section 3, a data storage section 4, and a memory section 5.
第2図は、本実施例のメモリ高速アクセス方式の動作の
一例の概要を示すタイムチャートである。FIG. 2 is a time chart showing an overview of an example of the operation of the memory high-speed access method of this embodiment.
次に、このように構成された本実施例のメモリ高速アク
セス方式の動作について説明する。Next, the operation of the memory high-speed access system of this embodiment configured as described above will be explained.
メモリデータ読み出し時には、マイクロプロセッサ1か
らのメモリデータ読出しアドレスが一定の間隔(マイク
ロプロセッサ1の動作クロックの一定数分であるワンバ
スサイクルの間隔。第2図の例では、T1〜T4の間隔
。ウェイトサイクルTWが挿入される場合もある)で出
力されている。When reading memory data, the memory data read address from the microprocessor 1 is sent at a fixed interval (an interval of one bus cycle which is a fixed number of operating clocks of the microprocessor 1. In the example of FIG. 2, the interval is T1 to T4. (wait cycle TW may be inserted).
一方、アドレス制御部2からメモリ部5に対しては、ア
ドレス制御部2に蓄積されているメモリデータ読出しア
ドレスが送出されている。On the other hand, the memory data read address stored in the address control section 2 is sent from the address control section 2 to the memory section 5 .
本実施例(ひいては、本発明)では、マイクロプロセッ
サlからのメモリデータ読出しアドレスが連続的にカウ
ントアンプ(メモリデータ読出しアドレスの1単位の増
加)されることが多いメモリデータ読出しに適用される
ことを前提としている(命令語読出しを代表例として、
このようなメモリデータ読出しは一般的なものである)
。The present embodiment (and thus the present invention) is applied to memory data read where the memory data read address from the microprocessor I is often counted and amplified continuously (increasing the memory data read address by one unit). (using instruction word reading as a typical example,
This kind of memory data reading is common)
.
このように、マイクロプロセ、す1からのメモリデータ
読出しアドレスが連続的にカウントアツプされている場
合には、後述するように、アドレス制御部2に蓄積され
るメモリデータ読出しアドレスはマイクロプロセッサ1
からのメモリデータ読出しアドレスの値を先取りした値
となり、マイクロプロセッサ1からのメモリデータ読出
し信号(RD)の立ち下がり時(メモリデータ読出しを
指示する信号が発行される時点)には両メモリデータ読
出しアドレスは同一の値になる。In this way, when the memory data read address from the microprocessor 1 is continuously counted up, the memory data read address stored in the address control unit 2 is
The value is obtained by pre-fetching the value of the memory data read address from the microprocessor 1, and when the memory data read signal (RD) from the microprocessor 1 falls (at the time when the signal instructing the memory data read is issued), both memory data are read. The addresses will have the same value.
さて、マイクロプロセッサ1からのメモリデータ読出し
信号が立ち下がると(メモリデータ読出し信号は負論理
の信号であるので低位状態でメモリ読出しの指示を表わ
している)、マイクロプロセッサ1からのメモリデータ
読出しアドレスとアドレス制御部2に蓄積されているメ
モリデータ読出しアドレスとがアドレス比較部3によっ
て比較される。Now, when the memory data read signal from the microprocessor 1 falls (the memory data read signal is a negative logic signal, a low state indicates a memory read instruction), the memory data read address from the microprocessor 1 is and the memory data read address stored in the address control section 2 are compared by the address comparison section 3.
上述したように、この比較で両者は原則的に一致する。As mentioned above, in this comparison, the two are in principle consistent.
このように両者が一致する場合には、状態の変更は行わ
れない(それまで通りアドレス制御部2に蓄積されてい
るメモリデータ読出しアドレスがメモリ部5に送出され
続ける)。If the two match in this way, the state is not changed (the memory data read address stored in the address control unit 2 continues to be sent to the memory unit 5 as before).
メモリ部5からは、このようなメモリデータ読出しアド
レスおよびアドレス制御部2からのメモリデータ読出し
信号(MEMRD)に基づいてデータ(メモリデータ)
が読み出される。そのデータは、データ蓄積部4に読出
しデータとして蓄積される。Data (memory data) is read from the memory unit 5 based on the memory data read address and the memory data read signal (MEMRD) from the address control unit 2.
is read out. The data is stored in the data storage section 4 as read data.
データ蓄積部4に蓄積された読出しデータに対しては、
マイクロプロセッサ1によるデータ読出し処理(データ
蓄積部4に蓄積されている読出しデータを読み出す処理
)が行われる。For the read data stored in the data storage section 4,
A data read process (a process of reading out read data stored in the data storage section 4) is performed by the microprocessor 1.
一方、データ蓄積部4に読出しデータが蓄積された時点
で、アドレス制御部2に蓄積されているメモリデータ読
出しアドレスのカウントアンプが行われ、カウントアン
プ後のメモリデータ読出しアドレスが新たにメモリ部5
に送出される。On the other hand, when the read data is stored in the data storage section 4, the memory data read address stored in the address control section 2 is counted and amplified, and the memory data read address after the count amplification is newly stored in the memory section 4.
will be sent to.
このようにして送出されたカウントアンプ後のメモリデ
ータ読出しアドレスに基づき、メモリ部5から次のデー
タが読み出され、読み出されたデータがデータ蓄積部4
に読出しデータとして蓄積される。Based on the memory data read address after the count amplifier sent out in this way, the next data is read from the memory section 5, and the read data is transferred to the data storage section 4.
is stored as read data.
したがって、マイクロプロセッサ1からメモリデータ読
出しアドレスが送出される前にアドレス制御部2からそ
のメモリデータ読出しアドレスがメモリ部5に送出され
ることになり、マイクロプロセッサ1によるメモリアク
セスが高速になる。Therefore, before the memory data read address is sent from the microprocessor 1, the address control section 2 sends the memory data read address to the memory section 5, and the memory access by the microprocessor 1 becomes faster.
例えば、第2図中のメモリデータ読出しアドレスrn+
2 (nは正整数)」に基づくメモリデータ読出しにお
いては、前回のメモリデータ読出しくメモリデータ読出
しアドレスrn+IJに基づくメモリデータ読出し)に
係る読出しデータがデータ蓄積部4に蓄積された時刻t
2において、アクセス制御部2に蓄積されているメモリ
データ読出しアドレスのカラン)・アップが行われ、カ
ウントアツプされたメモリデータ読出しアドレス「n+
2」がメモリ部5に送出される。この時刻t2は、マイ
クロプロセッサ1からメモリデータ読出しアドレスrn
+2Jが送出される時刻t3よりも早い時刻である。し
たがって、時刻t4においてすでにメモリデータ読出し
アドレス「n+2」に係る読出しデータがデータ蓄積部
4に蓄積されることになり、マイクロプロセッサ1によ
るメモリアクセスが高速になる。For example, the memory data read address rn+ in FIG.
2 (n is a positive integer), the time t when the read data related to the previous memory data read (memory data read based on the memory data read address rn+IJ) was accumulated in the data storage section 4.
2, the memory data read address stored in the access control unit 2 is incremented, and the counted up memory data read address "n+" is counted up.
2'' is sent to the memory section 5. At this time t2, the memory data read address rn is read from the microprocessor 1.
This is an earlier time than the time t3 at which +2J is sent. Therefore, the read data related to the memory data read address "n+2" is already accumulated in the data storage section 4 at time t4, and the memory access by the microprocessor 1 becomes faster.
例外的に、マイクロプロセッサ1からのメモリデータ読
出しアドレスが連続的にカウントアツプされなくて、ア
ドレス比較部3による比較でマイクロプロセッサ1から
のメモリデータ読出しアドレスとアドレス制御部2に蓄
積されているメモリデータ読出しアドレスとが一致しな
い場合には、その旨がアドレス比較部3からアドレス制
御部2に通知される。Exceptionally, the memory data read address from the microprocessor 1 is not counted up continuously, and the address comparison unit 3 compares the memory data read address from the microprocessor 1 with the memory stored in the address control unit 2. If the data read address does not match, the address comparison section 3 notifies the address control section 2 of this fact.
アドレス制御部2では、この通知に基づいて、マイクロ
プロセッサ1からのメモリデータ読出しアドレスがメモ
リ部5に送出すべきメモリデータ読出しアドレスとして
新たに蓄積される。Based on this notification, the address control section 2 newly stores the memory data read address from the microprocessor 1 as the memory data read address to be sent to the memory section 5.
したがって、その時点ですでにメモリ部5に送出されて
いたメモリデータ読出しアドレスはキャンセルされ、新
たに蓄積されたメモリデータ読出しアドレスがメモリ部
5に送出され、そのメモリデータ読出しアドレスに基づ
いてメモリ部5からのデータの読出しが行われる。Therefore, the memory data read address that has already been sent to the memory unit 5 at that point is canceled, the newly accumulated memory data read address is sent to the memory unit 5, and the memory data read address is sent to the memory unit 5 based on the memory data read address. Data is read from 5.
例えば、第2図中のメモリデータ読出しアドレスrnJ
に基づくメモリデータ読出しにおいては、時刻t1にお
いてメモリデータ読出しアドレス1m(mはnでない正
整数)」とメモリデータ読出しアドレスrnJとが異な
り、それまでメモリ部5に送出されていたメモリデータ
読出しアドレスrmJがキャンセルされて、メモリデー
タ読出しアドレスrnJによるメモリデータ読出しが行
われる。For example, memory data read address rnJ in FIG.
In the memory data read based on the memory data read address rnJ, the memory data read address 1m (m is a positive integer not n) is different from the memory data read address rnJ at time t1, and the memory data read address rmJ that had been sent to the memory unit 5 until then is different from the memory data read address rmJ. is canceled, and memory data is read using the memory data read address rnJ.
このようにして、マイクロプロセッサ1からのメモリデ
ータ読出しアドレスが連続的にカウントアンプされるこ
とが原則的であるメモリデータ読出しにおいて、例外的
にそのメモリデータ読出しアドレスが連続的にカウント
アツプされない場合にも対処しつつ、マイクロプロセッ
サ1によるメモリアクセスを高速化することが可能にな
る。In this way, when reading memory data, in principle, the memory data read address from the microprocessor 1 is continuously counted up, but in exceptional cases, when the memory data read address is not counted up continuously, It becomes possible to speed up memory access by the microprocessor 1 while also dealing with the above problems.
以上説明したように本発明は、データ蓄積部アクセス制
御部およびアドレス比較部を設けることにより、キャッ
シュメモリ等の高価なハードウェアを使用しない安価な
制御装置で、マイクロプロセッサのメモリアクセスを高
速化することができ、マイクロプロセッサの処理性能を
向上させることができるという効果がある。As explained above, the present invention speeds up memory access of a microprocessor with an inexpensive control device that does not use expensive hardware such as a cache memory by providing a data storage section access control section and an address comparison section. This has the effect of improving the processing performance of the microprocessor.
特に、メモリデータ読出しアドレスが連続してカウント
アツプされることが多い命令語読出し時等においては上
述の効果が大である。The above-mentioned effect is particularly significant when reading command words, where the memory data read address is often counted up continuously.
第1図は本発明の一実施例の構成を示すブロック図、
第2図は第1図に示すメモリ高速アクセス方式の動作の
一例の概要を示すタイムチャートである。
図において、
1・・・マイクロプロセッサ、
2・・・アドレス制御部、
3・・・アドレス比較部、
4・・・データ蓄積部、
5・・・メモリ部である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a time chart showing an overview of an example of the operation of the memory high-speed access method shown in FIG. In the figure, 1... microprocessor, 2... address control section, 3... address comparison section, 4... data storage section, 5... memory section.
Claims (1)
る制御装置において、 メモリ部から読み出された読出しデータを蓄積するデー
タ蓄積部と、 メモリ部に送出するメモリデータ読出しアドレスを蓄積
し、前記データ蓄積部に読出しデータが蓄積された時点
でメモリ部に送出するメモリデータ読出しアドレスをカ
ウントアップするアドレス制御部と、 マイクロプロセッサからのメモリデータ読出しアドレス
と前記アドレス制御部に蓄積されているメモリデータ読
出しアドレスとを比較して両者が一致しない場合にマイ
クロプロセッサからのメモリデータ読出しアドレスを前
記アドレス制御部に蓄積するアドレス比較部と を有することを特徴とするメモリ高速アクセス方式。[Claims] A control device having a microprocessor and an associated memory unit, comprising: a data storage unit that stores read data read from the memory unit; and a memory data read address that stores memory data read addresses to be sent to the memory unit. , an address control unit that counts up a memory data read address to be sent to the memory unit when the read data is accumulated in the data storage unit; and a memory data read address from the microprocessor and the memory data read address stored in the address control unit. 1. A high-speed memory access system, comprising: an address comparison section that compares a memory data read address and stores a memory data read address from a microprocessor in the address control section if the two do not match.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11085890A JPH047760A (en) | 1990-04-26 | 1990-04-26 | High speed memory access system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11085890A JPH047760A (en) | 1990-04-26 | 1990-04-26 | High speed memory access system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH047760A true JPH047760A (en) | 1992-01-13 |
Family
ID=14546459
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11085890A Pending JPH047760A (en) | 1990-04-26 | 1990-04-26 | High speed memory access system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH047760A (en) |
-
1990
- 1990-04-26 JP JP11085890A patent/JPH047760A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5843777B2 (en) | Rotating magnetic storage device | |
| JPS58105363A (en) | Storage device | |
| JPH07146814A (en) | Memory device | |
| JPS59197946A (en) | Memory device | |
| JP3188042B2 (en) | Table search device in digital computer | |
| JPH0447350A (en) | Main storage read/response control | |
| JPH0324652A (en) | Method for controlling memory addressing | |
| JPH03241442A (en) | Store buffer control system | |
| JPH0465712A (en) | Information processor | |
| JPS63147248A (en) | Information processor containing buffer memory | |
| JPH08161220A (en) | Memory access controller | |
| JPH01129334A (en) | Data control system for cache memory | |
| JPH04190440A (en) | Address conversion control system | |
| JPH0276071A (en) | Data retrieval circuit | |
| JPH01113844A (en) | Disk cache device | |
| JPH0425958A (en) | Address counter control system | |
| JPH02310749A (en) | Cache main memory control system | |
| JPH01114961A (en) | Directory memory access controller | |
| JPH04205044A (en) | Buffer circuit | |
| JPH07105098A (en) | Replace device of instruction cache | |
| JPS5818709B2 (en) | Data transfer control method | |
| JPH07253962A (en) | Semiconductor device | |
| JPH03177959A (en) | Store buffer controller | |
| JPH01114962A (en) | Direct memory access controller | |
| JPS6243737A (en) | Interrupt control method |