Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0342740B2 - - Google Patents
[go: Go Back, main page]

JPH0342740B2 - - Google Patents

Info

Publication number
JPH0342740B2
JPH0342740B2 JP59013174A JP1317484A JPH0342740B2 JP H0342740 B2 JPH0342740 B2 JP H0342740B2 JP 59013174 A JP59013174 A JP 59013174A JP 1317484 A JP1317484 A JP 1317484A JP H0342740 B2 JPH0342740 B2 JP H0342740B2
Authority
JP
Japan
Prior art keywords
interrupt
line
area
control protocol
computer
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
Application number
JP59013174A
Other languages
Japanese (ja)
Other versions
JPS60158750A (en
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 filed Critical
Priority to JP59013174A priority Critical patent/JPS60158750A/en
Publication of JPS60158750A publication Critical patent/JPS60158750A/en
Publication of JPH0342740B2 publication Critical patent/JPH0342740B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、高速通信方式に関し、特に、高速通
信回線に接続される端末装置の回線インターフエ
ース回路の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a high-speed communication system, and particularly to a control system for a line interface circuit of a terminal device connected to a high-speed communication line.

〔従来の技術〕[Conventional technology]

高速通信回線に接続される端末装置の回線イン
ターフエース回路の回線制御プロトコルLSIを中
心に構成する方式は公知である。回線制御プロト
コルLSIは、送信データを回線の制御プロトコル
に適合する信号形式に直列変換して送出する機
能、受信データを並列データに変換する機能、チ
エツクシーケンスの自動送出機能および自動チエ
ツク機能、送受信動作の完了やエラー発生等を割
込によつてコンピユータに通知する機能等を有し
ており、コンピユータの制御によつて動作する。
A method of configuring a line interface circuit of a terminal device connected to a high-speed communication line mainly using a line control protocol LSI is well known. The line control protocol LSI has the function of serially converting transmission data into a signal format compatible with the line control protocol and transmitting it, the function of converting received data to parallel data, the automatic check sequence transmission function and automatic check function, and the transmission/reception operation. It has a function of notifying the computer of the completion of the process, the occurrence of an error, etc. by means of an interrupt, and operates under the control of the computer.

すなわち、回線制御プロトコルLSIの初期設定
時および送受信完了またはエラー発生等による割
込発生時には、次のデータを正常に送受信するた
めに、割込発生要因に応じた適切な制御パラメー
タを発行する制御プログラムの実行が必要であ
る。しかし、端末装置が高速の通信回線に接続さ
れる場合には、高速側の回線速度に比してコンピ
ユータの動作速度が遅く、送受信完了時の割込処
理の実行時間がかかり、受信完了時に次のデータ
の受信に対する受信準備動作が遅く、また送信完
了時に次のデタの送信までに時間がかかるため高
速なデータ伝送が阻害されるという欠点がある。
In other words, when initializing the line control protocol LSI and when an interrupt occurs due to the completion of transmission/reception or the occurrence of an error, the control program issues appropriate control parameters according to the cause of the interrupt in order to properly transmit/receive the next data. It is necessary to carry out However, when the terminal device is connected to a high-speed communication line, the operating speed of the computer is slow compared to the high-speed line speed, and it takes time to execute the interrupt processing when the transmission/reception is completed, and the next time the reception is completed. The disadvantage is that the reception preparation operation for receiving the data is slow, and it takes time until the next data is transmitted after the transmission is completed, which impedes high-speed data transmission.

また、回線制御プロトコルLSIとメモリ内の送
受信データバツフア間のデータ転送を高速に行う
ために、DMAコントローラの制御によつて
DMA転送(ダイレクトメモリアクセス)を行う
ためには、前記コンピユータは送受信完了の割込
発生時に、次の送受信データのDMA転送に必要
とされる情報(例えば送受信データバツフアのア
ドレス)をDMAコントローラに通知しておく必
要がある。この処理のために、割込発生時におけ
るコンピユータの負担がより一層増大し、処理時
間はさらに長くなる。
In addition, in order to perform high-speed data transfer between the line control protocol LSI and the transmit/receive data buffer in memory,
In order to perform a DMA transfer (direct memory access), the computer notifies the DMA controller of the information required for the DMA transfer of the next transmitted/received data (for example, the address of the transmitted/received data buffer) when a transmission/reception completion interrupt occurs. It is necessary to keep it. This processing further increases the burden on the computer when an interrupt occurs and further increases the processing time.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

本発明の目的は、上述の従来の欠点を解決し、
回線制御プロトコルLSIからの割込発生時にコン
ピユータが実行すべき処理の1部を分担する回路
を回線制御プロトコルLSIとコンピユータとの間
に付加することによつて、コンピユータの負荷を
軽減し、制御プログラムの実行時間を短縮するこ
とができる高速通信のインターフエース回路を提
供することにある。
The purpose of the present invention is to solve the above-mentioned conventional drawbacks and
By adding a circuit between the line control protocol LSI and the computer that performs part of the processing that the computer should perform when an interrupt occurs from the line control protocol LSI, the load on the computer is reduced and the control program An object of the present invention is to provide a high-speed communication interface circuit that can shorten execution time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、高速回線に接続され、送受信のデー
タの直並列変換、チエツクシーケンスの自動送
出、自動チエツク、送受信動作の完了およびエラ
ー発生時に割込信号を送出する回線制御プロトコ
ルLSIと、送受信データバツフアのDMA転送を
制御するDMAコントローラと、これらを制御す
るコンピユータと、制御プログラム格納エリアお
よび送受信データバツフアエリアを有するメモリ
とを備え、これらがデータバスで接続された高速
回線のインターフエース回路において、 前記メモリは、前記回線制御プロトコルLSIに
対して発行すべき制御パラメータ、割込要因およ
び前記DMAコントローラに対して通知すべき前
記送受信データバツフアに関する情報をあらかじ
め記憶させておくためのパラメータエリアを有
し、前記回線制御プロトコルLSIからの割込信号
を入力して前記メモリエリアから必要な制御パラ
メータを読出して前記回線制御プロトコルLSIに
発行する手段と、前記割込信号を入力して前記送
受信データバツフアに関する情報前記DMAコン
トローラに通知し前記メモリエリアに割込要因を
書込み前記コンピユータに割込信号を送出する手
段とを含む割込制御回路を備えたことを特徴とす
る。
The present invention relates to a line control protocol LSI that is connected to a high-speed line and that performs serial-to-parallel conversion of transmitted and received data, automatically transmits a check sequence, performs an automatic check, and transmits an interrupt signal upon completion of transmitting and receiving operations and when an error occurs, and a transmitting and receiving data buffer. A high-speed line interface circuit in which a DMA controller for controlling DMA transfer, a computer for controlling these, a memory having a control program storage area and a transmission/reception data buffer area are connected by a data bus, The memory has a parameter area for storing in advance control parameters to be issued to the line control protocol LSI, interrupt factors, and information regarding the transmission/reception data buffer to be notified to the DMA controller; a means for inputting an interrupt signal from a line control protocol LSI to read necessary control parameters from the memory area and issuing them to the line control protocol LSI; The present invention is characterized by comprising an interrupt control circuit that notifies a controller, writes an interrupt cause in the memory area, and sends an interrupt signal to the computer.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説
明する。
Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例を示すブロツク図
である。すなわち、端末装置6とコンピユータ2
と回線制御プロトコルLSI1とがデータバス9に
接続され、送受信データはDMAコントローラ3
の制御によつて送受信データバツフアにDMA転
送される。参照数字8はDMA要求線である。回
線制御プロトコルLSI1は送受信データの並直列
変換、送受信完了またはエラー発生時の割込等を
行い、コンピユータ2の制御によつて動作するこ
とは従来と同様である。
FIG. 1 is a block diagram showing one embodiment of the present invention. That is, the terminal device 6 and the computer 2
and the line control protocol LSI 1 are connected to the data bus 9, and the sent and received data is sent to the DMA controller 3.
is DMA-transferred to the transmit/receive data buffer under the control of Reference numeral 8 is the DMA request line. The line control protocol LSI 1 performs parallel-serial conversion of transmitted/received data, interrupts when transmission/reception is completed or an error occurs, and operates under the control of the computer 2, as in the past.

しかし、本実施例においては、割込制御回路1
0をデータバス9に接続し、回線制御プロトコル
LSI1からの割込は割込信号線7によつて上記割
込制御回路10に入力させ、コンピユータ2への
割込信号は、該割込制御回路10から割込信号線
7′によつてコンピユータ2に出力する。そして、
データバス9に接続されたメモリ4は、制御プロ
グラムを格納した制御プログラム格納エリアa、
送受信データを一時蓄積するための送受信データ
バツフアエリアbの他に制御パラメータその他の
情報を格納するためのパラメータエリアcを有す
る。
However, in this embodiment, the interrupt control circuit 1
0 to data bus 9, line control protocol
Interrupts from the LSI 1 are input to the interrupt control circuit 10 via the interrupt signal line 7, and interrupt signals to the computer 2 are input from the interrupt control circuit 10 to the computer via the interrupt signal line 7'. Output to 2. and,
The memory 4 connected to the data bus 9 includes a control program storage area a that stores control programs;
In addition to a transmission/reception data buffer area b for temporarily storing transmission and reception data, it has a parameter area c for storing control parameters and other information.

第2図は、上記パラメータエリアc内のメモリ
エリアの設定の一例を示す図である。制御パラメ
ータエリア11には、割込発生時に回線制御プロ
トコルLSI1に対して発行すべきEOI(エンドオブ
インタラプト)コマンド、エラーリセツトコマン
ド等があらかじめ設定されている。受信DMA情
報エリア12には、受信データのDMA転送先、
すなわち受信データバツフアのアドレスと長さを
示すパラメータを設定しておく。送信DMA情報
エリア13は、送信データのバツフアアドレスと
長さを設定しておくためのエリアである。受信割
込要因エリア14と送信割込要因エリア15は、
割込制御回路10がコンピユータ2に割込発生要
因を通知するために使用するエリアである。
FIG. 2 is a diagram showing an example of setting the memory area in the parameter area c. In the control parameter area 11, an EOI (end of interrupt) command, an error reset command, etc. to be issued to the line control protocol LSI 1 when an interrupt occurs are set in advance. The reception DMA information area 12 includes the DMA transfer destination of the reception data,
That is, parameters indicating the address and length of the received data buffer are set. The transmission DMA information area 13 is an area for setting the buffer address and length of transmission data. The reception interrupt cause area 14 and the transmission interrupt cause area 15 are
This is an area used by the interrupt control circuit 10 to notify the computer 2 of the cause of an interrupt occurrence.

次に本実施例の受信完了時の動作について説明
する。
Next, the operation at the time of completion of reception in this embodiment will be explained.

回線制御プロトコルLSI1から受信完了の割込
が発生し、割込信号線7によつて割込制御回路1
0に通知されると、割込制御回路10は、メモリ
4の制御パラメータエリア11から必要な制御パ
ラメータを出力させ、該制御パラメータはデータ
バス9を介して回線制御プロトコルLSI1に入力
される。この割込要因の判定は、回線制御プロト
コルLSI1からの割込の種類に応じてなされる
が、例えばベクトル割込であれば割込ベクトルを
読み、また単一割込であれば割込受付時にあらか
じめ定められたI/Oポートの入力データを参照
することにより判定できる。このようにして割込
制御回路10は回線制御プロトコルLSI1からの
割込信号により受信完了という割込要因に対応す
る制御パラメーラを出力させる。
A reception completion interrupt occurs from the line control protocol LSI 1, and is sent to the interrupt control circuit 1 via the interrupt signal line 7.
0, the interrupt control circuit 10 outputs the necessary control parameters from the control parameter area 11 of the memory 4, and the control parameters are input to the line control protocol LSI 1 via the data bus 9. This determination of the interrupt cause is made according to the type of interrupt from the line control protocol LSI 1. For example, if it is a vector interrupt, read the interrupt vector, or if it is a single interrupt, when the interrupt is accepted. This can be determined by referring to input data of a predetermined I/O port. In this manner, the interrupt control circuit 10 outputs a control parameter corresponding to the interrupt factor of reception completion in response to the interrupt signal from the line control protocol LSI 1.

これにより回線制御プロトコルLSI1は、制御
パラメータにより、割込信号の発生を中止する。
また割込要因がエラー発生時にはその内容を示す
値等を保持する内部メモリあるいはレジスタ等を
初期値に設定する等のエラーリセツト処理を行
う。
As a result, the line control protocol LSI 1 stops generating interrupt signals according to the control parameters.
Furthermore, when an error occurs as an interrupt factor, error reset processing is performed, such as setting internal memory or registers that hold values indicating the contents to initial values.

さらに割込制御回路10は、受信DMA情報エ
リア12から次に受信するデータを転送すべき受
信データバツフアのアドレス情報を読出して
DMAコントローラ3に通知し、受信割込要因エ
リア14には受信の正常完了を意味するパラメー
タをセツトした後割込信号線7′によつてコンピ
ユータ2に割込を行う。
Furthermore, the interrupt control circuit 10 reads address information of the receive data buffer to which the next received data is to be transferred from the receive DMA information area 12.
After notifying the DMA controller 3 and setting a parameter indicating normal completion of reception in the reception interrupt cause area 14, an interrupt is made to the computer 2 via the interrupt signal line 7'.

コンピユータ2は、受信割込要因エリア14か
ら割込要因を読出して受信が正常に完了したこと
を確認した後、受信DMA情報エリア12に次の
次に受信するデータのバツフア情報を準備してお
く。このバツフア情報は、次の受信完了の割込発
生時に割込制御回路10からDMAコントローラ
3に通知するための情報である。このように、受
信割込発生時に必要とされる各種パラメータ類を
すべてあらかじめパラメータエリアcに準備して
おくことにより、割込制御回路10が割込発生要
因に応じた迅速な処理を行うことができる。受信
完了時におけるコンピユータ2の実行する処理
は、受信完了の確認と受信DMA情報エリア12
の準備だけに限定されるため、プログラムの実行
時間が大幅に短縮され、迅速に次のデータを受信
することができるという効果がある。送信動作に
ついても、パラメータエリアcに必要なパラメー
タ類を準備しておくことにより、上記同様に割込
制御回路10による高速処理が可能である。
After reading the interrupt factor from the reception interrupt cause area 14 and confirming that the reception has been completed normally, the computer 2 prepares buffer information for the next data to be received in the reception DMA information area 12. . This buffer information is information for the interrupt control circuit 10 to notify the DMA controller 3 when the next reception completion interrupt occurs. In this way, by preparing all the various parameters required when a reception interrupt occurs in the parameter area c in advance, the interrupt control circuit 10 can perform prompt processing according to the cause of the interrupt occurrence. can. The processing executed by the computer 2 upon completion of reception is to confirm the completion of reception and to check the reception DMA information area 12.
The program execution time is greatly reduced, and the next data can be received quickly. Regarding the transmission operation, high-speed processing by the interrupt control circuit 10 is possible in the same manner as described above by preparing necessary parameters in the parameter area c.

〔発明の効果〕〔Effect of the invention〕

以上のように、本発明においては、メモリにパ
ラメータエリアを設けて該パラメータエリアに割
込発生時の処理に必要なパラメータ類をあらかじ
め準備しておき、割込制御回路の制御によつて上
記パラメータエリアから読出したパラメータによ
つてコンピユータへの割込および送受信準備の実
行を行うように構成したから、コンピユータの負
担を軽減し高速処理が可能となる効果がある。
As described above, in the present invention, a parameter area is provided in the memory, parameters necessary for processing when an interrupt occurs are prepared in advance, and the above parameters are controlled by the interrupt control circuit. Since the configuration is such that an interrupt to the computer and preparation for transmission/reception are executed based on the parameters read from the area, the load on the computer is reduced and high-speed processing becomes possible.

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

第1図は本発明の一実施例を示すブロツク図。
第2図は上記実施例のパラメータエリアの構成例
を示す図。 1……回線制御プロトコルLSI、2……コンピ
ユータ、3……DMAコントローラ、4……メモ
リ、5……高速回線、6……端末装置、7……割
込信号線、8……DMA要求線、9……データバ
ス、10……割込制御回路、11……制御パラメ
ータエリア、12……受信DMA情報エリア、1
3……送信DMA情報エリア、14……受信割込
要因エリア、15……送信割込要因エリア、a…
…制御プログラム格納エリア、b……送受信デー
タバツフアエリア、c……パラメータエリア。
FIG. 1 is a block diagram showing one embodiment of the present invention.
FIG. 2 is a diagram showing an example of the configuration of the parameter area of the above embodiment. 1... Line control protocol LSI, 2... Computer, 3... DMA controller, 4... Memory, 5... High speed line, 6... Terminal device, 7... Interrupt signal line, 8... DMA request line , 9... Data bus, 10... Interrupt control circuit, 11... Control parameter area, 12... Reception DMA information area, 1
3...Transmission DMA information area, 14...Reception interrupt cause area, 15...Transmission interrupt cause area, a...
...control program storage area, b...transmission/reception data buffer area, c...parameter area.

Claims (1)

【特許請求の範囲】 1 高速回線に接続され、送受信のデータの直並
列変換、チエツクシーケンスの自動送出、自動チ
エツク、送受信動作の完了およびエラー発生時に
割込信号を送出する回線制御プロトコルLSI1
と、送受信データバツフアのDMA転送を制御す
るDMAコントローラ3と、これらを制御するコ
ンピユータ2と、制御プログラム格納エリアおよ
び送受信データバツフアエリアを有するメモリ4
とを備え、これらがデータバス9で接続された高
速回線のインターフエース回路において、 前記メモリは、前記回線制御プロトコルLSIに
対して発行すべき制御パラメータ、割込要因およ
び前記DMAコントローラに対して通知すべき前
記送受信データバツフアに関する情報をあらかじ
め記憶させておくためのパラメータエリアを有
し、 前記回線制御プロトコルLSIからの割込信号を
入力して前記メモリエリアから必要な制御パラメ
ータを読出して前記回線制御プロトコルLSIに発
行する手段と、前記割込信号を入力して前記送受
信データバツフアに関する情報を前記DMAコン
トローラに通知し前記メモリエリアに割込要因を
書込み前記コンピユータに割込信号を送出する手
段とを含む割込制御回路10を備えた ことを特徴とする高速通信回線のインターフエー
ス回路。
[Scope of Claims] 1. A line control protocol LSI 1 connected to a high-speed line, which performs serial-parallel conversion of transmitted and received data, automatically transmits a check sequence, automatically checks, completes transmitting and receiving operations, and transmits an interrupt signal when an error occurs.
, a DMA controller 3 that controls DMA transfer of the transmit/receive data buffer, a computer 2 that controls these, and a memory 4 having a control program storage area and a transmit/receive data buffer area.
and a high-speed line interface circuit in which these are connected by a data bus 9, the memory stores control parameters to be issued to the line control protocol LSI, interrupt factors, and notifications to the DMA controller. It has a parameter area for pre-memorizing information regarding the transmitting/receiving data buffer to be transmitted, and inputs an interrupt signal from the line control protocol LSI, reads necessary control parameters from the memory area, and executes the line control protocol. and means for inputting the interrupt signal to notify the DMA controller of information regarding the transmitting/receiving data buffer, writing an interrupt cause in the memory area, and transmitting the interrupt signal to the computer. 1. An interface circuit for a high-speed communication line, comprising a control circuit 10.
JP59013174A 1984-01-27 1984-01-27 High-speed communication system Granted JPS60158750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59013174A JPS60158750A (en) 1984-01-27 1984-01-27 High-speed communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59013174A JPS60158750A (en) 1984-01-27 1984-01-27 High-speed communication system

Publications (2)

Publication Number Publication Date
JPS60158750A JPS60158750A (en) 1985-08-20
JPH0342740B2 true JPH0342740B2 (en) 1991-06-28

Family

ID=11825815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59013174A Granted JPS60158750A (en) 1984-01-27 1984-01-27 High-speed communication system

Country Status (1)

Country Link
JP (1) JPS60158750A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62175043A (en) * 1986-01-28 1987-07-31 Nec Corp Transmitting receiving control system for loop type communicating system

Also Published As

Publication number Publication date
JPS60158750A (en) 1985-08-20

Similar Documents

Publication Publication Date Title
US5175818A (en) Communication interface for independently generating frame information that is subsequently stored in host memory and sent out to transmitting fifo by dma
JP2829091B2 (en) Data processing system
JPH0342740B2 (en)
GB1574470A (en) Intelligent input-output interface control unit for input-output system
US5113513A (en) Apparatus and method for loading a program in an external storage device connected to one bus into a memory connected to a different bus
JPH11252150A (en) Network connection device and network connection control method
JPS61123244A (en) Data communication processor
JPS6378257A (en) Input-output controller
JPS63228856A (en) Communication controller
JPS6126706B2 (en)
JPS6253046A (en) Industrial robot data communication equipment
JP2667285B2 (en) Interrupt control device
JP3227273B2 (en) Link processing method of programmable controller
JPS6130300B2 (en)
JP2508982B2 (en) In-device control method
JP2524620B2 (en) Input / output control method
JPS61237149A (en) Program loading system
JPH0249584B2 (en)
JPH01126749A (en) Data control device for peripheral equipment
JPH03296105A (en) Information transfer method for programmable controller
JPS62232057A (en) Pseudo dma system
JPS63182764A (en) Memory control system
JPH0194741A (en) Interruption control system for communications control equipment
JPS6245575B2 (en)
JPH0337220B2 (en)