JPH01189258A - Communication control device - Google Patents

Communication control device

Info

Publication number
JPH01189258A
JPH01189258A JP63012503A JP1250388A JPH01189258A JP H01189258 A JPH01189258 A JP H01189258A JP 63012503 A JP63012503 A JP 63012503A JP 1250388 A JP1250388 A JP 1250388A JP H01189258 A JPH01189258 A JP H01189258A
Authority
JP
Japan
Prior art keywords
processing
communication
dma
protocol
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63012503A
Other languages
Japanese (ja)
Inventor
Yusuke Takeuchi
勇介 武内
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 JP63012503A priority Critical patent/JPH01189258A/en
Publication of JPH01189258A publication Critical patent/JPH01189258A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To improve a processing speed and to expand a function by connecting plural serial communication processing circuits to execute protocol processings to be respectively different or the same protocol to one DMA controller in parallel. CONSTITUTION:A receiving frame sent through respective channels by an LSI for controlling a communication is resolved into individual fields by frame processing circuits 1a-1c. A receiving condition signal, etc., are generated, and the frame processing circuits 1a-1c are set so as to execute the processings of three ways, for example, protocols A, B and C, respectely. Receiving data for plural channels are time-division-multiplexed by a TDM circuit 2 and stored into an FIFO memory 3. A DMA control circuit 4 grasps the condition of the receiving frame according to the protocol, sets a transfer parameter, and DMA- transfers the receiving data to a host memory. For the DMA controller, a null time for waiting for a processing completion can be reduced, and the processings of plural channels can be simultaneously executed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データ通信技術さらにはディジタル通信処理
に適用して特に有効な技術に関し1例えばローカルエリ
ア・ネットワークを構成するシリアル通信制御ユニット
の構成に利用して有効な技術に関す議。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a technology that is particularly effective when applied to data communication technology and digital communication processing. A discussion of effective techniques that can be used.

[従来の技術] 従来、ローカルエリア・ネットワークを構成するシリア
ル通信制御ユニットとして、シリアル通信処理を行なう
通信処理回路と、送受信データを保持するFIFOメモ
リと、このFIFOメモリとホストメモリ(主記憶装置
)との間のDMA転送を実行するDMAコントローラと
、これらの統括的な制御を行なうマイクロコントローラ
等をワンチップ化したものが提案されている(特願昭6
2−31456号)。
[Prior Art] Conventionally, a serial communication control unit constituting a local area network includes a communication processing circuit that performs serial communication processing, a FIFO memory that holds transmitted and received data, and this FIFO memory and host memory (main memory). It has been proposed that a DMA controller that performs DMA transfer between
2-31456).

[発明が解決しようとする課題] 上記通信制御ユニット(LSI)においてはシリアル通
信処理を行なう通信処理回路が、唯一1つのみであり、
特定の1つのプロトコルに対してのみ通信処理を行なう
ように構成されている。例えば、通信処理回路がLAP
Bを処理するモードに設定されていれば、受信フレーム
に対してLAPBの処理を行ない、DMAコントローラ
は通信処理回路での処理の終了を待ち、処理が終わった
時点でFIF○メモリから受信データを取り出して、ホ
ストメモリにデータを転送するようになっていた。この
ように、従来のシステムではDMAコントローラの通信
処理回路での処理の終了までの待ち時間が長くなるため
、動作が停止する空白時間が生じ、処理能力が低下して
いた。
[Problems to be Solved by the Invention] In the communication control unit (LSI), there is only one communication processing circuit that performs serial communication processing,
It is configured to perform communication processing only for one specific protocol. For example, if the communication processing circuit is LAP
If the mode is set to process B, LAPB processing is performed on the received frame, the DMA controller waits for the processing in the communication processing circuit to finish, and when the processing is finished, it transfers the received data from the FIF○ memory. It was supposed to take it out and transfer the data to host memory. As described above, in the conventional system, the waiting time until the end of processing in the communication processing circuit of the DMA controller is long, resulting in blank time during which the operation is stopped, and the processing capacity is reduced.

また、単一のプロトコル処理しかできないため、プロト
コルの異なる複数のチャネルを接続したいようなシステ
ムでは、チャネルごとに異なるプロトコル処理機能を持
つ通信制御ユニットを用意しておかなくてはならないと
いう問題があった。
Additionally, since it can only process a single protocol, systems that want to connect multiple channels with different protocols have the problem of having to prepare a communication control unit with different protocol processing functions for each channel. Ta.

この発明の目的は、ディジタル通信網を構成する通信制
御ユニットにおいて、複数チャネル、複数プロトコルの
処理を同時に行なえるようにして、処理速度の向上、機
能の拡張を図ることにある。
An object of the present invention is to improve processing speed and expand functionality by enabling processing of multiple channels and multiple protocols at the same time in a communication control unit that constitutes a digital communication network.

この発明の前記ならびにそのほかの目的と新規な特徴に
ついては、本明細書の記述および添附図面から明らかに
なるであろう。
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メモリ
とホストメモリとの間でDMA転送させるDMAコント
ロール回路、およびそれらの総括的な制御を実行するマ
イクロプログラム方式のコントローラとからなる通信ユ
ニットにおいて、一つのDMAコントローラに対して、
各々異なるプロトコル処理又は同一のプロトコルを行な
うシリアル通信処理回路を複数個、パラレルにして接続
するようにするものである。
In other words, a communication processing circuit performs serial communication processing according to a communication protocol, a DMA control circuit performs DMA transfer of transmitted and received data between FIFO memory and host memory, and a microprogram system performs overall control of these circuits. In a communication unit consisting of a controller, for one DMA controller,
A plurality of serial communication processing circuits each performing different protocol processing or the same protocol are connected in parallel.

[作用] 上記手段によれば、個々のシリアル通信処理回路では、
それぞれのプロトコルに対してパラレルに処理が実行さ
れ、処理が終了した時点で、順番にDMAコントローラ
にデータを転送していくので、DMAコントローラの動
作が多重化される。
[Operation] According to the above means, in each serial communication processing circuit,
Processing is executed in parallel for each protocol, and when the processing is completed, data is sequentially transferred to the DMA controller, so the operations of the DMA controller are multiplexed.

これによって、DMAコントローラがシリアル通信処理
回路の処理終了を待つ空白時間が大幅に減少され、複数
のプロトコルの処理を一つのLSIで実行できるように
なるとともに、複数のチャネルに対する処理を同時に実
行することも可能となり、システム全体としての処理速
度の向上、および高機能化を図るという上記の目的を達
成できる。
This greatly reduces the idle time during which the DMA controller waits for the serial communication processing circuit to complete processing, making it possible to process multiple protocols on a single LSI, and to simultaneously process multiple channels. This makes it possible to achieve the above-mentioned purpose of increasing the processing speed and functionality of the entire system.

[実施例] 以下、本発明を一例として、HDLC(Hi gh  
Level  Data  Link  Contro
l  Procedure)と呼ばれ、さまざまなサブ
セットをもつプロトコルに従った処理を実行する通信制
御用LSIに適用した場合の実施例について説明する。
[Example] Hereinafter, by taking the present invention as an example, HDLC (High
Level Data Link Control
An embodiment will be described in which the present invention is applied to a communication control LSI that executes processing according to a protocol called 1 Procedure, which has various subsets.

この実施例の通信制御用LSIは、データ送信系とデー
タ受信系とが一体に構成されている。
The communication control LSI of this embodiment has a data transmission system and a data reception system integrally constructed.

この実施例の通信制御用LSIは、通信回線(チャネル
)より送られてきたフレームデータを処理したり、送信
するフレームデータを形成するための複数のフレーム処
理回路1a、lb、lcと、複数チャネルのデータを時
分割多重化するためのTDM回路2と、このTDM回路
2からのデータを次々と取り込んで保持するFIFOメ
モリ3と、FIFOメモリ3からのデータをホストCP
Uが管理するデータバッファ(ホストメモリ)へDMA
転送するDMA制御回路4と、これら統括的な制御を行
なうマイクロプログラム制御方式のマイクロ制御部5と
により構成されている。
The communication control LSI of this embodiment includes a plurality of frame processing circuits 1a, lb, and lc for processing frame data sent from a communication line (channel) and forming frame data to be transmitted, and a plurality of channels. A TDM circuit 2 for time-division multiplexing data from the TDM circuit 2, a FIFO memory 3 for successively capturing and holding data from the TDM circuit 2, and a FIFO memory 3 for transmitting data from the FIFO memory 3 to a host CP.
DMA to data buffer (host memory) managed by U
It is composed of a DMA control circuit 4 for transferring, and a microcontroller 5 using a microprogram control system for overall control.

上記通信制御用LSIにおいて、各チャネルを通して送
られてきた例えば第2図(A)のごとき構成の受信フレ
ームは、フレーム処理回l111a〜1cにて、フレー
ムを構成する個々のフィールドに分解され、受信状態信
号等が生成される。フレーム処理回路1a〜1cは、H
DLCのサブセットたるプロトコルA、B、Cの3通り
について処理できるようにそれぞれ設定されていて、複
数チャネルの処理を同時に実行できるようにされている
。フレーム処理回路18〜1cは、ここで分解されたフ
ィールドのうちTDM回路2に転送される情報フィール
ドIF内の転送データTDに、第2図(B)に示すよう
な、転送データのバイト数やステータス情報等の転送制
御情報TC、チャネル識別子CDを付加してなる新しい
データ列を生成して転送する。そしてTDM回路2にて
複数チャネル分の受信データが、時分割多重化され、F
IF○メモリ3に格納される。
In the above communication control LSI, a received frame having a configuration as shown in FIG. Status signals etc. are generated. The frame processing circuits 1a to 1c have H
It is set up to be able to process three protocols, A, B, and C, which are subsets of DLC, so that it can process multiple channels at the same time. The frame processing circuits 18 to 1c add the number of bytes of the transfer data and the number of bytes of the transfer data as shown in FIG. A new data string is generated and transferred by adding transfer control information TC such as status information and a channel identifier CD. Then, the received data for multiple channels is time-division multiplexed in the TDM circuit 2, and F
It is stored in the IF○ memory 3.

DMA制御回路4は、マイクロ制御部5内に設定される
チャネル管理テーブルに基づいて、受信フレームの状態
をそのプロトコルに従って把握し。
The DMA control circuit 4 grasps the state of the received frame according to the protocol based on the channel management table set in the microcontroller 5.

転送要求の受付や、ホストメモリ内の転送アドレス等の
転送パラメータの設定を行ない、ホストメモリへ受信デ
ータをDMA転送する。
It accepts transfer requests, sets transfer parameters such as transfer addresses in the host memory, and transfers received data to the host memory by DMA.

一方、送信データについては、DMA制御回路4が、ホ
ストメモリから転送されてくる送信データに、マイクロ
制御部5内のチャネル管理テーブルに従って転送制御情
報TDとチャネル識別子CDを付加したデータ列を生成
して、FIF○メモリ3に送り込む。すると、TDM回
路2にて、送信データがチャネル識別子CDに従って対
応するチャネルに分配され、フレーム処理回路1a〜I
Cのいずれかに転送され、マイクロ制御部5内のチャネ
ル管理テーブルの内容に基づいて、所望のプロトコルに
従ったフレームが構成されて1通信回線上に送信される
On the other hand, regarding transmission data, the DMA control circuit 4 generates a data string by adding transfer control information TD and a channel identifier CD to the transmission data transferred from the host memory according to the channel management table in the microcontroller 5. and send it to FIF○ memory 3. Then, the TDM circuit 2 distributes the transmission data to the corresponding channels according to the channel identifier CD, and the frame processing circuits 1a to I
Based on the contents of the channel management table in the microcontroller 5, a frame according to a desired protocol is constructed and transmitted on one communication line.

なお、上記実施例では、異なるプロトコルA。Note that in the above embodiment, a different protocol A is used.

B、Cに対するフレーム処理回路1a、lb、ICが設
けられているが、同一のプロトコルに対するフレーム処
理回路を複数個設けるようにしてもよい。
Although frame processing circuits 1a, lb, and IC for B and C are provided, a plurality of frame processing circuits for the same protocol may be provided.

また、フレーム処理回路は3つに限定されるものでなく
、2つあるいは4つ以上設けるようにしてもよい。
Further, the number of frame processing circuits is not limited to three, and two or four or more may be provided.

上述したように、フレ・−ム処理部を複数のプロトコル
、又は複数のチャネルに対応して設け、それらをパラレ
ルにして、1つのDMA制御部に接続するようにしたの
で、D M A制御部が多重化して使用されるようにな
るという作用により、DMAコントローラがシリアル通
信処理回路の処理終了を待つ空白時間が大幅に減少され
、複数のチャネルに対する処理を同時に実行できるよう
になり、システム全体の処理能力が向上されるという効
果がある。
As mentioned above, frame processing units are provided corresponding to multiple protocols or multiple channels, and they are connected in parallel to one DMA control unit. As a result, the idle time during which the DMA controller waits for the serial communication processing circuit to complete processing is greatly reduced, and processing for multiple channels can be executed simultaneously, which improves the overall system efficiency. This has the effect of improving processing capacity.

また、フレーム処理部を複数のプロトコルに対応して設
け、それらをパラレルにして、1つのDMA制御部に接
続するようにしたので、複数のプロトコルの処理を一つ
のり、SIで実行できるため、通信制御用LSIの機能
が向上されるという効果がある。
In addition, frame processing units are provided for multiple protocols, and they are connected in parallel to one DMA control unit, so processing for multiple protocols can be executed on a single SI, and communication This has the effect of improving the functionality of the control LSI.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。例えば、上記実施例では
、通信処理回路とDMAコントローラが同一のチップ上
に構成されたシステムについて説明したが、これらが別
々のLSI上に形成されている場合にも適用できること
は勿論である。
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. For example, in the above embodiment, a system in which a communication processing circuit and a DMA controller 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に限定されず他の形
式のプロトコルに従ったシリアル通信制御に対しても適
用することができる。
In addition, 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, but can also be applied to serial communication control according to other formats of protocols. can do.

以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるローカルエリア・ネ
ットワークを構成するシリアル通信制御装置に適用した
ものについて説明したが、この発明はそれに限定されず
、通信制御装置一般に利用することができる。
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.

すなわち、ディジタル通信網を構成する通信制御ユニッ
トにおいて、DMAコントローラがシリアル通信制御回
路の処理終了を待つ空白時間が大幅に減少され、複数の
プロトコルの処理を一つのLSIで実行できるようにな
るとともに、複数のチャネルに対する処理を同時に実行
することも可能となり、システム全体としての処理速度
の向上、および高機能化を図ることができる。
In other words, in the communication control unit that constitutes the digital communication network, the idle time during which the DMA controller waits for the processing of the serial communication control circuit to finish is significantly reduced, and the processing of multiple protocols can be executed on a single LSI. It is also possible to execute processing for multiple channels simultaneously, and it is possible to improve the processing speed and functionality of the entire system.

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

第1図は本発明に係るシリアル通信制御装置の送受信フ
レームの構成例を示す図。 m (B )はフレーム処理回路とDMAコントローラ
との間で転送されるデータの形式の一例を示す図である
。 1a〜1c・・・・通信処理回路(フレーム処理回路)
、2・・・・TDM回路、3・・・・FIFOメモリ、
4・・・・DMAコントロール向路、5・・・・マイク
ロ制御部。 フレーム処理回路 7ry4目畜ト 第2図
FIG. 1 is a diagram showing a configuration example of a transmission/reception frame of a serial communication control device according to the present invention. m (B) is a diagram showing an example of the format of data transferred between the frame processing circuit and the DMA controller. 1a to 1c...Communication processing circuit (frame processing circuit)
, 2... TDM circuit, 3... FIFO memory,
4...DMA control path, 5...Micro control unit. Frame processing circuit 7ry 4th figure 2

Claims (1)

【特許請求の範囲】 1、通信プロトコルに従ったシリアル通信処理を行なう
通信処理回路と、送受信データをFIFOメモリとホス
トメモリとの間でDMA転送させるDMAコントロール
回路、およびそれらの統括的な制御を司る制御部とから
なる通信制御装置において、複数の通信処理回路を用意
し、それらを多重化回路を介して一つのDMAコントロ
ーラに対し、パラレルに接続するようにしたことを特徴
とする通信制御装置。 2、上記複数の通信処理回路は、各々異なるプロトコル
処理を行なうように構成されていることを特徴とする請
求項1記載の通信制御装置。 3、上記複数の通信処理回路の少なくとも一部は同一の
プロトコル処理を行なうように構成されていることを特
徴とする請求項1記載の通信制御装置。
[Claims] 1. A communication processing circuit that performs serial communication processing according to a communication protocol, a DMA control circuit that transfers transmitted and received data by DMA between a FIFO memory and a host memory, and an overall control thereof. 1. A communication control device comprising a control section and a DMA controller, characterized in that a plurality of communication processing circuits are prepared and connected in parallel to one DMA controller via a multiplexing circuit. . 2. The communication control device according to claim 1, wherein each of the plurality of communication processing circuits is configured to perform different protocol processing. 3. The communication control device according to claim 1, wherein at least some of the plurality of communication processing circuits are configured to perform the same protocol processing.
JP63012503A 1988-01-25 1988-01-25 Communication control device Pending JPH01189258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63012503A JPH01189258A (en) 1988-01-25 1988-01-25 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63012503A JPH01189258A (en) 1988-01-25 1988-01-25 Communication control device

Publications (1)

Publication Number Publication Date
JPH01189258A true JPH01189258A (en) 1989-07-28

Family

ID=11807161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63012503A Pending JPH01189258A (en) 1988-01-25 1988-01-25 Communication control device

Country Status (1)

Country Link
JP (1) JPH01189258A (en)

Similar Documents

Publication Publication Date Title
JP2559394B2 (en) Communication control device
EP0908830A1 (en) A DSP-based, multi-bus, multiplexing communications adapter
JPH04261245A (en) Network controller for network adapter
JP2814132B2 (en) Multi-channel communication processing device
JPH07297853A (en) Open-ended round robin local area hub network
JPH01189258A (en) Communication control device
JPS63293657A (en) Serial communication controller
JP2000148216A (en) Plant controller communication equipment
JPS63250243A (en) Data communication processing system
JP2003289315A (en) Packet transfer apparatus and packet transfer method
JP4067199B2 (en) Data processing device
JPH053496A (en) Serial communication controller
JP2000004246A (en) Supervisory and control method for communication equipment
JPH02149049A (en) Communication control system
JP2725713B2 (en) Signal transmission method
JPS62100048A (en) System for sending large amount data in parallel
JPS6074836A (en) Data transfer system
JPS6042960A (en) Loop transmission system
JPH09181750A (en) Data processing system
JPS6336459A (en) High speed dma transferring system
JPS59230346A (en) Buffering system of transmission/reception data of transmitter
JPS59205848A (en) Priority control system
JPH09121207A (en) Data transfer device
JPH10215268A (en) Data transmission system
JPS6165351A (en) Control system