JPH09259072A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH09259072A
JPH09259072A JP8063001A JP6300196A JPH09259072A JP H09259072 A JPH09259072 A JP H09259072A JP 8063001 A JP8063001 A JP 8063001A JP 6300196 A JP6300196 A JP 6300196A JP H09259072 A JPH09259072 A JP H09259072A
Authority
JP
Japan
Prior art keywords
transmission
dma
reception
request
data
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
JP8063001A
Other languages
Japanese (ja)
Inventor
Yuji Matsushita
裕二 松下
Yasuo Watanabe
泰夫 渡邊
Keiji Ichige
啓司 市毛
Shigeo Kuboki
茂雄 久保木
Toshihiko Okada
敏彦 岡田
Satoko Iwama
聡子 岩間
Yoshiaki Yasujima
嘉昭 安島
Takashi Kawaguchi
貴史 川口
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 Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
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 Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP8063001A priority Critical patent/JPH09259072A/en
Publication of JPH09259072A publication Critical patent/JPH09259072A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve data transfer efficiency and to enhance the reliability of transfer data by providing a register capable of setting a required data byte number to a transmission/reception buffer for issuing the DMA critical request of priority higher than a transmission/reception dynamic memory access(DMA) request in a built-in serial part. SOLUTION: In this communication controller dedicated to transmission/ reception adapted to the transmission/reception by plural transmission/reception channels and provided with first in first out memories (FIFOs) 13, 14, 16 and 18 for plural stages, DMA critical request registers 10 and 20 for issuing the DMA critical request of the priority higher than the DMA request are provided. Then, by the emergency degree of data transfer, the transmission/reception operations of the respective channels are switched. Thus, bus arbitration is controlled by the priority of the data transfer for a bus right and the data are efficiently and quickly transmitted/received.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、データ通信分野で
利用される通信制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device used in the data communication field.

【0002】[0002]

【従来の技術】図8は、従来の通信制御装置の構成を示
したものである。
2. Description of the Related Art FIG. 8 shows the configuration of a conventional communication control device.

【0003】受信時には、受信データバス34よりシリ
アルデータをFIFO制御回路35に取り込み、受信し
たシリアルデータを受信FIFO37に書き込む。受信FIF
Oに書かれたデータは、ダイレクトメモリアクセスコン
トローラ(以下DMACと略す)39に取り込み内部デ
ータバス42を経由し、40のMPUと41のメモリに
受信データが送られる。
At the time of reception, serial data is fetched from the reception data bus 34 into the FIFO control circuit 35, and the received serial data is written into the reception FIFO 37. Receive FIF
The data written in O is taken into a direct memory access controller (hereinafter abbreviated as DMAC) 39, and passed through an internal data bus 42, and the received data is sent to the MPU of 40 and the memory of 41.

【0004】送信時には、40のMPUと41のメモリ
より、内部データバス42を経由し、送信データが39
のDMACへ送られる。DMACは送信データを38の
送信FIFOに書き込み、35のFIFO制御回路へ送
信され、33の送信データバスより、送信データ(シリ
アルデータ)として、他のMPU,メモリ等に送信され
る。
At the time of transmission, 40 MPUs and 41 memories send the transmitted data to the 39 via the internal data bus 42.
To the DMAC. The DMAC writes the transmission data in the transmission FIFO of 38, is transmitted to the FIFO control circuit of 35, and is transmitted from the transmission data bus of 33 as transmission data (serial data) to other MPUs, memories and the like.

【0005】尚、受信/送信開始タイミングは、スレッ
シュホールドを決定するレジスタに設定された値と、受
信及び、送信FIFOに書かれているデータ数を35の
FIFO制御回路内にて比較し、 (FIFO内データ数)>(スレッシュホールド) を決定するレジスタに設定された値の式が成立すれば、
受信または、送信DMA要求を発行していた。
As the reception / transmission start timing, the value set in the register for determining the threshold and the number of data written in the reception and transmission FIFO are set to 35.
If the formula of the value set in the register that determines (the number of data in FIFO)> (threshold) is satisfied by comparing in the FIFO control circuit,
A receive or send DMA request was issued.

【0006】[0006]

【発明が解決しようとする課題】上記従来技術では、デ
ータ転送を開始するタイミングは送信,受信各々1通り
しかなかった為、複数の送信,受信チャネルが存在して
いた場合、各チャネルの転送要求の緊急度がデータ転送
する側からは判定出来ないので、アンダーラン,オーバ
ーラン余裕を均等にする為に、スレッシュホールドを低
めに設定する必要がある。そこで、送信,受信によるデ
ータ転送の量が少ない時にも少量のデータの蓄積により
データ転送要求が発生し、データ転送効率を悪化させて
いた。
In the above prior art, since there is only one timing for starting data transfer for each of transmission and reception, when there are a plurality of transmission and reception channels, a transfer request for each channel is made. Since the urgent level cannot be judged from the data transfer side, it is necessary to set the threshold low in order to make the underrun and overrun margins even. Therefore, even when the amount of data transfer due to transmission and reception is small, a data transfer request is generated due to the accumulation of a small amount of data, which deteriorates the data transfer efficiency.

【0007】本発明の目的は、上記従来技術の問題を解
決し、データ転送効率がよく、且つ、転送データの信頼
性の向上を図れる通信制御装置を提供することである。
An object of the present invention is to solve the above-mentioned problems of the prior art, to provide a communication control device which has a high data transfer efficiency and can improve the reliability of the transfer data.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、内蔵シリアル部に、送信及び受信ダイナミック・メ
モリ・アクセス(以下DMAと略す)要求よりも優先順
位の高いDMAクリティカル要求を発行する為の、送信
及び受信バッファに必要なデータ・バイト数を設定可能
とするレジスタを設けた。
In order to achieve the above object, a DMA critical request having a higher priority than a transmit and receive dynamic memory access (hereinafter abbreviated as DMA) request is issued to a built-in serial section. , A register was provided in the send and receive buffers to set the required number of data bytes.

【0009】複数の送信,受信チャネルによる送信,受
信に適用される通信制御装置において、送信DMAクリ
ティカル要求制御レジスタまたは受信DMAクリティカ
ル要求制御レジスタを設け、各チャネルの転送要求の制
御が可能となるようにした。
In a communication control device applied to transmission and reception by a plurality of transmissions and reception channels, a transmission DMA critical request control register or a reception DMA critical request control register is provided so that a transfer request of each channel can be controlled. I chose

【0010】[0010]

【発明の実施の形態】本発明の一実施例を示す通信制御
装置を図1に示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A communication control device showing an embodiment of the present invention is shown in FIG.

【0011】1は、通信制御装置本体であり、複数の部
品で構成してもよいし、1個あるいは複数のLSIとし
て構成してもよい。6,7は、受信器であり、受信デー
タバス(シリアル)2,3を受信し、パラレルデータに
変換した後、13,15の受信FIFOに格納する。
8,9は、送信器であり、16,18の送信FIFOか
ら入力したパラレル送信データをシリアルに変換し、
4,5の送信データバス(シリアル)に送信データとし
て送信する。
Reference numeral 1 denotes a main body of the communication control device, which may be composed of a plurality of parts or one or a plurality of LSIs. Reference numerals 6 and 7 denote receivers which receive the reception data buses (serial) 2 and 3, convert them into parallel data, and store them in the reception FIFOs 13 and 15.
Reference numerals 8 and 9 denote transmitters that convert parallel transmission data input from the transmission FIFOs 16 and 18 into serial data.
It is transmitted as transmission data to the transmission data buses 4 and 5 (serial).

【0012】本実施例では、受信器,送信器共に2個ず
つ描いてあり、シリアル2チャネルとして描いている
が、本発明は、シリアルチャネル及び、受信器,送信器
の数を制限するものではない。受信器,送信器は、本実
施例では、ビット同期,バイト同期,調歩同期といった
複数のプロトコルによる処理が可能であるが、これらの
異なる組み合わせでもよい。また、他のプロトコル(イ
ーサネット,ISDN,フレームリレー等)を単独、あ
るいは、組み合わせて処理を可能になるようにして組み
合わせてもよい。
In the present embodiment, two receivers and two transmitters are drawn, and two serial channels are drawn. However, the present invention does not limit the number of serial channels and the number of receivers and transmitters. Absent. In this embodiment, the receiver and the transmitter can perform processing by a plurality of protocols such as bit synchronization, byte synchronization, and start-stop synchronization, but different combinations of these may be used. Further, other protocols (Ethernet, ISDN, frame relay, etc.) may be used alone or in combination to enable processing.

【0013】6,7の受信器より転送されたデータを1
3,15の受信FIFOに書き込む。
The data transferred from the receivers 6 and 7 is set to 1
Write to 3, 15 receive FIFOs.

【0014】11の受信DMA要求レジスタは、受信D
MA要求を発行する為のしきい値を設定することによ
り、受信されたデータ・バイト数に応じてDMA要求を
12,14の受信FIFO制御回路を通り、22の受信
DMA要求制御回路にて受信FIFO内のデータ量と受
信DMA要求を発行する為のしきい値を比較し、24,
25のDMACへ送られる。
The receive DMA request register 11 has a receive D
By setting the threshold for issuing the MA request, the DMA request is received by the 22 receive DMA request control circuit through the 12 and 14 receive FIFO control circuits according to the number of data bytes received. Compare the amount of data in the FIFO with the threshold value for issuing the receive DMA request, 24,
25 DMACs.

【0015】21は送信制御レジスタである。本レジス
タは、送信DMA要求を発行、及び解除する為のしきい
値を設定することにより、送信されるデータ・バイト数
に応じてDMA要求の発行、及び解除を17,19の送
信FIFO制御回路を通り、23の送信DMA要求制御
回路にて送信FIFO内のデータ量と送信DMA要求を
発行する為のしきい値を比較し、26,27のDMAC
へ送られる。
Reference numeral 21 is a transmission control register. This register sets the threshold value for issuing and releasing the transmission DMA request, and thereby issues and releases the DMA request according to the number of data bytes to be transmitted. 23, the transmission DMA request control circuit 23 compares the data amount in the transmission FIFO with the threshold value for issuing the transmission DMA request, and the DMACs 26 and 27 are compared.
Sent to

【0016】10は、受信DMAクリティカル要求レジ
スタである。本レジスタは、受信DMAクリティカル要
求を発行する為のしきい値を設定することにより、受信
されるデータ・バイト数に応じてDMAクリティカル要
求を12,14のFIFO制御回路を通り、22の受信
DMA要求制御回路にて受信FIFO内のデータ量と受
信DMA要求を発行する為のしきい値を比較し、24,
25のDMACへ転送される。本受信クリティカル要求
は、緊急度の低いデータを転送中に、緊急度の高いデー
タを転送しなければならない時、バスを使用する権利を
奪われた側はオーバーランを起さない様に24の受信D
MA要求制御回路にて制御される。
Reference numeral 10 is a receive DMA critical request register. This register sets a threshold value for issuing a receive DMA critical request so that the DMA critical request is passed through the FIFO control circuits of 12 and 14 and the receive DMA of 22 according to the number of data bytes received. The request control circuit compares the amount of data in the reception FIFO with the threshold value for issuing the reception DMA request.
25 DMAC. This reception critical request is set so that the side deprived of the right to use the bus does not overrun when data with high urgency must be transferred while transferring data with low urgency. Receive D
It is controlled by the MA request control circuit.

【0017】20は、送信DMAクリティカル要求レジ
スタである。本レジスタは、送信DMAクリティカル要
求を発行する為のしきい値を設定することにより、送信
されるデータ・バイト数に応じてDMAクリティカル要
求を17,19の送信FIFO制御回路を通り、23の送信
DMA要求制御回路を経由し、26,27のDMACへ転送
される。
Reference numeral 20 is a transmission DMA critical request register. This register sets the threshold value for issuing the transmit DMA critical request, so that the DMA critical request is transmitted through the transmission FIFO control circuit of 17 and 19 according to the number of data bytes to be transmitted, and the transmission of 23 transmissions. The data is transferred to the DMACs 26 and 27 via the DMA request control circuit.

【0018】本実施例では、10,11,20,21,
22,23を1個ずつ描いているが、本発明は、各レジ
スタ数を制限するものではない。24,25,26,2
7は、DMACチャネルであり、バス調停回路31によ
りバス権を与えられたDMACチャネルは、受信FIFO13,15
及び送信FIFO16,18と内部データバス28との間でデー
タ転送を行い、同時に29のバスインタフェースを制御
して30の外部バスとの間でデータ転送を行う。
In this embodiment, 10, 11, 20, 21,
Although 22 and 23 are drawn one by one, the present invention does not limit the number of registers. 24, 25, 26, 2
Reference numeral 7 is a DMAC channel. The DMAC channel given the bus right by the bus arbitration circuit 31 is a reception FIFO 13, 15.
Data is transferred between the transmission FIFOs 16 and 18 and the internal data bus 28, and at the same time, the bus interface 29 is controlled to transfer data to and from the external bus 30.

【0019】31のバス調停回路は、外部バスマスタよ
り、バスアクノリッジ信号32が返されるとバス調停回
路31とDMAC24,25,26,27とを接続する信号線のいず
れかをアクティブにし、接続先のDMACチャネルにバ
ス権を与える。
When the bus acknowledge signal 32 is returned from the external bus master, the bus arbitration circuit 31 activates any one of the signal lines connecting the bus arbitration circuit 31 and the DMACs 24, 25, 26, 27, and the connection destination Give the bus right to the DMAC channel.

【0020】バス調停の方式は、各チャネルに順にバス
権を与える回転優先順位方式、また、特定チャネルに優
先的にバス権を与える固定優先順位方式、及びランダム
にバス権を与える方式でもよく、本発明は、優先順位方
式になんらの制限を与えるものではない。
The bus arbitration method may be a rotation priority method that gives the bus right to each channel in sequence, a fixed priority method that gives the bus right to a specific channel preferentially, or a method that gives the bus right randomly. The present invention does not impose any restrictions on the priority scheme.

【0021】バスマスタは、外部に存在してもよいし、
通信制御装置に内蔵しても可能である。また、バスマス
タの数は1個或いは、複数個存在しても構わない。
The bus master may exist externally,
It can also be built in the communication control device. Further, the number of bus masters may be one or more.

【0022】外部データバス30の先には、バスマス
タ,メモリ,周辺装置のいずれか、或いは、全てが接続
されている。これらは、全て通信制御装置の外に位置し
てもよく、いずれか或いは、全てが通信制御装置に内蔵
されてもよい。送信FIFO16,18は、送信データを一時蓄
積し、受信FIFO13,15は受信データを一時蓄積する。本
実施例では、各FIFOの段数は各64段であるが、各
FIFOの段数は何段に設定しても可能である。
To the tip of the external data bus 30, any one or all of a bus master, a memory, and peripheral devices are connected. All of these may be located outside the communication control device, or any or all of them may be built in the communication control device. The transmission FIFOs 16 and 18 temporarily store the transmission data, and the reception FIFOs 13 and 15 temporarily store the reception data. In this embodiment, the number of stages of each FIFO is 64, but the number of stages of each FIFO can be set to any number.

【0023】図2は、上記第1の実施例において、受信
1チャネル分の受信DMA要求発生部、及び受信DMA
クリティカル要求発生部の構成を示す。
FIG. 2 shows a receiving DMA request generator and a receiving DMA for one receiving channel in the first embodiment.
The structure of a critical request generation part is shown.

【0024】その動作について図4の受信動作フローを
参照しながら説明する。
The operation will be described with reference to the reception operation flow of FIG.

【0025】2のシリアルデータバスより受信したデー
タを6の受信器に取り込み、13の受信FIFOに書き
込まれる。受信FIFOの情報を、12の受信FIFO
制御回路に取り込まれ、 (受信FIFO内のデータ数)≧(受信DMA要求レジ
スタのデータ数) でなければ、再度、受信データを取り込む。
The data received from the serial data bus 2 is taken into the receiver 6 and written in the receive FIFO 13. Information of the reception FIFO is stored in the reception FIFO of 12
If it is fetched by the control circuit and (the number of data in the reception FIFO) ≧ (the number of data in the reception DMA request register) is not satisfied, the reception data is fetched again.

【0026】(受信FIFO内のデータ数)≧(受信D
MA要求レジスタのデータ数) であれば、受信DMA要求を発行し、24のDMACが
データ転送を開始する。他のDMAチャネルが、 (受信FIFO内のデータ数)≧(受信DMAクリティ
カル要求レジスタのデータ数) であれば、受信DMAクリティカル要求を発行したチャ
ネルへバス権を渡し、DMA転送を停止する。このバス
権の制御は、31のバス調停回路にて行われる。
(Number of data in reception FIFO) ≧ (reception D
(Number of data in MA request register), a receive DMA request is issued, and 24 DMACs start data transfer. If the other DMA channels are (the number of data in the reception FIFO) ≧ (the number of data of the reception DMA critical request register), the bus right is passed to the channel which issued the reception DMA critical request, and the DMA transfer is stopped. The control of the bus right is performed by 31 bus arbitration circuits.

【0027】(受信FIFO内のデータ数)≧(受信D
MAクリティカル要求レジスタのデータ数)でなけれ
ば、受信動作を継続して行う。
(Number of data in reception FIFO) ≧ (reception D
If it is not the number of data in the MA critical request register), the receiving operation is continued.

【0028】図3は、上記第1の実施例において、送信
1チャネル分の送信DMA要求発生部、及び送信DMA
クリティカル要求発生部の構成を示す。尚、21−0,
21−1は本実施例では、2個用いている為、図1に示
した21を分割してある。
FIG. 3 shows a transmission DMA request generator and a transmission DMA for one transmission channel in the first embodiment.
The structure of a critical request generation part is shown. 21-0,
Since 21-1 is used in the present embodiment, two 21-1 are divided.

【0029】次にその送信動作について、図5の送信動
作フローを参照しながら説明する。33の外部データバ
スより、送信データを取り込み、32のバスインタフェ
ース、28の内部データバスを返して27のDMACへ
送信される。27のDMACは、送信データを18の送信F
IFOへ転送し、19の送信FIFO制御回路にて送信
FIFO内の情報を抽出する。ここで、21−0の送信
DMA要求レジスタ0の設定値が (送信FIFO内のデータ数)≦(送信DMA要求レジ
スタ0のデータ数) であれば、送信DMA要求を発行し、27のDMACが
データ転送を開始する。この時、31のバス調停回路に
て、他チャネルがバス権をもっていなければバス権を獲
得する。
Next, the transmission operation will be described with reference to the transmission operation flow of FIG. The transmission data is fetched from the external data bus 33, the bus interface 32 and the internal data bus 28 are returned, and the data is transmitted to the DMAC 27. 27 DMAC sends transmission data to 18 transmission F
The data is transferred to the IFO and the information in the transmission FIFO is extracted by the 19 transmission FIFO control circuit. Here, if the set value of the transmission DMA request register 0 of 21-0 is (the number of data in the transmission FIFO) ≦ (the number of data of the transmission DMA request register 0), the transmission DMA request is issued and the 27 DMAC Start data transfer. At this time, the bus arbitration circuit 31 acquires the bus right if another channel does not have the bus right.

【0030】21−1の送信DMA要求レジスタ1の設
定値が (送信FIFO内のデータ数)≧(送信DMA要求レジ
スタ1のデータ数) であれば、送信DMA要求を解除し、27のDMACが
データ転送を停止する。この時、31のバス調停回路に
て、バス権を放棄する。
If the set value of the transmission DMA request register 1 of 21-1 is (the number of data in the transmission FIFO) ≧ (the number of data of the transmission DMA request register 1), the transmission DMA request is canceled and the 27 DMAC Stop data transfer. At this time, the bus right is relinquished by the bus arbitration circuit 31.

【0031】23は、送信DMAクリティカル要求レジ
スタであり、送信DMAクリティカル要求を発行する為
のしきい値を設定する。他のDMAチャネルが、 (送信FIFO内のデータ数)≧(送信DMAクリティ
カル要求レジスタのデータ数) であれば、直ちに上記DMAチャネルへバス権を渡し、
27のDMACはデータ転送を停止する。また、 (送信FIFO内のデータ数)≧(送信DMAクリティ
カル要求レジスタのデータ数) でなければ、前記送信動作を継続して行う。なお、バス
権の制御は72のバス調停回路にて行う。
Reference numeral 23 is a transmission DMA critical request register, which sets a threshold value for issuing a transmission DMA critical request. If the other DMA channels are (the number of data in the transmission FIFO) ≧ (the number of data of the transmission DMA critical request register), the bus right is immediately transferred to the above DMA channel,
The 27 DMAC stops the data transfer. If (the number of data in the transmission FIFO) ≧ (the number of data in the transmission DMA critical request register) is not satisfied, the transmission operation is continued. The bus right is controlled by the bus arbitration circuit 72.

【0032】以下、図6の受信動作タイムチャートを使
用し、本発明の実施例における受信DMA要求、及び受
信DMAクリティカル要求信号の発生,解除タイミング
について説明する。
The generation timing of the receive DMA request and the receive DMA critical request signal in the embodiment of the present invention will be described below with reference to the receive operation time chart of FIG.

【0033】Aは、受信データ1バイト取り込み期間で
あり、Bは、受信FIFOポインタの設定期間である。
本実施例では、便宜上、受信データ取り込み期間と受信
FIFOポインタの設定期間が同調しているが、必ずしも同
調させる必要もない。
A is a reception data 1-byte fetch period, and B is a reception FIFO pointer setting period.
In this embodiment, for the sake of convenience, the reception data acquisition period and reception
Although the setting period of the FIFO pointer is synchronized, it is not always necessary to synchronize.

【0034】Cは、受信DMA要求信号であり、受信F
IFOポインタの値が確定した時、Eのところで受信D
MA要求を発行し、また、Fのところで受信DMAが解
除される。この受信DMA要求の発行タイミングは、受
信DMA要求レジスタの値によって決定される。
C is a reception DMA request signal, and reception F
When the value of the IFO pointer is fixed, receive at E
The MA request is issued and the reception DMA is released at F. The issue timing of this receive DMA request is determined by the value of the receive DMA request register.

【0035】Dは、受信DMAクリティカル要求信号の
発生期間である。Gは、受信DMAクリティカル要求信
号発生タイミングで、Hは、受信DMAクリティカル要
求信号解除タイミングである。受信DMAクリティカル
要求信号の発生タイミングは、受信DMAクリティカル
要求レジスタの値によって決定される。
D is a generation period of the reception DMA critical request signal. G is a reception DMA critical request signal generation timing, and H is a reception DMA critical request signal release timing. The generation timing of the receive DMA critical request signal is determined by the value of the receive DMA critical request register.

【0036】以下、図7の送信動作タイムチャートを使
用して、本発明の実施例における受信DMA要求、及び
送信DMAクリティカル要求信号の発生,解除タイミン
グについて説明する。
The generation timing of the reception DMA request and the transmission DMA critical request signal in the embodiment of the present invention will be described below with reference to the transmission operation time chart of FIG.

【0037】Iは、送信データ1バイト取り込み期間で
あり、Jは、送信FIFOポインタの設定期間である。
本実施例では、送信データ取り込み期間と送信FIFO
ポインタの設定期間が同調しているが、必ずしも同調さ
せる必要もない。
I is a transmission data 1-byte fetch period, and J is a transmission FIFO pointer setting period.
In this embodiment, the transmission data acquisition period and the transmission FIFO
The pointer setting period is synchronized, but it is not always necessary to synchronize.

【0038】Kは送信DMA要求信号の発生期間であ
り、送信FIFOポインタの値が確定した時、Mのとこ
ろで送信DMA要求を発行し、また、Nのところで送信
DMAが解除される。
K is the generation period of the transmission DMA request signal, and when the value of the transmission FIFO pointer is fixed, the transmission DMA request is issued at M, and the transmission DMA is canceled at N.

【0039】この送信DMA要求の発行タイミングは、
送信DMA要求レジスタ0の値によって決定され、送信
DMA要求の解除タイミングは、送信DMA要求レジス
タ1の値によって決定される。
The timing of issuing this transmission DMA request is
It is determined by the value of the transmission DMA request register 0, and the release timing of the transmission DMA request is determined by the value of the transmission DMA request register 1.

【0040】Lは、送信DMAクリティカル要求信号の
発生期間である。Oは、送信DMAクリティカル要求信
号発生タイミングで、Pは、送信DMAクリティカル要
求信号解除タイミングである。送信DMAクリティカル
要求信号の発生タイミングは、送信DMAクリティカル
要求レジスタの値によって決定される。
L is the generation period of the transmission DMA critical request signal. O is a transmission DMA critical request signal generation timing, and P is a transmission DMA critical request signal release timing. The generation timing of the transmission DMA critical request signal is determined by the value of the transmission DMA critical request register.

【0041】[0041]

【発明の効果】本発明によれば、バス権をデータ転送の
優先度によって容易にバス調停の制御、及びデータの送
信受信を効率良く且つ迅速に行うことが可能である。
According to the present invention, it is possible to easily control bus arbitration and transmit / receive data efficiently and quickly by controlling the bus right according to the priority of data transfer.

【0042】また、オーバーラン,アンダーランを起さ
ないので、データ転送の信頼性の向上も図ることが可能
となる。
Since neither overrun nor underrun occurs, the reliability of data transfer can be improved.

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

【図1】本発明の一実施例に於けるブロック構成図を示
す。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1を補足説明するブロック構成図を示す。FIG. 2 is a block diagram showing a supplementary explanation of FIG.

【図3】図1を補足説明するブロック構成図を示す。FIG. 3 is a block diagram showing a supplementary explanation of FIG.

【図4】図2の実施例の動作について示す。FIG. 4 shows the operation of the embodiment of FIG.

【図5】図3の実施例の動作について示す。5 shows the operation of the embodiment of FIG.

【図6】図2の実施例を説明する、データ受信時に於け
るタイミングチャートを示す。
FIG. 6 shows a timing chart at the time of data reception for explaining the embodiment of FIG.

【図7】図3の実施例を説明する、データ送信時に於け
るタイミングチャートを示す。
FIG. 7 shows a timing chart at the time of data transmission for explaining the embodiment of FIG.

【図8】従来の技術に於けるブロック構成図を示す。FIG. 8 shows a block diagram of a conventional technique.

【符号の説明】[Explanation of symbols]

1,36…通信制御回路、2,3,34…受信データバ
ス(シリアル)、4,5,33…送信データバス(シリ
アル)、6,7,37…受信器、8,9,38…送信
器、10…受信DMAクリティカル要求レジスタ、11
…受信DMA要求レジスタ、12,14…受信FIFO
制御回路、13,15…受信FIFO、16,18…送
信FIFO、17,19…送信FIFO制御回路、20
…送信DMAクリティカル要求レジスタ、21,21−
0,21−1…送信DMA要求レジスタ、22…受信D
MA要求制御回路、23…送信DMA要求制御回路、2
4,25,26,27,39…DMAC、28,42…
内部データバス、29…バスインタフェース、30…外
部データバス、31…バス調停回路、32,33…バス
調停回路制御信号線、35…FIFO制御回路、40…
MPU、41…メモリ、A…受信データ1バイト取り込
み期間、B…受信FIFOポインタの設定期間、C…受
信DMA要求発生期間、D…受信DMAクリティカル要
求信号発生期間、E…受信DMA要求発生タイミング、
F…受信DMA要求解除タイミング、G…受信DMAク
リティカル要求信号発生タイミング、H…受信DMAク
リティカル要求信号解除タイミング、I…送信データ1
バイト取り込み期間、J…送信FIFOポインタの設定
期間、K…送信DMA要求信号発生期間、L…送信DM
Aクリティカル要求信号発生期間、M…送信DMA要求
発生タイミング、N…送信DMA要求信号解除タイミン
グ、O…送信DMAクリティカル要求信号発生タイミン
グ、P…送信DMAクリティカル要求信号解除タイミン
グ。
1, 36 ... Communication control circuit, 2, 3, 34 ... Reception data bus (serial), 4,5, 33 ... Transmission data bus (serial), 6, 7, 37 ... Receiver, 8, 9, 38 ... Transmission Device, 10 ... Receive DMA critical request register, 11
... reception DMA request register, 12, 14 ... reception FIFO
Control circuit, 13, 15 ... Reception FIFO, 16, 18 ... Transmission FIFO, 17, 19 ... Transmission FIFO control circuit, 20
... Transmission DMA critical request register 21,21-
0, 21-1 ... Transmission DMA request register, 22 ... Reception D
MA request control circuit, 23 ... Transmission DMA request control circuit, 2
4, 25, 26, 27, 39 ... DMAC, 28, 42 ...
Internal data bus, 29 ... Bus interface, 30 ... External data bus, 31 ... Bus arbitration circuit, 32, 33 ... Bus arbitration circuit control signal line, 35 ... FIFO control circuit, 40 ...
MPU, 41 ... Memory, A ... Received data 1 byte fetch period, B ... Receive FIFO pointer setting period, C ... Receive DMA request generation period, D ... Receive DMA critical request signal generation period, E ... Receive DMA request generation timing,
F ... Receive DMA request release timing, G ... Receive DMA critical request signal generation timing, H ... Receive DMA critical request signal release timing, I ... Transmission data 1
Byte fetch period, J ... Transmission FIFO pointer setting period, K ... Transmission DMA request signal generation period, L ... Transmission DM
A critical request signal generation period, M ... Transmission DMA request generation timing, N ... Transmission DMA request signal release timing, O ... Transmission DMA critical request signal generation timing, P ... Transmission DMA critical request signal release timing.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 市毛 啓司 茨城県日立市幸町三丁目1番1号 株式会 社日立製作所日立工場内 (72)発明者 久保木 茂雄 茨城県日立市幸町三丁目1番1号 株式会 社日立製作所日立工場内 (72)発明者 岡田 敏彦 茨城県日立市幸町三丁目1番1号 株式会 社日立製作所日立工場内 (72)発明者 岩間 聡子 茨城県日立市幸町三丁目2番1号 日立エ ンジニアリング株式会社内 (72)発明者 安島 嘉昭 茨城県日立市幸町三丁目2番1号 日立エ ンジニアリング株式会社内 (72)発明者 川口 貴史 茨城県日立市幸町三丁目1番1号 株式会 社日立製作所日立工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Keiji Ichige 3-1-1, Saiwaicho, Hitachi, Ibaraki Hitachi Ltd. Hitachi factory (72) Inventor Shigeo Kuboki Sanukicho, Hitachi, Ibaraki 1-1-1, Hitachi Ltd., Hitachi Works (72) Inventor, Toshihiko Okada 3-1-1, Saiwaicho, Hitachi City, Ibaraki Hitachi Ltd., Hitachi, Ltd. (72) Satoko Iwama, Hitachi, Ibaraki Prefecture 3-2-1, Saikou-cho, Ichi, Hitachi, Ltd. (72) Inventor, Yoshiaki Yasshima 3-2-1, Saiwai-cho, Hitachi, Hitachi, Ibaraki (72) Inventor, Takashi Kawaguchi, Ibaraki 1-1, Saiwaicho, Hitachi, Ltd. Hitachi Works, Hitachi Works

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】複数の送信チャネルによる送信に適用さ
れ、ファースト・イン・ファースト・アウト・メモリ
(FIFO)を複数段保有する送信専用通信制御装置に
おいて、 ダイレクト・メモリ・アクセス(DMA)要求よりも優
先順位の高いDMAクリティカル要求を発行するDMA
クリティカル要求レジスタを設け、データ転送の緊急度
により、各チャネルの送信動作の切り換えを可能とする
送信専用通信制御装置。
1. In a transmission-only communication control device, which is applied to transmission by a plurality of transmission channels and has a plurality of first-in-first-out memories (FIFOs), a direct memory access (DMA) request DMA issuing high priority DMA critical request
A transmission-only communication control device that has a critical request register and can switch the transmission operation of each channel according to the urgency of data transfer.
【請求項2】複数の受信チャネルによる受信に適用さ
れ、FIFOを複数段保有する受信専用通信制御装置に
おいて、 DMA要求よりも優先順位の高いDMAクリティカル要
求を発行するDMAクリティカル要求レジスタを設け、
データ転送の緊急度により、各チャネルの受信動作の切
り換えを可能とする受信専用通信制御装置。
2. A reception-only communication control device which is applied to reception by a plurality of reception channels and which has a plurality of stages of FIFOs, wherein a DMA critical request register for issuing a DMA critical request having a higher priority than a DMA request is provided.
A reception-only communication control device capable of switching the reception operation of each channel depending on the urgency of data transfer.
【請求項3】複数の受信/送信チャネルによる受信/送
信に適用され、FIFOを複数段保有する受信/送信共
用通信制御装置において、 DMA要求よりも優先順位の高いDMAクリティカル要
求を発行するDMAクリティカル要求レジスタを受信/
送信側に設け、データ転送の緊急度により、各チャネル
の受信/送信動作の切り換えを可能とする受信/送信共
用通信制御装置。
3. A DMA critical request which is applied to reception / transmission by a plurality of reception / transmission channels and which issues a DMA critical request having a higher priority than a DMA request in a reception / transmission shared communication control device having a plurality of FIFO stages. Receive request register /
A shared reception / transmission communication control device provided on the transmission side and capable of switching the reception / transmission operation of each channel depending on the urgency of data transfer.
【請求項4】請求項3において、外部にDMA要求とD
MAクリティカル要求の発生を出力する端子を設けたこ
とを特徴とする受信/送信共用通信制御装置。
4. A DMA request and D are externally transmitted according to claim 3.
A shared reception / transmission communication control device having a terminal for outputting the occurrence of an MA critical request.
JP8063001A 1996-03-19 1996-03-19 Communication controller Pending JPH09259072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8063001A JPH09259072A (en) 1996-03-19 1996-03-19 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8063001A JPH09259072A (en) 1996-03-19 1996-03-19 Communication controller

Publications (1)

Publication Number Publication Date
JPH09259072A true JPH09259072A (en) 1997-10-03

Family

ID=13216659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8063001A Pending JPH09259072A (en) 1996-03-19 1996-03-19 Communication controller

Country Status (1)

Country Link
JP (1) JPH09259072A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716392B2 (en) 2004-07-14 2010-05-11 Oki Semiconductor Co., Ltd. Computer system having an I/O module directly connected to a main storage for DMA transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716392B2 (en) 2004-07-14 2010-05-11 Oki Semiconductor Co., Ltd. Computer system having an I/O module directly connected to a main storage for DMA transfer

Similar Documents

Publication Publication Date Title
US5768546A (en) Method and apparatus for bi-directional transfer of data between two buses with different widths
KR100295968B1 (en) Burst-broadcasting on a peripheral component interconnect bus
JP3340738B2 (en) Method and apparatus for a parallel packet bus
EP0258872B1 (en) Serial data transfer system
US5416909A (en) Input/output controller circuit using a single transceiver to serve multiple input/output ports and method therefor
US8867573B2 (en) Transferring data between asynchronous clock domains
US5507002A (en) Peripheral component interconnect special cycle protocol using soft message IDS
KR101699784B1 (en) Bus system and operating method thereof
US20090327548A1 (en) Scalable Bus Structure
US6131114A (en) System for interchanging data between data processor units having processors interconnected by a common bus
US5983305A (en) Network adapter with data aligner
US20020019905A1 (en) Flexible memory channel
JPH11266274A (en) Method for transmitting asynchronous data stream through synchronous data bus and circuit device executing such method
KR100458182B1 (en) Communication control apparatus and communication system using the same
JPH09259072A (en) Communication controller
JP3253547B2 (en) Data transfer system
WO2003003221A2 (en) Method for enabling a communication between processes, processing system, integrated chip and module for such a chip
US6378017B1 (en) Processor interconnection
US20030133470A1 (en) Polling device and communication apparatus
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
JPH08316973A (en) Communication processing means
US20030093594A1 (en) Apparatus and method for controlling block signal flow in a multi digital signal processor configuration from a shared peripheral direct memory controller to high level data link controller
KR100367084B1 (en) DMA controller for the high speed image processor at real time
JP3413894B2 (en) Serial transmission device
JPH0879225A (en) Data communication system and data communication method