JPH05158838A - Semiconductor device for controlling communication - Google Patents

Semiconductor device for controlling communication

Info

Publication number
JPH05158838A
JPH05158838A JP3318086A JP31808691A JPH05158838A JP H05158838 A JPH05158838 A JP H05158838A JP 3318086 A JP3318086 A JP 3318086A JP 31808691 A JP31808691 A JP 31808691A JP H05158838 A JPH05158838 A JP H05158838A
Authority
JP
Japan
Prior art keywords
data
parallel
received
host device
circuit
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
JP3318086A
Other languages
Japanese (ja)
Inventor
Kazuo Ugawa
一雄 鵜川
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP3318086A priority Critical patent/JPH05158838A/en
Publication of JPH05158838A publication Critical patent/JPH05158838A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute the efficient transmission and reception of data by detecting the end of reception by a host device even in the case that received data is directly transferred to a memory without intermediary of the host device, in a communication controlling semiconductor device to be used in an information processor. CONSTITUTION:A serial/parallel conversion circuit 1 to convert a pulse signal received through an input terminal 8 into parallel data and a buffer register 2 to hold once the parallel-converted parallel data are provided. Besides, a host interface circuit 3 to interface with the host device and a comparator circuit 10 for comparing the received data with optional specified data are provided. Further, a register 9 to store the optional specified data and a pulse generation circuit and a control signal line to inform the outside of coincidence when the received data and the optional specified data coincide with each other are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置に使用され
る通信制御用半導体装置に関し、特に調歩同期方式によ
りデータの送受信を行い、かつダイレクトメモリアクセ
ス方式により受信データを上位装置を介さずにメモリへ
送る、通信制御半導体装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor device for communication control used in an information processing device, and more particularly to transmitting and receiving data by an asynchronous method and receiving data by a direct memory access method without passing through a host device. The present invention relates to a communication control semiconductor device for sending to a memory.

【0002】[0002]

【従来の技術】図2は通信制御半導体装置の従来例の全
体ブロック図を示す。
2. Description of the Related Art FIG. 2 shows an overall block diagram of a conventional example of a communication control semiconductor device.

【0003】入力端子8を通じて受信したパルス信号
を、並列データへ変換するシリパラ変換回路1と、パラ
レル変換された並列データを一旦保持しておくバッファ
レジスタ2と、上位装置とのインターフェイスを行う上
位装置インターフェイス回路3を有している。
A serial-parallel converter circuit 1 for converting a pulse signal received through an input terminal 8 into parallel data, a buffer register 2 for temporarily holding parallel-converted parallel data, and a host device for interfacing with a host device. It has an interface circuit 3.

【0004】また、ダイレクトメモリアクセス要求信号
4と、ダイレクトメモリアクセス許可信号5、およびデ
ータリード信号6をそれぞれ伝送する制御信号線を有し
ている。
Further, it has control signal lines for transmitting the direct memory access request signal 4, the direct memory access permission signal 5, and the data read signal 6, respectively.

【0005】次に実際の動作について説明する。Next, the actual operation will be described.

【0006】入力端子8より入力された受信信号パルス
は、シリパラ変換回路1により、並列データに変換さ
れ、一旦バッファレジスタ2へ保持される。
The received signal pulse input from the input terminal 8 is converted into parallel data by the serial-parallel conversion circuit 1 and temporarily held in the buffer register 2.

【0007】バッファレジスタ2にデータが入力される
と、上位インターフェイス回路3は、ダイレクトメモリ
アクセス要求信号4により、データを受信したことを、
ダイレクトメモリアクセルコントローラに知らせる。
When the data is input to the buffer register 2, the upper interface circuit 3 indicates that the data has been received by the direct memory access request signal 4,
Notify the direct memory accelerator controller.

【0008】ダイレクトメモリアクセスコントローラよ
り、ダイレクトメモリアクセス許可信号5が返されたと
き、データリード信号6に同期して受信データを、デー
タバス7と通して外部へ出力する。
When the direct memory access permission signal 5 is returned from the direct memory access controller, the received data is output to the outside in synchronization with the data read signal 6 through the data bus 7.

【0009】[0009]

【発明が解決しようとする課題】従来の通信制御用半導
体装置において、受信データを上位装置を介さず直接、
メモリへ転送を行うダイレクトメモリアクセス制御を用
いて上位装置へ転送を行う場合、データ長をあらかじめ
きめておかない限り、データ転送がいつ終了したのか、
上位装置では全く分らないという欠点があった。
In the conventional semiconductor device for communication control, the received data is directly transmitted without passing through the host device.
When transferring data to a higher-level device using direct memory access control that transfers data to the memory, unless the data length is set in advance, when the data transfer ends,
There was a drawback that the higher-level device did not know at all.

【0010】また、データ長がきまっているため、実際
に送受信するデータ長が短い場合でもきめられたデータ
長になるまで、余分のデータを送受信しなければならな
いことになってデータの転送効率が悪いという欠点があ
った。
Further, since the data length is fixed, extra data must be transmitted / received until the predetermined data length is reached even if the actually transmitted / received data length is short, resulting in poor data transfer efficiency. There was a drawback.

【0011】本発明の目的は、上位装置を介さずに受信
データを直接メモリに転送する場合において、受信デー
タ長をあらかじめきめておかなくても、上位装置で受信
終了が分り、この結果、データ長を自由に選択できるた
め、効率のよいデータの送受信を行える通信制御用半導
体装置を提供することにある。
An object of the present invention is to transfer the received data directly to the memory without passing through the host device, and even if the length of the received data is not set in advance, the host device recognizes the end of reception, and as a result, the data is received. It is an object of the present invention to provide a semiconductor device for communication control capable of efficiently transmitting and receiving data because the length can be freely selected.

【0012】[0012]

【課題を解決するための手段】本発明の情報処理装置に
使用される通信制御用半導体装置は、入力端子を通じて
受信したパルス信号を並列データへ変換するシリパラ変
換回路と、パラレル変換された並列データを一旦保持し
ておくバッファレジスタと、上位装置とのインターフェ
イスを行う上位装置インターフェイス回路と、受信デー
タと、プロトコルに定められた任意のデータとを比較す
るためのコンパレータ回路と、プロトコルに定められた
任意のデータを記憶しておくレジスタと、受信データ
と、プロトコルに定められた任意のデータとが一致した
場合、外部に一致したことを知らせるパルス発生回路
と、ダイレクトメモリアクセス要求信号、ダイレクトメ
モリアクセス許可信号、およびデータリード信号を伝送
する制御信号線を備えている。
A semiconductor device for communication control used in an information processing apparatus of the present invention comprises a serial-parallel conversion circuit for converting a pulse signal received through an input terminal into parallel data, and parallel-converted parallel data. Is temporarily held, a host device interface circuit for interfacing with a host device, a comparator circuit for comparing received data with arbitrary data specified in the protocol, and a protocol specified in the protocol If the register that stores arbitrary data, the received data, and the arbitrary data defined in the protocol match, the pulse generator that notifies the external match, direct memory access request signal, direct memory access Equipped with control signal line for transmitting permission signal and data read signal There.

【0013】[0013]

【作用】受信データのパルス列は、入力端子を通じてシ
リパラ変換回路に取り込まれパラレルのバイトデータへ
変換される。受信データと、比較データレジスタにあら
かじめ設定されている特定データとを比較するコンパレ
ータ回路は、比較の結果両者が同一データであった場
合、データ一致検出信号を上位装置に出力する。これに
より上位装置は受信終了が分り、従来技術にあったよう
な余分なダミーデータの受信をなくす。
The pulse train of the received data is taken into the serial-parallel conversion circuit through the input terminal and converted into parallel byte data. The comparator circuit, which compares the received data with the specific data preset in the comparison data register, outputs a data coincidence detection signal to the higher-level device if the comparison result shows that the both data are the same. As a result, the host device recognizes the end of reception and eliminates the reception of extra dummy data as in the prior art.

【0014】[0014]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0015】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0016】受信データのパルス列は、入力端子8を通
じて、本半導体装置のシステムクロックに同期して、シ
リパラ変換回路1に取り込まれる。
The pulse train of the received data is taken into the serial-parallel conversion circuit 1 through the input terminal 8 in synchronization with the system clock of this semiconductor device.

【0017】取り込まれたパルス列は、シリパラ変換回
路1により、シリアルデータからパラレルデータへ、た
とえば8ビットのバイトデータへ変換される。
The captured pulse train is converted by the serial-parallel conversion circuit 1 from serial data to parallel data, for example, 8-bit byte data.

【0018】シリアルビットデータから、パラレルビッ
トデータへ変換する場合の、パラレルビットデータのビ
ット長は、電源ON後、使用開始以前に本半導体装置に
予め設定済みであるものとする。
In the case of converting serial bit data to parallel bit data, it is assumed that the bit length of the parallel bit data is preset in the semiconductor device after the power is turned on and before the use is started.

【0019】シリパラ変換回路1で変換が終了した時点
で、受信データは、一旦バッファレジスタ2へ転送され
る。もしバッファレジスタに転送を行わないと、次に続
くパルス列にシリパラ変換回路上のデータが上書きされ
てしまい、正しいデータを上位装置に転送できなくなっ
てしまうからである。
When the conversion is completed in the serial-parallel conversion circuit 1, the received data is once transferred to the buffer register 2. If the data is not transferred to the buffer register, the next pulse train will be overwritten with the data on the serial-parallel conversion circuit, and the correct data cannot be transferred to the host device.

【0020】コンパレータ回路10は、バッファレジス
タ2に、シリパラ変換回路により変換されたデータが格
納されたことを検出すると、比較データレジスタ9にあ
らかじめ設定されているプロトコルに定められた任意の
データとの比較を行い、同一データだった場合、リード
信号6に同期させ、データ一致検出信号を信号線11を
通して、上位装置に出力する。
When the comparator circuit 10 detects that the buffer register 2 stores the data converted by the serial-parallel conversion circuit, the comparator circuit 10 compares the data with the arbitrary data defined in the protocol preset in the comparison data register 9. When the data is compared and the data is the same, the data coincidence detection signal is output to the host device through the signal line 11 in synchronization with the read signal 6.

【0021】同一データでなかった場合はデータ一致検
出信号は出力しない。
If they are not the same data, the data coincidence detection signal is not output.

【0022】前述の比較データレジスタ9には、電源O
N後、本半導体装置を使用開始以前に、プロトコルに定
められた任意のデータビット列長の比較データがあらか
じめ設定済みであるものとする。
The comparison data register 9 is provided with a power source O.
It is assumed that after N, before the start of using the present semiconductor device, comparison data having an arbitrary data bit string length defined in the protocol has been set in advance.

【0023】比較データレジスタ9に設定できるのは、
任意のデータビット列とするが、ただし、シリパラ変換
を行った後のパラレルデータのビット列以上の長さのデ
ータは設定されないものとする。
What can be set in the comparison data register 9 is
Although it is an arbitrary data bit string, it is assumed that data having a length equal to or larger than the bit string of the parallel data after the serial-parallel conversion is not set.

【0024】また、受信データと区別するためには、受
信データにない特定の制御コードを、あらかじめきめて
設定してもよい。
Further, in order to distinguish it from the received data, a specific control code not included in the received data may be set beforehand.

【0025】本半導体装置は、コンパレータ回路10
で、比較動作を行うのと同時に、上位インターフェイス
回路3では、シリパラ変換回路1よりバッファレジスタ
2に受信データが転送されたことを検出すると、ダイレ
クトメモリアクセス要求信号4により受信データの転送
準備が整ったことを外部のダイレクトメモリアクセスコ
ントローラに通知する。
This semiconductor device has a comparator circuit 10
At the same time as performing the comparison operation, when the upper interface circuit 3 detects that the received data is transferred from the serial-parallel conversion circuit 1 to the buffer register 2, the direct memory access request signal 4 prepares for the transfer of the received data. This is notified to the external direct memory access controller.

【0026】ここでいうダイレクトメモリアクセスコン
トローラとは、上位装置を介さず本半導体装置とメモリ
間で直接受信データを高速に転送できるよう制御するた
めの半導体装置の総称である。
The direct memory access controller mentioned here is a general term for a semiconductor device for controlling so that the received data can be directly transferred at high speed between the semiconductor device and the memory without passing through the host device.

【0027】本半導体装置は、ダイレクトメモリアクセ
スコントローラより、ダイレクトメモリアクセス要求信
号4に対し、ダイレクトメモリアクセス許可信号5の返
送を検出すると、データリード信号に同期させ、バッフ
ァレジスタ2に格納している受信データを、データバス
7を通し、外部に出力する。
In this semiconductor device, when the direct memory access controller detects that the direct memory access request signal 4 is returned to the direct memory access request signal 4, the semiconductor memory synchronizes with the data read signal and stores it in the buffer register 2. The received data is output to the outside through the data bus 7.

【0028】出力されたデータは、ダイレクトメモリア
クセスコントローラにより上位装置を介さず、直接メモ
リに書込まれる。
The output data is directly written into the memory by the direct memory access controller without passing through the host device.

【0029】この際、前述したが、受信データを外部に
出力するとき、比較データと受信データが一致していた
場合、同時に検出信号も信号線11を通して外部に出力
する。
At this time, as described above, when the reception data is output to the outside, if the comparison data and the reception data match, the detection signal is also output to the outside through the signal line 11 at the same time.

【0030】上位装置は、検出信号を受取り、あらかじ
め設定しておいた、プロトコルに定められた任意のデー
タと同一のデータが受信されたことを知ることができ
る。
The host device receives the detection signal and can know that the same data as the preset arbitrary data set in the protocol has been received.

【0031】このことは、言い換えれば、同一データを
受取るまでの、データの受信は全て終了したことを意味
する。
In other words, this means that all data reception until the reception of the same data is completed.

【0032】[0032]

【発明の効果】以上説明したように本発明は受信データ
と、プロトコルに定められた任意のデータとの比較回路
を付加することにより、ダイレクトメモリアクセス方式
により、受信データを上位装置を介さず、メモリに直接
転送する場合でも、受信データ長をあらかじめきめず任
意の長さであっても、受信終了が上位装置で検出できる
という結果を有する。
As described above, according to the present invention, by adding a comparison circuit for comparing the received data and the arbitrary data defined in the protocol, the received data can be transmitted by the direct memory access method without passing through the host device. Even when the data is directly transferred to the memory, the end of reception can be detected by the host device even if the length of the received data is not predetermined and the length is arbitrary.

【0033】このため、従来受信するデータ長をあらか
じめきめておかなければならない方式に比べ、自由にデ
ータ長を選択できるため、効率のよいデータの送受信を
行えるという効果がある。
Therefore, as compared with the conventional method in which the data length to be received must be determined in advance, the data length can be freely selected, so that there is an effect that efficient data transmission / reception can be performed.

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

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

【図2】一従来技術の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a conventional technique.

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

1 シリパラ変換回路 2 バッファレジスタ 3 上位インターフェイス回路 4 ダイレクトメモリアクセス要求信号 5 ダイレクトメモリアクセス許可信号 6 データリード信号 7 データバス 8 入力端子 9 比較データレジスタ 10 コンパレータ回路 11 出力端子 1 Silipara conversion circuit 2 Buffer register 3 Upper interface circuit 4 Direct memory access request signal 5 Direct memory access permission signal 6 Data read signal 7 Data bus 8 Input terminal 9 Comparison data register 10 Comparator circuit 11 Output terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 情報処理装置に使用され、かつ調歩同期
方式で送受信を行う通信制御用半導体装置であって、 入力端子を通じて受信したパルス信号を並列データへ変
換するシリパラ変換回路と、 パラレル変換された並列データを一旦保持しておくバッ
ファレジスタと、 上位装置とのインターフェイスを行う上位装置インター
フェイス回路と、 受信データと、プロトコルに定められた任意のデータと
を比較するためのコンパレータ回路と、 プロトコルに定められた任意のデータを記憶しておくレ
ジスタと、 受信データと、プロトコルに定められた任意のデータと
が一致した場合、外部に一致したことを知らせるパルス
発生回路と、 ダイレクトメモリアクセス要求信号、ダイレクトメモリ
アクセス許可信号、およびデータリード信号を伝送する
制御信号線とを有する通信制御用半導体装置。
1. A semiconductor device for communication control, which is used in an information processing device and transmits and receives in an asynchronous method, comprising: a serial-parallel conversion circuit for converting a pulse signal received through an input terminal into parallel data; and a parallel conversion circuit. Buffer register that temporarily holds the parallel data, the host device interface circuit that interfaces with the host device, the comparator circuit that compares the received data with the arbitrary data specified in the protocol, and the protocol When the register that stores the specified arbitrary data, the received data, and the arbitrary data specified by the protocol match, the pulse generation circuit that notifies the external match, the direct memory access request signal, Direct memory access permission signal and data read signal are transmitted Communication control semiconductor device and a control signal line.
JP3318086A 1991-12-02 1991-12-02 Semiconductor device for controlling communication Pending JPH05158838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3318086A JPH05158838A (en) 1991-12-02 1991-12-02 Semiconductor device for controlling communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3318086A JPH05158838A (en) 1991-12-02 1991-12-02 Semiconductor device for controlling communication

Publications (1)

Publication Number Publication Date
JPH05158838A true JPH05158838A (en) 1993-06-25

Family

ID=18095328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3318086A Pending JPH05158838A (en) 1991-12-02 1991-12-02 Semiconductor device for controlling communication

Country Status (1)

Country Link
JP (1) JPH05158838A (en)

Similar Documents

Publication Publication Date Title
US5079696A (en) Apparatus for read handshake in high-speed asynchronous bus interface
JPH03104459A (en) Data communication equipment
US20240078210A1 (en) Communication apparatus, communication system, and communication method
JPH05158838A (en) Semiconductor device for controlling communication
JPS6359042A (en) Communication interface equipment
JP2953878B2 (en) Data transfer system
KR960014177B1 (en) Data communication device for a parallel data processing system
KR910008420B1 (en) Interface circuit between cpu and peripheral i/o devices
JPS6384228A (en) Data transmission system between master station and plural slave stations
KR100223032B1 (en) Digital communication system
JP2708366B2 (en) Data processing system and auxiliary control device
JPH0477940B2 (en)
KR100262263B1 (en) Bus operational method of full electronic telephone exchange processor and device
JPS62234446A (en) Data reception
JP2581041B2 (en) Data processing device
JP3146864B2 (en) Unidirectional loop transmission circuit
JP2001094438A (en) Serial interface circuit
JP2005071278A (en) Clock synchronization serial data transfer method and system therefor
JPH03232334A (en) Asynchronous data reception circuit
JPS62269539A (en) Communication controller
JPH01246941A (en) System for controlling communication of computer data
JPS61129941A (en) Communication control system
JPS6116356A (en) Signal information scanning system
JPS62175850A (en) Channel device
JPH10228443A (en) Signal input device for inputting burst signal