JPS638852A - Data transferring circuit - Google Patents
Data transferring circuitInfo
- Publication number
- JPS638852A JPS638852A JP61151594A JP15159486A JPS638852A JP S638852 A JPS638852 A JP S638852A JP 61151594 A JP61151594 A JP 61151594A JP 15159486 A JP15159486 A JP 15159486A JP S638852 A JPS638852 A JP S638852A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- bus
- memory
- latch
- 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
Landscapes
- Communication Control (AREA)
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
この発明は、たとえばCPUからマルチバスを介して2
つのメモリに対してデータを転送するデータ転送回路に
関する。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) This invention provides two
The present invention relates to a data transfer circuit that transfers data to two memories.
(従来の技術)
論理回路システム内のモジュール、たとえばcpu <
送信回路)と?!数のメモリ(受信回路)を結合するバ
スとして、たとえばマルチバス(IEEE796)が知
られている。このマルチバスは、データを送出するモジ
ュール(CPU)がドライバを通してバス上にデータ(
データとアドレス)を出力し、そのデータを受取るモジ
ュール(メモリ)がレシーバを通してデータを受信する
ものである。送信側のCPUはデータを出力している間
、命令を出し続け、受信側のメモリがデータを受けて、
これを処理し終わってから、その旨の応答を送出側のC
PUに返している。この応答を受けて送出側のCPLJ
は、データを出力するのを停止し、命令の出力も停止す
るようになっている。(Prior Art) A module in a logic circuit system, for example, a CPU <
Transmission circuit)? ! For example, a multi-bus (IEEE796) is known as a bus that connects several memories (receiving circuits). In this multi-bus, the module (CPU) that sends data sends the data (
The module (memory) that outputs data (data and address) and receives the data receives the data through the receiver. The CPU on the sending side continues to issue commands while outputting data, and the memory on the receiving side receives the data.
After processing this, send a response to that effect from the sending C.
It is returned to PU. Upon receiving this response, the sending side's CPLJ
stops outputting data and also stops outputting instructions.
ところが、このような装置では、受信側のメモリが受取
ったデータを処理し終わるまで、送出側のCPUはデー
タを出力し続け、つまり命令あるいはアドレスも出力し
続ける必要があり、完全に処理が終わるまで、他のメモ
リが、そのバスを用いることができず、バスを専有する
時間が長いという欠点があった。However, in such a device, the CPU on the sending side must continue to output data (in other words, it must continue to output instructions or addresses) until the memory on the receiving side finishes processing the received data, and the processing is completely completed. Until now, the disadvantage was that other memories could not use the bus and the bus was occupied for a long time.
(発明が解決しようとする問題点)
上記のように、1つの受信回路がバスを専有する時間が
長いという欠点を除去するもので、1つの受信回路がバ
スを専有する時間を短縮することができるデータ転送回
路を提供することを目的とする。(Problems to be Solved by the Invention) As mentioned above, this invention eliminates the disadvantage that one receiving circuit monopolizes the bus for a long time, and shortens the time that one receiving circuit monopolizes the bus. The purpose is to provide a data transfer circuit that can.
[発明の構成]
(問題点を解決するための手段)
この発明のデータ転送回路は、送信回路からマルチバス
を介して複数の受信回路にデータを転送するものにおい
て、送信回路から送られてきたデータを受信回路内の保
持手段で保持し、このデータの保持により、受信回路が
送信回路に対して受信完了を示す応答データを送出する
手段により構成されている。[Structure of the Invention] (Means for Solving the Problems) The data transfer circuit of the present invention transfers data from a transmitting circuit to a plurality of receiving circuits via a multi-bus. The data is held by a holding means in the receiving circuit, and by holding this data, the receiving circuit sends response data indicating completion of reception to the transmitting circuit.
(作用)
この発明は、送信回路から送られてきたデータを受信回
路で保持し、このデータの保持により、受信回路は送信
回路に対して受信完了を示す応答データを送出するよう
にしたものである。(Operation) In this invention, the data sent from the transmitting circuit is held in the receiving circuit, and by holding this data, the receiving circuit sends response data indicating completion of reception to the transmitting circuit. be.
(実施例)
以下、この発明の一実施例について図面を参照して説明
する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図はこの発明のデータ転送回路を示すものである。FIG. 1 shows a data transfer circuit according to the present invention.
すなわち、送信回路としてのCPUI、受信回路として
のメモリ2a、2b、および上記CPUIとメモリ2a
12bとを結合するマルチバス3によって構成されてい
る。That is, the CPUI as a transmitting circuit, the memories 2a and 2b as receiving circuits, and the CPUI and the memory 2a as receiving circuits.
12b.
上記CPtJ1は、MPU (マイクロ・プロセッシン
グ・ユニット)11とドライバ12とを有している。上
記MPU11はメモリ2a、2bへのデータの3込み時
、その書込みデータと書込みアドレスとをドライバ12
によってマルチバス3に送出するとともに、その命令デ
ータをデータバス3に出力するものである。また、上記
MPLJ11はデータバス3より応答データが供給され
た際、対応する書込みデータ、書込みアドレス、および
命令データの出力を停止する。The CPtJ1 has an MPU (micro processing unit) 11 and a driver 12. When writing data into the memories 2a and 2b, the MPU 11 transfers the write data and write address to the driver 12.
The instruction data is sent to the multi-bus 3 via the multi-bus 3, and the instruction data is also output to the data bus 3. Further, when the MPLJ 11 is supplied with response data from the data bus 3, it stops outputting the corresponding write data, write address, and command data.
上記メ−EIJ2a(,2b)は、RAM (ランダム
・アクセス・メモリ)21、ラッチ回路22、およびラ
ッチ信号発生回路23、インバータ回路24、アンド回
路25からなる応答回路26を有している。上記データ
バス3から供給される命令データはRAM21、ラッチ
信号発生回路23およびアンド回路25の一端に供給さ
れる。また、上記データバス3から供給されるアドレス
データおよび書込みデータはラッチ回路22に供給され
る。上記ラッチ信号発生回路23は命令データが供給さ
れてから所定時間経過後に一定時間ラッチ信号を出力す
るものである。上記ラッチ信号発生回路23の出力つま
りラッチ信号はラッチ回路22に供給されるとともに、
インバータ回路24を介してアンド回路25の他端に供
給される。上記アンド回路は上記命令データとラッチ信
号の論理積をとり、この結果つまり応答回路26の応答
信号を出力するものである。The main EIJ 2a (, 2b) has a RAM (Random Access Memory) 21, a latch circuit 22, and a response circuit 26 consisting of a latch signal generation circuit 23, an inverter circuit 24, and an AND circuit 25. Command data supplied from the data bus 3 is supplied to one end of the RAM 21, latch signal generation circuit 23, and AND circuit 25. Further, the address data and write data supplied from the data bus 3 are supplied to the latch circuit 22. The latch signal generating circuit 23 outputs a latch signal for a predetermined time after a predetermined time has elapsed since command data was supplied. The output of the latch signal generation circuit 23, that is, the latch signal, is supplied to the latch circuit 22, and
The signal is supplied to the other end of the AND circuit 25 via the inverter circuit 24. The AND circuit performs a logical product of the command data and the latch signal, and outputs the result, that is, a response signal from the response circuit 26.
上記ラッチ回路22は、上記ラッチ信号発生回路23か
らのラッチ信号に応じて、上記データバス3から供給さ
れるアドレスデータおよび書込みデータをランチするも
のである。このラッチ回路22でラッチされたアドレス
データおよび書込みデータはRAM21に供給されるよ
うになっている。The latch circuit 22 launches address data and write data supplied from the data bus 3 in response to a latch signal from the latch signal generation circuit 23. The address data and write data latched by the latch circuit 22 are supplied to the RAM 21.
次に、このような構成において、第3図および第4図に
示すタイミングチャートを参照つつ、動作を説明する。Next, the operation of such a configuration will be described with reference to the timing charts shown in FIGS. 3 and 4.
たとえば今、CPU1のMPU11からメモリ2aに対
しての命令データがバス3を介してメモリ2aに出力さ
れるとともに、アドレスデータおよび自込みデータがド
ライバ12からバス3を介してメモリ2aに出力される
。すると、バス3からの命令データはRAM21、アン
ド回路25の一端、およびラッチ信号発生回路23に供
給される。また、バス3からのアドレスデータおよび書
込みデータはラッチ回路23に供給される。これにより
、上記命令データにより所定時間後に、ラッチ信号発生
回路23からラッチ信号が出力される。このラッチ信号
により、ラッチ回路22は上記CPUIからのアドレス
データおよび書込みデータをラッチする。上記ラッチ信
号はインバータ回路24を介してアンド回路25に供給
される。これにより、アンド回路25は命令データとラ
ッチ信号の論理積により、データ受取りの応答信号(′
0′信号)をバス3を介してCPIJl内のMPU11
に出力する。すると、MPU11はメモリ2aに対する
命令データ、アドレスデータおよび書込みデータの出力
を停止する。For example, now, instruction data for the memory 2a is output from the MPU 11 of the CPU 1 to the memory 2a via the bus 3, and address data and self-programmed data are output from the driver 12 to the memory 2a via the bus 3. . Then, the command data from the bus 3 is supplied to the RAM 21, one end of the AND circuit 25, and the latch signal generation circuit 23. Further, address data and write data from the bus 3 are supplied to the latch circuit 23. As a result, a latch signal is output from the latch signal generation circuit 23 after a predetermined time period according to the above command data. This latch signal causes the latch circuit 22 to latch the address data and write data from the CPUI. The latch signal is supplied to an AND circuit 25 via an inverter circuit 24. As a result, the AND circuit 25 generates a data reception response signal ('
0' signal) to MPU 11 in CPIJl via bus 3.
Output to. Then, the MPU 11 stops outputting command data, address data, and write data to the memory 2a.
したがって、上記ラッチ信号の立下がりでラッチ回路2
2がデータを保持しているため、バス3上に次のデータ
が送出されても、保持したデータを用いて処理が続行さ
れる。Therefore, at the falling edge of the latch signal, the latch circuit 2
2 holds data, so even if the next data is sent onto bus 3, processing continues using the held data.
つぎに、CPU1のMPU11からメモリ2bに対して
の命令データがバス3を介してメモリ2bに出力される
とともに、アドレスデータおよび書込みデータがドライ
バ12からバス3を介してメモリ2bに出力される。す
ると、バス3からの命令データはRAM21、アンド回
路25の一端、およびラッチ信号発生回路23に供給さ
れる。Next, command data for the memory 2b is output from the MPU 11 of the CPU 1 to the memory 2b via the bus 3, and address data and write data are output from the driver 12 to the memory 2b via the bus 3. Then, the command data from the bus 3 is supplied to the RAM 21, one end of the AND circuit 25, and the latch signal generation circuit 23.
また、バス3からのアドレスデータおよび書込みデータ
はラッチ回路23に供給される。これにより、上記命令
データにより所定時間後に、ラッチ信号発生回路23か
らラッチ信号が出力される。Further, address data and write data from the bus 3 are supplied to the latch circuit 23. As a result, a latch signal is output from the latch signal generation circuit 23 after a predetermined time period according to the above command data.
このラッチ信号により、ラッチ回路22は上記CPU1
からのアドレスデータおよび1込みデータをラッチする
。上記ラッチ信号はインバータ回路24を介してアンド
回路25に供給される。これにより、アンド回路25は
命令データとラッチ信号の論理積により、データ受取り
の応答信号(=O−信@)をバス3を介してCPU1内
のMPU11に出力する。すると、〜+PIJ11はメ
モリ2bに対する命令データとアドレスデータおよび門
込みデータの出力を停止する。This latch signal causes the latch circuit 22 to
Latch the address data and 1-pack data from. The latch signal is supplied to an AND circuit 25 via an inverter circuit 24. As a result, the AND circuit 25 outputs a data reception response signal (=O-signal@) to the MPU 11 in the CPU 1 via the bus 3 based on the AND of the command data and the latch signal. Then, the ~+PIJ 11 stops outputting command data, address data, and entry data to the memory 2b.
したがって、上記ラッチ信号の立下がりでラッチ回路2
2がデータを保持しているため、バス3上に次のデータ
が送出されても、保持したデータを用いて処理が続行さ
れる。Therefore, at the falling edge of the latch signal, the latch circuit 2
2 holds data, so even if the next data is sent onto bus 3, processing continues using the held data.
この結果、第2図(a)に示すように、時刻t1にメモ
リ2aに対する命令が出力されると、メモリ2aはその
命令データに対応するラッチ信号により、バス3上のデ
ータを取込んで保持する。As a result, as shown in FIG. 2(a), when a command is output to the memory 2a at time t1, the memory 2a takes in and holds the data on the bus 3 by the latch signal corresponding to the command data. do.
そして、第2図(b)に示すように、時刻t2にメモリ
2bに対する命令が出力されると、メモリ2bはその命
令データに対応するラッチ信号により、バス3上のデー
タを取込んで保持する。このとき、メモリ2aは上記保
持したデータによる処理が続けられる。このように、メ
モリ2aが処理を行ない、並行してバス3上にメモリ2
bに対するデータを送出できる。これにより、バスを専
有する時間を短縮することができる。Then, as shown in FIG. 2(b), when a command to the memory 2b is output at time t2, the memory 2b takes in and holds the data on the bus 3 by a latch signal corresponding to the command data. . At this time, the memory 2a continues processing using the data held above. In this way, the memory 2a performs the processing, and the memory 2a is sent to the bus 3 in parallel.
Data for b can be sent. This allows the time spent exclusively using the bus to be shortened.
上記したように、メモリ側にデータをラッチするラッチ
回路を設けるようにしたので、1つのメモリがバスを専
有する時間を珀縮することができる。As described above, since a latch circuit for latching data is provided on the memory side, the time that one memory occupies the bus can be reduced.
[発明の効果]
以上詳述したようにこの発明によれば、1つの受信回路
がバスを専有する時間を短縮することができるデータ転
送回路を提供できる。[Effects of the Invention] As described in detail above, according to the present invention, it is possible to provide a data transfer circuit that can shorten the time that one receiving circuit monopolizes a bus.
図面はこの発明の一実施例を示すもので、第1図は全体
の構成を概略的に示す図、第2図はデータの転送状態を
説明するための図、第3図、第4図は動作を説明するた
めのタイミングチャートである。
1・・・CPU (送信回路)、2a、2b・・・メモ
リ(受信回路)、3・・・バス、11・・・MPU、1
2・・・ドライバ、21・・・RAM、22・・・ラッ
チ回路(保持手段)、23・・・ラッチ信号発生回路、
24・・・インバータ回路、25・・・アンド回路、2
6・・・応答回路。
出願人代理人 弁理士 鈴 江 武 彦第1図
第 2 図
第3図
第4図The drawings show an embodiment of the present invention; FIG. 1 is a diagram schematically showing the overall configuration, FIG. 2 is a diagram for explaining the data transfer state, and FIGS. It is a timing chart for explaining the operation. 1...CPU (transmission circuit), 2a, 2b...memory (reception circuit), 3...bus, 11...MPU, 1
2... Driver, 21... RAM, 22... Latch circuit (holding means), 23... Latch signal generation circuit,
24... Inverter circuit, 25... AND circuit, 2
6...Response circuit. Applicant's Representative Patent Attorney Takehiko Suzue Figure 1 Figure 2 Figure 3 Figure 4
Claims (1)
タを転送するデータ転送回路において、上記送信回路か
ら送られてきたデータを上記受信回路内の保持手段で保
持し、このデータの保持により、受信回路が送信回路に
対して受信完了を示す応答データを送出する手段を設け
たことを特徴とするデータ転送回路。In a data transfer circuit that transfers data from a transmitting circuit to a plurality of receiving circuits via a multi-bus, the data sent from the transmitting circuit is held by a holding means in the receiving circuit, and by holding this data, the receiving circuit is A data transfer circuit characterized in that the circuit is provided with means for sending response data indicating completion of reception to a transmitting circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61151594A JPS638852A (en) | 1986-06-30 | 1986-06-30 | Data transferring circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61151594A JPS638852A (en) | 1986-06-30 | 1986-06-30 | Data transferring circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS638852A true JPS638852A (en) | 1988-01-14 |
Family
ID=15521933
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61151594A Pending JPS638852A (en) | 1986-06-30 | 1986-06-30 | Data transferring circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS638852A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0256048A (en) * | 1988-04-18 | 1990-02-26 | Matsushita Electric Ind Co Ltd | Data transfer method and data buffer device |
-
1986
- 1986-06-30 JP JP61151594A patent/JPS638852A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0256048A (en) * | 1988-04-18 | 1990-02-26 | Matsushita Electric Ind Co Ltd | Data transfer method and data buffer device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS58184668A (en) | Control system for writing to memory | |
| JPH0630087B2 (en) | Interface circuit | |
| JPH10293744A (en) | Pci bus system | |
| KR950704742A (en) | Pipelined Data Ordering System | |
| JPS638852A (en) | Data transferring circuit | |
| EP3819778A1 (en) | Bus system and method for operating a bus system | |
| JPH0343804A (en) | Sequence controller | |
| JP3240863B2 (en) | Arbitration circuit | |
| JPH04323755A (en) | Dma device | |
| JP3615306B2 (en) | Storage device access system | |
| JPH0472262B2 (en) | ||
| KR0151687B1 (en) | 8n bits data transferring apparatus | |
| KR0127559Y1 (en) | Memory access apparatus using buffer | |
| JPH01121965A (en) | Microprocessor | |
| JPH11122275A (en) | Serial communication system | |
| JPH0535693A (en) | Data transfer device | |
| JPS61292765A (en) | Data transfer system | |
| JPH02133856A (en) | Data transfer device | |
| JPH0142017B2 (en) | ||
| JPS5999522A (en) | Input and output control system | |
| JPH07121483A (en) | Shared memory access control circuit | |
| JPH07281997A (en) | Data transfer system | |
| JPS6059462A (en) | Pipeline access memory of bi-directional data bus | |
| JPH04255062A (en) | Inter-processor communication system | |
| JP2000035953A (en) | Computer system, initialization data transfer method and record medium |