JPH04170240A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH04170240A
JPH04170240A JP2297566A JP29756690A JPH04170240A JP H04170240 A JPH04170240 A JP H04170240A JP 2297566 A JP2297566 A JP 2297566A JP 29756690 A JP29756690 A JP 29756690A JP H04170240 A JPH04170240 A JP H04170240A
Authority
JP
Japan
Prior art keywords
address
data
information
memory
signal
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.)
Granted
Application number
JP2297566A
Other languages
Japanese (ja)
Other versions
JP2925710B2 (en
Inventor
Yasuharu Shidara
康晴 設楽
Noboru Hayasaka
昇 早坂
Toshiya Kosuga
小須賀 俊哉
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2297566A priority Critical patent/JP2925710B2/en
Priority to DE69132236T priority patent/DE69132236T2/en
Priority to EP91114022A priority patent/EP0473059B1/en
Publication of JPH04170240A publication Critical patent/JPH04170240A/en
Priority to US08/316,830 priority patent/US5430844A/en
Application granted granted Critical
Publication of JP2925710B2 publication Critical patent/JP2925710B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To reduce the processing time of the entire reception processing by starting a DMA control means and selecting a reception address or an address from an address counter in response to a format of transmission information. CONSTITUTION:Since an output of AND gates 16,18 receiving a signal MULTI at its terminal is inputted to a bus driver 13 and an address counter 12, the bus driver 13 is active in the case of plural-word communication only, an address of the address counter 12 is fed to an address terminal of a memory 10 and the address counter 12 is counted up only in this case. On the other hand, since an output of an AND gate 17 receiving a signal BD and a signal SINGL is received to a bus driver 14, the bus driver 14 is active in the case of single word communication only and an address of an address register 8 is fed to an address terminal of the memory 10.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、データ処理装置間を光ケーブル等の通信回線
で接続したシステムに係わり、特に、その通信フォーマ
ット及びフォーマットに応じた受信側の通信制御に関す
る。
Detailed Description of the Invention (a) Industrial Application Field The present invention relates to a system in which data processing devices are connected by a communication line such as an optical cable, and particularly relates to a communication format and communication on the receiving side according to the format. Regarding control.

(ロ)従来の技術 一般に、通信回線を介してデータを通信するには、受信
側の通信制御装置にDMAコントローラと受信に必要な
スタートアドレス、データサイズ等を記憶するための専
用のレジスタを設け、受信に先立ちまず、スタートアド
レス、データサイズ等を上記専用のレジスタに設定し、
設定後送信側に受信の準備ができたことを知らせ、次に
、DMAコントローラに起動をかけるという所定の手続
きを行った後、連続的に送信されてくるデータを実際に
受信するようにしていた。
(b) Conventional technology Generally, in order to communicate data via a communication line, the communication control device on the receiving side is equipped with a DMA controller and a dedicated register for storing the start address, data size, etc. necessary for reception. , Prior to reception, first set the start address, data size, etc. in the above dedicated register,
After setting, it notifies the sending side that it is ready to receive, and then performs the prescribed procedure of activating the DMA controller, and then actually receives the continuously transmitted data. .

(ハ)発明が解決しようとする課題 従来の方式は、装置間で多量のデータを通信するときは
有効であるが、受信前の所定の手続きに長い時間を必要
とするため、少量のデータを受信するには不向きであっ
た。このため、本発明は、受信前に所定の手続きを必要
とする多量のデータ向きの従来方式に、受信前の手続き
を簡素化した新たな方式を追加し、受信処理全体の処理
時間を短縮することを目的とするものである。
(c) Problems to be Solved by the Invention Conventional methods are effective when communicating large amounts of data between devices, but they require a long time to carry out predetermined procedures before receiving data. It was unsuitable for reception. Therefore, the present invention adds a new method that simplifies the pre-reception procedure to the conventional method suitable for large amounts of data that requires a predetermined procedure before reception, thereby shortening the processing time of the entire reception process. The purpose is to

(ニ)課題を解決するための手段 本発明は、通信回線を介して情報通信を行うシステムに
おいて、送信情報がアドレスであるかデータであるかを
識別するための識別ビットを送信情報に付加してなるI
ワードの情報を通信単位とし、予め定められたワード数
のデータを送信する際には先頭ワードにアドレスを含む
フォーマットで送信情報を構成し、前記予め定められた
ワード数より多いワードのデータを送信する際にはデー
タのみで送信情報を構成すると共に、受信側の通信制御
装置に、前記通信回線を介して送信情報を受信するレシ
ーバと、受信データを記憶するためのメモリと、該メモ
リへの受信データの書き込みを制御するDMAコントロ
ール手段と、前記予め定められたワード数より多いワー
ドのデータ送信に先立ちアドレスがセットされ、前記D
MAコントロール手段からのクロック信号に応じて内容
が更新されるアドレスカウンタと、受信した情報の前記
識別ビットを検出して検出結果に応じて、前記DMAコ
ントロール手段の起動を制御すると共に、受信アドレス
と前記アドレスカウンタからのアドレスを選択的に前記
メモリに供給するよう制御する制御手段とを設けて、上
記課題を解決するものである。
(d) Means for Solving the Problems The present invention provides a system for communicating information via a communication line, in which an identification bit is added to the transmitted information to identify whether the transmitted information is an address or data. Tenaru I
Word information is used as a communication unit, and when transmitting data of a predetermined number of words, the transmission information is configured in a format that includes an address in the first word, and data of more words than the predetermined number of words is transmitted. When transmitting information, the transmitted information is composed only of data, and the communication control device on the receiving side includes a receiver for receiving the transmitted information via the communication line, a memory for storing the received data, and a memory for storing the received data. DMA control means for controlling writing of received data; and an address is set prior to data transmission of words greater than the predetermined number of words;
an address counter whose contents are updated according to a clock signal from the MA control means; and an address counter that detects the identification bit of the received information and controls activation of the DMA control means according to the detection result; The above problem is solved by providing a control means for selectively supplying addresses from the address counter to the memory.

(ホ)作用 本発明では、送信情報のフォーマットに応じて、DMA
コントロール手段の起動、及び、受信アー  3 〜 ドレスとアドレスカウンタからのアドレスとの選択が行
われるので、予め定められたワード数より多いワードの
データ通信においては、従来と全く同様の手続き及び処
理によって受信データをメモリに記憶でき、また、予め
定められたワード数のデータ通信においては、受信前に
何ら所定の手続きを行うことなく、自動的に受信データ
をメモリに記憶できる。
(E) Effect In the present invention, depending on the format of the transmission information, the DMA
Since the activation of the control means and the selection of the reception address and the address from the address counter are performed, data communication of more words than a predetermined number of words is performed using the same procedures and processing as before. The received data can be stored in the memory, and in data communication of a predetermined number of words, the received data can be automatically stored in the memory without performing any predetermined procedures before reception.

(へ)実施例 第1図は、本発明の実施例を示すブロック図であり、(
1)は光ケーブルにてなる通信回線、(2)はホストユ
ニット側の通信制御装置(図示せず)から送信される情
報を、通信回線(1)を介して受信するサブユニット側
の通信制御装置である。このサブユニットは、例えば、
通信制御装置(2)の他に、複数の端末装置を増設する
ためのI10プロセッサを含む。
(F) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention.
1) is a communication line made of an optical cable, and (2) is a communication control device on the subunit side that receives information transmitted from a communication control device (not shown) on the host unit side via the communication line (1). It is. This subunit is, for example,
In addition to the communication control device (2), it includes an I10 processor for adding a plurality of terminal devices.

第1図において、(3)は通信制御用CPU、(4)及
び(5)はアドレスバス及びデータバス、(6)はシリ
アルパラレル変換@(7)を含み通信口M(1)を介し
て送信された情報を受信するレシーバ、(8)(9)は
レシーバによって受信したアドレス及びデータを各々取
り込むアドレスレジスタ及びデータレジスタ、(10)
はアドレスバス(4)及びデータバス(5)に接続され
受信データを記憶するためのメモリ、(11)はメモリ
(10)への受信データの書き込みを制御するDMAコ
ントローラ、(12)はDMAコントローラ(11)に
よるDMA動作において、メモリ(10)のアドレスを
指定するためのアドレスカウンタ、(13)(14)(
15)(22)はアドレスバス及びデータバスに挿入さ
れDMAコントローラ(11)またはANDゲート(1
6)(17)の出力により開閉が制御されるバスドライ
バ、(18)はANDゲートである。
In Fig. 1, (3) is a CPU for communication control, (4) and (5) are an address bus and a data bus, and (6) is a serial-to-parallel conversion @ (7) that is connected via communication port M (1). a receiver for receiving the transmitted information; (8) and (9) an address register and a data register for respectively capturing the address and data received by the receiver; (10)
is a memory connected to the address bus (4) and data bus (5) to store received data, (11) is a DMA controller that controls writing of received data to memory (10), and (12) is a DMA controller. In the DMA operation according to (11), an address counter for specifying the address of memory (10), (13) (14) (
15) (22) are inserted into the address bus and data bus and are used as a DMA controller (11) or an AND gate (1
6) A bus driver whose opening/closing is controlled by the output of (17), and (18) is an AND gate.

又、(19)はレシーバ(6)からの信号に応じて、ア
ドレスレジスタ(8)、データレジスタ(9)への情報
の取り込みを制御すると共に、DMAコントローラ(1
1)の起動の制御、バスドライバ(13)(1,,4)
の開閉制御を行う受信コントローラ、(20)はDMA
コントローラ(11)によるDMA動作とCPU (3
)によるメモリへのアクセスとの調停を行うウェイトコ
ントローラ、(21)はアドレスバス(4)のアドレス
をデコードしてCPUのアクセスがメモリ(10)に対
するアクセスであることを判断するアドレスデコーダで
ある。
Further, (19) controls the loading of information into the address register (8) and data register (9) according to the signal from the receiver (6), and also controls the DMA controller (19).
1) Startup control, bus driver (13) (1,,4)
(20) is a DMA receiving controller that controls the opening and closing of
DMA operation by controller (11) and CPU (3
), and (21) is an address decoder that decodes the address on the address bus (4) and determines that the CPU access is to the memory (10).

ここで、ウェイトコントローラ(20)及びアドレスカ
ウンタ(12)について詳述する。
Here, the wait controller (20) and address counter (12) will be explained in detail.

ウェイトコントローラ(20)には、DMAコントロー
ラ(11)からのDMAリクエスト信号DMARQと、
CPU (3)からのアドレスストローブ信号ASと、
アドレスデコーダ(21)のデコード出力が入力されて
おり、CPU (3)によるメモリ(10)のアクセス
時、DMARQが入力されていなければ、ノンウェイト
でCPU (3)がアクセスできるように、所定のタイ
ミングでデータACK信号DTACKをCPUに返す。
The wait controller (20) receives a DMA request signal DMARQ from the DMA controller (11),
an address strobe signal AS from the CPU (3);
The decode output of the address decoder (21) is input, and when the CPU (3) accesses the memory (10), if the DMARQ is not input, the CPU (3) can access the memory (10) without waiting. A data ACK signal DTACK is returned to the CPU at the appropriate timing.

又、DMAリクエスト時、CPU (3)がメモリ(3
)をアクセスしていなければ、ウェイト信号WAITを
発生せず、このため、DMAコントローラ(11)は即
座にDMAを開始することができる。
Also, when making a DMA request, the CPU (3) uses the memory (3
), the wait signal WAIT is not generated, and therefore the DMA controller (11) can immediately start DMA.

ところが、CPU (3)とDMAコントローラ(11
)とのアクセスが競合することもあり、このため、ウェ
イトコントローラ(20)は、信号AS入力後信号DT
ACKをCPUに返す前にDMARQが入力されたとき
は、DTACKを返すタイミングを遅らせてCPUにウ
ェイトをかけ、この間にDMA動作を行わせる。又、信
号AS入力後DTACKを返した後にDMARQが入力
されたときは、CPUによるメモリ(io)のアクセス
が終了するまで、DMAコントローラ(11)に信号W
A I Tを発してDMAアクセスを待たせる様に制御
している。
However, the CPU (3) and DMA controller (11)
), and for this reason, the wait controller (20) inputs the signal DT after inputting the signal AS.
If DMARQ is input before ACK is returned to the CPU, the timing of returning DTACK is delayed to put a wait on the CPU, and the DMA operation is performed during this time. Furthermore, when DMARQ is input after returning DTACK after inputting the signal AS, the signal W is sent to the DMA controller (11) until the CPU finishes accessing the memory (io).
Control is performed so that AIT is issued and DMA access is made to wait.

又、アドレスカウンタ(12)は、データの送信前にス
タートアドレスがセットされ、ANDゲート(18)か
らのクロック信号MCLOCKに応じてカウントアツプ
を行い、カウンタの内容がオールlからオールOになる
と終了信号ENDを出力して、この信号によりCPU 
(3)にDMAの終了を割り込みによって知らせるもの
である。
In addition, the address counter (12) has a start address set before data transmission, and counts up in response to the clock signal MCLOCK from the AND gate (18), and ends when the contents of the counter go from all I's to all O's. Outputs the signal END, and this signal causes the CPU to
(3) The end of DMA is notified by an interrupt.

つまり、一般的なアドレスカウンタとサイズカウンタを
兼用するものであって、アドレスカウンタ(12)の代
わりにこれら2つのカウンタを用いてもよい。
In other words, it serves as both a general address counter and a size counter, and these two counters may be used instead of the address counter (12).

次に、第2図に基すき、本実施例における通信フォーマ
ットについて説明する。
Next, the communication format in this embodiment will be explained based on FIG.

本実施例では、第2図(a)に示すように、送信情報が
アドレスであるかデータであるかを識別するための識別
ビットA/Dを、アドレス若しくはデータよりなる送信
情報に付加した1ワードの情報を、通信単位としている
In this embodiment, as shown in FIG. 2(a), an identification bit A/D for identifying whether the transmitted information is an address or data is added to the transmitted information consisting of an address or data. Word information is used as a communication unit.

そして、単ワードのデータを送信する際には、第2図(
b)に示すように、送信しようとするデータワードの先
頭にアドレスワードを含むフォーマットで送信情報を構
成し、複数ワードのデータを送信する際には、第2図(
C)に示すように、データのみで送信情報を構成するよ
うに、フォーマットを定義している。
When transmitting single word data, see Figure 2 (
As shown in b), the transmission information is configured in a format that includes an address word at the beginning of the data word to be transmitted, and when transmitting multiple words of data, the format shown in Fig. 2 (
As shown in C), the format is defined so that transmission information consists of only data.

以下、本実施例の動作を、第3図及び第4図を参照しな
がら詳細に説明する。
The operation of this embodiment will be described in detail below with reference to FIGS. 3 and 4.

ここでは、本実施例の動作を明瞭にするため、第2図(
c)で示すフォーマットの複数ワード通信の最中及びそ
の後に、第2図(1〕)で示す単ワード通信を行う例に
ついて説明する。
Here, in order to clarify the operation of this embodiment, we will explain it in Fig. 2 (
An example will be described in which the single word communication shown in FIG. 2 (1) is performed during and after the multi-word communication in the format shown in c).

即ち、第3図において、斜線で示す情報が複数ワード通
信による送信情報であり、「(」で示すペアの情報が単
ワード通信による送信情報であるまず、送信に先立ち、
アドレスカウンタ(12)にスタートアドレスがセット
され後に、複数ワード通信が開始されると、送信された
1ワード情報が順次通信回線(1)を介してレシーバ(
6)により受信される。レシーバ(6)は、シリアルに
受は取った1ワードの情報をシリアルパラレル変換回路
(7)によってパラレルに変換して出力すると共に、出
力の度にストローブ信号STBを受信コントローラ(1
9)に与える。
That is, in FIG. 3, the information indicated by diagonal lines is the information to be transmitted by multi-word communication, and the information in pairs indicated by "(" is the information to be transmitted by single-word communication.First, prior to transmission,
When multi-word communication is started after the start address is set in the address counter (12), the transmitted one-word information is sequentially transmitted to the receiver (1) via the communication line (1).
6). The receiver (6) converts one word of information received serially into parallel information using a serial-to-parallel conversion circuit (7) and outputs it.
9).

受信コントローラ(19)は、具体回路を第4図に示す
ように、レシーバ(6)の出力である識別ビットA/D
をD端子に入力し、ストローブ信号STBをCL端子に
入力するDフリップフロップ(30)、Dフリップフロ
ップ(30)の反転Q出力とストローブ信号STBとを
入力するANDゲート(31)、Dフリップフロップ(
30)のQ出力とストローブ信号STBとを入力するA
NDゲート (32)、Dフリップフロップ(30)の
反転Q出力をD端子に入力し、ストローブ信号STBを
CL端子に入力するDフリップフロップ(33)とから
構成されている。
The reception controller (19) receives the identification bit A/D which is the output of the receiver (6), as shown in FIG.
is input to the D terminal and the strobe signal STB is input to the CL terminal, a D flip-flop (30), an AND gate (31) that inputs the inverted Q output of the D flip-flop (30) and the strobe signal STB, and a D flip-flop. (
A that inputs the Q output of 30) and the strobe signal STB.
It consists of an ND gate (32), a D flip-flop (33) which inputs the inverted Q output of the D flip-flop (30) to the D terminal, and inputs the strobe signal STB to the CL terminal.

従って、受信情報がアドレスであれば、識別ビットA/
Dが「O」であるため、Dフリップフロップ(30)が
リセットされて、第3図(つ)の如<ANDゲー)(3
1)から信号ALATが出力され、受信情報がデータで
あれば、識別ビットA/Dが「1」であるため、Dフリ
ップフロップ(30)がセットされて、第3図(1)の
如くANDゲート(32)から信号DLATが出力され
る。よって、レシーバ(6)が受信したアドレスはアド
レスレジスタ(8)に、受信したデータはデータレジス
タ(9)にラッチされる。更に、信号DLATはり、M
Aコントローラ(]1)への起動信号DMAGOとなる
ので、データがラッチされる毎にDMAコントローラ(
11)が起動されることとなる。
Therefore, if the received information is an address, the identification bit A/
Since D is "O", the D flip-flop (30) is reset and the result is as shown in FIG.
If the signal ALAT is output from 1) and the received information is data, the identification bit A/D is "1", so the D flip-flop (30) is set and the AND is performed as shown in FIG. 3 (1). A signal DLAT is output from the gate (32). Therefore, the address received by the receiver (6) is latched into the address register (8), and the received data is latched into the data register (9). Furthermore, the signal DLAT beam, M
The activation signal DMAGO is sent to the A controller (1), so every time data is latched, the DMA controller (1) is activated.
11) will be activated.

又、Dフリップフロップ(30)の反転Q出力が「1」
になった後に、信号STBが入力されると、Dフリップ
フロップ(33)がセットされて第3図(オ)の如く、
信号STBの1周期期間だけ信号5INGLが「0」か
らr 1. Jになり、第3図(力)の如く、信号MU
LTIが[1]がら「0」になる。つまり、信号5IN
GLは、通信フォーマットが単ワードであることを示し
、信号MULTIは通信フォーマットが複数ワードであ
ることを示す。
Also, the inverted Q output of the D flip-flop (30) is "1"
When the signal STB is input after , the D flip-flop (33) is set and as shown in Fig. 3 (e),
The signal 5INGL changes from "0" to r for one period of the signal STB.1. J, as shown in Figure 3 (force), the signal MU
LTI changes from [1] to "0". In other words, signal 5IN
GL indicates that the communication format is single word, and signal MULTI indicates that the communication format is multiple words.

信号DMAGOにより、DMAコントローラ(11)に
起動がかがると、DMAコントローラ(12)は、DM
Aリクエスト信号r)M A RQをウェイトコントロ
ーラ(20)に出力する。ウェイトコントローラ(20
)は上述の如く、CPUアクセスとの調停を行い、DM
Aが許可されると、DMAコントローラ(11)は、信
号BDを「1」とし、書き込み信号WEをメモリ(11
)に与える。そして、データの書き込み後DMAコント
ローラ(13)は、信号CLOCKを1つ発してアドレ
スカウンタ(19)をカウントアツプする。信号BDは
、直接バスドライバ(15)に入力されるので、データ
レジスタ(9)の出力はデータバス(5)を介してメモ
リ (10)のデータ端子に接続される。又、信号BD
の反転信号がバスドライバ22に入力されるので、I)
MA動作時にはバスドライバ(22)が閉じ、メモリ(
10)とCPU (3)との接続は解除される。
When the DMA controller (11) is activated by the signal DMAGO, the DMA controller (12)
A request signal r) M A RQ is output to the weight controller (20). Weight controller (20
) performs arbitration with CPU access as described above, and DM
When A is permitted, the DMA controller (11) sets the signal BD to "1" and sends the write signal WE to the memory (11).
). After writing the data, the DMA controller (13) issues one signal CLOCK to count up the address counter (19). Since the signal BD is directly input to the bus driver (15), the output of the data register (9) is connected to the data terminal of the memory (10) via the data bus (5). Also, signal BD
Since the inverted signal of I) is input to the bus driver 22,
During MA operation, the bus driver (22) closes and the memory (
10) and the CPU (3) are disconnected.

ところが、バスドライバ(13)及びアドレスカウンタ
(12)には、クロック信号及び信号BDが直接入力さ
れず、一端に信号MULT Iを入力するANDゲート
(16)  (18)の出力が入力されるので、複数ワ
ード通信のときのみ、第3図(キ)の如くバスドライバ
(13)が開き、メモリ(10)のアドレス端子にはア
ドレスカウンタ(12)のアドレスが供給され、且つ、
この場合のみアドレスカウンタ(J2)がカウントアツ
プされる。
However, the clock signal and signal BD are not directly input to the bus driver (13) and address counter (12), but the output of the AND gate (16) (18) which inputs the signal MULT I to one end is input. , only when communicating multiple words, the bus driver (13) opens as shown in FIG. 3(g), and the address of the address counter (12) is supplied to the address terminal of the memory (10), and
Only in this case, the address counter (J2) is counted up.

よって、第3図の1.2.5ワード目に示す複数ワード
送信におけるデータワードは、メモリ(11)のスター
トアドレスから連続するアドレスに順次記憶されて行く
Therefore, the data words in the multi-word transmission shown in words 1, 2, and 5 in FIG. 3 are sequentially stored in consecutive addresses from the start address of the memory (11).

一方、バスドライバ(14)には、信号BD及び信号5
INGLを入力するANDゲート(17)の出力が入力
されているので、第3図(り)の如く単ワード通信のと
きのみバスドライバ(14)が開き、メモリ (10)
のアドレス端子にはアドレスレジスタ(8)のアドレス
が供給される。
On the other hand, the bus driver (14) has a signal BD and a signal 5.
Since the output of the AND gate (17) that inputs INGL is input, the bus driver (14) opens only during single word communication as shown in Figure 3 (ri), and the memory (10)
The address of the address register (8) is supplied to the address terminal of.

よって、第3図の4,7ワード目に示す単ワード送信に
おけるデータワードは、直前のアドレスで指定されたメ
モリ(10)のメモリ位置に記憶されることとなる。
Therefore, the data words in the single word transmission shown in the 4th and 7th words in FIG. 3 are stored in the memory location of the memory (10) designated by the immediately previous address.

以上のように、通信フォーマットに応じて、アドレスカ
ウンタ(12)とアドレスレジスタ(8)のいずれか一
方のアドレスが選択され、メモリ(10)の選択された
アドレス位置に受信データを記憶される。
As described above, the address of either the address counter (12) or the address register (8) is selected depending on the communication format, and the received data is stored in the selected address position of the memory (10).

尚、メモリ(10)の容量が大きい場合は、送信するア
ドレスを下位のアドレスのみとし、上位アドレスを発生
するアドレス発生回路を受信側に追加して、両アドレス
によりメモリをアドレス指定するようにしてもよい。
If the capacity of the memory (10) is large, send only the lower address, add an address generation circuit that generates the upper address to the receiving side, and use both addresses to address the memory. Good too.

ところで、上述の実施例では、CPUにウェイトをかけ
てDMAを行ったが、CPUにホールドリクエストを発
し、CPUからのホールドACKに応じてDMAを実行
する一般的な方法を用いてもよく、この場合には、バス
ドライバ(22)は不要となる。又、上述の実施例にお
いては、あらかじめ定められたワード数を1ワードとし
たが、このワード数はシステムに応じて適宜設定すれば
よい。
By the way, in the above embodiment, DMA was performed by placing a wait on the CPU, but a general method of issuing a hold request to the CPU and executing DMA in response to a hold ACK from the CPU may also be used. In this case, the bus driver (22) is not required. Further, in the above embodiment, the predetermined number of words is one word, but this number of words may be set as appropriate depending on the system.

(ト)発明の効果 本発明によれば、予め定められたワード数以上の多量の
データ通信においては、従来と全く同様の手続きでメモ
リに受信データを記憶でき、また、少量の予め定められ
たワード数のデータ通信においては、受信前の手続きを
簡素化して、高速のデータ通信を実現できる。
(g) Effects of the Invention According to the present invention, when communicating a large amount of data exceeding a predetermined number of words, the received data can be stored in the memory using the same procedure as in the past. In word-based data communication, procedures before reception can be simplified and high-speed data communication can be achieved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例の構成を示すブロック図、第2
図は実施例における通信フォーマットを示す図、第3図
は実施例における各信号のタイミングチャートを示す図
、第4図は実施例における受信コントローラの具体例を
示す回路図である。 (1)・・・・・通信回線、(2)・・・・・サブユニ
ット側通信制御装置、(3)・・・・・CPU、(4)
・・・・・アドレスバス、(5)・・・・・データバス
、(6)・・・・・レシーバ、(8)・・・・・アドレ
スレジスタ、(9)・・・・・データレジスタ、(10
)・・・・メモリ、(11)・・・・・DMAコントロ
ーラ、(12)・・・・・アドレスカウンタ、(13)
(14)(15)・・・・・バスドライバ、(19)・
・・・・受信コントローラ。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG.
3 is a diagram showing a communication format in the embodiment, FIG. 3 is a diagram showing a timing chart of each signal in the embodiment, and FIG. 4 is a circuit diagram showing a specific example of the reception controller in the embodiment. (1)...Communication line, (2)...Subunit side communication control device, (3)...CPU, (4)
...address bus, (5) ...data bus, (6) ...receiver, (8) ...address register, (9) ...data register , (10
)...Memory, (11)...DMA controller, (12)...Address counter, (13)
(14) (15)...Bus driver, (19)...
...Reception controller.

Claims (1)

【特許請求の範囲】[Claims] (1)通信回線を介して情報通信を行うシステムにおい
て、送信情報がアドレスであるかデータであるかを識別
するための識別ビットを送信情報に付加してなる1ワー
ドの情報を通信単位とし、予め定められたワード数のデ
ータを送信する際には先頭ワードにアドレスを含むフォ
ーマットで送信情報を構成し、前記予め定められたワー
ド数より多いワードのデータを送信する際にはデータの
みで送信情報を構成すると共に、受信側の通信制御装置
に、前記通信回線を介して送信情報を受信するレシーバ
と、受信データを記憶するためのメモリと、該メモリへ
の受信データの書き込みを制御するDMAコントロール
手段と、前記予め定められたワード数より多いワードの
データ送信に先立ちアドレスがセットされ、前記DMA
コントロール手段からのクロック信号に応じて内容が更
新されるアドレスカウンタと、受信した情報の前記識別
ビットを検出して検出結果に応じて、前記DMAコント
ロール手段の起動を制御すると共に、受信アドレスと前
記アドレスカウンタからのアドレスを選択的に前記メモ
リに供給するよう制御する制御手段とを設けたことを特
徴とする通信制御システム。
(1) In a system that communicates information via a communication line, the unit of communication is one word of information obtained by adding an identification bit to the transmitted information to identify whether the transmitted information is an address or data, When transmitting data with a predetermined number of words, the transmission information is configured in a format that includes an address in the first word, and when transmitting data with more words than the predetermined number of words, only the data is transmitted. A receiver that configures the information and receives the transmitted information via the communication line in the communication control device on the receiving side, a memory for storing the received data, and a DMA that controls writing of the received data to the memory. a control means, an address is set prior to data transmission of words greater than the predetermined number of words;
an address counter whose contents are updated in accordance with a clock signal from the control means; detecting the identification bit of the received information; and controlling activation of the DMA control means according to the detection result; A communication control system comprising: control means for selectively supplying addresses from an address counter to the memory.
JP2297566A 1990-08-22 1990-11-02 Communication control system Expired - Fee Related JP2925710B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2297566A JP2925710B2 (en) 1990-11-02 1990-11-02 Communication control system
DE69132236T DE69132236T2 (en) 1990-08-22 1991-08-21 Transmission control system
EP91114022A EP0473059B1 (en) 1990-08-22 1991-08-21 Communication control system
US08/316,830 US5430844A (en) 1990-08-22 1994-10-03 Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2297566A JP2925710B2 (en) 1990-11-02 1990-11-02 Communication control system

Publications (2)

Publication Number Publication Date
JPH04170240A true JPH04170240A (en) 1992-06-17
JP2925710B2 JP2925710B2 (en) 1999-07-28

Family

ID=17848208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2297566A Expired - Fee Related JP2925710B2 (en) 1990-08-22 1990-11-02 Communication control system

Country Status (1)

Country Link
JP (1) JP2925710B2 (en)

Also Published As

Publication number Publication date
JP2925710B2 (en) 1999-07-28

Similar Documents

Publication Publication Date Title
US5001624A (en) Processor controlled DMA controller for transferring instruction and data from memory to coprocessor
US5448702A (en) Adapters with descriptor queue management capability
EP0288649B1 (en) Memory control subsystem
EP0542417B1 (en) Method and direct memory access controller for asynchronously reading/writing data from/to a memory with improved throughput
US6772237B2 (en) Host controller interface descriptor fetching unit
EP0524936A1 (en) Data transfer within a data storage subsystem
US5430844A (en) Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception
JPH04170240A (en) Communication control system
US4885679A (en) Secure commodity bus
JP2589205B2 (en) Communication control system
CN116974963B (en) Device for accessing memory, method, chip and storage medium thereof
EP0278263B1 (en) Multiple bus DMA controller
JP2522412B2 (en) Communication method between programmable controller and input / output device
KR100214302B1 (en) High speed data processing method of dma for dsp
JPH0962633A (en) Network control unit
JP2003085125A (en) Memory controller and memory control method
JPS5936773B2 (en) Local burst transfer control method
JP2594567B2 (en) Memory access control device
KR100259585B1 (en) Dma controller
JP2580382B2 (en) High-speed I / O instruction method
JP3057754B2 (en) Memory circuit and distributed processing system
JP2941005B2 (en) Storage controller
JP2803616B2 (en) I / O bus interface control method
JP3442099B2 (en) Data transfer storage device
JPH065521B2 (en) Message buffer system

Legal Events

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