JP2855542B2 - Communication control device - Google Patents

Communication control device

Info

Publication number
JP2855542B2
JP2855542B2 JP2208989A JP20898990A JP2855542B2 JP 2855542 B2 JP2855542 B2 JP 2855542B2 JP 2208989 A JP2208989 A JP 2208989A JP 20898990 A JP20898990 A JP 20898990A JP 2855542 B2 JP2855542 B2 JP 2855542B2
Authority
JP
Japan
Prior art keywords
fifo
data
transmission
memory
event
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
JP2208989A
Other languages
Japanese (ja)
Other versions
JPH0491538A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2208989A priority Critical patent/JP2855542B2/en
Publication of JPH0491538A publication Critical patent/JPH0491538A/en
Application granted granted Critical
Publication of JP2855542B2 publication Critical patent/JP2855542B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ通信技術さらにはビット同期型通信
のプロトコル制御に適用して特に有効な技術に関し、例
えばローカルエリア・ネットワークを構成するシリアル
通信制御装置の構成に利用して有効な技術に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication technique, and more particularly to a technique which is particularly effective when applied to a protocol control of bit-synchronous communication, for example, serial communication forming a local area network The present invention relates to a technology that is effective for use in the configuration of a control device.

[従来の技術] 従来、ローカルエリア・ネットワークを構成するシリ
アル通信制御ユニットとして、第4図に示すようにシリ
アル通信処理を行なう回線制御回路61と、送受信データ
を保持するFIFOメモリ62と、このFIFOメモリとメインメ
モリ(主記憶装置)との間のDMA転送を実行するDMAコン
トローラ63を備えこれらを統括的に制御してプロトコル
処理を行なう制御部64とにより構成したものが提案され
ている(インテリ社発行、「LAN COMPONENTS USER′S M
ANUAL」p.2−62〜p.2−63)。
[Prior Art] Conventionally, as a serial communication control unit constituting a local area network, as shown in FIG. 4, a line control circuit 61 for performing serial communication processing, a FIFO memory 62 for holding transmission / reception data, and this FIFO There has been proposed a configuration including a DMA controller 63 for executing a DMA transfer between a memory and a main memory (main storage device) and a control unit 64 for integrally controlling these and performing protocol processing (Intelligent). Published by “LAN COMPONENTS USER′SM
ANUAL ”p.2-62 to p.2-63).

[発明が解決しようとする課題] 上記従来の通信制御装置にあっては、送信コマンドと
送信データが共通の送信FIFO(ファーストイン・ファー
ストアウト)メモリ62aを通して、送信フレームを構築
する送信バイトマシン66に転送される。また受信バイト
マシン67により分解、生成された受信データとステータ
スは共通の受信FIFO62bを通してDMAコントローラ63に転
送される。しかも、送信コマンド、送信データ、受信デ
ータおよびステータスは、すべて一つのバス65を介して
DMAコントローラ63と回線制御回路61との間で転送が行
なわれるようにされていた。
[Problems to be Solved by the Invention] In the above conventional communication control device, a transmission byte machine 66 for constructing a transmission frame through a transmission FIFO (first-in first-out) memory 62a in which a transmission command and transmission data are common. Is forwarded to The received data and status decomposed and generated by the receiving byte machine 67 are transferred to the DMA controller 63 through the common receiving FIFO 62b. Moreover, the transmission command, transmission data, reception data and status are all transmitted via one bus 65.
The transfer is performed between the DMA controller 63 and the line control circuit 61.

上記通信制御装置は、1つのチャネルについてのみ回
線制御を行ない、しかもイーサネット(Ethernet)のよ
うに送信と受信が時分割方式で別々に行なわれるプロト
コル処理では特に問題はない。
The communication control apparatus performs line control for only one channel, and there is no particular problem in protocol processing such as Ethernet (Ethernet) in which transmission and reception are separately performed in a time-division manner.

しかしながら、複数のチャネルの回線制御、しかも複
数種類のプロトコルを一つのCPUによって処理したり、H
DLC(ハイレベル・データ・リンク・コントロール)プ
ロトコルのように同時に送信と受信を許容するプロトコ
ルを処理する場合には、バネがネックとなって処理の高
速化が図れないという問題点があった。
However, line control of multiple channels, and processing of multiple types of protocols by one CPU,
When processing a protocol that permits transmission and reception at the same time, such as a DLC (high-level data link control) protocol, there was a problem that the processing could not be speeded up due to a spring.

本発明の目的は、プロトコル処理を高速化し、多チャ
ネル化を容易にする通信制御装置のアーキテクチャを提
供することにある。
An object of the present invention is to provide an architecture of a communication control device that speeds up protocol processing and facilitates multi-channel operation.

この発明の前記ならびにそのほかの目的と新規な特徴
については、本明細書の記述および添附図面から明らか
になるであろう。
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

[課題を解決するための手段] 本願において開示される発明のうち代表的なものの概
要を説明すれば、下記のとおりである。
[Means for Solving the Problems] The outline of a typical invention among the inventions disclosed in the present application is as follows.

すなわち、受信FIFOを、受信フレームのイベント解析
後の結果を入れるイベントFIFOと、受信データを入れる
受信データFIFOとに分け、また送信FIFOを、コマンドコ
ードを入れるコマンドFIFOと、送信データを入れる送信
データFIFOとに分けるとともに、上記FIFOに接続される
バスも、イベントコードの乗るイベントバスとコマンド
コードの乗るコマンドバスおよび送受信データの乗るデ
ータバスとに分けて、それらのバスを並行して駆動し同
時にデータ転送できるようにするものである。
That is, the reception FIFO is divided into an event FIFO for storing the result of the event analysis of the reception frame and a reception data FIFO for storing the reception data, and the transmission FIFO is divided into a command FIFO for storing the command code and a transmission data for storing the transmission data. In addition to being divided into FIFOs, the buses connected to the FIFOs are also divided into event buses with event codes, command buses with command codes, and data buses with transmission / reception data. It enables data transfer.

[作用] 上記した手段によれば、イベントFIFOは1受信フレー
ムに1イベントが対応したイベント列を蓄え、受信デー
タは別の専用のFIFOに蓄えられるため、プロトコル制御
部の処理に余裕が生じ、逐次フレーム処理のように1フ
レーム当たりの最大処理時間によって最大転送速度が律
速されることがなくなり、高速化が可能になる。
[Operation] According to the above-described means, the event FIFO stores an event sequence corresponding to one event in one received frame, and the received data is stored in another dedicated FIFO. The maximum transfer speed is not limited by the maximum processing time per frame as in the sequential frame processing, and the speed can be increased.

さらに、イベント、コマンド、データを各々別のバス
を通して転送するのでバス上での競合が減り、またプロ
トコル制御部では、共有バス方式におけるようなイベン
ト、コマンド、データを切り替えるオーバヘッドがな
く、同時処理が可能になるので高速化が可能になる。し
かも、各バスを一つのCPUで制御できるので、多チャネ
ル化した場合にコストの面で有利である。
In addition, since events, commands, and data are transferred through different buses, contention on the bus is reduced, and the protocol control unit does not have the overhead of switching between events, commands, and data as in the shared bus system, so that simultaneous processing can be performed. Since it becomes possible, high speed becomes possible. In addition, since each bus can be controlled by one CPU, it is advantageous in terms of cost when multi-channels are used.

[実施例] 第1図には本発明に係る通信制御装置の一実施例が示
されている。
[Embodiment] FIG. 1 shows an embodiment of a communication control apparatus according to the present invention.

特に制限されないが、図中1点鎖線20で囲まれた各回
路ブロックは単結晶シリコン基板のような一個の半導体
チップ上において形成される。
Although not particularly limited, each circuit block surrounded by a one-dot chain line 20 is formed on one semiconductor chip such as a single crystal silicon substrate.

この実施例の通信制御装置20は、特に制限されないが
4つの回線制御ユニットを備えており、4本のシリアル
通信回線が接続可能にされ、互いに並行して送受信可能
な4チャネル・プロトコルコントローラとしての機能を
有する。
The communication control device 20 of this embodiment includes, but is not limited to, four line control units, enables connection of four serial communication lines, and functions as a four-channel protocol controller capable of transmitting and receiving in parallel with each other. Has functions.

第1図において、11a,11b,11c,11dは、送信フレーム
を組み立ててシリアルデータに変換して送信する機能や
受信したフレーム(シリアルデータ)をパラレルデータ
に変換して各フィールドに分離し、得られた受信データ
を蓄えたり、イベントの解析を行なってイベントコード
を生成して蓄積する機能を有する回線制御ユニットであ
る。この回線制御ユニット11a〜11dはデータバス12aを
介してDMAコントローラ13に、また2つのバス(イベン
トバス12bとコマンドバス12c)を介してプロトコル制御
部14に接続されている。
In FIG. 1, reference numerals 11a, 11b, 11c, and 11d denote a function of assembling a transmission frame, converting the frame into serial data, and transmitting the frame, converting a received frame (serial data) into parallel data, separating the data into fields, and The line control unit has a function of storing received data or analyzing an event to generate and store an event code. The line control units 11a to 11d are connected to a DMA controller 13 via a data bus 12a and to a protocol control unit 14 via two buses (an event bus 12b and a command bus 12c).

上記DMAコントローラ13は、プロトコル制御部14から
の転送指令に従って、システムバス21を介して外部の主
メモリ22から送信データを読み出して指定された回線制
御ユニット(11a〜11dの一つ)に転送したり、いずれか
の回線制御ユニットで受信された受信データを内部のデ
ータバス12aおよびシステムバス21を介して外部の主メ
モリ22へブロック転送する機能を有する。
The DMA controller 13 reads out transmission data from the external main memory 22 via the system bus 21 and transfers it to the designated line control unit (one of 11a to 11d) in accordance with a transfer command from the protocol control unit 14. And a function of transferring block data received by any one of the line control units to an external main memory 22 via an internal data bus 12a and a system bus 21.

上記プロトコル制御部14は、例えばマイクロプログラ
ム方式の制御部や実行ユニット、レジスタ類等からなる
汎用マイクロプロセッサ形態のCPU41と、上記回線制御
ユニット11a〜11dから供給されるイベントコードEVTと
前回ステート番号とからCPU41で実行する次のオペレー
ションコードOPとそのステート番号ST.Noとを発生する
受信ステートテーブル42と、CPU41から出力される制御
コードCDと前回のステート番号とから次のコマンドコー
ドCMDとステート番号ST.Noとを発生する送信ステートテ
ーブル43とを備えている。
The protocol control unit 14 is, for example, a microprogram-based control unit and an execution unit, a CPU 41 in the form of a general-purpose microprocessor including registers and the like, an event code EVT supplied from the line control units 11a to 11d, and a previous state number. From the reception state table 42 that generates the next operation code OP and its state number ST.No to be executed by the CPU 41, and the next command code CMD and state number from the control code CD output from the CPU 41 and the previous state number And a transmission state table 43 for generating ST.No.

上記受信ステートテーブル42と送信ステートテーブル
43は、ROM(リード・オンリ・メモリ)により構成され
ており、各テーブル42と43から出力されたコードのうち
次回ステート番号ST.Noは各々ラッチ回路44a,44bにラッ
チされ、次のテーブル参照時にアドレスの一部として供
給される。受信ステートテーブル42の前段には、上記ラ
ッチ回路44aにラッチされているステート番号ST.Noとイ
ベントバス12bを介して回線制御ユニット11a〜11dから
供給されるイベントコードとを合成してアドレス信号と
して受信ステートテーブル42に供給するためのマルチプ
レクサ45aが設けられている。また、送信ステートテー
ブル43の前段には、CPU41から出力される制御コードCD
と上記ラッチ回路44bにラッチされている前回のステー
ト番号ST.Noとを合成して、参照用アドレスとして送信
ステートテーブル43に供給するためのマルチプレクサ45
bが設けられている。
Above reception state table 42 and transmission state table
Reference numeral 43 denotes a ROM (Read Only Memory). The next state number ST.No of the codes output from the tables 42 and 43 is latched by the latch circuits 44a and 44b, respectively, and the next table is referred to. Sometimes supplied as part of an address. At the preceding stage of the reception state table 42, the state number ST.No latched by the latch circuit 44a and the event code supplied from the line control units 11a to 11d via the event bus 12b are combined to form an address signal. A multiplexer 45a for supplying to the reception state table 42 is provided. Further, in the preceding stage of the transmission state table 43, a control code CD output from the CPU 41 is provided.
And a previous state number ST.No latched by the latch circuit 44b, and a multiplexer 45 for supplying the same to the transmission state table 43 as a reference address.
b is provided.

なお、ここでイベントコードとは、通信制御装置20の
ステート(制御状態)が、例えばディセーブル状態→オ
ープニングフラグ送信→アドレス送出→データ送信→CR
C送出→クロージングフラグ送信のように遷移する場合
において、イネーブル信号の発生、データFIFOへのデー
タの準備完了のような状態遷移の要因をコードで示した
ものである。
Here, the event code means that the state (control state) of the communication control device 20 is, for example, disabled state → opening flag transmission → address transmission → data transmission → CR
In the case of a transition such as transmission of C → transmission of a closing flag, a code indicates a state transition factor such as generation of an enable signal and completion of preparation of data in a data FIFO.

なお、上記アドレス送出ステートで、FIFOにデータが
入っていないと判断したときはアンダーラン処理へ移行
する。従って、“FIFOデータなし”もイベントの一つで
ある。
If it is determined in the address transmission state that no data is contained in the FIFO, the process proceeds to underrun processing. Therefore, “no FIFO data” is also one of the events.

このように、前回のステートと状態遷移の要因たるイ
ベントの種類とが分かればプロトコルに応じて次にCPU4
1が実行すべき処理が必然的に決定される。このような
処理はCPU41のマイクロシーケンスで実行することもで
きるが、上記実施例では、参照テーブル42と43を設け、
ハードウェアで実現するようになっている。
In this way, if the previous state and the type of event that causes the state transition are known, the CPU 4
The processing to be executed by 1 is inevitably determined. Although such processing can be executed by a micro sequence of the CPU 41, in the above embodiment, the reference tables 42 and 43 are provided,
It is realized by hardware.

第2図には、上記回線制御ユニット11a〜11dの構成例
が示されている。
FIG. 2 shows a configuration example of the line control units 11a to 11d.

この回線制御ユニット11a〜11dは、オープニングフラ
グを監視し、受信クロックRXCに同期してシリアルデー
タを受信し、これをパラレルデータに変換して、第3図
に示すようなフィールド構成の受信フレームを各フィー
ルドに分解する機能を有するフレーム分解部31と、逆に
DMAコントローラ13によって主メモリ22から転送されて
きた送信データをインフォメーションフィールドIFMに
入れた第3図のようなフレームを組み立て、それをシリ
アルデータに変換し、送信クロックTXCに同期して外部
へ出力するフレーム組立部32を備えている。
The line control units 11a to 11d monitor the opening flag, receive serial data in synchronization with the reception clock RXC, convert this into parallel data, and convert the reception frame having the field configuration as shown in FIG. A frame decomposing unit 31 having a function of decomposing each field,
A frame as shown in FIG. 3 in which the transmission data transferred from the main memory 22 by the DMA controller 13 is put in the information field IFM is assembled, converted into serial data, and output to the outside in synchronization with the transmission clock TXC. A frame assembly 32 is provided.

上記フレーム分解部31とフレーム組立部32の機能は従
来の通信制御装置に設けられているものと同じ機能であ
り、同様のハードウェアで実現できる。
The functions of the frame disassembling unit 31 and the frame assembling unit 32 are the same as those provided in the conventional communication control device, and can be realized by the same hardware.

しかし、この実施例では、受信側のFIFOメモリが、受
信データの入る受信データFIFO35aとイベントコードに
入るイベントFIFO35bの2つに分割されて設けられ、ま
た、送信側のFIFOが、送信データの入る送信データFIFO
36aとコマンドデータの入るコマンドFIFO36bとに分割さ
れて設けられている。そして、上記フレーム分解部31で
分解された受信フレームのうち、インフォメーションフ
ィールドIFMのコードはプリバッファ33を介して上記受
信データFIFO35bに格納される。
However, in this embodiment, the FIFO memory on the receiving side is divided into two parts, a receiving data FIFO 35a for receiving data and an event FIFO 35b for entering an event code, and the FIFO on the transmitting side stores transmission data. Transmission data FIFO
36a and a command FIFO 36b for storing command data. The code of the information field IFM in the received frame decomposed by the frame decomposing unit 31 is stored in the received data FIFO 35b via the prebuffer 33.

また、分解された受信フレームのうち制御フィールド
CNTのコードはイベント解析部34に送られ、イベントコ
ードが生成され、イベントFIFO35aに格納される。受信
データをプリバッファ33を通すことで、イベント解析部
34におけるイベントコードの確定に要する時間遅れを調
整し、イベントコードの格納と同時にFIFOに格納でき
る。なお、このとき受信データにはイベントコードとの
対応を示すフラグをつけてFIFOに入れるのがよい。
Also, the control field of the decomposed received frame
The CNT code is sent to the event analysis unit 34, where an event code is generated and stored in the event FIFO 35a. By passing the received data through the pre-buffer 33, the event analysis unit
The time delay required to determine the event code in 34 can be adjusted and stored in the FIFO simultaneously with the storage of the event code. At this time, it is preferable that the received data be put in the FIFO with a flag indicating the correspondence with the event code.

この実施例では上記受信データFIFO35aとイベントFIF
O35bが、DMAコントローラ13またはプロトコル制御部14
からの信号によって制御されるポート39a,39bを介して
データバス12aとイベントバス12bに接続可能にされ、FI
FOに格納されたコードは前述のDMAコントローラ13の要
求によって、バス12a,12bを介してプロトコル制御部14
へ転送される。
In this embodiment, the reception data FIFO 35a and the event FIF
O35b is the DMA controller 13 or protocol controller 14
From the data bus 12a and the event bus 12b via ports 39a and 39b controlled by signals from the
The code stored in the FO is transmitted to the protocol controller 14 via the buses 12a and 12b at the request of the DMA controller 13.
Transferred to

一方、上記送信データFIFO36aとコマンドFIFO36bは、
ポート39c,39dを介してデータバス12aとコマンドバス12
cに接続可能にされており、DMAコントローラ13によって
主メモリ22から転送されてきた送信データは送信データ
FIFO36aに、またプロトコル制御部14から送られてきた
コマンドコードはコマンドFIFO36bに順次格納される。
そして、コマンドFIFO36bに格納されたコマンドコード
は、コマンド解析部37に送られて解読され、対応する処
理がコマンド実行部38に知らされる。すると、コマンド
実行部38が処理内容に応じて、フラグ生成回路やアボー
ト生成回路、CRCコード生成回路、並−直列変換器等か
らなるフレーム組立部32をシーケンシャルに動作させる
制御信号を形成して、順次出力する。
On the other hand, the transmission data FIFO 36a and the command FIFO 36b are
Data bus 12a and command bus 12 via ports 39c and 39d
c, and the transmission data transferred from the main memory 22 by the DMA controller 13 is the transmission data.
Command codes sent from the FIFO 36a and from the protocol control unit 14 are sequentially stored in the command FIFO 36b.
Then, the command code stored in the command FIFO 36b is sent to the command analysis unit 37 and decoded, and the corresponding process is notified to the command execution unit 38. Then, the command execution unit 38 forms a control signal for sequentially operating the frame assembling unit 32 including the flag generation circuit, the abort generation circuit, the CRC code generation circuit, the parallel-serial converter, etc., according to the processing content, Output sequentially.

これによって、フレーム組立部32では、オープニング
フラグFoの後にアドレスフィールドADD、制御フィール
ドCNTが生成され、その後に情報フィールドIFMとして送
信データFIFO36a内の送信データが付加され、最後にチ
ェックフィールドFCSとしてのCRCコードとクロージング
フラグFcが付加されてなる第3図のようなフレームが形
成され、出力される。ただし、CRCコードは必ずしも付
加する必要はない。
As a result, in the frame assembling unit 32, the address field ADD and the control field CNT are generated after the opening flag Fo, the transmission data in the transmission data FIFO 36a is added as the information field IFM, and the CRC as the check field FCS is finally set. A frame as shown in FIG. 3 to which a code and a closing flag Fc are added is formed and output. However, it is not always necessary to add a CRC code.

なお、上記実施例では、通信制御装置20内のバスをデ
ータバス12aとイベントバス12bおよびコマンドバス12c
の3つに分割して設けたが、必ずしもこれに限定される
ものではなく、バスは2種類とし、一方に送信データ
を、また他方にイベントコードまたはコマンドコードを
のせるようにしてもよい。
In the above embodiment, the buses in the communication control device 20 are the data bus 12a, the event bus 12b, and the command bus 12c.
However, the present invention is not limited to this, and two types of buses may be used, and one may carry transmission data and the other may carry an event code or a command code.

また、実施例では受信側のFIFOを受信データFIFO35a
とイベントFIFO35bの2つに分けて設けているが、受信
フレームを解析してステータスを形成する通信制御装置
にあっては、上記FIFOの他にステータスを入れるステー
タスFIFOを設けてもよい。
Further, in the embodiment, the FIFO on the receiving side is replaced with the reception data FIFO 35a.
And the event FIFO 35b are provided separately. However, in a communication control device which analyzes a received frame and forms a status, a status FIFO for storing the status may be provided in addition to the FIFO.

以上説明したように上記実施例は、受信FIFOを、受信
したフレームのイベント解析後の結果を入れるイベント
FIFOと受信データを入れる受信データFIFOとに分け、ま
た送信FIFOを、コマンドコードを入れるコマンドFIFOと
送信データを入れる送信データFIFOとに分けるようにし
たので、イベント解析手段やコマンド実行手段をハード
ウェアで構成した場合に、イベントFIFOは1受信フレー
ムに1イベントが対応したイベント列を蓄え、受信デー
タは別の専用のFIFOに蓄えられるため、プロトコル制御
部の処理に余裕が生じ、逐次フレーム処理のように1フ
レーム当たりの最大処理時間によって最大転送速度が律
速されることがなくなり、回線速度が高速化される。
As described above, in the above embodiment, the reception FIFO is used to store the event after the event analysis of the received frame.
The event analysis means and command execution means are divided into a FIFO and a receive data FIFO for storing received data, and the transmit FIFO is divided into a command FIFO for storing command codes and a transmit data FIFO for transmitting data. In this case, the event FIFO stores an event sequence corresponding to one event in one received frame, and the received data is stored in another dedicated FIFO. As described above, the maximum transfer speed is not limited by the maximum processing time per frame, and the line speed is increased.

また、上記FIFOに接続されるバスも、イベントコード
の乗るイベントバスとコマンドコードの乗るコマンドバ
スおよび送受信データの乗るデータバスとに分けて設
け、イベント、コマンド、データを各々別のバスを通し
て転送するようにしたので、バス上での競合が減り、ま
たプロトコル制御部では、共有バス方式におけるような
イベント、コマンド、データを切り替えるためのオーバ
ヘッドがなくなるとともに、送受信データのDMA転送中
にプロトコル処理が行なえ、しかも送信と受信と同時処
理が可能になるので、回線速度が高速化される。さら
に、各共通バスを一つのCPUで制御できるので、多チャ
ネル化したい場合には回線制御ユニットの数を増やすだ
けでよいため、コストの面で有利となるという効果があ
る。以上本発明者によってなされた発明を実施例に基づ
き具体的に説明したが、本発明は上記実施例に限定され
るものではなく、その要旨を逸脱しない範囲で種々変更
可能であることはいうまでもない。例えば上記実施例で
は4つの回線制御ユニットを設け、4つのチャネルに対
応できるようにしているが、チャネル数は3つ以下ある
いは5つ以上であってもよい。
Also, a bus connected to the FIFO is provided separately for an event bus on which an event code rides, a command bus on which a command code rides, and a data bus on which transmission / reception data rides, and transfers events, commands, and data through different buses. This reduces contention on the bus, eliminates the overhead of switching events, commands, and data as in the shared bus method, and eliminates the need for protocol processing during DMA transfer of transmitted / received data. In addition, since transmission and reception can be performed simultaneously, the line speed is increased. Furthermore, since each common bus can be controlled by one CPU, if it is desired to increase the number of channels, it is only necessary to increase the number of line control units, which is advantageous in terms of cost. Although the invention made by the inventor has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and various changes can be made without departing from the gist of the invention. Nor. For example, in the above embodiment, four line control units are provided to support four channels, but the number of channels may be three or less or five or more.

さらに、実施例では、送信クロックと受信クロックを
外部から与えるようにしているが、送信クロックとして
システムクロックを使用したり、受信クロックを受信デ
ータから形成するようにしてもよい。
Further, in the embodiment, the transmission clock and the reception clock are externally supplied. However, a system clock may be used as the transmission clock, or the reception clock may be formed from the reception data.

また、上記実施例では、回線制御ユニットとプロトコ
ル制御部が同一のチップ上に構成されたシステムについ
て説明したが、これらが別々のLSI上に形成されている
場合にも適用できることはもちろんである。
In the above embodiment, the system in which the line control unit and the protocol control unit are configured on the same chip has been described. However, it is needless to say that the present invention can be applied to the case where these are formed on separate LSIs.

さらに、実施例は一例としてHDLCプロトコルに従った
シリアル通信を行なう装置に適用した場合について説明
したが、通信プロトコルはHDLCに限定されず他の形式の
プロトコルに従ったビット同期型シリアル通信制御装置
一般に適用することができる。
Further, the embodiment has been described as an example in which the present invention is applied to a device that performs serial communication according to the HDLC protocol. However, the communication protocol is not limited to HDLC, and a bit-synchronous serial communication control device generally follows another type of protocol. Can be applied.

以上の説明では主として本発明者によってなされた発
明をその背景となった利用分野であるローカルエリア・
ネットワークを構成するシリアル通信制御装置に適用し
たものについて説明したが、この発明はそれに限定され
ず、通信制御装置一般に利用することができる。
In the above description, the invention made mainly by the inventor has been described in terms of the local area,
Although the present invention has been described as applied to a serial communication control device constituting a network, the present invention is not limited to this and can be used in general communication control devices.

[発明の効果] 本願において開示される発明のうち代表的なものによ
って得られる効果を簡単に説明すれば下記のとおりであ
る。
[Effects of the Invention] The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.

すなわち、ビット同期型シリアル通信制御装置におい
て、プロトコル処理を高速化するとともに、多チャネル
化を容易に実現することができる。
That is, in the bit-synchronous serial communication control device, it is possible to speed up the protocol processing and easily realize multi-channel.

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

第1図は本発明に係る通信制御装置の一実施例を示すブ
ロック図、 第2図は回線制御ユニットの一例を示すブロック図、 第3図は本発明の通信制御装置により送受信されるデー
タのフレーム構成例を示す図、 第4図は従来の通信制御装置の一例を示すブロック図で
ある。 11a〜11d……回線制御ユニット、12a……データバス、1
2b……イベントバス、12c……コマンドバス、14……プ
ロトコル制御部、44a,44b……ラッチ回路、45a,45b……
マルチプレクサ。
FIG. 1 is a block diagram showing an embodiment of a communication control device according to the present invention, FIG. 2 is a block diagram showing an example of a line control unit, and FIG. 3 is a block diagram of data transmitted and received by the communication control device of the present invention. FIG. 4 is a block diagram showing an example of a conventional communication control device. 11a to 11d: Line control unit, 12a: Data bus, 1
2b Event bus, 12c Command bus, 14 Protocol control unit, 44a, 44b Latch circuit, 45a, 45b
Multiplexer.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】送信データをFIFO方式で格納するメモリ及
び受信データをFIFO方式で格納するメモリを備え、通信
プロトコルに従って送受信フレームの構築および分解を
行なう回線制御装置と、送受信データを上記FIFOメモリ
と主メモリとの間でDNA転送させるDMAコントロール回
路、およびそれらの統括的な制御を司るプロトコル制御
部とからなる通信制御装置において、上記回転制御部に
は、上記送受信データ格納用FIFOメモリとは別個に、受
信フレームから生成されたイベントコードを格納するFI
FOメモリと、上記プロトコル制御部から供給されるコマ
ンドコードを格納するFIFOメモリとが設けられ、かつ上
記イベントコード用メモリとコマンドコード用メモリは
送受信データを転送するためのバスとは別個のバスによ
ってプロトコル制御部と接続されていることを特徴とす
る通信制御装置。
A line controller for storing transmission data in a FIFO format and a memory for storing reception data in a FIFO format, for constructing and disassembling a transmission / reception frame according to a communication protocol; In a communication control device comprising a DMA control circuit for transferring DNA to and from the main memory and a protocol control unit for controlling the overall control of the DMA control circuit, the rotation control unit is provided separately from the transmission / reception data storage FIFO memory. The FI that stores the event code generated from the received frame
An FO memory and a FIFO memory for storing a command code supplied from the protocol control unit are provided, and the event code memory and the command code memory are provided by separate buses from a bus for transmitting and receiving data. A communication control device connected to a protocol control unit.
【請求項2】上記イベントコード用メモリとコマンドコ
ード用メモリは、各々別個のバスによってプロトコル制
御部と接続されていることを特徴とする請求項1記載の
通信制御装置。
2. The communication control device according to claim 1, wherein the event code memory and the command code memory are respectively connected to a protocol control unit by separate buses.
【請求項3】上記回線制御部が複数個設けられ、その内
部の各FIFOメモリは、対応する上記バスに共通接続され
ていることを特徴とする請求項1または2記載の通信制
御装置。
3. The communication control device according to claim 1, wherein a plurality of said line control units are provided, and each of the FIFO memories therein is commonly connected to the corresponding bus.
JP2208989A 1990-08-07 1990-08-07 Communication control device Expired - Fee Related JP2855542B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2208989A JP2855542B2 (en) 1990-08-07 1990-08-07 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2208989A JP2855542B2 (en) 1990-08-07 1990-08-07 Communication control device

Publications (2)

Publication Number Publication Date
JPH0491538A JPH0491538A (en) 1992-03-25
JP2855542B2 true JP2855542B2 (en) 1999-02-10

Family

ID=16565488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2208989A Expired - Fee Related JP2855542B2 (en) 1990-08-07 1990-08-07 Communication control device

Country Status (1)

Country Link
JP (1) JP2855542B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253723A (en) * 2008-04-08 2009-10-29 Hitachi Ltd Communication protocol processing circuit, communication protocol processing method, and communication terminal
JP5891641B2 (en) 2010-09-08 2016-03-23 株式会社リコー Electrostatic latent image developer carrier and electrostatic latent image developer

Also Published As

Publication number Publication date
JPH0491538A (en) 1992-03-25

Similar Documents

Publication Publication Date Title
US8954174B2 (en) Method and device to process digital media streams
US7733878B2 (en) System and method for packet transmission from fragmented buffer
US7769906B2 (en) FlexRay communication module
US7895412B1 (en) Programmable arrayed processing engine architecture for a network switch
JPS63284654A (en) Protocol engine
EP0817090A2 (en) System for multisized bus coupling in a packet-switched computer system
US20070180310A1 (en) Multi-core architecture with hardware messaging
KR20070039120A (en) Method and device for accessing data of a message memory of a communication component
US20090300254A1 (en) Method for Connecting a Flexray user having a Microcontroller to a Flexray Communications line Via a Flexray Communications Control Device, and Flexray Communications Control Device, Flexray User, and Flexray Communications System for Realizing this Method
US8019961B2 (en) Method for storing messages in a message memory and message memory
US7590146B2 (en) Information processing unit
KR100458182B1 (en) Communication control apparatus and communication system using the same
JP2855542B2 (en) Communication control device
US6178180B1 (en) Communications adapter for processing ATM and ISDN data
JP2814132B2 (en) Multi-channel communication processing device
US6477177B1 (en) Multiple device access to serial data stream
JP2006304011A (en) Interface circuit
US6314485B1 (en) Automatic status register
EP1476986B1 (en) Information communication controller interface apparatus and method
JPH11252125A (en) Interface device
KR100471516B1 (en) Processor system, especially a processor system for communications devices
JPH07191934A (en) Double bus device
JPH02150949A (en) Bus connecting device
KR20020051545A (en) DMA controller for the high speed image processor at real time
KR100324281B1 (en) Centralized High Speed Data Processing Module

Legal Events

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