JPH0628044B2 - Data transfer system - Google Patents
Data transfer systemInfo
- Publication number
- JPH0628044B2 JPH0628044B2 JP59187563A JP18756384A JPH0628044B2 JP H0628044 B2 JPH0628044 B2 JP H0628044B2 JP 59187563 A JP59187563 A JP 59187563A JP 18756384 A JP18756384 A JP 18756384A JP H0628044 B2 JPH0628044 B2 JP H0628044B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- data
- external memory
- cpu
- memory
- 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 - Lifetime
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】 〔発明の技術分野〕 この発明は、マイクロコンピュータのメモリアクセス方
式に係わるもので、特に連続したメモリアドレスに格納
されている複数の命令語またはデータ語を、マイクロコ
ンピュータ内にキャシュとして記憶する構造を有するマ
イクロプロセッサを用いたデータ転送システムに関す
る。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a memory access system of a microcomputer, and in particular, a plurality of instruction words or data words stored in consecutive memory addresses are stored in a microcomputer. The present invention relates to a data transfer system using a microprocessor having a structure for storing as a cache.
従来、マイクロコンピュータ(以下単にCPUと称す)
が命令語またはデータ語をメモリにアクセスする場合、
目的とする語の格納されているメモリアドレスを出力
し、その後データの書き込みまたは読み出しを行なって
いる。しかし、CPUの機能向上に伴なって、アドレス
幅、データ幅がそれぞれ16〜32ビットと増大してお
り、これらのアドレスバスおよびデータバスをそれぞれ
独立したピンに割り当てることは、CPUのパッケージ
における端子数の増加を招く。このため、アドレスおよ
びデータを同一のピンに割り当て、時分割で使用する方
式が多く取られている(例えばインテル社の8086等)。Conventionally, a microcomputer (hereinafter simply referred to as CPU)
Accesses a memory for an instruction or data word,
It outputs the memory address where the target word is stored, and then writes or reads data. However, as the functions of the CPU have been improved, the address width and the data width have been increased to 16 to 32 bits, respectively, and it is necessary to assign these address bus and data bus to independent pins. This leads to an increase in the number. Therefore, many methods are used in which addresses and data are assigned to the same pin and used in a time-sharing manner (for example, 8086 manufactured by Intel Corporation).
ところで、CPU内のキャシュメモリは、外部メモリに
比べ高速にアクセスすることができることから、データ
または命令語のための大容量のキャシュを内蔵する傾向
にある。By the way, since the cache memory in the CPU can be accessed at a higher speed than the external memory, there is a tendency to incorporate a large-capacity cache for data or instruction words.
第5図は、上述した時分割方式を実現するための構成例
を示すもので、図において、11はCPU、12はメモ
リ、13はバッファ回路、14はアドレスラッチ回路、
ADBはアドレス・データバス、DBはデータバス、A
Bはアドレスバス、R/Wはリード/ライトモード線、
ALEはアドレスラッチイネーブル信号である。FIG. 5 shows a configuration example for realizing the time division method described above. In the figure, 11 is a CPU, 12 is a memory, 13 is a buffer circuit, 14 is an address latch circuit,
ADB is address / data bus, DB is data bus, A
B is the address bus, R / W is the read / write mode line,
ALE is an address latch enable signal.
上記のような構成において、データの書き込み時には、
第6図のタイミングチャートに示すように、CPU11
からアドレスラッチ回路14にハイ(“H”)レベルの
アドレスラッチイネーブル信号ALEが出力され、この
CPU11から出力されるアドレス信号がアドレス・デ
ータバスADBを介して上記アドレスラッチ回路14に
ラッチされる。次に、ライトモード信号Wが“H”レベ
ルとなると、上記アドレスラッチ回路14にラッチされ
たアドレス信号が、アドレスバスABを介してメモリ1
2に供給されて所定のアドレスが設定され、CPU11
から出力される書き込みデータがアドレス・データバス
ADB、バッファ回路13およびデータバスDBを介し
てメモリ12に書き込まれる。In the above configuration, when writing data,
As shown in the timing chart of FIG. 6, the CPU 11
Outputs a high ("H") level address latch enable signal ALE from the address latch circuit 14, and the address signal output from the CPU 11 is latched in the address latch circuit 14 via the address / data bus ADB. Next, when the write mode signal W becomes "H" level, the address signal latched by the address latch circuit 14 is transferred to the memory 1 via the address bus AB.
2, the predetermined address is set, and the CPU 11
The write data output from is written in the memory 12 via the address / data bus ADB, the buffer circuit 13 and the data bus DB.
一方、データの読み出し時には、第7図のタイミングチ
ャートに示すように、書き込み時と同様に、まず、CP
U11からアドレスラッチ回路14に“H”レベルのア
ドレスラッチイネーブル信号ALEが出力され、CPU
11から出力されるアドレス信号がアドレス・データバ
スADBを介して上記アドレスラッチ回路14にラッチ
される。次に、リードモード信号Rが“H”レベルとな
ると、上記アドレスラッチ回路14にラッチされたアド
レス信号がアドレスバスABを介してメモリ12に供給
されて所定のアドレスが設定され、メモリ12から出力
される読み出しデータがデータバスDB、バッファ回路
13およびアドレス・データバスADBをそれぞれ介し
てCPU11に読み込まれる。On the other hand, when reading data, as shown in the timing chart of FIG.
The address latch enable signal ALE of "H" level is output from U11 to the address latch circuit 14, and the CPU
The address signal output from 11 is latched in the address latch circuit 14 via the address / data bus ADB. Next, when the read mode signal R becomes "H" level, the address signal latched by the address latch circuit 14 is supplied to the memory 12 via the address bus AB to set a predetermined address and is output from the memory 12. The read data to be read is read by the CPU 11 via the data bus DB, the buffer circuit 13, and the address / data bus ADB.
ここで、プログラムの特性として、短い時間間隔内では
アクセスするデータおよび命令は比較的限られたアドレ
スの空間内に分布するということが知られており(アク
セスのローカリティ)、この特性を生かすために、前記
データまたは命令キャシュは連続したアドレス空間内に
対応させることが多い。Here, as a characteristic of a program, it is known that data and instructions to be accessed are distributed within a relatively limited address space within a short time interval (access locality). , The data or instruction cache often corresponds to a continuous address space.
ところで、上述したような、連続したアドレス空間を順
次アクセスしてキャシュとメモリ間のデータ転送を行な
う場合には、各データ毎にアドレスを出力する従来のメ
モリアクセス方式では、アドレスを出力する時間が全デ
ータ転送時間に占る割合が大きくなる欠点がある。この
ため、高速なデータ転送を実現する阻げとなっている。By the way, when the continuous address space is sequentially accessed to transfer data between the cache and the memory as described above, in the conventional memory access method that outputs the address for each data, the time for outputting the address is There is a drawback that the ratio of the total data transfer time becomes large. This is an obstacle to realizing high-speed data transfer.
この発明は上記のような事情に鑑みてなされたもので、
その目的とするところは、高速なデータ転送を実現でき
るデータ転送システムを提供することである。The present invention has been made in view of the above circumstances,
The purpose is to provide a data transfer system capable of realizing high-speed data transfer.
すなわち、この発明においては、上記の目的を達成する
ために、キャシュメモリ、このキャシュメモリのアドレ
スを保持、カウントアップするキャシュメモリアドレス
カウンタ、アドレス・データマルチプレクサ、およびデ
ータ転送毎に更新される外部メモリアドレスカウンタを
有するCPUと、アドレス・データマルチプレクサ、メ
モリアドレスを保持、カウントアップするメモリアドレ
スカウンタ、およびメモリ本体をそれぞれ有する複数の
外部メモリ装置と、上記CPUのアドレス・データマル
チプレクサと各外部メモリ装置のアドレス・データマル
チプレクサ間にそれぞれ設けられ、各外部メモリ装置の
アドレスとデータとが時分割に多重転送されるアドレス
・データバスと、このアドレス・データバス上にアドレ
スが出力されていることを上記CPUから各外部メモリ
装置に示すアドレスラッチ線と、上記各外部メモリ装置
におけるデータの読み出しまたは書き込み状態を示すリ
ード/ライトモード線と、上記CPUから各外部メモリ
装置へデータの読み出しまたは書き込み要求が生じたこ
とを示すアクセス要求線と、上記各外部メモリ装置から
CPUに対して要求に対する処理が終了したことを示す
アクセス受理線と、上記各外部メモリ装置からCPUに
対してアドレスの出力を要求するためのアドレス要求線
とでマイクロプロセッサを構成している。That is, according to the present invention, in order to achieve the above object, a cache memory, a cache memory address counter that holds and counts up an address of the cache memory, an address / data multiplexer, and an external memory that is updated every data transfer. A plurality of external memory devices each having a CPU having an address counter, an address / data multiplexer, a memory address counter for holding and counting up a memory address, and a memory body, and an address / data multiplexer of the CPU and each external memory device. An address data bus is provided between the address and data multiplexers, and addresses and data of each external memory device are multiplexed and transferred in a time division manner, and an address is output on this address data bus. An address latch line indicating from the CPU to each external memory device, a read / write mode line indicating a data read or write state in each external memory device, and a data read or write from the CPU to each external memory device. An access request line indicating that a request has been generated, an access acceptance line indicating that the processing for the request has been completed from each of the external memory devices to the CPU, and an address output from each of the external memory devices to the CPU. The address request line for requesting constitutes a microprocessor.
そして、上記キャシュメモリと各外部メモリ装置との間
で連続したメモリアドレスのデータ転送を行なう際に、
上記CPUから外部メモリ装置へメモリ本体のアクセス
開始アドレスのみを出力し、データ毎のメモリアドレス
は出力しないようにしている。また、複数の外部メモリ
装置に跨がったアドレス空間をアクセスする場合には、
外部メモリ装置間のアドレスの境界で外部メモリ装置か
ら上記アドレス要求線を介してCPUにアドレスの出力
を要求することにより、上記CPUの外部メモリアドレ
スカウンタから次の外部メモリ装置に再度アドレスを出
力し、外部メモリ装置を引き継ぐようにしている。When performing continuous data transfer of memory addresses between the cache memory and each external memory device,
Only the access start address of the memory body is output from the CPU to the external memory device, and the memory address for each data is not output. When accessing an address space that spans multiple external memory devices,
By requesting the output of an address from the external memory device to the CPU via the address request line at an address boundary between the external memory devices, the external memory address counter of the CPU outputs the address again to the next external memory device. , The external memory device is taken over.
以下、この発明の一実施例について図面を参照して説明
する。第1図において、15はCPUで、このCPU1
5にはキャシュメモリアドレスカウンタ16、アドレス
・データマルチプレクサ17およびキャシュメモリ18
が内蔵されている。上記キャシュメモリアドレスカウン
タ16とキャシュメモリ18とはキャシュアドレスバス
CABにより接続され、アドレス・データマルチプレク
サ17とキャシュメモリ18とはデータバスDBaによ
って接続されている。また、外部メモリ装置19は、メ
モリアドレスカウンタ20、アドレス・データマルチプ
レクサ21およびメモリ本体22から構成され、メモリ
本体22はデータバスDBbによりアドレス・データマ
ルチプレクサ21と、アドレスバスABによりメモリア
ドレスカウンタ20とそれぞれ接続されている。上記C
PU15とメモリ装置19は、アドレスデータバスAD
B、アドレスラッチ線AL、リード/ライトモード線R
/W、アクセス要求線ACYおよびアクセス受理線AC
Jにより互いに接続されている。An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, reference numeral 15 is a CPU, and this CPU 1
5 includes a cash memory address counter 16, an address / data multiplexer 17, and a cash memory 18.
Is built in. The cache memory address counter 16 and the cache memory 18 are connected by a cache address bus CAB, and the address / data multiplexer 17 and the cache memory 18 are connected by a data bus DB a . The external memory device 19 is composed of a memory address counter 20, an address / data multiplexer 21 and a memory main body 22. The memory main body 22 has an address / data multiplexer 21 by a data bus DB b and a memory address counter 20 by an address bus AB. And are connected respectively. C above
The PU 15 and the memory device 19 have an address data bus AD
B, address latch line AL, read / write mode line R
/ W, access request line ACY and access acceptance line AC
Connected to each other by J.
上記アドレス・データマルチプレクサ17、21はそれ
ぞれ、アドレス信号とデータ信号とを時分割に転送する
ためのもので、アドレスラッチ線ALが“オン”状態
(“H”レベル)である時は、アドレスデータバスAD
B上にアドレス信号が出力され、他の期間にはデータ信
号がアドレスデータバスADB上に出力される。そし
て、これらのデータが転送される方向は、リード/ライ
トモード線R/Wによって選択される。The address / data multiplexers 17 and 21 are for transferring an address signal and a data signal in a time division manner. When the address latch line AL is in the "on" state ("H" level), the address data Bus AD
The address signal is output on B, and the data signal is output on the address data bus ADB in the other period. The direction in which these data are transferred is selected by the read / write mode line R / W.
また、キャシュメモリアドレスカウンタ16は、アクセ
スするキャシュメモリのアドレスを保持し、かつデータ
の転送に従って順次次のアドレスを示すように増加され
る。Further, the cache memory address counter 16 holds the address of the cache memory to be accessed and is incremented so as to sequentially indicate the next address in accordance with the data transfer.
一方、メモリアドレスカウンタ20は、アドレスラッチ
線ALが“オン”状態である時のアドレスデータバスA
DB上の信号をアドレス信号としてラッチし、さらにデ
ータ転送に従って順次次のアドレスを示すように増加さ
れる。On the other hand, the memory address counter 20 has the address data bus A when the address latch line AL is in the "ON" state.
The signal on DB is latched as an address signal, and further incremented to indicate the next address in accordance with the data transfer.
また、リード/ライトモード線R/Wは、メモリへの書
き込みモードであるか、またはメモリからの読み出しモ
ードであるかを示すもので、ここでは書き込みモードを
“H”レベルで、読み出しモードをロー(“L”)レベ
ルでそれぞれ表わすものとする。The read / write mode line R / W indicates whether the mode is a write mode to the memory or a read mode from the memory. Here, the write mode is set to the “H” level and the read mode is set to the low level. These are represented by the (“L”) level.
次に、上記のような構成において動作を説明する。ま
ず、メモリへの書き込み動作は、第2図のタイミングチ
ャートに示すように行なわれる。すなわち、CPU15
はデータの書き込みに先だちアドレスデータバスADB
上に書き込みアドレス“A”を出力するとともに、アド
レスラッチ線ALを“オン”状態に設定し、キャシュメ
モリ18の読み出しアドレス“C”をキャシュメモリア
ドレスカウンタ16に設定する。また、リード/ライト
モード線R/Wの電位を“L”レベルに設定し、書き込
みモードであることを示す。一方、メモリ装置19は、
アドレスラッチ線ALが“オン”状態であることから、
アドレス・データバスADB上の書き込みアドレス
“A”をメモリアドレスカウンタ20に読み込む。CP
U15は、所定時間経過後、アドレスラッチ線ALを
“オフ”(“L”レベル)する。Next, the operation of the above configuration will be described. First, the write operation to the memory is performed as shown in the timing chart of FIG. That is, the CPU 15
Address data bus ADB before writing data
The write address "A" is output to the above, the address latch line AL is set to the "ON" state, and the read address "C" of the cache memory 18 is set to the cache memory address counter 16. Further, the potential of the read / write mode line R / W is set to the “L” level to indicate the write mode. On the other hand, the memory device 19
Since the address latch line AL is in the "on" state,
The write address “A” on the address / data bus ADB is read into the memory address counter 20. CP
U15 turns off ("L" level) the address latch line AL after a lapse of a predetermined time.
次に、CPU15は、キャシュアドレス“C”のデータ
をアドレス・データバスADBに出力するとともに、ア
クセス要求線ACYを“オン”にし、書き込みデータが
出力されていることを示す。この時、メモリ装置19
は、アドレス・データバスADB上のデータをメモリア
ドレス“A”に書き込み、その動作終了を示すためにア
クセス受理線ACJを“オン”にするとともに、次のア
ドレスを示すようにメモリアドレスカウンタ20をカウ
ントアップする。Next, the CPU 15 outputs the data of the cache address “C” to the address / data bus ADB and turns on the access request line ACY to indicate that the write data is being output. At this time, the memory device 19
Writes the data on the address / data bus ADB to the memory address “A”, turns on the access acceptance line ACJ to indicate the end of the operation, and sets the memory address counter 20 to indicate the next address. Count up.
これによって、CPU15はアクセス受理線ACJの
“オン”を受け取り、アクセス要求線ACYを“オフ”
し、キャシュメモリアドレスカウンタ16をカウントア
ップする。そして、メモリ装置19はアクセス要求線A
CYの“オフ”を受け、アクセス受理線ACJを“オ
フ”して1回のデータ転送を終了する。As a result, the CPU 15 receives “ON” on the access acceptance line ACJ and “OFF” on the access request line ACY.
Then, the cache memory address counter 16 is counted up. Then, the memory device 19 uses the access request line A
Upon reception of CY "off", the access acceptance line ACJ is turned "off" to complete one data transfer.
次に、CPU15からキャシュアドレス“C+1”のデ
ータをアドレス・データバスADBに出力し、アクセス
要求線ACYを“オン”にして書き込みデータが出力さ
れていることを示す。以下、上述した動作を必要な回数
だけ繰り返してデータの転送を行なう。Next, it is shown that the CPU 15 outputs the data of the cache address "C + 1" to the address / data bus ADB, turns the access request line ACY "ON", and outputs the write data. Hereinafter, the above-described operation is repeated as many times as necessary to transfer data.
一方、メモリからの読み出しは、第3図のタイミングチ
ャートに示すようにして行なわれる。まず、CPU15
はメモリへの書き込み時と同様に、キャシュメモリアド
レスカウンタ16、メモリアドレスカウンタ20および
リード/ライトモード線R/Wを設定する。次に、CP
U15はメモリからデータを読み出すためにアクセス要
求線ACYを“オン”に設定する。この時、メモリ装置
19は、メモリアドレス“A′”のデータを読み出し、
アドレス・データバスADB上に出力し、アクセス受理
線ACJを“オン”にすることによりデータが有効であ
ることを示す。On the other hand, reading from the memory is performed as shown in the timing chart of FIG. First, the CPU 15
Sets the cache memory address counter 16, the memory address counter 20, and the read / write mode line R / W as in the case of writing to the memory. Next, CP
U15 sets the access request line ACY to "ON" in order to read the data from the memory. At this time, the memory device 19 reads the data of the memory address “A ′”,
The data is output on the address / data bus ADB, and the access acceptance line ACJ is turned on to indicate that the data is valid.
次に、CPU15は、アクセス受理線ACJの“オン”
を受け取り、アドレス・データバスADB上のデータを
キャシュメモリ18に書き込み、アクセス要求線ACY
を“オフ”するとともに、キャシュメモリアドレスカウ
ンタ16を次アドレスを示すようにカウントアップす
る。メモリ装置19は、アクセス要求線ACYの“オ
フ”を受け取り、アクセス受理線ACJを“オフ”する
とともに、メモリアドレスカウンタ20をカウントアッ
プして1回のデータ転送を終了する。以下、上述した動
作を必要回数だけ繰り返してデータ転送を行なう。Next, the CPU 15 turns on the access acceptance line ACJ.
Is received, the data on the address / data bus ADB is written to the cache memory 18, and the access request line ACY
Is turned off, and the cache memory address counter 16 is counted up to indicate the next address. The memory device 19 receives “OFF” of the access request line ACY, turns “OFF” the access acceptance line ACJ, counts up the memory address counter 20, and ends one data transfer. Hereinafter, the above-described operation is repeated a necessary number of times to transfer data.
前述したように、メモリへの書き込み動作および読み出
し動作においては、アクセス要求線ACYとアクセス受
理線とがハンドシェークを行ないながらデータ転送を行
なう。As described above, in the memory write operation and memory read operation, the data transfer is performed while the access request line ACY and the access acceptance line perform the handshake.
従って、このようなメモリアクセス方式のマイクロプロ
セッサでは、CPUとメモリとの間のデータ転送の際、
データ転送に先立ってアクセス開始アドレスを1回だけ
メモリ装置に伝え、メモリ装置およびCPU内のアドレ
スカウンタにより連続したアドレス空間をアクセスする
ように構成しているので、連続したデータを移動する場
合には各データのアドレスを毎回CPUから出力する必
要がない。従って、アドレス・データバス上にはデータ
のみが出力されるので、高速なデータ転送を行なうこと
ができる。Therefore, in such a memory access type microprocessor, when data is transferred between the CPU and the memory,
Prior to data transfer, the access start address is transmitted to the memory device only once, and the memory device and the address counter in the CPU are configured to access the continuous address space. Therefore, when moving continuous data, It is not necessary to output the address of each data from the CPU every time. Therefore, only data is output onto the address / data bus, so that high-speed data transfer can be performed.
また、上述した構成に加えて、CPU15に図示しない
外部メモリアドレスカウンタとアドレス要求線を設けて
いる。このような構成によれば、データ転送の途中であ
っても転送すべきメモリアドレスを出力することがで
き、異なったメモリ装置にまたがるアドレス空間に対し
データ転送を行なう場合であってもその境界で再度アド
レスが出力され、メモリ装置を引き継ぐことができる。
すなわち、第4図のタイミングチャートに示すように、
データ転送開始アドレス“A”がメモリ装置191の中
に存在し、引き続くアドレスの一部“A+2”以後のア
ドレスが他のメモリ装置192に存在する場合、メモリ
装置191の最終アドレス“A+1”になった時にメモ
リ装置191はアドレス要求線を“オン”する。これに
よって、CPU15は“A+2”のアドレスに転送され
るデータを出力する前に外部メモリアドレスカウンタの
内容を出力し、そのアドレスはメモリ装置192に引き
継がれる。In addition to the above configuration, the CPU 15 is provided with an external memory address counter and an address request line (not shown). With such a configuration, the memory address to be transferred can be output even during the data transfer, and even if the data transfer is performed to the address space extending over different memory devices, the boundary is not generated. The address is output again and the memory device can be taken over.
That is, as shown in the timing chart of FIG.
Data transfer start address "A" is present in the memory device 19 1, subsequent part of the address if the "A + 2" subsequent address exists in another memory device 19 2, the memory device 19 1 of the final address "A + 1 "memory device 19 1 when it is in the address request line" turned on ". Thus, CPU 15 is "A + 2" to output the contents of the external memory address counter prior to outputting the data to be transferred to the address, its address is taken over by the memory device 19 2.
なお、上記実施例ではリード/ライトモード線とアクセ
ス要求線とを分離したが、リード要求線およびライト要
求線に分け、それぞれデータの読み出し時、書き込み時
にアクセス受理線とハンドシェークを行なうように構成
しても良い。Although the read / write mode line and the access request line are separated in the above embodiment, they are divided into the read request line and the write request line, and are configured to perform the handshake with the access acceptance line when reading and writing data, respectively. May be.
また、メモリアドレスカウンタ20は、全アドレスビッ
トを保持、カウントアップするように構成したが、ダイ
ナミックRAMで広く採用されているページモードを有
効に利用するため、アドレスの上位ビットをロウ・アド
レスとしてD−RAMにロードして下位アドレスのみを
保持、カウントアップし、カラムアドレスとしてデータ
転送毎にD−RAMに入力する方式であっても良い。Further, the memory address counter 20 is configured to hold and count up all address bits, but in order to effectively use the page mode widely adopted in the dynamic RAM, the high-order bit of the address is set as a row address by the D address. A method may be used in which the RAM is loaded, only the lower address is held and counted up, and the column address is input to the D-RAM every data transfer.
以上説明したようにこの発明によれば、高速なデータ転
送を実現できるデータ転送システムが得られる。As described above, according to the present invention, it is possible to obtain a data transfer system capable of realizing high-speed data transfer.
第1図はこの発明の一実施例に係わるデータ転送システ
ムを説明するためのブロック図、第2図は上記第1図の
データ転送システムにおけるメモリへのデータの書き込
み動作を説明するためのタイミングチャート、第3図は
上記第1図のデータ転送システムにおけるメモリからの
データの読み出し動作を説明するためのタイミングチャ
ート、第4図は上記第1図のデータ転送システムにおい
て複数のメモリ装置を使用する際の動作を説明するため
のタイミングチャート、第5図は従来のデータ転送シス
テムを説明するためのブロック図、第6図は上記第5図
のデータ転送システムにおけるメモリへのデータの書き
込み動作を説明するためのタイミングチャート、第7図
は上記第5図のデータ転送システムにおけるメモリから
のデータの読み出し動作を説明するためのタイミングチ
ャートである。 15…CPU、16…キャシュメモリアドレスカウン
タ、17,21…アドレス・データマルチプレクサ、1
8…キャシュメモリ、19…メモリ装置、20…メモリ
アドレスカウンタ、22…メモリ本体、AL…アドレス
ラッチ線、ADB…アドレス・データバス、R/W…リ
ード/ライトモード線、ACY…アクセス要求線、AC
J…アクセス受理線。FIG. 1 is a block diagram for explaining a data transfer system according to an embodiment of the present invention, and FIG. 2 is a timing chart for explaining a data writing operation to a memory in the data transfer system of FIG. 3, FIG. 3 is a timing chart for explaining a data read operation from a memory in the data transfer system of FIG. 1, and FIG. 4 is a timing chart when a plurality of memory devices are used in the data transfer system of FIG. 5 is a timing chart for explaining the operation of FIG. 5, FIG. 5 is a block diagram for explaining the conventional data transfer system, and FIG. 6 is for explaining the data writing operation to the memory in the data transfer system of FIG. 7 is a timing chart for the above, and FIG. 7 shows reading of data from the memory in the data transfer system shown in FIG. Is a timing chart for explaining the operation. 15 ... CPU, 16 ... Cash memory address counter, 17, 21 ... Address / data multiplexer, 1
8 ... Cash memory, 19 ... Memory device, 20 ... Memory address counter, 22 ... Memory main body, AL ... Address latch line, ADB ... Address / data bus, R / W ... Read / write mode line, ACY ... Access request line, AC
J: Access acceptance line.
Claims (1)
ドレスを保持、カウントアップするキャシュメモリアド
レスカウンタ、アドレス・データマルチプレクサ、およ
びデータ転送毎に更新される外部メモリアドレスカウン
タを有するCPUと、 アドレス・データマルチプレクサ、メモリアドレスを保
持、カウントアップするメモリアドレスカウンタ、およ
びメモリ本体をそれぞれ有する複数の外部メモリ装置
と、 上記CPUのアドレス・データマルチプレクサと各外部
メモリ装置のアドレス・データマルチプレクサ間にそれ
ぞれ設けられ、各外部メモリ装置のアドレスとデータと
が時分割に多重転送されるアドレス・データバスと、 このアドレス・データバス上にアドレスが出力されてい
ることを上記CPUから各外部メモリ装置に示すアドレ
スラッチ線と、 上記各外部メモリ装置におけるデータの読み出しまたは
書き込み状態を示すリード/ライトモード線と、 上記CPUから各外部メモリ装置へデータの読み出しま
たは書き込み要求が生じたことを示すアクセス要求線
と、 上記各外部メモリ装置からCPUに対して要求に対する
処理が終了したことを示すアクセス受理線と、 上記各外部メモリ装置からCPUに対してアドレスの出
力を要求するためのアドレス要求線と を具備し、 上記キャシュメモリと各外部メモリ装置との間で連続し
たメモリアドレスのデータ転送を行なう際に、上記CP
Uから外部メモリ装置へメモリ本体のアクセス開始アド
レスを出力し、データ毎のメモリアドレスは出力せず、
複数の外部メモリ装置に跨がったアドレス空間をアクセ
スする場合には、アクセス中の外部メモリ装置の最終ア
ドレスになった時に、この外部メモリ装置から上記アド
レス要求線を介してCPUにアドレスの出力を要求する
ことにより、上記CPUの外部メモリアドレスカウンタ
から上記アドレス・データバス上に再度アドレスを出力
し、このアドレスを次の外部メモリ装置のメモリアドレ
スカウンタにラッチさせて外部メモリ装置を引き継ぐこ
とを特徴とするデータ転送システム。1. A CPU having a cache memory, a cache memory address counter for holding and counting up an address of the cache memory, an address data multiplexer, and an external memory address counter updated every data transfer, and an address data multiplexer. , A plurality of external memory devices each having a memory address counter for holding and counting up a memory address, and a memory main body, and provided between the address / data multiplexer of the CPU and the address / data multiplexer of each external memory device. The address data bus in which the address and data of the external memory device are multiplexed and transferred in a time division manner, and the fact that the address is output on this address data bus is shown from the CPU to each external memory device. A dress latch line, a read / write mode line indicating a data read or write state in each external memory device, and an access request line indicating a data read or write request from the CPU to each external memory device. An access acceptance line indicating that the processing for the request from each of the external memory devices to the CPU is completed, and an address request line for requesting the output of an address from the external memory device to the CPU. When the continuous memory address data transfer is performed between the cache memory and each external memory device, the CP
The access start address of the memory body is output from U to the external memory device, and the memory address for each data is not output.
When accessing an address space across a plurality of external memory devices, when the final address of the external memory device being accessed is reached, the address is output from this external memory device to the CPU via the address request line. Requesting to output the address again from the external memory address counter of the CPU onto the address / data bus, latch this address in the memory address counter of the next external memory device, and take over the external memory device. Characteristic data transfer system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59187563A JPH0628044B2 (en) | 1984-09-07 | 1984-09-07 | Data transfer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59187563A JPH0628044B2 (en) | 1984-09-07 | 1984-09-07 | Data transfer system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6167157A JPS6167157A (en) | 1986-04-07 |
| JPH0628044B2 true JPH0628044B2 (en) | 1994-04-13 |
Family
ID=16208270
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59187563A Expired - Lifetime JPH0628044B2 (en) | 1984-09-07 | 1984-09-07 | Data transfer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0628044B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS56156979A (en) * | 1980-04-30 | 1981-12-03 | Toshiba Corp | Information processor |
-
1984
- 1984-09-07 JP JP59187563A patent/JPH0628044B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6167157A (en) | 1986-04-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4141067A (en) | Multiprocessor system with cache memory | |
| US4805098A (en) | Write buffer | |
| US6381686B1 (en) | Parallel processor comprising multiple sub-banks to which access requests are bypassed from a request queue when corresponding page faults are generated | |
| JPH059872B2 (en) | ||
| JP3039557B2 (en) | Storage device | |
| EP0611026A1 (en) | Dual-port data cache memory | |
| JP2838210B2 (en) | Bus master | |
| US6415365B1 (en) | Write buffer for use in a data processing apparatus | |
| EP0057096B1 (en) | Information processing unit | |
| US5745707A (en) | Bus control device for computer system having computer and DMA device | |
| US6938118B1 (en) | Controlling access to a primary memory | |
| JPH0628044B2 (en) | Data transfer system | |
| JP2580263B2 (en) | Buffer storage device | |
| GB2035632A (en) | Multiprocessor system | |
| KR940001590B1 (en) | Device and Method for Reducing Memory Access Time in Block Read and Write | |
| JPH09311812A (en) | Microcomputer | |
| JPH0450625B2 (en) | ||
| JPS6020255A (en) | Buffer memory control system | |
| JPS6027967A (en) | Block transfer control method for buffer storage device | |
| JP3036809B2 (en) | Buffer management method in microcomputer | |
| JPS5841584B2 (en) | Multi-access memory method and memory chip for multi-access | |
| JPS6055459A (en) | Block data transfer storage control method | |
| JPH02122344A (en) | buffer storage | |
| JPS6232832B2 (en) | ||
| SU1591030A2 (en) | DEVICE FOR PAIRING TWO ELECTRON-COMPUTING MACHINES |