Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2544886B2 - Data transfer system and data transfer method - Google Patents
[go: Go Back, main page]

JP2544886B2 - Data transfer system and data transfer method - Google Patents

Data transfer system and data transfer method

Info

Publication number
JP2544886B2
JP2544886B2 JP5179347A JP17934793A JP2544886B2 JP 2544886 B2 JP2544886 B2 JP 2544886B2 JP 5179347 A JP5179347 A JP 5179347A JP 17934793 A JP17934793 A JP 17934793A JP 2544886 B2 JP2544886 B2 JP 2544886B2
Authority
JP
Japan
Prior art keywords
signal
address
circuit
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.)
Expired - Fee Related
Application number
JP5179347A
Other languages
Japanese (ja)
Other versions
JPH0736824A (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.)
KANOOPUSU KK
Original Assignee
KANOOPUSU KK
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 KANOOPUSU KK filed Critical KANOOPUSU KK
Priority to JP5179347A priority Critical patent/JP2544886B2/en
Publication of JPH0736824A publication Critical patent/JPH0736824A/en
Application granted granted Critical
Publication of JP2544886B2 publication Critical patent/JP2544886B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はデータ転送システムお
よび方法に関するものであり、特にその転送速度の高速
化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer system and method, and more particularly to speeding up the transfer speed thereof.

【0002】[0002]

【従来の技術】図10に、従来のデータ転送システムの
構成を示す。CPU2には、データバス4、アドレスバ
ス6が接続されている。また、読出し信号IOR0を出
力するための読出し信号ラインIORおよび書込み信号
IOW0を出力するための書込み信号ラインIOWが接
続されている。今、第1の回路10の先入先出(FIF
O)メモリ16のデータを、第2の回路20のFIFO
メモリ26に転送するものとする。
2. Description of the Related Art FIG. 10 shows the configuration of a conventional data transfer system. A data bus 4 and an address bus 6 are connected to the CPU 2. Further, the read signal line IOR for outputting the read signal IOR0 and the write signal line IOW for outputting the write signal IOW0 are connected. Now, the first-in first-out (FIF) of the first circuit 10
O) The data of the memory 16 is transferred to the FIFO of the second circuit 20.
It shall be transferred to the memory 26.

【0003】この場合、CPU2は、アドレスバス6に
第1の回路10を示すアドレス信号を出力する(図11
のα1参照)。これにあわせて、読出し信号ラインIO
Rに読出し信号IOR0を出力する(図11のβ参
照)。第1の回路10のアドレスデコーダ12は、自己
に対するアドレス信号が与えられたことを検出して、ア
ドレス一致信号CS1を出力する(図11のγ参照)。
OR回路14は、アドレス一致信号CS1と読出し信号
IOR0の論理和をとって、読出し許可信号RESを出
力する(図11のδ参照)。この読出し許可信号RES
は、FIFOメモリ16の読出し許可入力REに与えら
れる。FIFOメモリ16は、読出し許可信号RESが
与えられると、その記憶データをデータバス4に向けて
出力する(図11のD1参照)。CPU2は、この時
に、データバス4からデータを取り込んで、内部のレジ
スタに記憶する。
In this case, the CPU 2 outputs an address signal indicating the first circuit 10 to the address bus 6 (FIG. 11).
(See α1). In accordance with this, the read signal line IO
The read signal IOR0 is output to R (see β in FIG. 11). The address decoder 12 of the first circuit 10 detects that the address signal for itself is applied and outputs the address coincidence signal CS1 (see γ in FIG. 11).
The OR circuit 14 takes the logical sum of the address match signal CS1 and the read signal IOR0 and outputs the read enable signal RES (see δ in FIG. 11). This read enable signal RES
Are applied to the read permission input RE of the FIFO memory 16. When the read enable signal RES is applied, the FIFO memory 16 outputs the stored data to the data bus 4 (see D1 in FIG. 11). At this time, the CPU 2 takes in the data from the data bus 4 and stores it in the internal register.

【0004】次のサイクルで、CPU2は、アドレスバ
ス6に第2の回路20を示すアドレス信号を出力する
(図11のα2参照)。これにあわせて、書込み信号ラ
インIOWに書込み信号IOW0を出力する(図11の
ζ参照)。さらに、データバス4に対し、レジスタに記
憶したデータを出力する(図11のD2参照)。第2の
回路20のアドレスデコーダ22は、自己に対するアド
レス信号が与えられたことを検出して、アドレス一致信
号CS2を出力する。OR回路24は、アドレス一致信
号CS2と書込み信号IOW0の論理和をとって、書込
み許可信号WESを出力する(図11のη参照)。この
書込み許可信号WESは、FIFOメモリ26の書込み
許可入力WEに与えられる。FIFOメモリ26は、書
込み許可信号WESが与えられると、データバス4から
のデータを取り込んで記憶する。
In the next cycle, the CPU 2 outputs an address signal indicating the second circuit 20 to the address bus 6 (see α2 in FIG. 11). At the same time, the write signal IOW0 is output to the write signal line IOW (see ζ in FIG. 11). Further, the data stored in the register is output to the data bus 4 (see D2 in FIG. 11). The address decoder 22 of the second circuit 20 detects that the address signal for itself is applied, and outputs the address match signal CS2. The OR circuit 24 takes the logical sum of the address coincidence signal CS2 and the write signal IOW0 and outputs the write enable signal WES (see η in FIG. 11). The write enable signal WES is applied to the write enable input WE of the FIFO memory 26. When the write enable signal WES is given, the FIFO memory 26 takes in and stores the data from the data bus 4.

【0005】上記のようにして、第1の回路10から第
2の回路20へ、データの転送を行うことができる。多
数のデータを連続して転送する場合には、上記の動作を
繰り返して行えばよい。
Data can be transferred from the first circuit 10 to the second circuit 20 as described above. When a large number of data are continuously transferred, the above operation may be repeated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
従来技術には次のような問題点があった。第1の回路か
ら第2の回路へデータを伝送するために、2つのサイク
ルが必要であり、転送速度が遅いという問題があった。
特に、データバスやアドレスバスとして、規格化された
速度の遅いバス(パーソナルコンピュータの拡張バス
等)を用いる場合には、なおさらであった。
However, the above-mentioned prior art has the following problems. There is a problem that two cycles are required to transfer data from the first circuit to the second circuit, and the transfer speed is slow.
Especially, when a standardized low-speed bus (expansion bus of a personal computer or the like) is used as the data bus or the address bus, it is even more so.

【0007】この発明は、上記の問題点に鑑みて、高速
にデータ転送を行うことのできるシステムおよび方法を
提供することを目的とする。
In view of the above problems, it is an object of the present invention to provide a system and method capable of high speed data transfer.

【0008】[0008]

【課題を解決するための手段】請求項1のデータ転送方
法は、CPUのデータバスおよびアドレスバスに接続さ
れた第1の回路から、前記データバスおよびアドレスバ
スに接続された第2の回路にデータを転送する方法であ
って、第1の回路は第1の記憶回路および第1の制御回
路を備えており、第2の回路は第2の記憶回路および第
2の制御回路を備えており、CPUは、第1の制御回路
に対して読出し信号を出力するとともに、第1の回路を
指定するアドレス信号をアドレスバスに出力し、第1の
制御回路は、前記読出し信号と前記アドレス信号とに基
づいて読出し許可信号を生成し、第1の記憶回路は、読
出し許可信号に基づき記憶していたデータをデータバス
に出力し、第2の制御回路は、前記読出し信号と前記ア
ドレス信号とに基づいて書込み許可信号を生成し、第2
の記憶回路は、書込み許可信号に基づきデータバス上の
データを取り込んで記憶することを特徴としている。
According to a first aspect of the present invention, there is provided a data transfer method comprising: a first circuit connected to a data bus and an address bus of a CPU; and a second circuit connected to the data bus and the address bus. A method of transferring data, wherein a first circuit comprises a first memory circuit and a first control circuit, and a second circuit comprises a second memory circuit and a second control circuit. , The CPU outputs a read signal to the first control circuit and also outputs an address signal designating the first circuit to the address bus, and the first control circuit outputs the read signal and the address signal. Based on the read permission signal, the first storage circuit outputs the stored data to the data bus based on the read permission signal, and the second control circuit outputs the read signal and the address signal. Basis There generates a write enable signal, the second
The storage circuit is characterized by taking in and storing the data on the data bus based on the write enable signal.

【0009】請求項2のデータ転送方法は、CPUは、
第1の制御回路に対して読出し信号を出力するととも
に、第1の回路を指定するアドレス信号をアドレスバス
に出力し、第1の制御回路は、前記読出し信号と前記ア
ドレス信号とに基づいて、単位サイクル中に一連の複数
個の読出し許可信号を生成し、第1の記憶回路は、複数
個の読出し許可信号に基づき記憶していたデータを順
次、データバスに出力し、第2の制御回路は、前記読出
し信号と前記アドレス信号とに基づいて、前記複数個の
読出し許可信号に対応する、一連の複数個の書込み許可
信号を生成し、第2の記憶回路は、複数個の書込み許可
信号に基づきデータバス上のデータを順次取り込んで記
憶することを特徴としている。
In the data transfer method of claim 2, the CPU is
The read signal is output to the first control circuit, and the address signal designating the first circuit is output to the address bus. The first control circuit, based on the read signal and the address signal, A series of a plurality of read permission signals are generated in a unit cycle, the first memory circuit sequentially outputs the stored data to the data bus based on the plurality of read permission signals, and the second control circuit Generates a series of a plurality of write permission signals corresponding to the plurality of read permission signals based on the read signal and the address signal, and the second memory circuit is configured to generate a plurality of write permission signals. It is characterized in that the data on the data bus is sequentially fetched and stored on the basis of the above.

【0010】請求項3のデータ転送方法は、前記第2の
制御回路は、前記単位サイクル中にデータ転送を終了で
きるように、CPUに対して、ウエイト信号を出力する
ことを特徴としている。
The data transfer method according to claim 3 is characterized in that the second control circuit outputs a wait signal to the CPU so that the data transfer can be completed during the unit cycle.

【0011】請求項4のデータ転送方法および請求項1
1のデータ転送システムは、第2の制御回路が分割信号
を生成し、この分割信号に基づいて書込み許可信号を第
1回書込み許可信号と第2回書込み許可信号に分割する
とともに、第1の制御回路は、第2の制御回路からの分
割信号に基づいて読出し許可信号を第1回読出し許可信
号と第2回読出し許可信号に分割することを特徴として
いる。
A data transfer method according to claim 4 and claim 1
In the first data transfer system, the second control circuit generates the division signal, divides the write permission signal into the first write permission signal and the second write permission signal based on the division signal, and The control circuit is characterized in that the read permission signal is divided into a first read permission signal and a second read permission signal based on the division signal from the second control circuit.

【0012】請求項5のデータ転送方法および請求項1
2のデータ転送システムは、第1の制御回路が分割信号
を生成し、この分割信号に基づいて読出し許可信号を第
1回読出し許可信号と第2回読出し許可信号に分割する
とともに、第2の制御回路は、第1の制御回路からの分
割信号に基づいて書込み許可信号を第1回書込み許可信
号と第2回書込み許可信号に分割することを特徴として
いる。
A data transfer method according to claim 5 and claim 1
In the data transfer system of No. 2, the first control circuit generates a division signal, divides the read permission signal into a first read permission signal and a second read permission signal based on the division signal, The control circuit is characterized in that the write permission signal is divided into a first write permission signal and a second write permission signal based on the division signal from the first control circuit.

【0013】請求項6のデータ転送方法および請求項1
3のデータ転送システムは、第1または第2の記憶回路
が、先入れ先出しメモリであることを特徴としている。
A data transfer method according to claim 6 and claim 1
The data transfer system of No. 3 is characterized in that the first or second storage circuit is a first-in first-out memory.

【0014】請求項7のデータ転送方法および請求項1
4のデータ転送システムは、第1または第2の記憶回路
が、アドレス指定によるメモリであって、前記アドレス
信号は上位アドレスを指定するものであり、当該アドレ
ス指定によるメモリに対しては下位アドレスを指定する
下位アドレス信号が与えられることを特徴としている。
A data transfer method according to claim 7 and claim 1
In the data transfer system of No. 4, the first or second memory circuit is a memory by addressing, the address signal specifies a higher address, and a lower address is specified for the memory by the addressing. It is characterized in that a lower address signal to be designated is given.

【0015】請求項8のデータ転送システムは、第1の
回路は、アドレスバスのアドレス信号が自己のアドレス
と一致した場合に第1アドレス一致信号を出力する第1
のアドレスデコーダと、CPUからの読出し信号と第1
アドレス一致信号に基づいて読出し許可信号を生成する
読出し許可信号生成回路と、読出し許可信号を受けて、
記憶しているデータをデータバスに出力する第1の記憶
回路と、を備えており、第2の回路は、アドレスバスの
アドレス信号が自己のアドレスと一致した場合に第2ア
ドレス一致信号を出力する第2のアドレスデコーダであ
って、当該自己のアドレスを前記第1の回路のアドレス
と同一にした第2のアドレスデコーダと、CPUからの
読出し信号と第2アドレス一致信号に基づいて書込み許
可信号を生成する書込み許可信号生成回路と、書込み許
可信号を受けて、データバス上のデータを記憶する第2
の記憶回路と、を備えていることを特徴としている。
According to another aspect of the data transfer system of the present invention, the first circuit outputs the first address coincidence signal when the address signal on the address bus coincides with its own address.
Address decoder, read signal from CPU and first
A read enable signal generation circuit that generates a read enable signal based on the address match signal, and a read enable signal,
A first memory circuit for outputting the stored data to a data bus, and the second circuit outputs a second address match signal when the address signal of the address bus matches its own address. A second address decoder that makes its own address the same as the address of the first circuit, and a write enable signal based on a read signal and a second address match signal from the CPU. A write enable signal generating circuit for generating a write enable signal and a second circuit for receiving the write enable signal and storing the data on the data bus
And a memory circuit of.

【0016】請求項9のデータ転送システムは、第1の
回路は、アドレスバスのアドレス信号が自己のアドレス
と一致した場合に第1アドレス一致信号を出力する第1
のアドレスデコーダと、CPUからの読出し信号と第1
アドレス一致信号に基づいて、単位サイクル中に一連の
複数の読出し許可信号を生成する読出し許可信号生成回
路と、複数の読出し許可信号を受けて、記憶しているデ
ータを順次データバスに出力する第1の記憶回路と、を
備えており、第2の回路は、アドレスバスのアドレス信
号が自己のアドレスと一致した場合に第2アドレス一致
信号を出力する第2アドレスデコーダであって、当該自
己のアドレスを前記第1の回路のアドレスと同一にした
第2のアドレスデコーダと、CPUからの読出し信号と
第2アドレス一致信号に基づいて、前記読出し許可信号
に対応する一連の複数の書込み許可信号を生成する書込
み許可信号生成回路と、複数の書込み許可信号を受け
て、データバス上のデータを順次記憶する第2の記憶回
路と、を備えていることを特徴としている。
According to another aspect of the data transfer system of the present invention, the first circuit outputs the first address coincidence signal when the address signal on the address bus coincides with its own address.
Address decoder, read signal from CPU and first
A read enable signal generation circuit that generates a series of read enable signals in a unit cycle based on the address match signal, and a plurality of read enable signals that receive the stored read data and sequentially output the stored data to a data bus. The second circuit is a second address decoder which outputs a second address match signal when the address signal of the address bus matches its own address. A second address decoder whose address is the same as the address of the first circuit, and a series of write enable signals corresponding to the read enable signal based on the read signal and the second address match signal from the CPU. A write enable signal generation circuit for generating and a second memory circuit for receiving a plurality of write enable signals and sequentially storing the data on the data bus are provided. It is characterized by a door.

【0017】請求項10のデータ転送システムは、前記
第2の回路が、前記単位サイクル中にデータ転送を終了
できるように、CPUに対して、ウエイト信号を出力す
るウエイト信号生成回路を備えていることを特徴として
いる。
A data transfer system according to a tenth aspect of the present invention comprises a wait signal generation circuit for outputting a wait signal to the CPU so that the second circuit can finish the data transfer during the unit cycle. It is characterized by that.

【0018】[0018]

【作用】請求項1および8のデータ転送方法・システム
においては、第1の回路と第2の回路のアドレスを同一
にし、CPUからの読出し信号によって第1の回路から
読み出すとともに、同時に第2の回路に書込むようにし
ている。したがって、1つのサイクルで転送を完了する
ことができ、転送速度が向上する。
In the data transfer method and system according to claims 1 and 8, the addresses of the first circuit and the second circuit are made the same, the signal is read from the first circuit by a read signal from the CPU, and at the same time the second circuit is read. I try to write to the circuit. Therefore, the transfer can be completed in one cycle, and the transfer speed is improved.

【0019】請求項2および9のデータ転送方法・シス
テムにおいては、さらに、CPUからの1つの読出し信
号に対応して、複数の読出し許可信号と書込み許可信号
を生成するようにしている。したがって、1つのサイク
ル中に複数のデータを転送することができ、さらに転送
速度が向上する。
In the data transfer method / system according to claims 2 and 9, a plurality of read permission signals and write permission signals are further generated in response to one read signal from the CPU. Therefore, a plurality of data can be transferred in one cycle, and the transfer speed is further improved.

【0020】請求項3および10のデータ転送方法・シ
ステムにおいては、単位サイクル中にデータ転送を完了
できるように、ウエイト信号をCPUに対して与えるよ
うにしている。したがって、確実にデータ転送を行うこ
とができる。
In the data transfer method and system according to claims 3 and 10, a wait signal is given to the CPU so that the data transfer can be completed in a unit cycle. Therefore, the data transfer can be reliably performed.

【0021】請求項4および11のデータ転送方法・シ
ステムにおいては、第2の回路からの分割信号により第
2回読出し許可信号を生成するようにしている。したが
って、確実かつ正確にデータ転送を行いつつ、転送速度
を向上させることができる。請求項5および12のデー
タ転送方法・システムにおいては、第1の回路からの分
割信号により第2回書込み許可信号を生成するようにし
ている。したがって、確実かつ正確にデータ転送を行い
つつ、転送速度を向上させることができる。
In the data transfer method and system according to claims 4 and 11, the second read enable signal is generated by the division signal from the second circuit. Therefore, the transfer speed can be improved while surely and accurately transferring the data. In the data transfer method and system according to claims 5 and 12, the second write enable signal is generated by the division signal from the first circuit. Therefore, the transfer speed can be improved while surely and accurately transferring the data.

【0022】[0022]

【実施例】図1に、この発明の一実施例によるデータ転
送システムの構成を示す。第1の記憶回路に該当するの
がFIFOメモリ16であり、第2の記憶回路に該当す
るのがFIFOメモリ26である。また、第1の制御回
路に該当するのがアドレスデコーダ12AとOR回路1
4であり、第2の制御回路に該当するのがアドレスデコ
ーダ12BとOR回路24である。
1 shows the structure of a data transfer system according to an embodiment of the present invention. The first memory circuit corresponds to the FIFO memory 16, and the second memory circuit corresponds to the FIFO memory 26. The first control circuit corresponds to the address decoder 12A and the OR circuit 1
4, and the address decoder 12B and the OR circuit 24 correspond to the second control circuit.

【0023】この実施例においては、第1の回路10に
割り当てられたアドレスと、第2の回路20に割り当て
られたアドレスとが、同じにされている。すなわち、ア
ドレスデコーダ12Aとアドレスデコーダ12Bは、同
じアドレスに対してアドレス一致信号を出すように構成
されている。また、第2の回路20は、CPU2からの
読出し信号IOR0に基づいて、書込み許可信号WES
を生成するようにしている。
In this embodiment, the address assigned to the first circuit 10 and the address assigned to the second circuit 20 are the same. That is, the address decoder 12A and the address decoder 12B are configured to output the address match signal to the same address. The second circuit 20 also writes the write enable signal WES based on the read signal IOR0 from the CPU 2.
I am trying to generate.

【0024】図2に、このシステムの動作を表わすタイ
ミングチャートを示す。今、第1の回路10のFIFO
メモリ16のデータを、第2の回路20のFIFOメモ
リ26に転送するものとして説明する。この場合、CP
U2は、アドレスバス6に第1の回路10を示すアドレ
ス信号を出力する(図2のα参照)。アドレスデコーダ
12Aは、自己に対するアドレスが与えられたことを検
出して、アドレス一致信号CS1を出力する。さらに、
CPU2は、読出し信号ラインIORに読出し信号IO
R0を出力する(図2のβ参照)。
FIG. 2 is a timing chart showing the operation of this system. Now the FIFO of the first circuit 10
The data in the memory 16 will be described as being transferred to the FIFO memory 26 of the second circuit 20. In this case, CP
U2 outputs an address signal indicating the first circuit 10 to the address bus 6 (see α in FIG. 2). The address decoder 12A detects that an address for itself is given and outputs an address match signal CS1. further,
The CPU 2 sends the read signal IO to the read signal line IOR.
R0 is output (see β in FIG. 2).

【0025】これを受けて、第1の回路10のOR回路
14は、アドレス一致信号CS1と読出し信号IOR0
との論理和をとって、読出し許可信号RESを出力する
(図2のδ参照)。この読出し許可信号RESは、FI
FOメモリ16の読出し許可入力REに与えられる。F
IFOメモリ16は、読出し許可信号RESが与えられ
ると、その記憶データをデータバス4に向けて出力する
(図2のD参照)。
In response to this, the OR circuit 14 of the first circuit 10 causes the address match signal CS1 and the read signal IOR0.
And the read permission signal RES is output (see δ in FIG. 2). This read enable signal RES is FI
It is given to the read permission input RE of the FO memory 16. F
When the read enable signal RES is applied, the IFO memory 16 outputs the stored data to the data bus 4 (see D in FIG. 2).

【0026】一方、第2の回路20に対しても、第1の
回路10と同じアドレスが割り当てられているので、第
2の回路20のアドレスデコーダ12Bは、第1の回路
10のアドレス一致信号CS1と同じタイミングで、ア
ドレス一致信号CS2を出力する。また、第2の回路2
0のOR回路24は、このアドレス一致信号CS2と読
出し信号IOR0の論理和をとって、書込み許可信号W
ESを生成する(図2のη参照)。したがって、書込み
許可信号WESは、読出し許可信号RESとほぼ同じタ
イミングで出力される。この書込み許可信号WESは、
FIFOメモリ26の書込み許可入力WEに与えられ
る。FIFOメモリ26は、書込み許可信号WESが与
えられると、データバス4上のデータを取り込んで記憶
する。この時、データバス4上には、第1の回路10か
らのデータが出力されているので、第1の回路10から
第2の回路20へデータが転送されることとなる。
On the other hand, since the same address as that of the first circuit 10 is assigned also to the second circuit 20, the address decoder 12B of the second circuit 20 causes the address decoder 12B of the first circuit 10 to receive the address match signal of the first circuit 10. The address coincidence signal CS2 is output at the same timing as CS1. In addition, the second circuit 2
The OR circuit 24 of 0 takes the logical sum of the address coincidence signal CS2 and the read signal IOR0 to obtain the write enable signal W
ES is generated (see η in FIG. 2). Therefore, the write enable signal WES is output at substantially the same timing as the read enable signal RES. This write enable signal WES is
It is given to the write permission input WE of the FIFO memory 26. The FIFO memory 26 receives and stores the data on the data bus 4 when the write enable signal WES is applied. At this time, since the data from the first circuit 10 is being output onto the data bus 4, the data will be transferred from the first circuit 10 to the second circuit 20.

【0027】以上のようにして1単位のデータを転送す
ると、CPU2は、次のサイクルにおいて同様にして読
出し信号IORとアドレス信号を出力し、次のデータの
転送を行う。
When one unit of data is transferred as described above, the CPU 2 similarly outputs the read signal IOR and the address signal in the next cycle to transfer the next data.

【0028】このように、読出しと書込みを1つのサイ
クルで行うため、従来の方法に比べて、転送速度が大き
く向上する。特に、パーソナルコンピュータの拡張バス
ラインのように、互換性確保のために処理速度が遅く設
定されているような場合に、この実施例によるシステム
を採用することで、転送速度を2倍にすることができ、
有用性が高い。
As described above, since the reading and writing are performed in one cycle, the transfer speed is greatly improved as compared with the conventional method. In particular, when the processing speed is set low to ensure compatibility, such as the expansion bus line of a personal computer, the transfer speed can be doubled by adopting the system according to this embodiment. Can
Highly useful.

【0029】他の実施例を図3に示す。この実施例にお
いても、第1の回路10と第2の回路20に割り当てた
アドレスを同じにしており、また、第2の回路20が読
出し信号IORに基づいて書込み許可信号を生成してい
る点は、図1の実施例と同じである。この実施例では、
読出し許可信号RESをリードパルス発生回路13によ
って分割し、1つのサイクル内で4つの読出し許可信号
RES1〜RES4を得るようにしている(図4のRE
S1〜RES4参照)。この実施例においては、OR回
路14、リードパルス発生回路13、アドレスデコーダ
12Aによって第1の制御回路が構成されている。ま
た、OR回路24、ライトパルス発生回路23、ウエイ
ト信号発生回路25、アドレスデコーダ12Bによって
第2の制御回路が構成されている。
Another embodiment is shown in FIG. Also in this embodiment, the addresses assigned to the first circuit 10 and the second circuit 20 are the same, and the second circuit 20 generates the write enable signal based on the read signal IOR. Is the same as the embodiment of FIG. In this example,
The read enable signal RES is divided by the read pulse generation circuit 13 so that four read enable signals RES1 to RES4 are obtained in one cycle (RE in FIG. 4).
S1 to RES4). In this embodiment, the OR circuit 14, the read pulse generating circuit 13, and the address decoder 12A constitute a first control circuit. Further, the OR circuit 24, the write pulse generating circuit 23, the wait signal generating circuit 25, and the address decoder 12B constitute a second control circuit.

【0030】図4に示すように分割された読出し許可信
号RES1〜RES4は、FIFOメモリ16の読出し
許可入力REに与えられる。FIFOメモリ16は、読
出し許可信号RES1〜RES4が与えられるごとに、
その記憶データを順次データバス4に向けて出力する
(図4のD1〜D4参照)。すなわち、読出し許可信号
RES1を受けて、記憶している1番目のデータD1を
データバス4に出力し、次に、読出し許可信号RES2
を受けて、記憶している次のデータD2をデータバス4
に出力し・・・・というように、順次データを出力して
いく。
The read permission signals RES1 to RES4 divided as shown in FIG. 4 are applied to the read permission input RE of the FIFO memory 16. The FIFO memory 16 receives the read enable signals RES1 to RES4,
The stored data is sequentially output to the data bus 4 (see D1 to D4 in FIG. 4). That is, in response to the read enable signal RES1, the stored first data D1 is output to the data bus 4, and then the read enable signal RES2.
Then, the next data D2 stored therein is transferred to the data bus 4
The data is sequentially output.

【0031】一方、第2の回路20には、書込み許可信
号WESを分割するライトパルス発生回路23が設けら
れている。このライトパルス発生回路23の構成は、リ
ードパルス発生回路13と同じものとすればよい。ライ
トパルス発生回路23は、読出し許可信号RES1〜R
ES4と同じタイミングで出力が出されるように構成さ
れている(図4のWES1〜WES4参照)。したがっ
て、第1の回路10からデータバス4に出力されたデー
タD1〜D4を、順次、取り込んで記憶することができ
る。
On the other hand, the second circuit 20 is provided with a write pulse generating circuit 23 for dividing the write enable signal WES. The write pulse generating circuit 23 may have the same configuration as the read pulse generating circuit 13. The write pulse generation circuit 23 uses the read enable signals RES1 to R
The output is configured to be output at the same timing as ES4 (see WES1 to WES4 in FIG. 4). Therefore, the data D1 to D4 output from the first circuit 10 to the data bus 4 can be sequentially captured and stored.

【0032】なお、第2の回路20には、ウエイト信号
発生回路25が設けられている。この回路は、書込み許
可信号WESを受けて、図4のθに示すようなウエイト
信号IORDY1を出力するものである。このウエイト
信号IORDY1は、ウエイト信号ラインIORDYを
介してCPU2に与えられる。これにより、CPU2
は、ウエイト信号IORDY1が出されている間(Lの
期間中)は、読出し信号ラインIORに出力している読
出し信号IOR0を変化させない。したがって、ウエイ
ト信号IORDY1を、4番目のデータD4がFIFO
メモリ26に読み込まれるまで出力することにより、確
実にデータ転送を行うことができる。つまり、4つのデ
ータを転送するのに標準の1サイクル時間を越える可能
性がある場合には、この実施例のようにウエイト信号I
ORDY1を用いることが、信頼性向上の点から好まし
い。
A wait signal generating circuit 25 is provided in the second circuit 20. This circuit receives the write enable signal WES and outputs a wait signal IORDY1 as shown by θ in FIG. The weight signal IORDY1 is given to the CPU 2 through the weight signal line IORDY. As a result, the CPU2
Does not change the read signal IOR0 output to the read signal line IOR while the wait signal IORDY1 is being output (during the period of L). Therefore, the wait signal IORDY1 is transmitted to the fourth data D4 in the FIFO.
By outputting the data until it is read into the memory 26, it is possible to reliably transfer the data. That is, when there is a possibility that the standard one cycle time is exceeded to transfer four data, the wait signal I as in this embodiment is used.
It is preferable to use ORDY1 from the viewpoint of improving reliability.

【0033】なお、標準の1サイクル時間中に4つのデ
ータを確実に転送できるのであれば、ウエイト信号IO
RDY1を用いない方が、高速転送を行うことができ
る。
If the four data can be reliably transferred within the standard one cycle time, the wait signal IO
Higher-speed transfer can be performed without using RDY1.

【0034】この実施例において用いたライトパルス発
生回23およびウエイト信号発生回路25の詳細を、図
5の状態遷移図によって説明する。図において、WEは
ライトパルス発生回路23の出力を表わし、WTはウエ
イト信号発生回路25の出力を表わしている。入力が
「H」である間、すなわち信号WESが「H」の間は、
状態0(WE=「H」、WT=「H」)を保持してい
る。次に、信号WESが「L」になると、状態1(WE
=「L」、WE=「L」)に移る。その後は、クロック
φ(図3参照)が与えられるごとに、状態2、状態3と
いうように遷移していく。これによって、図4に示すよ
うな、書込み許可信号WES1〜WES4およびウエイ
ト信号IORDY1を生成することができる。
Details of the write pulse generation circuit 23 and the wait signal generation circuit 25 used in this embodiment will be described with reference to the state transition diagram of FIG. In the figure, WE represents the output of the write pulse generation circuit 23, and WT represents the output of the wait signal generation circuit 25. While the input is "H", that is, while the signal WES is "H",
The state 0 (WE = “H”, WT = “H”) is held. Next, when the signal WES becomes “L”, the state 1 (WE
= “L”, WE = “L”). After that, each time the clock φ (see FIG. 3) is applied, the state transitions to state 2, state 3, and so on. As a result, write enable signals WES1 to WES4 and wait signal IORDY1 as shown in FIG. 4 can be generated.

【0035】また、リードパルス発生回路13も、上記
と同じようにして読出し許可信号RES1〜RES4を
生成する。ただし、ウエイト信号は生成しない。この実
施例では、リードパルス発生回路13とライトパルス発
生回路23の双方に対して、CPU2のシステムクロッ
クφ(もしくは、これを分周、逓倍したもの)を用いて
いる。したがって、両回路の動作が同期し、確実なデー
タ転送を行うことができる。なお、許容できる誤差の範
囲で同じ周波数を保つクロック信号があれば、それを使
用してもよい。
The read pulse generation circuit 13 also generates the read permission signals RES1 to RES4 in the same manner as described above. However, no weight signal is generated. In this embodiment, the system clock φ of the CPU 2 (or a divided or multiplied version thereof) is used for both the read pulse generation circuit 13 and the write pulse generation circuit 23. Therefore, the operations of both circuits are synchronized, and reliable data transfer can be performed. If there is a clock signal that keeps the same frequency within an allowable error range, it may be used.

【0036】図5のような動作を行う回路は、プログラ
マブル・ロジック等によって容易に構成できる他、ロジ
ック回路によっても容易に構成可能である。
The circuit for performing the operation shown in FIG. 5 can be easily configured by a programmable logic or the like, and can also be easily configured by a logic circuit.

【0037】この実施例では、読出し許可信号と書込み
許可信号を4つに分割しているので、1つのサイクルに
おいて、4つの単位データを転送することが可能とな
る。すなわち、高速にデータ転送を行うことができる。
In this embodiment, since the read enable signal and the write enable signal are divided into four, it is possible to transfer four unit data in one cycle. That is, data can be transferred at high speed.

【0038】なお、上記実施例では、読出し許可信号、
書込み許可信号を4分割したが、分割数は任意に選択す
ることができる。
In the above embodiment, the read permission signal,
Although the write permission signal is divided into four, the number of divisions can be arbitrarily selected.

【0039】図6に、他の実施例によるデータ転送シス
テムを示す。この実施例においても、第1の回路10と
第2の回路20に割り当てたアドレスを同じにしてお
り、また、第2の回路20が読出し信号IORに基づい
て書込み許可信号を生成している点は、図1、図3の実
施例と同じである。この実施例では、1つのサイクル内
で第1回読出し許可信号RES1、第2回読出し許可信
号RES2を得るようにしている(図7のRES1、R
ES2参照)。この実施例が図3の実施例と異なる点
は、第2の回路20からの信号を受けて、第1の回路1
0が第2回読出し許可信号RES2を生成することであ
る。これにより、データ転送の信頼性を向上させること
ができる。この実施例においては、アドレスデコーダ1
2A、OR回路14、遅延回路15、NOT回路17、
AND回路19によって第1の制御回路が構成されてい
る。また、アドレスデコーダ12B、OR回路24、遅
延回路27A、NOT回路29、AND回路31、バッ
ファ21、遅延回路27B、NOT回路33、AND回
路35、OR回路37によって第2の制御回路が構成さ
れている。
FIG. 6 shows a data transfer system according to another embodiment. Also in this embodiment, the addresses assigned to the first circuit 10 and the second circuit 20 are the same, and the second circuit 20 generates the write enable signal based on the read signal IOR. Is the same as the embodiment of FIGS. 1 and 3. In this embodiment, the first read enable signal RES1 and the second read enable signal RES2 are obtained within one cycle (RES1, R in FIG. 7).
See ES2). This embodiment is different from the embodiment of FIG. 3 in that the first circuit 1 receives a signal from the second circuit 20.
0 is to generate the second read enable signal RES2. As a result, the reliability of data transfer can be improved. In this embodiment, the address decoder 1
2A, OR circuit 14, delay circuit 15, NOT circuit 17,
The AND circuit 19 constitutes a first control circuit. The address decoder 12B, the OR circuit 24, the delay circuit 27A, the NOT circuit 29, the AND circuit 31, the buffer 21, the delay circuit 27B, the NOT circuit 33, the AND circuit 35, and the OR circuit 37 form a second control circuit. There is.

【0040】CPU2は、第1の回路10を示すアドレ
ス信号をアドレスバス6に出力するとともに、読出し信
号ラインIORに読出し信号IOR0を出力する。これ
を受けて、第1の回路10のアドレスデコーダ12A
は、アドレス一致信号CS1を出力する。さらに、OR
回路14は、このアドレス一致信号CS1と読出し信号
IOR0とに基づいて、第1回読出し信号RES1(図
7参照)を生成する。この第1回読出し信号RES1
は、FIFOメモリ16に与えられ、データD1がバス
ライン4に出力される。
The CPU 2 outputs the address signal indicating the first circuit 10 to the address bus 6 and also outputs the read signal IOR0 to the read signal line IOR. In response to this, the address decoder 12A of the first circuit 10
Outputs an address match signal CS1. Furthermore, OR
The circuit 14 generates the first read signal RES1 (see FIG. 7) based on the address match signal CS1 and the read signal IOR0. This first read signal RES1
Is supplied to the FIFO memory 16, and the data D1 is output to the bus line 4.

【0041】一方、第2の回路20のアドレスデコーダ
12Bは、アドレス一致信号CS2を出力する。さら
に、OR回路24は、このアドレス一致信号CS2と読
出し信号IOR0とに基づいて、図7の信号(C)を生成
する。信号(C)は、OR回路37を介して、第1回書込
み信号WES1(図7参照)としてFIFOメモリ26
に与えられる。この第1回書込み信号を受けて、FIF
Oメモリ26は、バスライン4のデータD1を取り込ん
で記憶する。これにより、データD1が転送される。
On the other hand, the address decoder 12B of the second circuit 20 outputs the address coincidence signal CS2. Further, the OR circuit 24 generates the signal (C) of FIG. 7 based on the address match signal CS2 and the read signal IOR0. The signal (C) is supplied to the FIFO memory 26 as the first write signal WES1 (see FIG. 7) via the OR circuit 37.
Given to. Upon receiving this first write signal, the FIF
The O memory 26 takes in and stores the data D1 of the bus line 4. As a result, the data D1 is transferred.

【0042】第2の回路20の信号(C)は、遅延回路2
7A、NOT回路29、OR回路31によって、分割信
号(E)に変換される。この分割信号(E)は、スリーステー
トバッファ21を介して、ウエイト信号ラインIORD
Yに出力され、第1の回路10に伝達される。第1の回
路10は、この分割信号(E)を受けて、遅延回路15、
NOT回路17、AND回路19により、図7の信号
(B)を生成する。この信号(B)はOR回路14に与えられ
ているので、OR回路14の出力は、図7に示すよう
に、第1回読出し許可信号RES1と第2回読出し許可
信号RES2に分割される。この第2回読出し許可信号
RES2により、FIFOメモリ16から次のデータD
2がバスライン4に出力される(図7のD2参照)。
The signal (C) of the second circuit 20 is the delay circuit 2
7A, the NOT circuit 29, and the OR circuit 31 convert to the divided signal (E). This divided signal (E) is sent to the wait signal line IORD via the three-state buffer 21.
It is output to Y and transmitted to the first circuit 10. The first circuit 10 receives the divided signal (E) and receives the delay circuit 15,
The signal of FIG. 7 is output by the NOT circuit 17 and the AND circuit 19.
Generate (B). Since this signal (B) is given to the OR circuit 14, the output of the OR circuit 14 is divided into the first read enable signal RES1 and the second read enable signal RES2, as shown in FIG. This second read enable signal RES2 causes the next data D from the FIFO memory 16 to be read.
2 is output to the bus line 4 (see D2 in FIG. 7).

【0043】一方、第2の回路20においても、生成し
た分割信号(E)に基づいて、遅延回路27B、NOT回
路33、AND回路35により、信号(I)が生成され
る。この信号(I)は、OR回路37に与えられているの
で、OR回路37の出力は、図7に示すように、第1回
書込み許可信号WES1と第2回書込み許可信号WES
2に分割される。この第2回書込み許可信号WES2に
より、バスライン4から次のデータD2がFIFOメモ
リ26に取り込まれ記憶される。
On the other hand, also in the second circuit 20, the delay circuit 27B, the NOT circuit 33, and the AND circuit 35 generate the signal (I) based on the generated divided signal (E). Since this signal (I) is given to the OR circuit 37, the output of the OR circuit 37 is the first write enable signal WES1 and the second write enable signal WES as shown in FIG.
It is divided into two. By the second write enable signal WES2, the next data D2 is fetched from the bus line 4 and stored in the FIFO memory 26.

【0044】上記実施例では、第2の回路20から第1
の回路10に向けて分割信号(E)を送るようにしてい
る。しかしながら、第1の回路10を、図6の第2の回
路20のように構成して、第1の回路10によって分割
信号を生成するようにし、これを第2の回路20に与え
るようにしてもよい。
In the above embodiment, the second circuit 20 to the first circuit
The divided signal (E) is sent to the circuit 10. However, the first circuit 10 is configured like the second circuit 20 of FIG. 6 so that the first circuit 10 generates the divided signal, and the divided signal is supplied to the second circuit 20. Good.

【0045】なお、上記実施例では、分割信号(E)を伝
達するためにウエイト信号ラインIORDYを用いた
が、他のラインを用いてもよい。
Although the weight signal line IORDY is used to transmit the divided signal (E) in the above embodiment, another line may be used.

【0046】なお、上記の各実施例においては、第1の
回路10と第2の回路20の双方にアドレスデコーダを
設けている。しかしながら、第1の回路10もしくは第
2の回路20の一方にのみアドレスデコーダを設け、ア
ドレスデコーダを設けた側から設けない側に対し、アド
レス一致信号を送るようにしてもよい。この場合、制御
ライン(バスライン中の使用可能なライン等)を介して
アドレス一致信号を送るようにすればよい。
In each of the above embodiments, the address decoder is provided in both the first circuit 10 and the second circuit 20. However, the address decoder may be provided only in one of the first circuit 10 and the second circuit 20, and the address match signal may be sent from the side provided with the address decoder to the side not provided. In this case, the address match signal may be sent via the control line (usable line in the bus line or the like).

【0047】上記各実施例では、本願発明の転送方法の
みを実施できるような回路構成としたが、図8に示す第
2の回路20のように通常の転送方法(通常モードい
う)と本発明の転送方法(高速モードという)を切換え
るようにしてもよい。アドレスデコーダ12Bは、第1
の回路10のアドレスがアドレスバス6に与えられると
アドレス一致信号S3を出力し、第2の回路20のアド
レスがアドレスバス6に与えられるとアドレス一致信号
S2を出力するように構成されている。Dフリップフロ
ップ40の反転出力QBがハイレベル(H)の時には、
アドレス一致信号S2がFIFOメモリ26に与えら
れ、通常モード(図10と同等)となる。また、Dフリ
ップフロップ40の反転出力QBがローレベル(L)の
時には、アドレス一致信号S3がFIFOメモリ26に
与えられ、高速モード(図1と同等)となる。
In each of the above-described embodiments, the circuit configuration is such that only the transfer method of the present invention can be implemented. However, as in the second circuit 20 shown in FIG. The transfer method (referred to as high speed mode) may be switched. The address decoder 12B has a first
When the address of the circuit 10 is applied to the address bus 6, the address match signal S3 is output, and when the address of the second circuit 20 is applied to the address bus 6, the address match signal S2 is output. When the inverted output QB of the D flip-flop 40 is at high level (H),
The address coincidence signal S2 is given to the FIFO memory 26, and the normal mode (equivalent to FIG. 10) is set. Further, when the inverted output QB of the D flip-flop 40 is at low level (L), the address match signal S3 is given to the FIFO memory 26, and the high speed mode (equivalent to FIG. 1) is set.

【0048】なお、両モードの切換えは、Dフリップフ
ロップ40によって行う。電源投入時には、RESET
ラインのリセット信号RESET0は「L」であるか
ら、反転出力QBは「H」となって通常モードとなる。
これを変更するためには、モード切換え用アドレスをア
ドレスバス6に出力する。アドレスデコーダ12Bは、
モード切換え用アドレスに対して、アドレス一致信号S
1を出力する。これにより、Dフリップフロップ40の
クロック入力CLKにクロックが与えられる。この時、
データバス4の何れかのラインによってD入力に「H」
を与えると(つまりCPU2から、データバス4のD入
力に接続したラインに「H」を出力すると)、反転出力
QBが「L」となって、高速モードとなる。さらに、通
常モードに切換える場合には、同様にして、D入力に
「L」を与えて、反転出力QBを「H」にすればよい。
The switching between the two modes is performed by the D flip-flop 40. When power is turned on, RESET
Since the reset signal RESET0 for the line is "L", the inverted output QB becomes "H" and the normal mode is set.
In order to change this, the mode switching address is output to the address bus 6. The address decoder 12B is
Address match signal S for the mode switching address
Outputs 1. As a result, the clock is applied to the clock input CLK of the D flip-flop 40. This time,
"H" to D input by any line of data bus 4
(That is, when the CPU 2 outputs "H" to the line connected to the D input of the data bus 4), the inverted output QB becomes "L", and the high speed mode is set. Further, when switching to the normal mode, similarly, "L" is applied to the D input and the inverted output QB is set to "H".

【0049】なお、このような切換えは、図3、図6の
実施例に対しても適用することができる。
Note that such switching can be applied to the embodiments shown in FIGS. 3 and 6.

【0050】さらに、上記各実施例では、FIFOメモ
リからFIFOメモリへのデータ転送を例として示した
が、何れか一方または双方が通常のアドレス指定のメモ
リであってもよい。双方がアドレス指定のメモリである
場合の例を、図9に示す。この例では、第1の回路10
において、メモリ86の上位アドレスをアドレスデコー
ダ12Aに与え、下位アドレスをメモリ86に与えるよ
うにしている。たとえば、メモリ86が、「00000000」番
地から「00001111」番地に割り当てられているとして、
アドレスデコーダ12Aには上位4ビットが入力され、
メモリ86には下位4ビットが入力される。なお、第2
の回路20についても同様であり、アドレスデコーダ1
2Bは、アドレスデコーダ12Aと同じ上位アドレス
で、アドレス一致信号を出すように構成されている。C
PU2は、下位アドレスを順次変えることにより、デー
タを次々と転送して行く。
Further, in each of the above-described embodiments, the data transfer from the FIFO memory to the FIFO memory is shown as an example, but either one or both of them may be a memory having a normal address designation. An example where both are addressed memory is shown in FIG. In this example, the first circuit 10
In the above, the upper address of the memory 86 is given to the address decoder 12A, and the lower address is given to the memory 86. For example, assuming that the memory 86 is allocated from the address "00000000" to the address "00001111",
The upper 4 bits are input to the address decoder 12A,
The lower 4 bits are input to the memory 86. The second
The same applies to the circuit 20 of FIG.
2B has the same upper address as the address decoder 12A, and is configured to output an address match signal. C
PU2 transfers data one by one by changing a lower address one by one.

【0051】また、上記実施例としては、記憶回路とし
てメモリを例にとって説明しているが、本願にいう「記
憶回路」とはいわゆるメモリに限るものではなく、デー
タを保持できるものであればどのような回路(たとえば
レジスタ等)であってもよい。
In the above embodiment, a memory is used as an example of the memory circuit, but the "memory circuit" in the present application is not limited to what is called a memory, and any memory can be used as long as it can hold data. Such a circuit (for example, a register or the like) may be used.

【0052】[0052]

【発明の効果】請求項1および8のデータ転送方法・シ
ステムにおいては、第1の回路と第2の回路のアドレス
を同一にし、CPUからの読出し信号によって第1の回
路から読み出すとともに、同時に第2の回路に書込むよ
うにしている。したがって、1つのサイクルで転送を完
了することができ、転送速度が向上する。
According to the data transfer method and system of the present invention, the addresses of the first circuit and the second circuit are made identical, and the first circuit and the second circuit are read at the same time by the read signal from the CPU. I am trying to write to the second circuit. Therefore, the transfer can be completed in one cycle, and the transfer speed is improved.

【0053】請求項2および9のデータ転送方法・シス
テムにおいては、さらに、CPUからの1つの読出し信
号に対応して、複数の読出し許可信号と書込み許可信号
を生成するようにしている。したがって、1つのサイク
ル中に複数のデータを転送することができ、さらに転送
速度が向上する。
In the data transfer method and system according to claims 2 and 9, a plurality of read enable signals and write enable signals are further generated corresponding to one read signal from the CPU. Therefore, a plurality of data can be transferred in one cycle, and the transfer speed is further improved.

【0054】請求項3および10のデータ転送方法・シ
ステムにおいては、単位サイクル中にデータ転送を完了
できるように、ウエイト信号をCPUに対して与えるよ
うにしている。したがって、確実にデータ転送を行うこ
とができる。
In the data transfer method and system according to claims 3 and 10, a wait signal is given to the CPU so that the data transfer can be completed in a unit cycle. Therefore, the data transfer can be reliably performed.

【0055】請求項4および11のデータ転送方法・シ
ステムにおいては、第2の回路からの分割信号により第
2回読出し許可信号を生成するようにしている。したが
って、確実かつ正確にデータ転送を行いつつ、転送速度
を向上させることができる。請求項5および12のデー
タ転送方法・システムにおいては、第1の回路からの分
割信号により第2回書込み許可信号を生成するようにし
ている。したがって、確実かつ正確にデータ転送を行い
つつ、転送速度を向上させることができる。すなわち、
この発明によれば、信頼性が高くかつ高速なデータ転送
を実現することができる。
In the data transfer method and system according to the fourth and eleventh aspects, the second read enable signal is generated by the division signal from the second circuit. Therefore, the transfer speed can be improved while surely and accurately transferring the data. In the data transfer method and system according to claims 5 and 12, the second write enable signal is generated by the division signal from the first circuit. Therefore, the transfer speed can be improved while surely and accurately transferring the data. That is,
According to the present invention, highly reliable and high-speed data transfer can be realized.

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

【図1】この発明の一実施例によるデータ転送システム
を示す図である。
FIG. 1 is a diagram showing a data transfer system according to an embodiment of the present invention.

【図2】図1のデータ転送システムの動作を示すタイム
チャートである。
FIG. 2 is a time chart showing the operation of the data transfer system of FIG.

【図3】この発明の他の実施例によるデータ転送システ
ムを示す図である。
FIG. 3 is a diagram showing a data transfer system according to another embodiment of the present invention.

【図4】図3のデータ転送システムの動作を示すタイム
チャートである。
FIG. 4 is a time chart showing the operation of the data transfer system of FIG.

【図5】ライトパルス発生回路23の動作を示す状態遷
移図である。
FIG. 5 is a state transition diagram showing an operation of the write pulse generation circuit 23.

【図6】この発明の他の実施例によるデータ転送システ
ムを示す図である。
FIG. 6 is a diagram showing a data transfer system according to another embodiment of the present invention.

【図7】図6のデータ転送システムの動作を示すタイム
チャートである。
7 is a time chart showing the operation of the data transfer system of FIG.

【図8】操作モードの切換えを実現した回路を示す図で
ある。
FIG. 8 is a diagram showing a circuit that realizes switching of operation modes.

【図9】他の実施例によるデータ転送システムを示す図
である。
FIG. 9 is a diagram showing a data transfer system according to another embodiment.

【図10】従来のデータ転送システムを示す図である。FIG. 10 is a diagram showing a conventional data transfer system.

【図11】図9のデータ転送システムの動作を示すタイ
ムチャートである。
11 is a time chart showing the operation of the data transfer system of FIG.

【符号の説明】[Explanation of symbols]

2・・・CPU 4・・・データバス 6・・・アドレスバス 12A、12B・・・アドレスデコーダ 16、26・・・FIFOメモリ 2 ... CPU 4 ... Data bus 6 ... Address bus 12A, 12B ... Address decoder 16, 26 ... FIFO memory

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭56−116138(JP,A) 特開 昭58−64534(JP,A) 特開 昭63−204352(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-56-116138 (JP, A) JP-A-58-64534 (JP, A) JP-A-63-204352 (JP, A)

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】CPUのデータバスおよびアドレスバスに
接続された第1の回路から、前記データバスおよびアド
レスバスに接続された第2の回路にデータを転送する方
法であって、 第1の回路は第1の記憶回路および第1の制御回路を備
えており、 第2の回路は第2の記憶回路および第2の制御回路を備
えており、 CPUは、第1の制御回路に対して読出し信号を出力す
るとともに、第1の回路を指定するアドレス信号をアド
レスバスに出力し、 第1の制御回路は、前記読出し信号と前記アドレス信号
とに基づいて、単位サイクル中に一連の複数個の読出し
許可信号を生成し、 第1の記憶回路は、複数個の読出し許可信号に基づき記
憶していたデータを順次、データバスに出力し、 第2の制御回路は、前記読出し信号と前記アドレス信号
とに基づいて、前記複数個の読出し許可信号に対応す
る、一連の複数個の書込み許可信号を生成し、 第2の記憶回路は、複数個の書込み許可信号に基づきデ
ータバス上のデータを順次取り込んで記憶することを特
徴とするデータ転送方法。
1. A method for transferring data from a first circuit connected to a data bus and an address bus of a CPU to a second circuit connected to the data bus and an address bus, the first circuit comprising: Includes a first memory circuit and a first control circuit, the second circuit includes a second memory circuit and a second control circuit, and the CPU reads data from the first control circuit. A signal is output and an address signal designating the first circuit is output to the address bus. The first control circuit, based on the read signal and the address signal, outputs a series of a plurality of signals in a unit cycle. The read enable signal is generated, the first storage circuit sequentially outputs the stored data based on the plurality of read enable signals to the data bus, and the second control circuit outputs the read signal and the address signal. On the basis of the plurality of read enable signals, a series of a plurality of write enable signals are generated, and the second memory circuit sequentially takes in the data on the data bus based on the plurality of write enable signals. A data transfer method characterized by storing in.
【請求項2】請求項1のデータ転送方法において、 前記第2の制御回路は、前記単位サイクル中にデータ転
送を終了できるように、CPUに対して、ウエイト信号
を出力することを特徴とするデータ転送方法。
2. The data transfer method according to claim 1, wherein the second control circuit outputs a wait signal to the CPU so that the data transfer can be completed during the unit cycle. Data transfer method.
【請求項3】CPUのデータバスおよびアドレスバスに
接続された第1の回路から、前記データバスおよびアド
レスバスに接続された第2の回路にデータを転送する方
法であって、 第1の回路は第1の記憶回路および第1の制御回路を備
えており、 第2の回路は第2の記憶回路および第2の制御回路を備
えており、 CPUは、第1の制御回路に対して読出し信号を出力す
るとともに、第1の回路を指定するアドレス信号をアド
レスバスに出力し、 第1の制御回路は、前記読出し信号と前記アドレス信号
とに基づいて第1回読出し許可信号を生成し、 第1の記憶回路は、第1回読出し許可信号に基づき記憶
していたデータをデータバスに出力し、 第2の制御回路は、前記読出し信号と前記アドレス信号
とに基づいて第1回書込み許可信号を生成するととも
に、第1回書込み許可信号とCPUからの読出し信号を
所定時間遅延させた遅延読出し信号とに基づいて分割信
号を生成し、 第2の記憶回路は、第1回書込み許可信号に基づきデー
タバス上のデータを取り込んで記憶し、 第1の制御回路は、第2の制御回路の分割信号に基づい
て、第1回読出し許可信号と分離された第2回読出し許
可信号を単位サイクル中に生成し、 第1の記憶回路は、第2回読出し許可信号に基づき記憶
していた次のデータをデータバスに出力し、 第2の制御回路は、分割信号に基づいて、第1回書込み
許可信号と分離された第2回書込み許可信号を生成し、 第2の記憶回路は、第2回書込み許可信号に基づきデー
タバス上の前記次のデータを取り込んで記憶することを
特徴とするデータ転送方法。
3. A method of transferring data from a first circuit connected to a data bus and an address bus of a CPU to a second circuit connected to the data bus and an address bus, the first circuit Includes a first memory circuit and a first control circuit, the second circuit includes a second memory circuit and a second control circuit, and the CPU reads data from the first control circuit. A signal is output and an address signal designating the first circuit is output to the address bus, and the first control circuit generates a first read enable signal based on the read signal and the address signal, The first memory circuit outputs the stored data to the data bus based on the first read enable signal, and the second control circuit outputs the first write enable based on the read signal and the address signal. Signal And the divided signal is generated based on the first write enable signal and the delayed read signal obtained by delaying the read signal from the CPU for a predetermined time, and the second memory circuit is configured to generate the divided signal based on the first write enable signal. The data on the data bus is fetched and stored, and the first control circuit outputs the second read enable signal separated from the first read enable signal based on the division signal of the second control circuit during a unit cycle. The first storage circuit outputs the next data stored based on the second read enable signal to the data bus, and the second control circuit writes the first data based on the division signal. Data characterized in that a second write enable signal separated from the enable signal is generated, and the second memory circuit fetches and stores the next data on the data bus based on the second write enable signal. Transfer method.
【請求項4】CPUのデータバスおよびアドレスバスに
接続された第1の回路から、前記データバスおよびアド
レスバスに接続された第2の回路にデータを転送する方
法であって、 第1の回路は第1の記憶回路および第1の制御回路を備
えており、 第2の回路は第2の記憶回路および第2の制御回路を備
えており、 CPUは、第1の制御回路に対して読出し信号を出力す
るとともに、第1の回路を指定するアドレス信号をアド
レスバスに出力し、 第1の制御回路は、前記読出し信号と前記アドレス信号
とに基づいて第1回読出し許可信号を生成するととも
に、第1回読出し許可信号とCPUからの読出し信号を
所定時間遅延させた遅延読出し信号とに基づいて分割信
号を生成し、 第1の記憶回路は、第1回読出し許可信号に基づき記憶
していたデータをデータバスに出力し、 第2の制御回路は、前記読出し信号と前記アドレス信号
とに基づいて第1回書込み許可信号を生成し、 第2の記憶回路は、第1回書込み許可信号に基づきデー
タバス上のデータを取り込んで記憶し、 第1の制御回路は、分割信号に基づいて、第1回読出し
許可信号と分離された第2回読出し許可信号を生成し、 第1の記憶回路は、第2回読出し許可信号に基づき記憶
していた次のデータをデータバスに出力し、 第2の制御回路は、第1の制御回路の分割信号に基づい
て、第1回書込許可信号と分離された第2回書込許可信
号を単位サイクル中に生成し、 第2の記憶回路は、第2回書込み許可信号に基づきデー
タバス上の前記次のデータを取り込んで記憶することを
特徴とするデータ転送方法。
4. A method for transferring data from a first circuit connected to a data bus and an address bus of a CPU to a second circuit connected to the data bus and an address bus, the first circuit Includes a first memory circuit and a first control circuit, the second circuit includes a second memory circuit and a second control circuit, and the CPU reads data from the first control circuit. A signal is output and an address signal designating the first circuit is output to the address bus, and the first control circuit generates a first read enable signal based on the read signal and the address signal. , The divided signal is generated based on the first read permission signal and the delayed read signal obtained by delaying the read signal from the CPU for a predetermined time, and the first memory circuit stores the divided signal based on the first read permission signal. The second control circuit generates the first write enable signal based on the read signal and the address signal, and the second storage circuit outputs the first write enable signal. Based on the divided signal, the first control circuit generates a second read permission signal separated from the first read permission signal based on the division signal, and the first control circuit generates the first read permission signal. The circuit outputs the next data stored based on the second read enable signal to the data bus, and the second control circuit outputs the first write enable based on the division signal of the first control circuit. A second write enable signal separated from the signal is generated in a unit cycle, and the second memory circuit captures and stores the next data on the data bus based on the second write enable signal. Characteristic data transfer method.
【請求項5】請求項1、2、3または4のデータ転送方
法において、 第1または第2の記憶回路は、先入れ先出しメモリであ
ることを特徴とするデータ転送方法。
5. The data transfer method according to claim 1, 2, 3 or 4, wherein the first or second memory circuit is a first-in first-out memory.
【請求項6】請求項1、2、3または4のデータ転送方
法において、 第1または第2の記憶回路は、アドレス指定によるメモ
リであって、 前記アドレス信号は、上位アドレスを指定するものであ
り、 当該アドレス指定によるメモリに対しては下位アドレス
を指定する下位アドレス信号が与えられることを特徴と
するデータ転送方法。
6. The data transfer method according to claim 1, 2, 3 or 4, wherein the first or second memory circuit is a memory by addressing, and the address signal specifies a higher address. A data transfer method characterized in that a lower address signal for designating a lower address is given to the memory designated by the address.
【請求項7】CPUのデータバスおよびアドレスバスに
接続された第1の回路から、前記データバスおよびアド
レスバスに接続された第2の回路にデータを転送するシ
ステムであって、 第1の回路は、 アドレスバスのアドレス信号が自己のアドレスと一致し
た場合に第1アドレス一致信号を出力する第1のアドレ
スデコーダと、 CPUからの読出し信号と第1アドレス一致信号に基づ
いて、単位サイクル中に一連の複数の読出し許可信号を
生成する読出し許可信号生成回路と、 複数の読出し許可信号を受けて、記憶しているデータを
順次データバスに出力する第1の記憶回路と、 を備えており、 第2の回路は、 アドレスバスのアドレス信号が自己のアドレスと一致し
た場合に第2アドレス一致信号を出力する第2アドレス
デコーダであって、当該自己のアドレスを前記第1の回
路のアドレスと同一にした第2のアドレスデコーダと、 CPUからの読出し信号と第2アドレス一致信号に基づ
いて、前記読出し許可信号に対応する一連の複数の書込
み許可信号を生成する書込み許可信号生成回路と、 複数の書込み許可信号を受けて、データバス上のデータ
を順次記憶する第2の記憶回路と、 を備えていることを特徴とするデータ転送システム。
7. A system for transferring data from a first circuit connected to a data bus and an address bus of a CPU to a second circuit connected to the data bus and an address bus, the first circuit Is based on the first address decoder that outputs the first address match signal when the address signal on the address bus matches its own address, and the read signal from the CPU and the first address match signal during the unit cycle. A read enable signal generation circuit that generates a series of read enable signals; and a first storage circuit that receives the read enable signals and sequentially outputs the stored data to a data bus, The second circuit is a second address decoder that outputs a second address match signal when the address signal on the address bus matches its own address. A second address decoder that makes its own address the same as the address of the first circuit, and a series of plural addresses corresponding to the read enable signal based on the read signal and the second address match signal from the CPU. And a second memory circuit for receiving a plurality of write enable signals and sequentially storing the data on the data bus, the data transfer comprising: system.
【請求項8】請求項7のデータ転送システムにおいて、 前記第2の回路は、前記単位サイクル中にデータ転送を
終了できるように、CPUに対して、ウエイト信号を出
力するウエイト信号生成回路を備えていることを特徴と
するデータ転送システム。
8. The data transfer system according to claim 7, wherein the second circuit includes a wait signal generation circuit that outputs a wait signal to the CPU so that the data transfer can be completed during the unit cycle. A data transfer system characterized in that
【請求項9】CPUのデータバスおよびアドレスバスに
接続された第1の回路から、前記データバスおよびアド
レスバスに接続された第2の回路にデータを転送するシ
ステムであって、 第1の回路は、 アドレスバスのアドレス信号が自己のアドレスと一致し
た場合に第1アドレス一致信号を出力する第1のアドレ
スデコーダと、 CPUからの読出し信号と第1アドレス一致信号と第2
の回路からの分割信号とに基づいて、単位サイクル中に
一連の第1読出し許可信号および第2読出し許可信号を
生成する読出し許可信号生成回路と、 第1および第2読出し許可信号を受けて、記憶している
データを順次データバスに出力する第1の記憶回路と、 を備えており、 第2の回路は、 アドレスバスのアドレス信号が自己のアドレスと一致し
た場合に第2アドレス一致信号を出力する第2のアドレ
スデコーダであって、当該自己のアドレスを前記第1の
回路のアドレスと同一にした第2のアドレスデコーダ
と、 CPUからの読出し信号と第2アドレス一致信号に基づ
いて、分割信号を生成するとともに、一連の第1書込み
許可信号および第2か着込み許可信号を生成する書込み
許可信号生成回路と、 第1および第2書込み許可信号を受けて、データバス上
のデータを順次記憶する第2の記憶回路と、 を備えていることを特徴とするデータ転送システム。
9. A system for transferring data from a first circuit connected to a data bus and an address bus of a CPU to a second circuit connected to the data bus and an address bus, the first circuit Is a first address decoder that outputs a first address match signal when the address signal of the address bus matches its own address, a read signal from the CPU, a first address match signal, and a second address match signal.
A read permission signal generation circuit that generates a series of first read permission signal and second read permission signal in a unit cycle based on the divided signal from the circuit of FIG. A first memory circuit that sequentially outputs the stored data to the data bus is provided, and the second circuit outputs a second address match signal when the address signal of the address bus matches its own address. A second address decoder which outputs the second address decoder which makes its own address the same as the address of the first circuit, and a division based on a read signal from the CPU and a second address coincidence signal. A write enable signal generation circuit for generating a signal and a series of first write enable signal and second set-in enable signal, and first and second write enable signals Receiving, the data transfer system, characterized in that it comprises a second memory circuit for sequentially storing the data on the data bus, the.
【請求項10】CPUのデータバスおよびアドレスバス
に接続された第1の回路から、前記データバスおよびア
ドレスバスに接続された第2の回路にデータを転送する
システムであって、 第1の回路は、 アドレスバスのアドレス信号が自己のアドレスと一致し
た場合に第1アドレス一致信号を出力する第1のアドレ
スデコーダと、 CPUからの読出し信号と第1アドレス一致信号に基づ
いて、分割信号を生成するとともに、一連の第1読出し
許可信号および第2読出し許可信号を生成する読出し許
可信号生成回路と、 第1および第2読出し許可信号を受けて、記憶している
データを順次データバスに出力する第1の記憶回路と、 を備えており、 第2の回路は、 アドレスバスのアドレス信号が自己のアドレスと一致し
た場合に第2アドレス一致信号を出力する第2のアドレ
スデコーダであって、当該自己のアドレスを前記第1の
回路のアドレスと同一にした第2のアドレスデコーダ
と、 CPUからの読出し信号と第2アドレス一致信号と第1
の回路からの分割信号とに基づいて、単位サイクル中に
一連の第1書込許可信号および第2書込許可信号を生成
する書込許可信号生成回路と、 第1および第2書込み許可信号を受けて、データバス上
のデータを順次記憶する第2の記憶回路と、 を備えていることを特徴とするデータ転送システム。
10. A system for transferring data from a first circuit connected to a data bus and an address bus of a CPU to a second circuit connected to the data bus and an address bus, the first circuit Is a first address decoder that outputs a first address match signal when the address signal on the address bus matches its own address, and a division signal is generated based on the read signal from the CPU and the first address match signal. At the same time, the read enable signal generation circuit for generating a series of first read enable signal and second read enable signal and the first and second read enable signals are received, and the stored data is sequentially output to the data bus. The first memory circuit and the second memory circuit are provided. When the address signal of the address bus matches its own address, the second circuit A second address decoder which outputs a coincidence signal, the second address decoder having its own address the same as the address of the first circuit, a read signal from the CPU, a second address coincidence signal and a second address coincidence signal 1
A write enable signal generating circuit that generates a series of first write enable signal and second write enable signal in a unit cycle based on the divided signal from the circuit of FIG. A second memory circuit that receives and sequentially stores the data on the data bus, and a data transfer system.
【請求項11】請求項7、8、9または10のデータ転
送システムにおいて、 第1または第2の記憶回路は、先入れ先出しメモリであ
ることを特徴とするデータ転送システム。
11. The data transfer system according to claim 7, 8, 9 or 10, wherein the first or second memory circuit is a first-in first-out memory.
【請求項12】請求項7、8、9または10のデータ転
送システムにおいて、 第1または第2の記憶回路は、アドレス指定によるメモ
リであって、 前記アドレス信号は、上位アドレスを指定するものであ
り、 当該アドレス指定によるメモリに対しては下位アドレス
を指定する下位アドレス信号が与えられることを特徴と
するデータ転送システム。
12. The data transfer system according to claim 7, 8, 9 or 10, wherein the first or second memory circuit is a memory by addressing, and the address signal is for designating an upper address. A data transfer system characterized in that a low-order address signal designating a low-order address is given to the memory specified by the address.
JP5179347A 1993-07-20 1993-07-20 Data transfer system and data transfer method Expired - Fee Related JP2544886B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5179347A JP2544886B2 (en) 1993-07-20 1993-07-20 Data transfer system and data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5179347A JP2544886B2 (en) 1993-07-20 1993-07-20 Data transfer system and data transfer method

Publications (2)

Publication Number Publication Date
JPH0736824A JPH0736824A (en) 1995-02-07
JP2544886B2 true JP2544886B2 (en) 1996-10-16

Family

ID=16064259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5179347A Expired - Fee Related JP2544886B2 (en) 1993-07-20 1993-07-20 Data transfer system and data transfer method

Country Status (1)

Country Link
JP (1) JP2544886B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007305021A (en) * 2006-05-15 2007-11-22 Oki Electric Ind Co Ltd Semiconductor storage device and its reading method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56116138A (en) * 1980-02-15 1981-09-11 Omron Tateisi Electronics Co Input and output controller
JPS5864534A (en) * 1981-10-14 1983-04-16 Fuji Electric Co Ltd Data transfer system of computer device
JPS63204352A (en) * 1987-02-19 1988-08-24 Fujitsu Ltd Data transfer system

Also Published As

Publication number Publication date
JPH0736824A (en) 1995-02-07

Similar Documents

Publication Publication Date Title
US4712190A (en) Self-timed random access memory chip
US6880056B2 (en) Memory array and method with simultaneous read/write capability
JPH11507449A (en) Method and apparatus for adapting an asynchronous bus to a synchronous circuit
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US6058439A (en) Asynchronous first-in-first-out buffer circuit burst mode control
US4999807A (en) Data input circuit having latch circuit
EP0337385B1 (en) Cache memory controller associated with a microprocessor
EP1643652A2 (en) Semiconductor device with circuitry for efficient information exchange
JP3191302B2 (en) Memory circuit
JP2544886B2 (en) Data transfer system and data transfer method
JP2638484B2 (en) Data processing device
JP2000132451A (en) Memory control circuit
JP2570986B2 (en) Data transfer control device and method
JP2724797B2 (en) Direct memory access system
JPS6385842A (en) Information processor
JPH0212358A (en) Data transfer system
JP3903872B2 (en) Multiple access control circuit
JP2594919B2 (en) Logic LSI
JPH07121483A (en) Shared memory access control circuit
JP3255429B2 (en) Memory interface circuit
JP2719227B2 (en) Processing equipment
JP2000305895A (en) Asynchronous interface
JPH032944A (en) Increasing system for memory capacity
JPH01109425A (en) Fifo memory
JPH01310463A (en) Buffer storage

Legal Events

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