JP2546901B2 - Communication control device - Google Patents

Communication control device

Info

Publication number
JP2546901B2
JP2546901B2 JP1315987A JP31598789A JP2546901B2 JP 2546901 B2 JP2546901 B2 JP 2546901B2 JP 1315987 A JP1315987 A JP 1315987A JP 31598789 A JP31598789 A JP 31598789A JP 2546901 B2 JP2546901 B2 JP 2546901B2
Authority
JP
Japan
Prior art keywords
data
port
dual
access
processor
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
JP1315987A
Other languages
Japanese (ja)
Other versions
JPH03175851A (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 JP1315987A priority Critical patent/JP2546901B2/en
Publication of JPH03175851A publication Critical patent/JPH03175851A/en
Application granted granted Critical
Publication of JP2546901B2 publication Critical patent/JP2546901B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、通信制御装置に係り、また、通信制御装置
の処理の高速化に好適なメモリ素子に関するものであ
る。
Description: TECHNICAL FIELD The present invention relates to a communication control device, and more particularly to a memory element suitable for increasing the processing speed of the communication control device.

[従来の技術] 通信制御装置では、上位のコンピュータから要求のあ
った送信データの、伝送プロトコルに従った回線への送
出処理や、回線からの受信データの、そのプロトコルに
従った解析、および、上位コンピュータへの転送処理を
行う。
[Prior Art] In a communication control device, transmission processing of transmission data requested by a higher-level computer to a line according to a transmission protocol, analysis of received data from the line according to the protocol, and Performs transfer processing to the host computer.

このため、送受信データを、格納するためのバッファ
・メモリを備えるが、このメモリを一つのメモリのみ構
成すると、上位からのアクセスと回線からのアクセス
と、プロトコル処理によるアクセスとの三方からアクセ
スされる3ポートメモリとしなければならない。
For this reason, a buffer memory for storing transmitted / received data is provided, but if this memory is configured with only one memory, it is accessed from three sides: access from the upper level, access from the line, and access by protocol processing. Must be a 3-port memory.

しかしながら、完全に独立な3ポートメモリを作るこ
とは、性能やコスト面で困難であるため、2ポートメモ
ルで実現する方法が通常用いられている。
However, since it is difficult to make a completely independent three-port memory in terms of performance and cost, a method of realizing by two-port memory is usually used.

たとえば、通信の分野では、送信系と受信系は独立性
が高いことに着目して、送受信部を分け、プロトコルの
ヘッダと情報データの格納を別々の2ポートメモリで実
現する技術等が考案されている。
For example, in the field of communication, a technique and the like have been devised, in which attention is paid to the fact that a transmission system and a reception system have high independence, a transmission / reception unit is divided, and a protocol header and information data are stored by separate two-port memories. ing.

このような通信制御装置としては、例えば特開昭62−
60044号公報記載の技術が知られている。
As such a communication control device, for example, Japanese Patent Laid-Open No. 62-
The technique described in Japanese Patent No. 60044 is known.

また、メモリの分野でも、特定用途向けのメモリの開
発も行われており、通信の入出力バッファに適したメモ
リとしては、例えば日経エレクトロニクス1986.10.6 p.
68,69「データ通信装置の入出力バッファにうってつけ
の32K×8ビット構成大容量FIFOメモリを発売」などに
記載されているものがある。
In the field of memory, memory for specific applications is also being developed, and as a memory suitable for a communication input / output buffer, for example, Nikkei Electronics 1986.10.6 p.
68, 69 "Large-capacity 32K x 8-bit large-capacity FIFO memory suitable for input / output buffer of data communication device is released".

[発明が解決しようとする課題] 前記従来技術によれば、データの種類毎に異なる2ポ
ートメモリが必要であり、ヘードウェア量が多くなると
いう問題がある。
[Problems to be Solved by the Invention] According to the above-mentioned conventional technique, a different two-port memory is required for each type of data, and there is a problem that the amount of headwear increases.

また、2ポートメモリとして一般の通信用のFIFOメモ
リを使用した場合は、シーケンシャル・アクセスしかで
きないため、入出力バッファとしては適しているが、プ
ロトコル処理等のランダム・アクセスを必要とする用途
への適用には問題がある。
When a general-purpose FIFO memory for communication is used as the 2-port memory, only sequential access is possible, so it is suitable as an input / output buffer, but it can be used for applications that require random access such as protocol processing. There is a problem in application.

また、2ポートメモリとして、2ランダムアクセスポ
ートのメモリを使用した場合は、回路規模が増大し、ま
た、制御が複雑となり、結果、コスト上昇を招くという
問題がある。
Further, when a memory with two random access ports is used as the two-port memory, there is a problem that the circuit scale increases and the control becomes complicated, resulting in an increase in cost.

一方、2ポートメモリとのデータ転送を制御するDMAC
(ダイレクトメモリアクセスコントローラ)や制御回路
の制御線と、2ポートメモリのデータ線を共有していた
ため、制御データと転送データの競合が生じ、処理効率
が低下するという問題もあった。
On the other hand, DMAC that controls data transfer with 2-port memory
Since the (direct memory access controller) and the control line of the control circuit are shared with the data line of the two-port memory, there is a problem that the control data and the transfer data conflict with each other, which lowers the processing efficiency.

本発明は、高速伝送に適した通信制御装置を提供する
ことを目的とし、あわせて、該制御装置に適したメモリ
素子を提供することを目的とする。
An object of the present invention is to provide a communication control device suitable for high-speed transmission, and also to provide a memory element suitable for the control device.

[課題を解決するための手段] 本発明は、前記目的を達成するために、ランダムアク
セスメモリセルとシリアルアクセスメモリセルを有しラ
ンダムアクセスポートとシリアルアクセスポート(シリ
アルアクセスメモリセルにシーケンシャルアクセスする
データポート)を備えた、送信データを格納する送信デ
ュアルポートメモリと受信データを格納する受信デュア
ルポートメモリと、 受信および送信デュアルポートメモリにランダムアク
セスポートもしくはシリアルアクセスポートよりアクセ
スしてプロトコル処理を行うプロセッサと、 前記プロセッサがアクセスする各ポートにおいて、プ
ロトコル処理を行うプロセッサのアクセスと上位装置の
アクセスとの競合を制御する競合制御手段と、 前記プロセッサと上位装置間のデータを格納するレジ
スタと、 前記プロセッサがアクセスするポートと異なるポート
より受信デュアルポートメモリに受信データを格納し、
送信デュアルポートメモリに格納されているデータを送
信する伝送制御回路と、 を有することを特徴とする第1の通信制御装置を提供す
る。
[Means for Solving the Problems] In order to achieve the above object, the present invention has a random access memory cell and a serial access memory cell, and a random access port and a serial access port (data for sequentially accessing the serial access memory cell. Port), a transmit dual port memory for storing transmit data, a receive dual port memory for storing receive data, and a processor for accessing the receive and transmit dual port memory from a random access port or a serial access port for protocol processing. A contention control means for controlling contention between an access of a processor performing protocol processing and an access of a host device in each port accessed by the processor; and data between the processor and the host device. A register that stores received data in a receive dual-port memory from a port different from the port accessed by the processor,
A transmission control circuit that transmits data stored in a transmission dual-port memory, and a first communication control device.

また、本発明は、前記目的達成のために、ランダムア
クセスメモリセルとシリアルアクセスメモリセルを有し
ランダムアクセスポートとシリアルアクセスポートを備
えた、送信データを格納する送信デュアルポートメモリ
と受信データを格納する受信デュアルポートメモリと、 DMA処理命令に従いランダムアクセスポートより受信
デュアルポートメモリに受信データを格納し、送信デュ
アルポートメモリに格納されているデータを送信するDM
Aコントローラを有する通信手段と、 受信および送信デュアルポートメモリにシリアルアク
セスポートよりアクセスしてプロトコル処理を行い、か
つ、DMAコントローラを有する通信LSIにい前記シリアル
アクセスポートへアクセスするデータバスと分離可能な
バスを通じてDMA処理命令を発行するプロセッサと、 前記プロセッサがアクセスする各シリアルポートにお
いて、プロトコル処理を行うプロセッサのアクセスと上
位装置のアクセスとの競合を制御する競合制御手段と、 前記プロセッサと上位装置間のデータを格納するレジ
スタと、 を有することを特徴とする第2の通信制御装置を提供す
る。
Further, in order to achieve the above object, the present invention provides a transmission dual port memory having a random access memory cell and a serial access memory cell, a transmission dual port memory having a random access port and a serial access port, and a reception data. Stores the received data in the receive dual-port memory from the random access port according to the receive dual-port memory and the DMA processing instruction, and transmits the data stored in the transmit dual-port memory DM
It can be separated from the communication means having an A controller and the data bus that accesses the dual port memory for reception and transmission from the serial access port for protocol processing, and the communication LSI having a DMA controller accesses the serial access port. A processor that issues a DMA processing instruction through a bus, a contention control unit that controls contention between an access of a processor that performs protocol processing and an access of a host device in each serial port accessed by the processor, and between the processor and the host device. And a register for storing the data of 1., and a second communication control device.

また、前記目的達成のために、本発明は、ランダムア
クセスポートよりアクセス可能なランダムアクセスメモ
リセルと、 第1のシリアルアクセスポートより少なくともリード
アクセス可能な、ランダムアクセスメモリセルとデータ
転送用のバスで接続された第1のシリアルアクセスメモ
リセルと、 第1のシリアルアクセスポートと同一または異なる第
2のシリアルアクセスポートより少なくともライトアク
セス可能な、ランダムアクセスメモリセルと前記バスと
同一または異なるデータ転送用のバスで接続された第2
のシリアルアクセスメモリセルとを有することを特徴と
するデュアルポートメモリを提供する。
In order to achieve the above object, the present invention provides a random access memory cell accessible from a random access port, a random access memory cell capable of at least read access from a first serial access port, and a bus for data transfer. At least write access is possible from the connected first serial access memory cell and the second serial access port which is the same as or different from the first serial access port. Second connected by bus
And a serial access memory cell for the dual port memory.

また、さらに本発明は、前記目的達成のために、の前
記2つのシリアルアクセスメモリセルを備えたデュアル
ポートメモリと、 デュアルポートメモリにランダムポートよりアクセス
してプロトコル処理を行うプロセッサと、 ランダムポートにおいて、プロトコル処理を行うプロ
セッサのアクセスと上位装置のアクセスとの競合を制御
する競合制御手段と、 前記プロセッサと上位装置間のデータを格納するレジ
スタと、 前記第1および第2のシリアルポートよりデュアルポ
ートメモリにアクセスし、受信データを格納し、また、
格納されているデータを送信する伝送制御回路と、 を有することを特徴とする第3の通信制御装置を提供す
る。
Further, in order to achieve the above object, the present invention further comprises: a dual port memory including the two serial access memory cells, a processor for performing protocol processing by accessing the dual port memory from a random port, and a random port A contention control means for controlling contention between an access of a processor performing protocol processing and an access of a host device; a register for storing data between the processor and the host device; and a dual port from the first and second serial ports. Access memory, store received data,
A transmission control circuit for transmitting stored data, and a third communication control device.

また、本発明は、前記目的達成のために、送信デュア
ルポートメモリと受信データを格納する受信デュアルポ
ートメモリと、 プロトコル処理を行うプロセッサと、 プロトコルを処理するプロセッサと送信デュアルポー
トメモリおよび受信デュアルポートメモリにアクセスす
る上位装置との間のデータを格納するレジスタと、 受信デュアルポートメモリに受信データを格納し、送
信デュアルポートメモリに格納されているデータを送信
する手段と、受信デュアルポートメモリおよび送信デュ
アルポートメモリへの前記プロセッサのアクセスデータ
を格納するレジスタと、該レジスタを介して前記プロセ
ッサの受信デュアルポートメモリおよび送信デュアルポ
ートメモリへのアクセスを仲介する手段を備えた伝送制
御回路と、 を有することを特徴とする第4の通信制御装置を提供す
る。
In order to achieve the above object, the present invention also provides a transmission dual port memory, a reception dual port memory for storing reception data, a processor for performing protocol processing, a processor for processing a protocol, a transmission dual port memory, and a reception dual port. A register for storing data to and from a host device that accesses the memory, a means for storing the received data in the receiving dual-port memory and transmitting the data stored in the transmitting dual-port memory, a receiving dual-port memory and a transmitting A register for storing access data of the processor to the dual port memory; and a transmission control circuit having means for mediating access to the receiving dual port memory and the transmitting dual port memory of the processor via the register. Special A fourth communication control device is provided.

さらに、また、本発明は、前記2つのシリアルアクセ
スメモリセルを備えたデュアルポートメモリと、 プロトコル処理を行うプロセッサと、 プロトコルを処理するプロセッサと上位装置との間の
データを格納するレジスタと、 前記第1および第2のシリアルポートよりデュアルポ
ートメモリにアクセスし、受信データを格納し、また、
格納されているデータを送信する手段と、前記デュアル
ポートメモリへの前記プロセッサのアクセスデータを格
納するレジスタと、該レジスタを介して前記プロセッサ
の前記デュアルポートメモリへのアクセスを仲介する手
段を備えた伝送制御回路と、 を有することを特徴とする第5の通信制御装置を提供す
る。
Furthermore, the present invention further comprises: a dual port memory including the two serial access memory cells; a processor that performs protocol processing; a register that stores data between the processor that processes the protocol and a host device; Accessing the dual port memory from the first and second serial ports, storing the received data, and
A means for transmitting the stored data, a register for storing access data of the processor to the dual port memory, and a means for mediating access to the dual port memory by the processor via the register A transmission control circuit is provided, and a fifth communication control device is provided.

また、あわせて、本発明は、前記の通信制御装置と、
該通信制御装置を介して通信を行う上位装置を有するこ
とを特徴とする情報処理装置を提供する。
In addition, in addition, the present invention, the communication control device,
There is provided an information processing device having a host device that communicates via the communication control device.

[作 用] 本発明に係る第1の通信制御装置によれば、プロセッ
サは受信および送信デュアルポートメモリにランダムア
クセスポートもしくはシリアルアクセスポートよりアク
セスしてプロトコル処理を行うが、この時、競合制御手
段は、プロセッサのアクセスと上位装置のアクセスとの
競合を制御する。
[Operation] According to the first communication control device of the present invention, the processor accesses the reception and transmission dual port memory through the random access port or the serial access port to perform the protocol processing. Controls contention between processor access and host device access.

一方、前記プロセッサと上位装置間のデータの送受は
レジスタを介して行われる。また、伝送制御回路は、前
記プロセッサがアクセスするポートと異なるポートより
受信デュアルポートメモリに受信データを格納し、送信
デュアルポートメモリに格納されているデータを送信す
る。
On the other hand, the transmission / reception of data between the processor and the host device is performed via a register. Further, the transmission control circuit stores the reception data in the reception dual port memory from a port different from the port accessed by the processor and transmits the data stored in the transmission dual port memory.

また、本発明に係る第2の通信制御装置よれば、通信
手段は、DMA処理命令に従いランダムアクセスポートよ
り受信デュアルポートメモリに受信データを格納し、送
信デュアルポートメモリに格納されているデータを送信
する。一方、プロセッサは、受信および送信デュアルポ
ートメモリにシリアルアクセスポートよりアクセスして
プロトコル処理を行い、かつ、DMAコントローラを有す
る通信LSIに前記シリアルアクセスポートへアクセスす
るデータバスと分離可能なバスを通じてDMA処理命令を
発行する。また、競合制御手段は、前記プロセッサがア
クセスする各シリアルポートにおいて、プロトコル処理
を行うプロセッサのアクセスと上位装置のアクセスとの
競合を制御する。さらに、前記プロセッサと上位装置間
のデータの送受はレジスタを介して行われる。
Further, according to the second communication control device of the present invention, the communication means stores the received data from the random access port in the reception dual port memory according to the DMA processing instruction, and transmits the data stored in the transmission dual port memory. To do. On the other hand, the processor accesses the dual port memory for reception and transmission from the serial access port for protocol processing, and the communication LSI having a DMA controller performs DMA processing through a bus that is separable from the data bus for accessing the serial access port. Issue an order. The contention control means controls contention between the access of the processor performing the protocol processing and the access of the host device in each serial port accessed by the processor. Further, data transmission / reception between the processor and the higher-level device is performed via a register.

また、本発明に係るデュアルポートメモリによれば、
第1のシリアルアクセスメモリセルは第1のシリアルア
クセスポートより少なくともリードアクセスされ、第2
のシリアルアクセスメモリセルは、第1のシリアルアク
セスポートと同一または異なる第2のシリアルアクセス
ポートより少なくともライトアクセスされる。また、各
シリアルアクセスメモリセルとランダムアクセスメモリ
セルとのデータ転送は、同一または異なるバスで行われ
る。
Further, according to the dual port memory according to the present invention,
The first serial access memory cell is at least read-accessed from the first serial access port,
The serial access memory cell is subjected to at least write access from the second serial access port which is the same as or different from the first serial access port. Further, data transfer between each serial access memory cell and random access memory cell is performed by the same or different buses.

また、さらに、本発明に係る第3の通信制御装置によ
れば、プロセッサはデュアルポートメモリにランダムポ
ートよりアクセスしてプロトコル処理を行うが、この
時、競合制御手段はプロセッサのアクセスと上位装置の
アクセスとの競合を制御する。一方、前記プロセッサと
上位装置間のデータを送受はレジスタを介して行われ
る。また、伝送制御回路は、前記第1および第2のシリ
アルポートよりデュアルポートメモリにアクセスし、受
信データを格納し、また、格納されているデータを送信
する。
Further, according to the third communication control device of the present invention, the processor accesses the dual port memory from the random port to perform the protocol processing. At this time, the contention control means controls the access of the processor and the host device. Control access conflicts. On the other hand, data transmission / reception between the processor and the host device is performed through a register. Further, the transmission control circuit accesses the dual port memory through the first and second serial ports, stores the received data, and transmits the stored data.

また、本発明に係る第4の通信制御装置によれば、プ
ロセッサと上位装置との間のデータの送受はレジスタを
介して行われる。また、伝送制御回路は、受信デュアル
ポートメモリに受信データを格納し、送信デュアルポー
トメモリに格納されているデータを送信する。また、レ
ジスタに受信デュアルポートメモリおよび送信デュアル
ポートメモリへの前記プロセッサのアクセスデータを格
納することにより、前記プロセッサの受信デュアルポー
トメモリおよび送信デュアルポートメモリへのアクセス
を仲介する。
Further, according to the fourth communication control device of the present invention, the transmission / reception of data between the processor and the host device is performed via the register. Further, the transmission control circuit stores the received data in the reception dual port memory and transmits the data stored in the transmission dual port memory. Further, by storing the access data of the processor to the reception dual port memory and the transmission dual port memory in the register, the access to the reception dual port memory and the transmission dual port memory of the processor is mediated.

また、本発明に係る第5の通信制御装置によれば、プ
ロセッサと上位装置との間のデータの送受はレジスタを
介して行なれる。一方、伝送制御回路は、前記第1およ
び第2のシリアルポートよりデュアルポートメモリにア
クセスし、受信データを格納し、格納されているデータ
を送信する。また、レジスタに前記デュアルポートメモ
リへの前記プロセッサのアクセスデータを格納すること
により、前記プロセッサの前記デュアルポートメモリへ
のアクセスを仲介する。
Further, according to the fifth communication control device of the present invention, data transmission / reception between the processor and the host device can be performed via the register. On the other hand, the transmission control circuit accesses the dual port memory from the first and second serial ports, stores the received data, and transmits the stored data. Further, by storing access data of the processor to the dual port memory in a register, access of the processor to the dual port memory is mediated.

[実施例] 以下、本発明に係る通信制御装置の第1の実施例を説
明する。
[Embodiment] Hereinafter, a first embodiment of the communication control apparatus according to the present invention will be described.

第1図に本実施例に係る通信制御装置の構成を示す。 FIG. 1 shows the configuration of the communication control apparatus according to this embodiment.

図中、1は通信制御装置、2は通信制御装置1にデー
タの送受信を要求する上位コンピュータ、3はプロトコ
ル処理プロセッサ、4は送信データ用デュアルポートメ
モリ、5は受信データ用デュアルポートメモリ、6aは送
信データ用デュアルポートメモリ4用のDMA制御回路、6
bは受信データ用デュアルポートメモリ5用のDMA制御回
路、7は送信データ用デュアルポートメモリ4用のアク
セス競合制御回路、8は受信データ用デュアルポートメ
モリ5用のアクセス競合制御回路、9は送信制御回路、
10は受信制御回路、11はインターフェイスレジスタであ
る。
In the figure, 1 is a communication control device, 2 is a host computer that requests the communication control device 1 to send and receive data, 3 is a protocol processor, 4 is a dual port memory for transmission data, 5 is a dual port memory for reception data, 6a Is a DMA control circuit for the dual port memory 4 for transmission data, 6
b is a DMA control circuit for the received data dual port memory 5, 7 is an access conflict control circuit for the transmitted data dual port memory 4, 8 is an access conflict control circuit for the received data dual port memory 5, and 9 is a transmission Control circuit,
Reference numeral 10 is a reception control circuit, and 11 is an interface register.

以下、通信制御装置1の動作を説明する。 Hereinafter, the operation of the communication control device 1 will be described.

まず、データを送信する場合の動作を説明する。 First, the operation when transmitting data will be described.

上位コンピュータ2は、競合制御回路7を介して送信
データ用デュアルポートメモリ4にアクセスし、送信デ
ータを格納する。そして、その後、上位コンピュータ2
は、プロトコル処理プロセッサ3にインターフェイスレ
ジスタ11を経由して送信要求を発行する。
The host computer 2 accesses the transmission data dual-port memory 4 via the competition control circuit 7 and stores the transmission data. Then, after that, the host computer 2
Issues a transmission request to the protocol processor 3 via the interface register 11.

プロトコル処理プロセッサ3は、送信要求を受け、競
合制御回路7を介して送信データ用デュアルポートメモ
リ4にアクセスし、送信データにプロトコルに従ったヘ
ッダー情報等を付加する。そして、DMA制御回路6aに送
信起動をかける。
The protocol processor 3 receives the transmission request, accesses the dual port memory 4 for transmission data via the competition control circuit 7, and adds header information and the like according to the protocol to the transmission data. Then, the DMA control circuit 6a is activated to start transmission.

DMA制御回路6aは、シリアルポートアクセスのDMA動作
を行い、送信データ用デュアルポートメモリ4のシリア
ルポートより送信データを出力させる。なお、デュアル
ポートメモリのシリアルポートとは、データをシーケン
シャルに入力または出力するポートを言う。
The DMA control circuit 6a performs a DMA operation for serial port access, and causes the serial port of the dual port memory 4 for transmission data to output the transmission data. The serial port of the dual port memory is a port that sequentially inputs or outputs data.

シリアルポートより出力された送信データは、送信制
御回路9でDMA制御回路6aの制御信号に基づきシリアル
データに変換され、送信回線にデータ送信が行われる。
The transmission data output from the serial port is converted by the transmission control circuit 9 into serial data based on the control signal of the DMA control circuit 6a, and the data is transmitted to the transmission line.

次に、データを受信する場合の動作を説明する。 Next, the operation when receiving data will be described.

受信回線から入力された受信データは、受信制御回路
10によりパラレルデータに変換される。
The reception data input from the reception line is received by the reception control circuit.
Converted to parallel data by 10.

DMA制御回路6bの制御は、受信データの存在を認識す
ると、受信データ用デュアルポートメモリ5のシリアル
ポート経由で受信データ用デュアルポートメモリ5に、
パラレルデータ化された受信データを格納する。
When the presence of received data is recognized, the DMA control circuit 6b controls the received data dual port memory 5 to receive data dual port memory 5 via the serial port of the received data dual port memory 5.
The received data converted into parallel data is stored.

一方、受信制御回路10は受信を終了したら、その旨を
DMA制御回路6b経由でプロトコル処理プロセッサ3に通
知する。プロトコル処理プロセッサ3はこれを契機に上
位コンピュータ2に受信完了を通知する。受信完了を受
けた上位コンピュータ2は、競合制御回路8を介して受
信データ用デュアルポートメモリ5の受信データを読み
だし、受信動作を完了する。
On the other hand, when the reception control circuit 10 finishes the reception,
The protocol processor 3 is notified via the DMA control circuit 6b. The protocol processor 3 notifies the higher-level computer 2 of the completion of reception in response to this. Upon receiving the reception completion, the host computer 2 reads the reception data of the reception data dual-port memory 5 via the competition control circuit 8 and completes the reception operation.

以上のように、本実施例によれば、デュアルポートメ
モリの各ポートの独立アクセス性を利用することによ
り、簡易な構成で、送信制御回路9の送信中にも、上位
コンピュータ2のデュアルポートメモリへの送信データ
の格納が、そのアクセスを妨げられることなく行える。
したがって、高速化が可能となる。受信についても同様
の理由により高速化が可能となる。
As described above, according to the present embodiment, by utilizing the independent accessibility of each port of the dual port memory, the dual port memory of the host computer 2 can be configured with a simple configuration even during transmission of the transmission control circuit 9. The transmission data can be stored in the storage without hindering the access.
Therefore, the speed can be increased. For the same reason, the reception can be speeded up.

次に、本実施例で使用しているDMA制御回路6a、6bに
ついて、説明する。
Next, the DMA control circuits 6a and 6b used in this embodiment will be described.

第2図にその構成を示す。 The structure is shown in FIG.

64はプロセッサバスのデータを受け取るデータバッフ
ァ、62はプロセッサバスのアドレスから内部のレジスタ
選択信号を作るアドレスデコーダ、63はプロセッサバス
の制御信号をインターフェイスするCPUI/F回路、64はDM
A制御信号の生成を行うDMAI/F回路、65はDMAのアドレス
信号を生成するアドレスレジスタ、66はDMAのデータ転
送数をカウントするバイトカウンタ、67はプロセッサバ
スとDMAバスを分離するためのアドレスバッファであ
る。
64 is a data buffer that receives data on the processor bus, 62 is an address decoder that creates an internal register selection signal from the address of the processor bus, 63 is a CPU I / F circuit that interfaces control signals of the processor bus, and 64 is a DM
A DMA I / F circuit that generates A control signal, 65 is an address register that generates a DMA address signal, 66 is a byte counter that counts the number of DMA data transfers, 67 is an address that separates the processor bus from the DMA bus It is a buffer.

DMA動作を実現するためには、プロセッサがバス経由
でアドレスレジスタ65とバイトカウンタ66を設定し、DM
AI/F回路64に動作モードを設定してDMA起動をかける。
起動をかけられると、アドレスバッファ67からDMAアド
レスが出力され、DMA動作を開始する。
In order to realize DMA operation, the processor sets the address register 65 and byte counter 66 via the bus,
Set the operation mode in AI / F circuit 64 and activate DMA.
When activated, the DMA address is output from the address buffer 67 and the DMA operation is started.

以上のように、プロセッサバスとDMAバスが分離して
構成されているので、DMA動作を実現するために、プロ
セッサとデータバッファを同一バスに接続する必要が無
くなり、送信データ用デュアルポートメモリ4と受信デ
ータ用デュアルポートメモリ5をプロトコル処理プロセ
ッサ3のバスに接続する必要が無い。
As described above, since the processor bus and the DMA bus are separately configured, it is not necessary to connect the processor and the data buffer to the same bus in order to realize the DMA operation. It is not necessary to connect the dual port memory 5 for received data to the bus of the protocol processor 3.

この結果、送信データ用デュアルポートメモリ4と受
信データ用デュアルポートメモリ5のランダムポートと
シリアルポートの独立性の有効活用が可能になる。
As a result, the independence of the random port and the serial port of the dual port memory 4 for transmitting data and the dual port memory 5 for receiving data can be effectively used.

次に、本発明の第2の実施例を説明する。 Next, a second embodiment of the present invention will be described.

第3図に本実施例に係る通信制御装置の構成を示す。 FIG. 3 shows the configuration of the communication control apparatus according to this embodiment.

図中、12aは送信データ用デュアルポートメモリ4の
アクセス制御回路、12bは受信データ用デュアルポート
メモリ5のアクセス制御回路、13はDMA機能付き送信制
御回路、14はDMA機能付き受信制御回路である。他部
は、第1実施例に係る通信制御装置の同一符号部と同機
能部であるので説明を省略する。
In the figure, 12a is an access control circuit of the dual port memory 4 for transmission data, 12b is an access control circuit of the dual port memory 5 for reception data, 13 is a transmission control circuit with a DMA function, and 14 is a reception control circuit with a DMA function. . Since the other parts are the same code parts and the same function parts of the communication control device according to the first embodiment, the description thereof is omitted.

本実施例に係る通信制御装置の構成と第1実施例に係
る通信制御装置の構成の違いは、送信用デュアルポート
メモリ4と受信用デュアルポートメモリ5のシリアルポ
ートとランダムポートの接続が回線側とプロセッサ側で
反対になっていることである。
The difference between the configuration of the communication control device according to the present embodiment and the configuration of the communication control device according to the first embodiment is that the serial port and random port of the dual port memory 4 for transmission and the dual port memory 5 for reception are connected to the line side. And that is the opposite on the processor side.

以下、本実施例に係る通信制御装置1の動作を説明す
る。
The operation of the communication control device 1 according to this embodiment will be described below.

まず、上位コンピュータ2がデータ送信をする場合の
動作を説明する。上位コンピュータ2は競合制御回路7
を介して送信データ用デュアルポートメモリ4にアクセ
スするが、この時、アクセス制御回路12aは、上位コン
ピュータ2のアクセス形式を送信データ用デュアルポー
トメモリ4のシリアルポートアクセス形式に変換するこ
とにより、上位コンピュータ2よりの送信データ用デュ
アルポートメモリ4への送信データの格納を可能とす
る。
First, the operation when the host computer 2 transmits data will be described. The host computer 2 is the competition control circuit 7
The dual port memory 4 for transmission data is accessed through the access control circuit 12a. At this time, the access control circuit 12a converts the access format of the host computer 2 into the serial port access format of the dual port memory 4 for transmission data, The transmission data from the computer 2 can be stored in the transmission data dual port memory 4.

その後、上位コンピュータ2はプロトコル処理プロセ
ッサ3にインターフェイスレジスタ11を経由して送信要
求を発行する。
After that, the host computer 2 issues a transmission request to the protocol processor 3 via the interface register 11.

プロトコル処理プロセッサ3は送信要求により、競合
制御回路7を介し、また、アクセウ制御回路12aにより
そのアクセス形式を変換して、送信データ用デュアルポ
ートメモリ4にアクセスし、送信データにプロトコルに
従ったヘッダー情報等を付加する。そして、その後、送
信制御回路13に送信起動をかける。
In response to a transmission request, the protocol processor 3 converts the access format via the conflict control circuit 7 and the access control circuit 12a to access the dual port memory 4 for transmission data, and to send data to the header according to the protocol. Add information etc. Then, after that, the transmission control circuit 13 is activated for transmission.

送信制御回路13は、送信データ用デュアルポートメモ
リ4のランダムポートからDMA動作により、送信データ
を出力させる。
The transmission control circuit 13 outputs the transmission data from the random port of the dual port memory 4 for transmission data by the DMA operation.

出力された送信データは、送信制御回路13でシリアル
データに変換され、送信回線にデータ送信が行われる。
The output transmission data is converted into serial data by the transmission control circuit 13, and the data is transmitted to the transmission line.

次に、データを受信する場合の動作を説明する。受信
回線から入力された受信データは、受信制御回路14によ
りパラレルデータに変換されると共に、アクセス制御回
路12bによりのランダムポート経由で受信データ用デュ
アルポートメモリ5に格納される。
Next, the operation when receiving data will be described. The reception data input from the reception line is converted into parallel data by the reception control circuit 14 and stored in the reception data dual port memory 5 via the random port by the access control circuit 12b.

その後、受信制御回路14は、受信終了をプロトコル処
理プロセッサ3に通知し、プロトコル処理プロセッサ3
はこれを契機に上位コンピュータ2に受信完了を通知す
る。
After that, the reception control circuit 14 notifies the protocol processor 3 of the reception end, and the protocol processor 3
Notifies the higher-level computer 2 of the completion of reception.

受信完了を受けた上位コンピュータ2は、まず、アク
セス制御回路12bに、受信データ用デュアルポートメモ
リ内の後述するRAMセルよりSAMセルへの受信データの転
送を指示する。アクセス制御回路12bはRAMセルよりSAM
セルへの受信データの転送を実行する。
Upon receipt of the reception completion, the host computer 2 first instructs the access control circuit 12b to transfer the reception data from the RAM cell (described later) in the reception data dual port memory to the SAM cell. Access control circuit 12b uses SAM rather than RAM cell
Performs the transfer of received data to the cell.

次に、上位コンピュータ2は、競合制御回路8を介し
て受信データ用デュアルポートメモリ5にアクセスする
が、この時、アクセス制御回路12bは上位コンピュータ
2のアクセスアドレスを監視し、アドレスが連続する
間、順次、受信データをシリアルポートより1つ出力さ
せる。これを繰返すことにより、上位コンピュータ2の
受信データの読み出しは終了し、受信動作を完了する。
Next, the host computer 2 accesses the received data dual port memory 5 via the contention control circuit 8. At this time, the access control circuit 12b monitors the access address of the host computer 2, and while the addresses continue. , Sequentially outputs one received data from the serial port. By repeating this, the reading of the reception data of the host computer 2 is completed, and the reception operation is completed.

以上のように、本実施例によれば、前記第1実施例と
同様に、上記コンピュータ2は送信制御回路13が送信中
にも送信データの格納がアクセスを妨げられずに行える
ことになり、高速化が可能となる。受信についても同様
の理由により高速化が可能となる。
As described above, according to this embodiment, similarly to the first embodiment, the computer 2 can store the transmission data without disturbing the access even while the transmission control circuit 13 is transmitting, Higher speed is possible. For the same reason, the reception can be speeded up.

また、さらに、本実施例によれば、デュアルポートメ
モリの通信回線側をランダムアクセスポートとしたこと
により、送信および受信制御回路12a、12bを、市販の、
DMA装置(LSI)またはDMA機能付き送受信装置(LSI)等
で構成できる効果もある。
Furthermore, according to the present embodiment, the communication line side of the dual port memory is a random access port, so that the transmission and reception control circuits 12a and 12b are commercially available,
There is also an effect that it can be configured by a DMA device (LSI) or a transceiver device (LSI) with a DMA function.

なお、本実施例においては、上位コンピュータ2およ
びプロトコル処理プロセッサ3側をシリアルアクセスポ
ートとしたために、上位コンピュータ2およびプロトコ
ル処理プロセッサ3が連続アドレスでないデータをアク
セスする場合には、アドレス設定のオーバーヘッドが大
きくなる。しかし、通信データの大部分は、連続して扱
われるデータであるので、その影響は小さい。
In the present embodiment, since the host computer 2 and the protocol processor 3 side are serial access ports, when the host computer 2 and the protocol processor 3 access data that is not a continuous address, the overhead of address setting occurs. growing. However, most of the communication data is data that is continuously treated, so its influence is small.

以下、本発明の第3の実施例を説明する。 The third embodiment of the present invention will be described below.

第4図に本実施例に係る通信制御装置の構成を示す。 FIG. 4 shows the configuration of the communication control apparatus according to this embodiment.

図中、15はDMA機能付き送受信LSIである。他部は、第
2実施例に係る通信制御装置の同一符号部と同機能部で
あるので説明を省略する。
In the figure, reference numeral 15 is a transceiver LSI with a DMA function. Since the other parts are the same code parts and the same function parts of the communication control device according to the second embodiment, the description thereof will be omitted.

本実施例は、通信が、さほど高速でない場合の適用を
考えたものであり、それに応じ、本実施例に係る通信制
御装置の構成と、前記第2実施例に係る通信制御装置の
構成との間には、第2実施例に係る送信制御回路13と受
信制御回路14とを、本実施例においては、1つのDMA機
能付き送受信LSI15で置き換えたという相違点がある。
This embodiment considers application in the case where communication is not so fast, and accordingly, the configuration of the communication control device according to the present embodiment and the configuration of the communication control device according to the second embodiment are Between them, there is a difference in that the transmission control circuit 13 and the reception control circuit 14 according to the second embodiment are replaced with a single transceiver LSI 15 with a DMA function in the present embodiment.

本実施例に係る通信制御装置1の動作は、第2実施例
と同様であるが、本実施例においては、受信データ用デ
ュアルポートメモリ5および送信データ用デュアルポー
トメモリ4と、通信回線とのデータ転送を、一括して、
市販のDMA機能付き送受信LSI15等が、そのDMA機能を用
いて半二重的に行う。
The operation of the communication control device 1 according to this embodiment is the same as that of the second embodiment, but in this embodiment, the dual port memory 5 for receiving data and the dual port memory 4 for transmitting data and the communication line are connected. Data transfer in a batch
A commercially available transmitter / receiver LSI 15 with a DMA function and the like performs half-duplex using the DMA function.

以上のように本実施例によれば、受信データ用デュア
ルポートメモリ5および送信データ用デュアルポートメ
モリ4と、通信回線とのデータ転送を一つのつ送受信LS
Iで行える効果がある。
As described above, according to this embodiment, one transmission / reception LS for data transfer between the reception data dual-port memory 5 and the transmission data dual-port memory 4 and the communication line is performed.
There is an effect that I can do.

次に、第1、2および3実施例に係る通信制御装置1
で使用しているデュアルポートメモリの回路図につい
て、説明する。
Next, the communication control device 1 according to the first, second and third embodiments
The circuit diagram of the dual port memory used in the above will be explained.

第5図にその構成を示す。 The structure is shown in FIG.

このメモリは内部にランダムアクセスメモリセル(RA
Mセル)41とシリアルアクセスセル(SAMセル)42を持
ち、RAMセルとSAMセルとは内部の幅広いデータバス(通
常、SAMセルの全格納語を一サイクルで転送可能な幅)4
4で接続されており、RAMセルとSAMセル42とのデータ転
送を、このデータバスを用いて行う。したがって、この
転送サイクル以外、ランダムポートのアクセスとシリア
ルポートのアクセスは独立に行える。メモリ制御回路43
は、RAMセル41のリードおよびライトアクセス、SAMセル
42のリードおよびライトアクセスの他、RAMセル41とSAM
セル42とのデータ転送を制御する。
This memory has a random access memory cell (RA
M cell) 41 and serial access cell (SAM cell) 42, and RAM cell and SAM cell have a wide internal data bus (usually, all stored words of SAM cells can be transferred in one cycle) 4
These data buses are used for data transfer between the RAM cell and the SAM cell 42, which are connected to each other. Therefore, except for this transfer cycle, random port access and serial port access can be performed independently. Memory control circuit 43
Read and write access to RAM cell 41, SAM cell
42 read and write access as well as RAM cell 41 and SAM
Controls data transfer with cell 42.

以上のように、本デュアルポートメモリによれば、ラ
ンダムポートのアクセスとシリアルポートのアクセスは
独立に行える。
As described above, according to the present dual port memory, random port access and serial port access can be performed independently.

ところで、このメモリでは、SAMセルが一つしかない
ため、シリアル入力に使うとシリアル出力には使えなく
なり、第1、2および3実施例においては、送信系と受
信系それぞれにデュアルポートメモリを設けなければな
らないという回路のが残る。
By the way, since this memory has only one SAM cell, it cannot be used for serial output when used for serial input. In the first, second and third embodiments, dual port memories are provided for each of the transmission system and the reception system. There remains a circuit that must be.

そこで、この冗長性を排除できるデュアルポートメモ
リを提示する。
Therefore, we present a dual-port memory that can eliminate this redundancy.

第6図に、このデュアルポートメモリ16の構成を示
す。
FIG. 6 shows the configuration of the dual port memory 16.

この構成は、デュアルポートメモリにSAMセルを入力
用と出力用の2つ(161、162)設けたものであり、RAM
セル163と各SAMセル161、162は、異なるデータバスで接
続されている。メモリ制御回路164は、RAMセル163のリ
ードおよびライトアクセス、SAMセル161のリード、およ
びSAMセル162のライトアクセスの他、RAMセル163と各SA
Mセル161、162とのデータ転送を制御する。
In this configuration, two SAM cells for input and output (161, 162) are provided in the dual port memory, and
The cell 163 and each SAM cell 161, 162 are connected by different data buses. The memory control circuit 164 performs read and write access to the RAM cell 163, read of the SAM cell 161, and write access of the SAM cell 162, as well as the RAM cell 163 and each SA.
Controls data transfer with the M cells 161, 162.

すなわち、これにより、RAMセル163との一つのメモリ
で、シリアル入力とシリアル出力の両方を可能とするも
のである。
That is, this enables both serial input and serial output with one memory including the RAM cell 163.

次に、第4の実施例として、このSAMセルを2つ設け
たデュアルポートメモリ16を用いた通信制御装置1につ
いて説明する。
Next, as a fourth embodiment, a communication control device 1 using a dual port memory 16 provided with two SAM cells will be described.

本実施例に係る通信制御装置の構成を第7図に示す。 The configuration of the communication control device according to the present embodiment is shown in FIG.

図中、16がSAMセルを2つ設けたデュアルポートメモ
リであり、17はDMA制御回路、18は送受信制御回路であ
る。他部は、前記第1実施例に係る通信制御装置の同一
符号部と同一機能部であるので、その説明を省略する。
In the figure, 16 is a dual port memory provided with two SAM cells, 17 is a DMA control circuit, and 18 is a transmission / reception control circuit. Since the other parts are the same code parts and the same function parts of the communication control device according to the first embodiment, the description thereof will be omitted.

本実施例は、前記した第1実施例に係る通信制御装置
の1つのSAMセルを2つ設けたデュアルポートメモリ16
で構成したものである。
In this embodiment, the dual port memory 16 provided with two one SAM cells of the communication control device according to the first embodiment described above.
It consists of.

その、動作は、第1実施例に係る通信制御装置と同様
であるが、送受信メモリが一つになるため、回路が簡略
化する。DMA制御回路17、送受信制御回路18、競合制御
回路7も1つで済、構成が簡略化する。
The operation is similar to that of the communication control device according to the first embodiment, but the number of transmission / reception memories is one, so the circuit is simplified. Only one DMA control circuit 17, transmission / reception control circuit 18, and competition control circuit 7 are required, and the configuration is simplified.

なお、この方式でも、ランダムポートとシリアルポー
トの独立性があるため、高速化が図れる。
Even in this method, since the random port and the serial port are independent, the speed can be increased.

次に、第5の実施例について説明する。 Next, a fifth embodiment will be described.

本実施例は、前記した第1実施例に係る通信制御装置
におけるプロトコル処理プロセッサ2の、送信および受
信デュアルポートメモリへのアクセスを回線側から行う
ようにしたものである。
In this embodiment, the protocol processor 2 in the communication control device according to the first embodiment described above is configured to access the transmission and reception dual port memories from the line side.

本実施例に係る通信制御装置の構成を第8図に示す。 FIG. 8 shows the configuration of the communication control device according to the present embodiment.

図中80は送信用デュアルポートメモリ、81は受信デュ
アルポートメモリであり、前記SAMセルを2つ設けたデ
ュアルポートメモリまたはランダムアクセスポートを2
つ備えたデュアルポートメモリを用いる。82は送信制御
回路、83は受信制御回路であり、プロトコル処理プロセ
ッサのデュアルポートメモリ80、81へのアクセスを仲介
する。他部は、前記第1実施例に係る通信制御装置の同
一符号部と同一機能部であるので、その説明を省略す
る。
In the figure, 80 is a dual-port memory for transmission, 81 is a dual-port memory for reception, and there are two dual-port memories provided with the two SAM cells or two random access ports.
It uses dual port memory. Reference numeral 82 is a transmission control circuit, and 83 is a reception control circuit, which mediates access to the dual port memories 80 and 81 of the protocol processor. Since the other parts are the same code parts and the same function parts of the communication control device according to the first embodiment, the description thereof will be omitted.

本実施例の動作は、前記第1実施例に係る通信制御装
置の動作と同様であるが、送信デュアルポートメモリ80
へライトアクセスする場合、プロトコル処理プロセッサ
3は、送信制御回路82内のレジスタへデータを格納し、
その送信デュアルポートメモリ80への書き込みを送信制
御回路82に指示する。送信制御回路は、プロトコル処理
プロセッサ3の指示に従い送信デュアルポートメモリ80
へ適宜レジスタのデータを書き込む。
The operation of this embodiment is similar to the operation of the communication control apparatus according to the first embodiment, except that the transmission dual port memory 80
When performing write access to, the protocol processor 3 stores data in a register in the transmission control circuit 82,
The transmission control circuit 82 is instructed to write to the transmission dual port memory 80. The transmission control circuit uses the transmission dual port memory 80 according to the instruction of the protocol processor 3.
Write register data to

また、プロトコル処理プロセッサ3の受信データを読
み込む場合は、受信制御回路83は、まず、受信用デュア
ルポートメモリ81よりプロトコルヘッダ部分データを適
宜受信制御回路83内のレジスタに読み込む。または、回
線よりの受信データを直接受信制御回路83内のレジスタ
に読み込む。そして、プロトコル処理プロセッサ3に受
信データがある旨通知する。これを受け、プロトコル処
理プロセッサ3はレジスタよりこのデータを読み込む。
Further, when reading the reception data of the protocol processor 3, the reception control circuit 83 first reads the protocol header partial data from the reception dual port memory 81 into a register in the reception control circuit 83 as appropriate. Alternatively, the reception data from the line is directly read into the register in the reception control circuit 83. Then, the protocol processor 3 is notified that there is received data. In response to this, the protocol processor 3 reads this data from the register.

以上のように本実施例によれば、上位コンピュータの
デュアルポートメモリへのアクセスが競合なく行え、第
1実施例における競合制御回路7、8が不要になる他、
プロトコル処理プロセッサ3のデュアルポートメモリへ
のアクセスをレジスタを介して行うため、プロトコル処
理プロセッサ3のバスとデュアルポートメモリの回線側
バスを独立とでき、DMA制御回路、デュアルポートメモ
リへのアクセス効率を全体として向上できる。
As described above, according to the present embodiment, the access to the dual port memory of the host computer can be performed without contention, and the contention control circuits 7 and 8 in the first embodiment are not necessary.
Since the dual port memory of the protocol processor 3 is accessed through the register, the bus of the protocol processor 3 and the line side bus of the dual port memory can be made independent, and the access efficiency to the DMA control circuit and the dual port memory can be improved. It can be improved as a whole.

以上に説明したように、本実施例によれば、上位コン
ピュターおよびプロトコル処理プロセッサとデュアルポ
ートメモリとの送受信データ転送と、デュアルポートメ
モリと伝送回線の送受信データ転送が独立に行えるた
め、高速データ伝送が可能となる。
As described above, according to this embodiment, transmission / reception data transfer between the upper computer and the protocol processor and the dual port memory and transmission / reception data transfer between the dual port memory and the transmission line can be performed independently, so that high speed data transmission is possible. Is possible.

[発明の効果] 以上のように、本発明によれば、高速伝送に適した通
信制御装置を提供することができ、また、この通信制御
装置に適したメモリ素子を提供することができる。
[Effect of the Invention] As described above, according to the present invention, it is possible to provide a communication control device suitable for high-speed transmission, and it is possible to provide a memory element suitable for this communication control device.

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

第1図は本発明の第1実施例に係る通信制御装置の構成
を示すブロック図、第2図は第1実施例に係るDMA制御
回路の構成を示すブロック図、第3図は本発明の第2実
施例に係る通信制御装置の構成を示すブロック図、第4
図は本発明の第3実施例に係る通信制御装置の構成を示
すブロック図、第5図はだい1、2および3実施例で用
いるデュアルポートメモリの構成を示すブロック図、第
6図は第4および第5実施例で用いるデュアルポートメ
モリの構成を示すブロック図、第7図は本発明の第4実
施例に係る通信制御装置の構成を示すブロック図、第8
図は本発明の第5実施例に係る通信制御装置の構成を示
すブロック図である。 1……通信制御装置、2……上位コンピュータ、3……
プロトコル処理プロセッサ、4……送信データ用デュア
ルポートメモリ、5……受信データ用デュアルポートメ
モリ、6a、6b……DMA制御回路、7、8……アクセス競
合制御回路、9……送信制御回路、10……受信制御回
路、11……インターフェイスレジスタ、12a、12b……ア
クセス制御回路、13……送信制御回路、14……受信制御
回路、15……DMA内臓通信LSI、17……バススイッチ、18
……送受信制御回路。
FIG. 1 is a block diagram showing the configuration of a communication control apparatus according to the first embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a DMA control circuit according to the first embodiment, and FIG. Block diagram showing a configuration of a communication control device according to the second embodiment, the fourth
FIG. 6 is a block diagram showing the configuration of a communication control apparatus according to the third embodiment of the present invention, FIG. 5 is a block diagram showing the configuration of a dual port memory used in the first, second and third embodiments, and FIG. FIG. 7 is a block diagram showing the configuration of a dual port memory used in the fourth and fifth embodiments, FIG. 7 is a block diagram showing the configuration of a communication control device according to the fourth embodiment of the present invention, and FIG.
FIG. 9 is a block diagram showing the configuration of the communication control device according to the fifth embodiment of the present invention. 1 ... Communication control device, 2 ... Host computer, 3 ...
Protocol processor, 4 ... Dual port memory for transmission data, 5 ... Dual port memory for reception data, 6a, 6b ... DMA control circuit, 7, 8 ... Access conflict control circuit, 9 ... Transmission control circuit, 10 ... Reception control circuit, 11 ... Interface register, 12a, 12b ... Access control circuit, 13 ... Transmission control circuit, 14 ... Reception control circuit, 15 ... DMA built-in communication LSI, 17 ... Bus switch, 18
...... Transmission / reception control circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭64−12356(JP,A) 特表 昭62−501454(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-64-12356 (JP, A) Special table: S62-501454 (JP, A)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ランダムアクセスメモリセルとシリアルア
クセスメモリセルを有しランダムアクセスポートとシリ
アルアクセスポートを備えた、送信データを格納する送
信デュアルポートメモリと受信データを格納する受信デ
ュアルポートメモリと、 受信および送信デュアルポートメモリにランダムアクセ
スポートもしくはシリアルアクセスポートよりアクセス
してプロトコル処理を行うプロセッサと、 前記プロセッサがアクセスする各ポートにおいて、プロ
トコル処理を行うプロセッサのアクセスと上位装置のア
クセスとの競合を制御する競合制御手段と、 前記プロセッサと上位装置間のデータを格納するレジス
タと、 前記プロセッサがアクセスするポートと異なるポートよ
り受信デュアルポートメモリに受信データを格納し、送
信デュアルポートメモリに格納されているデータを送信
する伝送制御回路と、 を有することを特徴とする通信制御装置。
1. A transmission dual-port memory for storing transmission data and a reception dual-port memory for storing reception data, the transmission dual-port memory having random access memory cells and serial access memory cells, and having a random access port and a serial access port. And a processor that performs protocol processing by accessing the dual-port memory from a random access port or a serial access port, and in each port that the processor accesses, control the competition between the access of the processor that performs the protocol processing and the access of the host device Contention control means, a register for storing data between the processor and a higher-level device, receive data from a port different from the port accessed by the processor in a receive dual port memory, and a transmit dual And a transmission control circuit for transmitting the data stored in the report memory, the communication control device.
【請求項2】ランダムアクセスメモリセルとシリアルア
クセスメモリセルを有しランダムアクセスポートとシリ
アルアクセスポートを備えた、送信データを格納する送
信デュアルポートメモリと受信データを格納する受信デ
ュアルポートメモリと、 DMA処理命令に従いランダムアクセスポートより受信デ
ュアルポートメモリに受信データを格納し、送信デュア
ルポートメモリに格納されているデータを送信するDMA
コントローラを有する通信手段と、 受信および送信デュアルポートメモリにシリアルアクセ
スポートよりアクセスしてプロトコル処理を行い、か
つ、DMAコントローラを有する通信LSIに前記シリアルア
クセスポートへアクセスするデータバスと分離可能なバ
スを通じてDMA処理命令を発行するプロセッサと、 前記プロセッサがアクセスする各シリアルポートにおい
て、プロトコル処理を行うプロセッサのアクセスと上位
装置のアクセスとの競合を制御する競合制御手段と、 前記プロセッサと上位装置間のデータを格納するレジス
タと、 を有することを特徴とする通信制御装置。
2. A transmission dual port memory for storing transmission data, a reception dual port memory for storing reception data, comprising a random access memory cell and a serial access memory cell, and having a random access port and a serial access port, and a DMA. Stores the received data from the random access port in the receive dual port memory according to the processing instruction, and transmits the data stored in the transmit dual port memory DMA
Through a communication means having a controller, and a data bus for access to the receiving and transmitting dual port memory through a serial access port for protocol processing, and a communication LSI having a DMA controller for accessing the serial access port A processor that issues a DMA processing instruction, a contention control unit that controls contention between an access of a processor that performs protocol processing and an access of a host device in each serial port accessed by the processor, and data between the processor and the host device. And a register for storing the.
【請求項3】ランダムアクセスポートよりアクセス可能
なランダムアクセスメモリセルと、 第1のシリアルアクセスポートより少なくともリードア
クセス可能な、ランダムアクセスメモリセルとデータ転
送用のバスで接続された第1のシリアルアクセスメモリ
セルと、 第1のシリアルアクセスポートと同一または異なる第2
のシリアルアクセスポートより少なくともライトアクセ
ス可能な、ランダムアクセスメモリセルと前記バスと同
一または異なるデータ転送用のバスで接続された第2の
シリアルアクセスメモリセルとを有することを特徴とす
るデュアルポートメモリ。
3. A random access memory cell accessible through a random access port, and a first serial access which is at least read accessible through a first serial access port and is connected to the random access memory cell through a data transfer bus. A memory cell and a second serial port that is the same as or different from the first serial access port
The dual-port memory, which has at least write access through the serial access port, and a random access memory cell and a second serial access memory cell connected by a bus for data transfer which is the same as or different from the bus.
【請求項4】請求項3記載のデュアルポートメモリと、 デュアルポートメモリにランダムポートよりアクセスし
てプロトコル処理を行うプロセッサと、 ランダムポートにおいて、プロトコル処理を行うプロセ
ッサのアクセスと上位装置のアクセスとの競合を制御す
る競合制御手段と、 前記プロセッサと上位装置間のデータを格納するレジス
タと、 前記第1および第2のシリアルポートよりデュアルポー
トメモリにアクセスし、受信データを格納し、また、格
納されているデータを送信する伝送制御回路と、 を有することを特徴とする通信制御装置。
4. The dual port memory according to claim 3, a processor for accessing the dual port memory from a random port for protocol processing, and an access for a processor for performing protocol processing and an access for a host device in the random port. Contention control means for controlling contention, a register for storing data between the processor and a host device, a dual port memory is accessed from the first and second serial ports to store received data, and stored. And a transmission control circuit for transmitting the stored data, the communication control device.
【請求項5】送信デュアルポートメモリと受信データを
格納する受信デュアルポートメモリと、 プロトコル処理を行うプロセッサと、 プロトコルを処理するプロセッサと送信デュアルポート
メモリおよび受信デュアルポートメモリにアクセスする
上位装置との間のデータを格納するレジスタと、 受信デュアルポートメモリに受信データを格納し、送信
デュアルポートメモリに格納されているデータを送信す
る手段と、受信デュアルポートメモリおよび送信デュア
ルポートメモリへの前記プロセッサのアクセスデータを
格納するレジスタと、該レジスタを介して前記プロセッ
サの受信デュアルポートメモリおよび送信デュアルポー
トメモリへのアクセスを仲介する手段を備えた伝送制御
回路と、 を有することを特徴とする通信制御装置。
5. A transmission dual-port memory, a reception dual-port memory for storing reception data, a processor for protocol processing, a processor for protocol processing, and a host device for accessing the transmission dual-port memory and reception dual-port memory. A register for storing data between, a means for storing the received data in the receiving dual-port memory and transmitting the data stored in the transmitting dual-port memory, and a receiving dual-port memory and a transmitting dual-port memory of the processor. A communication control device comprising: a register for storing access data; and a transmission control circuit having means for mediating access to the reception dual-port memory and the transmission dual-port memory of the processor via the register. .
【請求項6】請求項3記載のデュアルポートメモリと、 プロトコル処理を行うプロセッサと、 プロトコルを処理するプロセッサと上位装置との間のデ
ータを格納するレジスタと、 前記第1および第2のシリアルポートよりデュアルポー
トメモリにアクセスし、受信データを格納し、また、格
納されているデータを送信する手段と、前記デュアルポ
ートメモリへの前記プロセッサのアクセスデータを格納
するレジスタと、該レジスタを介して前記プロセッサの
前記デュアルポートメモリへのアクセスを仲介する手段
を備えた伝送制御回路と、 を有することを特徴とする通信制御装置。
6. The dual port memory according to claim 3, a processor that performs protocol processing, a register that stores data between the processor that processes the protocol and a host device, and the first and second serial ports. Means for accessing the dual port memory, storing the received data, and transmitting the stored data, a register for storing the access data of the processor to the dual port memory, and the register via the register A communication control device comprising: a transmission control circuit having means for mediating access of the processor to the dual port memory.
【請求項7】請求項1、2、3、5または6記載の通信
制御装置と、該通信制御装置を介して通信を行う上位装
置を有することを特徴とする情報処理装置。
7. An information processing apparatus, comprising: the communication control device according to claim 1, 2, 3, 5 or 6, and a host device that communicates via the communication control device.
JP1315987A 1989-12-05 1989-12-05 Communication control device Expired - Fee Related JP2546901B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1315987A JP2546901B2 (en) 1989-12-05 1989-12-05 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1315987A JP2546901B2 (en) 1989-12-05 1989-12-05 Communication control device

Publications (2)

Publication Number Publication Date
JPH03175851A JPH03175851A (en) 1991-07-30
JP2546901B2 true JP2546901B2 (en) 1996-10-23

Family

ID=18071978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1315987A Expired - Fee Related JP2546901B2 (en) 1989-12-05 1989-12-05 Communication control device

Country Status (1)

Country Link
JP (1) JP2546901B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0775015B2 (en) * 1991-12-19 1995-08-09 インターナショナル・ビジネス・マシーンズ・コーポレイション Data communication and processing system and data communication processing method
US6829660B2 (en) * 2001-12-12 2004-12-07 Emulex Design & Manufacturing Corporation Supercharge message exchanger
US8611175B2 (en) * 2011-12-07 2013-12-17 Xilinx, Inc. Contention-free memory arrangement

Also Published As

Publication number Publication date
JPH03175851A (en) 1991-07-30

Similar Documents

Publication Publication Date Title
AU652707B2 (en) Bus interface logic for computer system having dual bus architecture
US6353867B1 (en) Virtual component on-chip interface
KR100881049B1 (en) A multiple address two channel bus structure
US4755937A (en) Method and apparatus for high bandwidth shared memory
EP1032880B1 (en) Method and apparatus for switching between source-synchronous and common clock data transfer modes in a multiple agent processing system
JPS63255759A (en) Control system
EP0508634B1 (en) Memory access for data transfer within an I/O device
WO1998011490A1 (en) Address translation in computer bus bridge devices
JPH09160866A (en) Bus interface logic system and synchronization method
JPH0322068A (en) Data processing system
JP2962787B2 (en) Communication control method
JPH10143466A (en) Bus communication system
JP2546901B2 (en) Communication control device
EP0378422B1 (en) Look ahead bus transfer request
JPH07271654A (en) Controller
JP2583586B2 (en) Bus control method
JPH04225458A (en) Computer
KR0170742B1 (en) Data transfer method using mbus
JP2803616B2 (en) I / O bus interface control method
GB2260836A (en) Bus Interface
KR100240923B1 (en) System and method for communicating between devices
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JPH02211571A (en) Information processor
JPH09259071A (en) Communication controller
JPH07109599B2 (en) Information transfer device for processing system

Legal Events

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