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
JPH0734189B2 - Multiple data input / output control circuit - Google Patents
[go: Go Back, main page]

JPH0734189B2 - Multiple data input / output control circuit - Google Patents

Multiple data input / output control circuit

Info

Publication number
JPH0734189B2
JPH0734189B2 JP60269143A JP26914385A JPH0734189B2 JP H0734189 B2 JPH0734189 B2 JP H0734189B2 JP 60269143 A JP60269143 A JP 60269143A JP 26914385 A JP26914385 A JP 26914385A JP H0734189 B2 JPH0734189 B2 JP H0734189B2
Authority
JP
Japan
Prior art keywords
bus
control circuit
output
data input
circuit
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
Application number
JP60269143A
Other languages
Japanese (ja)
Other versions
JPS62128348A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60269143A priority Critical patent/JPH0734189B2/en
Publication of JPS62128348A publication Critical patent/JPS62128348A/en
Publication of JPH0734189B2 publication Critical patent/JPH0734189B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は中央処理回路(以下「CPU」という)相互間の
データ入出力に関するものである。
The present invention relates to data input / output between central processing circuits (hereinafter referred to as “CPU”).

〔従来の技術〕[Conventional technology]

CPU相互間のデータ入出力を行うには、共有メモリを使
用するか又はバスを直接つなぎ合わすパラレルデータ入
出力法、あるいは送信側でパラレルデータをシリアルデ
ータに変換し受信側でシリアルデータをパラレルデータ
に変換するシリアルデータ入出力法がある。CPUプロセ
ッサとシステムとの相互間が離れていたり、システムの
構造的な制限によりバスを結ぶことが困難である場合に
は、シリアルデータ入出力法を用いるのが効果的である
ことが広く知られている。そして、CPUプロセッサの処
理能力を上まわるデータ入出力を行う場合は、通信制御
用の手順を実行する通信制御回路(以下「PCC」とい
う)とCPUを介さずにメモリとPCC間のデータ授受の制御
を行う回路(以下「DMAC」という)とを結びつけ、CPU
を介さずに連続したパラレルデータをシリアル変換して
データ入出力を行うシリアルデータ入出力法が用いられ
ている。
To perform data input / output between CPUs, use a shared memory or use a parallel data input / output method that directly connects the buses, or convert parallel data to serial data on the transmission side and convert serial data to parallel data on the reception side. There is a serial data input / output method to convert to. It is widely known that the serial data I / O method is effective when the CPU processor and the system are separated from each other or when it is difficult to connect the bus due to the structural limitation of the system. ing. When performing data input / output that exceeds the processing capacity of the CPU processor, the communication control circuit (hereinafter referred to as "PCC") that executes the procedure for communication control and the exchange of data between the memory and PCC do not go through the CPU. Connect to the control circuit (hereinafter referred to as "DMAC")
A serial data input / output method is used in which continuous parallel data is serially converted without inputting and data is input / output.

上記DMACとPCCとを結びつけたデータ入出力回路は直接
メモリとデータの授受を行うため、DMACがPCCとのデー
タ授受をする間、CPUは、バスの使用権を持っていない
ので、プログラムの実行は行えない。そして、ほとんど
のCPUがこの間プログラムの実行を一時停止して断続的
に処理を行っている。
Since the data input / output circuit connecting the above DMAC and PCC directly exchanges data with the memory, while the DMAC exchanges data with the PCC, the CPU does not have the right to use the bus. Cannot be done. Most of the CPUs suspend the execution of the program during this period and perform processing intermittently.

複数のPCCで同時にデータ入出力を行う時、それぞれの
データ入出力速度がCPUの処理速度より十分遅い場合
は、CPUが時分割で各PCCとデータ授受を行い、プログラ
ムによりPCC間の同期をとるか、又はDMACをツリー状に
構成し、その末端のDMACとPCCを結びつけ、DMACにより
同期をとる手段を用いている。
When performing data input / output with multiple PCCs at the same time, if each data input / output speed is sufficiently slower than the CPU processing speed, the CPU transfers data to / from each PCC in a time-sharing manner and synchronizes the PCCs with a program. Or, the DMAC is configured in a tree shape, the terminal DMAC and the PCC are connected, and a means for synchronizing by the DMAC is used.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の方法においては、プログラムにより又はDMACによ
り、データ入出力中常にPCC間の同期を制御する必要が
ある。
In the conventional method, it is necessary to control synchronization between PCCs during data input / output by a program or a DMAC.

一回のデータ授受毎に別の入出力回路にバスの使用権を
変えて同時に複数のPCCでデータ入出力を行う場合、同
時にデータ入出力を行える回路の数はデータ入出力速度
に反比例する。
When the right to use the bus is changed to another input / output circuit for each data transfer and the data is input / output by multiple PCCs at the same time, the number of circuits that can perform the data input / output is inversely proportional to the data input / output speed.

一回のデータ入出力毎に別の入出力回路にバスの使用権
を変えた場合、同時にデータ入出力を行えるのは1台の
回路だけであり、他はバスの使用権を待たなければなら
ない。
When the bus usage right is changed to another input / output circuit for each data input / output, only one circuit can simultaneously perform data input / output, and the other must wait for the bus usage right. .

このように同時にデータ入出力が行えるのは限られた数
であり、PCC間の同期をとる制御を必要とする欠点を有
する。さらにDMACを用いて複数のPCCが同時にデータ入
出力を行った場合、CPUはほとんど停止したままの状態
となり、処理能力を低下させてしまう。
As described above, only a limited number of data can be input and output at the same time, and there is a drawback that control for synchronizing PCCs is required. Furthermore, when multiple PCCs simultaneously perform data input / output using the DMAC, the CPU remains in a halted state, reducing the processing capacity.

〔問題点を解決するための手段〕[Means for solving problems]

このような問題点を解決するために本発明は、各通信制
御回路をバスから切り離すバス遮断手段と、各々が異な
るアドレスを有し各アドレスは主メモリのアドレスに続
いて順次割り付けられると共に各通信制御回路側の各バ
スに各個に接続される複数の副メモリと、通信制御回路
が副メモリにアクセスする場合には中央処理回路からの
制御を受けずにアクセスできるように制御する制御手段
と、各通信制御回路毎に設けられたバス遮断手段を中央
処理回路の処理動作に同期するように各個に制御する同
期制御手段とを多重データ入出力制御回路に設けるよう
にしたものである。
In order to solve such a problem, the present invention provides a bus cutoff means for disconnecting each communication control circuit from a bus, and each address has a different address, and each address is sequentially assigned following the address of the main memory and each communication is performed. A plurality of sub memories each connected to each bus on the control circuit side, and a control means for controlling the communication control circuit so that the sub memories can be accessed without being controlled by the central processing circuit when accessing the sub memories, The multiple data input / output control circuit is provided with a synchronous control means for individually controlling the bus cutoff means provided for each communication control circuit so as to synchronize with the processing operation of the central processing circuit.

〔作用〕[Action]

本発明においては、通信制御回路のデータ転送時、制御
手段は、バス遮断手段の通信制御回路側の占有されたバ
スを使って通信制御回路と副メモリ間のデータ授受を行
う。
In the present invention, at the time of data transfer of the communication control circuit, the control means transfers data between the communication control circuit and the sub memory by using the occupied bus on the communication control circuit side of the bus cutoff means.

〔実施例〕〔Example〕

本発明に係わる多重データ入出力制御回路の一実施例を
第1図に示す。第2図はCPU1から見たメモリマップ図で
ある。
An embodiment of the multiplex data input / output control circuit according to the present invention is shown in FIG. FIG. 2 is a memory map view seen from the CPU 1.

まず本回路の構成を第1図,第2図を用いて説明する。
本回路では、第2図に示すように、メモリは主メモリ3
と主メモリ3に続くアドレスを持つ副メモリ7〜9とか
ら成る。すなわち、複数の副メモリ7〜9は、各々異な
るアドレスを持ち、各副メモリのアドレスとしては主メ
モリ3に続いて例えば副メモリ7,副メモリ8,副メモリ9
の各アドレスが順次連続して割り付けられる。また本回
路は、データ通信回線20〜22にデータ入出力を行うPCC1
3〜15、CPU1を介さずにPCC13〜15と副メモリ7〜9のデ
ータ授受を制御する制御手段としてのDMAC10〜12、CPU1
からのバス16をPCC13〜15側のバス17〜19から遮断する
ためのバス遮断手段としてのバス遮断回路4〜6、DMAC
10〜12からのデータ入出力実行同期信号a,b,cによりCPU
1の処理と同期をとってバス遮断回路4〜6にバス遮断
制御信号e,f,gを出力する同期制御手段としてのバス遮
断制御回路2から構成される。
First, the configuration of this circuit will be described with reference to FIGS. 1 and 2.
In this circuit, as shown in FIG. 2, the memory is the main memory 3
And the sub memories 7 to 9 having addresses following the main memory 3. That is, the plurality of sub memories 7 to 9 have different addresses, and the addresses of the sub memories are, for example, the sub memory 7, the sub memory 8, and the sub memory 9 after the main memory 3.
The respective addresses are sequentially and successively assigned. In addition, this circuit is a PCC1 that inputs / outputs data to / from the data communication lines 20-22.
3 to 15, DMACs 10 to 12 as control means for controlling data exchange between the PCCs 13 to 15 and the sub memories 7 to 9 without going through the CPU 1, CPU 1
Bus disconnection circuits 4 to 6 as bus disconnection means for disconnecting the bus 16 from the PCCs 13 to 15 on the buses 17 to 19 on the PCC 13 to 15 side, DMAC
CPU with data input / output execution synchronization signals a, b, c from 10 to 12
It is composed of a bus cutoff control circuit 2 as a synchronous control means for outputting the bus cutoff control signals e, f, g to the bus cutoff circuits 4 to 6 in synchronization with the processing of 1.

次に、この回路の動作を第1図を用いて説明する。通常
CPU1は、バス16〜19を通じて、すべてのメモリおよび回
路にアクセス可能である。PCC13〜15がデータの入出力
を始める時、データ入出力実行同期信号a,b,cがDMAC10
〜12からバス遮断制御回路2に出力される。
Next, the operation of this circuit will be described with reference to FIG. Normal
CPU1 can access all memories and circuits through buses 16-19. When PCC13 ~ 15 start input / output of data, data input / output execution synchronization signals a, b, c
Is output to the bus cutoff control circuit 2 from.

バス遮断制御回路2は、DMAC10〜12とつながるバス17〜
19の副メモリ4〜6をCPU1がアクセスしている場合があ
るので、CPU1の処理と同期させ、データ入出力実行同期
信号a,b,cを出力したDMAC10〜12とつながるバス17〜19
とCPU1からのバス16との間に入っているバス遮断回路4
〜6に対し、バス遮断制御信号e,f,gを出力する。
The bus cutoff control circuit 2 is connected to the DMACs 10 to 12 and the bus 17 to
Since the CPU 1 may access the sub memories 4 to 6 of 19 in some cases, the bus 17 to 19 which is synchronized with the processing of the CPU 1 and which is connected to the DMACs 10 to 12 which output the data input / output execution synchronization signals a, b, and c
Bus shutoff circuit 4 between the bus 16 and the CPU 16
The bus cutoff control signals e, f, and g are output to (6) to (6).

バス遮断回路4〜6は、バス遮断制御信号e,f,gによ
り、PCC13〜15側のバス17〜19をハイインピーダンスに
する。そして、DMAC10〜12の制御により、ハイインピー
ダンスとなったバス17〜19を使い、副メモリ7〜9とPC
C13〜15とのデータ授受を行い、PCC13〜15はデータ通信
回線20〜22にデータ入出力を行う。
The bus cutoff circuits 4 to 6 bring the buses 17 to 19 on the PCC 13 to 15 side into high impedance by the bus cutoff control signals e, f, and g. Then, by controlling the DMACs 10 to 12, the high impedance buses 17 to 19 are used, and the sub memories 7 to 9 and the PC are used.
Data is exchanged with the C13-15, and the PCC13-15 inputs / outputs data to / from the data communication lines 20-22.

一方、CPU1は、バス遮断制御回路2からデータを受け取
り、データ入出力を行っているメモリと回路を知り、そ
のメモリと回路をアクセスしないようにデータの入出力
を設定する。
On the other hand, the CPU 1 receives the data from the bus cutoff control circuit 2, knows the memory and the circuit that is performing the data input / output, and sets the data input / output so as not to access the memory and the circuit.

データ入出力終了時には、DMAC10〜12からのデータ入出
力実行同期信号a,b,cにより、バス遮断制御回路2が、
遮断を解除するように、バス遮断回路4〜6にバス遮断
制御信号e,f,gを出力し、CPU1に解除データを知らせ
る。
At the end of data input / output, the bus cutoff control circuit 2 receives the data input / output execution synchronization signals a, b, c from the DMACs 10 to 12,
The bus cutoff control signals e, f, g are output to the bus cutoff circuits 4 to 6 to release the cutoff, and the CPU 1 is notified of the release data.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、各通信制御回路をバスか
ら切り離すバス遮断手段と、各々が異なるアドレスを有
し各アドレスは主メモリのアドレスに続いて順次割り付
けられると共に各通信制御回路側の各バスに各個に接続
される複数の副メモリと、通信制御回路が副メモリにア
クセスする場合には中央処理回路からの制御を受けずに
アクセスできるように制御する制御手段と、各通信制御
回路毎に設けられたバス遮断手段を中央処理回路の処理
動作に同期するように各個に制御する同期制御手段とを
設けることにより、通常の場合、中央処理回路はすべて
の回路およびメモリにアクセスすることができ、通信制
御回路のデータ転送開始時、中央処理回路の処理と同期
をとってバス遮断手段によりバスを中央処理回路から切
り離すことができ、データ転送時、バス遮断手段の通信
制御回路側の占有されたバスを使って制御手段により通
信制御回路と副メモリ間のデータ授受を行うことができ
るので、データ入出力を始める時のみ中央処理回路と同
期をとり、それ以降のデータ入出力は全く他の回路との
同期をとる必要がなく、制御手段,通信制御回路がデー
タ入出力を行える最大のデータ入出力速度までデータ入
出力を行える効果がある。また、中央処理回路は制御手
段により停止させられないので、データ入出力を行って
いる回路とメモリを除く回路とメモリにアクセス可能で
あり、処理能力の低下が起こらない効果がある。さら
に、他の通信制御回路も同様の動作を行うので、データ
入出力を他の通信制御回路と同期をとらずに同時に行え
る効果がある。
As described above, according to the present invention, bus disconnection means for disconnecting each communication control circuit from the bus, each address having a different address, each address is sequentially allocated following the address of the main memory, and each communication control circuit side has Each of the plurality of sub memories connected to the bus, the control means for controlling the communication control circuit so that the sub memory can be accessed without being controlled by the central processing circuit, and each communication control circuit. The central processing circuit can normally access all the circuits and the memory by providing the bus shut-off means provided in the central processing circuit and the synchronous control means for individually controlling the individual circuits so as to synchronize with the processing operation of the central processing circuit. When the data transfer of the communication control circuit is started, the bus can be disconnected from the central processing circuit by the bus interruption means in synchronization with the processing of the central processing circuit. At the time of data transfer, since the data can be transferred between the communication control circuit and the sub memory by the control means by using the occupied bus on the side of the communication control circuit of the bus cutoff means, the central processing circuit only when starting the data input / output. The effect of being able to perform data input / output up to the maximum data input / output speed at which the control means and communication control circuit can perform data input / output without having to synchronize with other circuits at all for subsequent data input / output. There is. Further, since the central processing circuit cannot be stopped by the control means, it is possible to access the circuits and memories other than the circuit for inputting / outputting data and the memory, and there is an effect that the reduction of the processing capacity does not occur. Further, since the other communication control circuits perform the same operation, there is an effect that data input / output can be performed simultaneously without being synchronized with the other communication control circuits.

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

第1図は本発明に係わる多重データ入出力制御回路の一
実施例を示す系統図、第2図はその回路を構成するメモ
リを中央処理回路から見たメモリマップ図である。 1……CPU、2……バス遮断制御回路、3……主メモ
リ、4〜6……バス遮断回路、7〜9……副メモリ、10
〜12……DMAC、13〜15……PCC、16〜19……バス、20〜2
2……データ通信回線。
FIG. 1 is a system diagram showing an embodiment of a multiplex data input / output control circuit according to the present invention, and FIG. 2 is a memory map view of a memory constituting the circuit as seen from a central processing circuit. 1 ... CPU, 2 ... Bus cutoff control circuit, 3 ... Main memory, 4-6 ... Bus cutoff circuit, 7-9 ... Sub memory, 10
〜12 …… DMAC, 13〜15 …… PCC, 16〜19 …… Bus, 20〜2
2 …… Data communication line.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三和 達也 東京都港区西新橋3丁目20番4号 日本電 気エンジニアリング株式会社内 (56)参考文献 特開 昭56−153422(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tatsuya Miwa 3-20-4 Nishishinbashi, Minato-ku, Tokyo Inside Nippon Electric Engineering Co., Ltd. (56) References JP-A-56-153422 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理回路と主メモリと各通信回線に接
続された通信制御回路とがバスにより接続されて一体と
して機能する多重データ入出力制御回路において、 各通信制御回路をバスから切り離すバス遮断手段と、 各々が異なるアドレスを有し各アドレスは前記主メモリ
のアドレスに続いて順次割り付けられると共に前記各通
信制御回路側の各バスに各個に接続される複数の副メモ
リと、 前記通信制御回路が前記副メモリにアクセスする場合に
は前記中央処理回路からの制御を受けずにアクセスでき
るように制御する前記各バスに接続された各個の制御手
段と、 前記制御手段の各々から出力されるデータ入出力実行同
期信号に基づき各通信制御回路毎に設けられた前記バス
遮断手段を前記中央処理回路の処理動作と同期して前記
各バスを遮断するよう各個を制御する同期制御手段とを
備え、 前記複数の通信制御回路が同時に回線からのデータ受信
要求を受けたり同時に回線へのデータ送信要求を受けた
りした場合でも並行処理が可能であることを特徴とする
多重データ入出力制御回路。
1. A multiple data input / output control circuit in which a central processing circuit, a main memory, and a communication control circuit connected to each communication line are connected by a bus to function as a unit, wherein each communication control circuit is separated from the bus. Shutting off means, a plurality of sub memories each having a different address, each address being sequentially allocated following the address of the main memory, and each being connected to each bus on the side of each communication control circuit, the communication control When each circuit accesses the sub memory, each control unit connected to each bus for controlling the sub memory so that the sub memory can be accessed without being controlled by the central processing circuit, and output from each of the control units. Based on the data input / output execution synchronization signal, the bus cutoff means provided for each communication control circuit is synchronized with the processing operation of the central processing circuit to connect the buses. A synchronous control means for controlling each of them to cut off is provided, and parallel processing is possible even when the plurality of communication control circuits simultaneously receive a data reception request from the line or simultaneously receive a data transmission request to the line. A multiple data input / output control circuit characterized by the above.
JP60269143A 1985-11-29 1985-11-29 Multiple data input / output control circuit Expired - Lifetime JPH0734189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60269143A JPH0734189B2 (en) 1985-11-29 1985-11-29 Multiple data input / output control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60269143A JPH0734189B2 (en) 1985-11-29 1985-11-29 Multiple data input / output control circuit

Publications (2)

Publication Number Publication Date
JPS62128348A JPS62128348A (en) 1987-06-10
JPH0734189B2 true JPH0734189B2 (en) 1995-04-12

Family

ID=17468282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60269143A Expired - Lifetime JPH0734189B2 (en) 1985-11-29 1985-11-29 Multiple data input / output control circuit

Country Status (1)

Country Link
JP (1) JPH0734189B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5276845A (en) * 1988-08-25 1994-01-04 Yamaha Corporation Apparatus with multiple buses for permitting concurrent access to a first memory by a processor while a DMA transfer is occurring between a second memory and a communications buffer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56153422A (en) * 1980-04-28 1981-11-27 Fujitsu Ltd Data processor

Also Published As

Publication number Publication date
JPS62128348A (en) 1987-06-10

Similar Documents

Publication Publication Date Title
JPS63255759A (en) Control system
WO1999022307A1 (en) Data interface and high-speed communication system using the same
JPH03188546A (en) Bus interface control system
US5155807A (en) Multi-processor communications channel utilizing random access/sequential access memories
CN116483753A (en) A server monitoring chip and system
JPS63255760A (en) Control system
JPH0232656B2 (en)
JPH0734189B2 (en) Multiple data input / output control circuit
CA1062376A (en) Memory control system
JP2583586B2 (en) Bus control method
JPS6240565A (en) Memory control system
JP2962767B2 (en) Memory access method for DMA device
EP0234182A1 (en) A multiprocessor data processing system
JP2705955B2 (en) Parallel information processing device
JP2687716B2 (en) Information processing device
JPH04225458A (en) Computer
JPH0236016B2 (en)
JP2001142852A (en) Synchronization and communication controller for high-speed parallel computing
JPH0426744B2 (en)
JPH04119447A (en) Access system
JPS61131057A (en) Serial i/o system
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JPS58213336A (en) Communication controller
JPS60196866A (en) Data processor
JPS63257048A (en) Data transfer system for parallel processor