JPH0491538A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH0491538A
JPH0491538A JP2208989A JP20898990A JPH0491538A JP H0491538 A JPH0491538 A JP H0491538A JP 2208989 A JP2208989 A JP 2208989A JP 20898990 A JP20898990 A JP 20898990A JP H0491538 A JPH0491538 A JP H0491538A
Authority
JP
Japan
Prior art keywords
fifo
data
event
memory
bus
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
JP2208989A
Other languages
Japanese (ja)
Other versions
JP2855542B2 (en
Inventor
Keiji Ichige
市毛 啓司
Hiroshi Takahashi
宏 高橋
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

Landscapes

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

Abstract

PURPOSE:To make the protocol processing speed faster so that multiple channels can be used easily by storing event strings, each event of which corresponds to one received frame, in an event FIFO and received data in another exclusively used FIFO. CONSTITUTION:A reception FIFO is divided into an event FIFO for storing event analyzed results of received frames and received data FIFO for storing received data and a transmission FIFO is divided into a command FIFO for storing command codes and transmitting data FIFO for storing transmitting data. At the same time, buses connected to the above-mentioned FIFOs are also divided into an event bus 12b for carrying event codes, command bus 12c for carrying command codes, and data bus 12a for carrying transmitting/ received data and the buses 12a, 12b, and 12c are driven in parallel with each other so that data can be transferred simultaneously.

Description

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

[従来の技術] 従来、ローカルエリア・ネットワークを構成するシリア
ル通信制御ユニットとして、第4図に示すようにシリア
ル通信処理を行なう回線制御回路61と、送受信データ
を保持するFIFOメモリ62と、このFIFOメモリ
とメインメモリ(主記憶装置)との間のDMA転送を実
行するDMAコントローラ63を備えこれらを統括的に
制御してプロトコル処理を行なう制御部64とにより構
成したものが提案されている(インテル社発行、rLA
N  COMPONENTS  tJsER’  SM
ANUALJ p、2−62〜p、2−63)。
[Prior Art] Conventionally, as a serial communication control unit constituting a local area network, as shown in FIG. A system has been proposed that includes a DMA controller 63 that executes DMA transfer between memory and main memory (main storage device), and a control unit 64 that centrally controls these and performs protocol processing (Intel). Published by rLA
N COMPONENTS tJsER' SM
ANUALJ p, 2-62-p, 2-63).

[発明が解決しようとする課題] 上記従来の通信制御装置にあっては、送信コマンドと送
信データが共通の送信FIFO(ファーストイン・ファ
ーストアウト)メモリ62aを通して、送信フレームを
構築する送信バイトマシン66に転送される。また受信
バイトマシン67により分解、生成された受信データと
ステータスは。
[Problems to be Solved by the Invention] In the above-mentioned conventional communication control device, the transmission byte machine 66 constructs a transmission frame through a transmission FIFO (first-in, first-out) memory 62a in which transmission commands and transmission data are common. will be forwarded to. Also, the received data and status disassembled and generated by the receiving byte machine 67 are as follows.

共通の受信FIFO62bを通してDMAコントローラ
63に転送される。しかも、送信コマンド、送信データ
、受信データおよびステータスは、すべて一つのバス6
5を介してDMAコントローラ63と回線制御回路61
との間で転送が行なわれるようにされていた。
It is transferred to the DMA controller 63 through the common reception FIFO 62b. Moreover, all transmission commands, transmission data, reception data, and status are transmitted via one bus 6.
5 to the DMA controller 63 and the line control circuit 61
Transfers were made between.

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

しかしながら、複数のチャネルの回線制御、しかも複数
種類のプロトコルを一つのCPUによって処理したり、
HDLC(ハイレベル・データ・リンク・コントロール
)プロトコルのように同時に送信と受信を許容するプロ
トコルを処理する場合には、バスがネックとなって処理
の高速化が図れないという問題点があった。
However, line control of multiple channels and multiple types of protocols can be handled by a single CPU,
When processing a protocol that allows simultaneous transmission and reception, such as the HDLC (High Level Data Link Control) protocol, there is a problem in that the bus becomes a bottleneck, making it impossible to speed up the processing.

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

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

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

すなわち、受信FIFOを、受信フレームのイベント解
析後の結果を入れるイベントFIFOと、受信データを
入れる受信データFIFOとに分け、また送信FIFO
を、コマンドコードを入れるコマンドFIFOと、送信
データを入れる送信データFIFOとに分けるとともに
、上記F’ I F Oに接続されるバスも、イベント
コードの乗るイベントバスとコマンドコードの乗るコマ
ンドバスおよび送受信データの乗るデータバスとに分け
て、それらのバスを並行して駆動し同時にデータ転送で
きるようにするものである。
In other words, the reception FIFO is divided into an event FIFO that stores the results after event analysis of the received frame, and a reception data FIFO that stores the received data.
is divided into a command FIFO that stores command codes and a transmission data FIFO that stores transmission data, and the buses connected to the F'IFO are also divided into an event bus for event codes, a command bus for command codes, and a transmission/reception bus. The bus is separated into a data bus for carrying data, and these buses are driven in parallel so that data can be transferred at the same time.

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

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

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

特に制限されないが、図中1点鎖線20で囲まれた各回
路ブロックは単結晶シリコン基板のような一個の半導体
チップ上において形成される。
Although not particularly limited, each circuit block surrounded by a dashed line 20 in the figure 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 is equipped with four line control units, although not particularly limited, and can be connected to four serial communication lines, and functions as a four-channel protocol controller that can transmit and receive data in parallel with each other. Has a function.

第1図において、11 a、  1 l b、  11
 c、  11dは、送信フレームを組み立ててシリア
ルデータに変換して送信する機能や受信したフレーム(
シリアルデータ)をパラレルデータに変換して各フィー
ルドに分離し、得られた受信データを蓄えたり、イベン
トの解析を行なってイベントコードを生成して蓄積する
機能を有する回線制御ユニットである。この回線制御ユ
ニットlla〜11dはデータバス12aを介してDM
Aコントローラ13に、また2つのバス(イベントバス
12bとコマンドバス12C)を介してプロトコル制御
部14に接続されている。
In Figure 1, 11 a, 1 l b, 11
c and 11d are functions for assembling transmission frames, converting them into serial data, and transmitting them, and functions for transmitting received frames (
This line control unit has the functions of converting (serial data) into parallel data and separating it into each field, storing the obtained received data, and generating and storing event codes by analyzing events. The line control units lla to 11d are connected to the DM via the data bus 12a.
It is connected to the A controller 13 and to the protocol control unit 14 via two buses (event bus 12b and command bus 12C).

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

上記プロトコルff1JflJ部14は、例えばマイク
ロプログラム方式の制御部や実行ユニット、レジスタ類
等からなる汎用マイクロプロセッサ形態のCPU41と
、上記回線制御ユニットlla〜11dから供給される
イベントコードEVTと前回ステート番号とからCPU
41で実行する次のオペレーションコード○Pとそのス
テート番号ST。
The protocol ff1JflJ unit 14 includes a CPU 41 in the form of a general-purpose microprocessor comprising, for example, a microprogram type control unit, an execution unit, registers, etc., and an event code EVT and previous state number supplied from the line control units lla to 11d. from CPU
The next operation code ○P to be executed in 41 and its state number ST.

NOとを発生する受信ステートテーブル42と、CPU
41から出力される制御コードCDと前回のステート番
号とから次のコマンドコードCMDとステート番号ST
、Noとを発生する送信ステートテーブル43とを備え
ている。
A reception state table 42 that generates NO, and a CPU
The next command code CMD and state number ST are determined from the control code CD output from 41 and the previous state number.
, No. , and a transmission state table 43 that generates.

上記受信ステートテーブル42と送信ステートテーブル
43は、ROM (リード・オンリ・メモリ)により構
成されており、各テーブル42と43から出力されたコ
ードのうち次回ステート番号ST、Noは各々ラッチ回
路44a、44bにラッチされ、次のテーブル参照時に
アドレスの一部として供給される。受信ステートテーブ
ル42の前段には、上記ラッチ回路44aにラッチされ
ているステート番号ST、Noとイベントバス12bを
介して回線制御ユニットlla〜lidがら供給される
イベントコードとを合成してアドレス信号として受信ス
テートテーブル42に供給するためのマルチプレクサ4
5aが設けられている。
The reception state table 42 and the transmission state table 43 are constituted by ROM (read only memory), and among the codes outputted from each table 42 and 43, the next state number ST and No are respectively stored in a latch circuit 44a and a latch circuit 44a. 44b and supplied as part of the address when the next table is referenced. At the front stage of the reception state table 42, the state numbers ST and No latched in the latch circuit 44a and the event code supplied from the line control units lla to lid via the event bus 12b are combined and used as an address signal. multiplexer 4 for feeding the receive state table 42;
5a is provided.

また、送信ステートテーブル43の前段には、CPU4
1から出力される制御コードCDと上記ラッチ回路44
bにラッチされている前回のステート番号ST、Noと
を合成して、参照用アドレスとして送信ステートテーブ
ル43に供給するためのマルチプレクサ45bが設けら
れている。
Furthermore, at the front stage of the transmission state table 43, the CPU 4
The control code CD output from 1 and the latch circuit 44
A multiplexer 45b is provided for synthesizing the previous state numbers ST and No latched in B and supplying the synthesized result to the transmission state table 43 as a reference address.

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

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

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

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

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

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

しかし、この実施例では、受信側のFIFOメモリが、
受信データの入る受信データFIFO35aとイベント
コードの入るイベントFIFO35bの2つに分割され
て設けられ、また、送信側のFIFOが、送信データの
入る送信データFIFO36aとコマンドデータの入る
コマンドFIFO36bとに分割されて設けられている
。そして、上記フレーム分解部31で分解された受信フ
レームのうち、インフォメーションフィールドIFMの
コードはプリバッファ33を介して上記受信データFI
FO35bに格納される。
However, in this embodiment, the FIFO memory on the receiving side is
The FIFO on the transmitting side is divided into two: a receive data FIFO 35a that stores received data and an event FIFO 35b that stores event codes.The FIFO on the transmitting side is also divided into a transmit data FIFO 36a that stores transmit data and a command FIFO 36b that stores command data. It is provided. Of the received frame decomposed by the frame decomposition section 31, the code of the information field IFM is passed through the pre-buffer 33 to the received data FI.
Stored in FO35b.

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

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

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

これによって、フレーム組立部32では、オープニング
フラグFOの後にアドレスフィールドADD、制御フィ
ールドCNTが生成され、その後に情報フィールドIF
Mとして送信データFIF036a内の送信データが付
加され、最後にチエツクフィールドFC3としてのCR
Cコードとクロージングフラグ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, and then the information field IF
The transmission data in the transmission data FIF036a is added as M, and finally CR as check field FC3.
A frame as shown in FIG. 3 with the C code and closing flag Fc added is formed and output. However, the CRC code does not necessarily need to be added.

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

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

以上説明したように上記実施例は、受信FIFOを、受
信したフレームのイベント解析後の結果を入れるイベン
トFIFOと受信データを入れる受信データFIFOと
に分け、また送信FIFOを、コマンドコードを入れる
コマンドFIFOと送信データを入れる送信データFI
FOとに分けるようにしたので、イベント解析手段やコ
マンド実行手段をハードウェアで構成した場合に、イベ
ントFIFOは1受信フレームに1イベントが対応した
イベント列を蓄え、受信データは別の専用のFIFOに
蓄えられるため、プロトコル制御部の処理に余裕が生じ
、逐次フレーム処理のように1フレーム当たりの最大処
理時間によって最大転送速度が律速されることがなくな
り、回線速度が高速化される。
As explained above, in the above embodiment, the reception FIFO is divided into an event FIFO that stores the results of event analysis of the received frame and a reception data FIFO that stores the received data, and the transmission FIFO is divided into the command FIFO that stores the command code. and send data FI to put the send data
Since the event analysis means and command execution means are configured with hardware, the event FIFO stores an event string in which one event corresponds to one received frame, and the received data is stored in a separate dedicated FIFO. Since the data is stored in , the protocol control unit has a margin for processing, and the maximum transfer rate is no longer limited by the maximum processing time per frame as in sequential frame processing, and the line speed is increased.

また、上記FIFOに接続されるバスも、イベントコー
ドの乗るイベントバスとコマンドコードの乗るコマンド
バスおよび送受信データの乗るデータバスとに分けて設
け、イベント、コマンド、データを各々別のバスを通し
て転送するようにしたので、バス上での競合が減り、ま
たプロトコル制御部では、共有バス方式におけるような
イベント、コマンド、データを切り替えるためのオーバ
ヘッドがなくなるとともに、送受信データのDMA転送
中にプロトコル処理が行なえ、しかも送信と受信の同時
処理が可能になるので、回線速度が高速化される。さら
に、各共通バスを一つのCPUで制御できるので、多チ
ャネル化したい場合には回線制御ユニットの数を増やす
だけでよいため、コストの面で有利となるという効果が
ある。 以上本発明者によってなされた発明を実施例に
基づき具体的に説明したが、本発明は上記実施例に限定
されるものではなく、その要旨を逸脱しない範囲で種々
変更可能であることはいうまでもない。
The buses connected to the FIFO are also divided into an event bus for event codes, a command bus for command codes, and a data bus for transmitted and received data, and events, commands, and data are transferred through separate buses. This reduces contention on the bus, eliminates the overhead of switching events, commands, and data in the protocol control unit as in the shared bus method, and allows protocol processing to be performed during DMA transfer of sent and received data. Moreover, since simultaneous transmission and reception processing becomes possible, the line speed becomes faster. 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 present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor.

例えば上記実施例では4つの回線制御ユニットを設け、
4つのチャネルに対応できるようにしているが、チャネ
ル数は3つ以下あるいは5つ以上であってもよい。
For example, in the above embodiment, four line control units are provided,
Although four channels are supported, the number of channels may be three or less or five or more.

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

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

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

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

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

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

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

第1図は本発明に係る通信制御装置の一実施例を示すブ
ロック図、 第2図は回線制御ユニットの一例を示すブロック図、 第3図は本発明の通信制御装置により送受信されるデー
タのフレーム構成例を示す図、第4図は従来の通信制御
装置の一例を示すブロック図である。 11a〜lid・・・・回線制御ユニット、12a・・
・・データバス、12b・・・・イベントバス、12c
・・・・コマンドバス、14・・・・プロトコル制御部
、44a、44b・−・−ラッチ回路、45a。 45b・・・・マルチプレクサ。
FIG. 1 is a block diagram showing an example 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 showing an example of a line control unit. FIG. 4 is a block diagram showing an example of a conventional communication control device. 11a-lid... line control unit, 12a...
...Data bus, 12b...Event bus, 12c
...Command bus, 14...Protocol control section, 44a, 44b...Latch circuit, 45a. 45b...Multiplexer.

Claims (1)

【特許請求の範囲】 1、送信データをFIFO方式で格納するメモリ及び受
信データをFIFO方式で格納するメモリを備え、通信
プロトコルに従って送受信フレームの構築および分解を
行なう回線制御装置と、送受信データを上記FIFOメ
モリと主メモリとの間でDMA転送させるDMAコント
ロール回路、およびそれらの統括的な制御を司るプロト
コル制御部とからなる通信制御装置において、上記回線
制御部には、上記送受信データ格納用FIFOメモリと
は別個に、受信フレームから生成されたイベントコード
を格納するFIFOメモリと、上記プロトコル制御部か
ら供給されるコマンドコードを格納するFIFOメモリ
とが設けられ、かつ上記イベントコード用メモリとコマ
ンドコード用メモリは送受信データを転送するためのバ
スとは別個のバスによってプロトコル制御部と接続され
ていることを特徴とする通信制御装置。 2、上記イベントコード用メモリとコマンドコード用メ
モリは、各々別個のバスによつてプロトコル制御部と接
続されていることを特徴とする請求項1記載の通信制御
装置。 3、上記回線制御部が複数個設けられ、その内部の各F
IFOメモリは、対応する上記バスに共通接続されてい
ることを特徴とする請求項1または2記載の通信制御装
置。
[Claims] 1. A line control device that includes a memory for storing transmission data in a FIFO format and a memory for storing reception data in a FIFO format, and that constructs and disassembles transmission and reception frames according to a communication protocol, and In a communication control device that includes a DMA control circuit that performs DMA transfer between the FIFO memory and the main memory, and a protocol control unit that controls them overall, the line control unit includes the FIFO memory for storing transmitted and received data. Separately from this, a FIFO memory for storing an event code generated from a received frame and a FIFO memory for storing a command code supplied from the protocol control section are provided, and the memory for the event code and the memory for the command code are provided. A communication control device characterized in that the memory is connected to a protocol control unit by a bus separate from a bus for transmitting and receiving data. 2. The communication control device according to claim 1, wherein the event code memory and the command code memory are each connected to the protocol control unit via separate buses. 3. A plurality of the above-mentioned line control units are provided, and each F
3. The communication control device according to claim 1, wherein the IFO memories are commonly connected to the corresponding buses.
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 true JPH0491538A (en) 1992-03-25
JP2855542B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009125664A1 (en) * 2008-04-08 2009-10-15 株式会社日立製作所 Communication protocol processing circuit, communication protocol processing method, and communication terminal
US8652735B2 (en) 2010-09-08 2014-02-18 Ricoh Company, Ltd. Carrier, developer, method of manufacturing carrier, developer container, image forming method, process cartridge, image forming apparatus, and supplemental developer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009125664A1 (en) * 2008-04-08 2009-10-15 株式会社日立製作所 Communication protocol processing circuit, communication protocol processing method, and communication terminal
JP2009253723A (en) * 2008-04-08 2009-10-29 Hitachi Ltd Communication protocol processing circuit, communication protocol processing method, and communication terminal
US8652735B2 (en) 2010-09-08 2014-02-18 Ricoh Company, Ltd. Carrier, developer, method of manufacturing carrier, developer container, image forming method, process cartridge, image forming apparatus, and supplemental developer

Also Published As

Publication number Publication date
JP2855542B2 (en) 1999-02-10

Similar Documents

Publication Publication Date Title
US7895412B1 (en) Programmable arrayed processing engine architecture for a network switch
US6065131A (en) Multi-speed DSP kernel and clock mechanism
US6101565A (en) System for multisized bus coupling in a packet-switched computer system
JP4694092B2 (en) VOIP communication without echo cancellation
KR960005444B1 (en) Communication control microcomputer
JPS63284654A (en) Protocol engine
US5915127A (en) System for fast data transfer utilizing separation of transfer data header and substantially continuously reading and processing transfer data based on read header
JP2001177601A (en) Usb data transmission equipment and data compressing method
US5111461A (en) Communication control system
KR100458182B1 (en) Communication control apparatus and communication system using the same
EP1249971B1 (en) Network Interface Using Programmable Delay and Frequency Doubler
US6178180B1 (en) Communications adapter for processing ATM and ISDN data
JPH0491538A (en) Communication controller
EP0446855A2 (en) Multichannel communication processing system
KR20030084971A (en) A communication system
EP0240873B1 (en) I/O Handler
US20030046458A1 (en) Data transfer equipment and aligner included in data transfer equipment
JP2006304011A (en) Interface circuit
US5764642A (en) System for combining data packets from multiple serial data streams to provide a single serial data output and method therefor
JP3482893B2 (en) Interface device
US6697385B1 (en) Circuit(s), method(s) and architecture for configurable packet re-timing in network repeater hubs
JP2770375B2 (en) Transmission delay phase compensation circuit
JPH11145298A (en) Data transmission and reception system between functional blocks of lsi
JPH07191934A (en) Double bus device
Chayleva et al. Methods and Techniques for real-time audio data streaming to and from high capacity local DSP SDRAM memory

Legal Events

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