JPH0479422A - Transmission control circuit - Google Patents

Transmission control circuit

Info

Publication number
JPH0479422A
JPH0479422A JP19026490A JP19026490A JPH0479422A JP H0479422 A JPH0479422 A JP H0479422A JP 19026490 A JP19026490 A JP 19026490A JP 19026490 A JP19026490 A JP 19026490A JP H0479422 A JPH0479422 A JP H0479422A
Authority
JP
Japan
Prior art keywords
data
register
parallel
bit
buffer 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
JP19026490A
Other languages
Japanese (ja)
Inventor
Yuhei Kozu
神津 雄平
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP19026490A priority Critical patent/JPH0479422A/en
Publication of JPH0479422A publication Critical patent/JPH0479422A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To increase the operation speed by providing first and second data buffer circuits, selecting these circuits to read out stored parallel data and converting it to a serial data. CONSTITUTION:An address control buffer circuit 1 including a first end bit register which performs the read operation synchronously with a first data register 11A and a data buffer circuit 2 including a second end bit register 13 which performs the read operation synchronously with a first data register 11B are provided. A parallel/serial converting circuit 5 or the like is provided which successively converts parallel data read out from circuits 1 and 2 to serial data DTS in accordance with a flag synchronizing signal FS to send this data DTS and outputs a read signal RD. Thus, plural frames are continuously transmitted without issuing a transmission request to a host system at each time of one frame, and the operation speed is increased and the execution efficiency of the host system is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は送信制御回路に関し、特に並列に入力されるパ
ラレルデータを所定のシリアルデータに変換して出力す
る送信制御回路に関する、。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a transmission control circuit, and more particularly to a transmission control circuit that converts parallel data input in parallel into predetermined serial data and outputs the same.

〔従来の技術〕[Conventional technology]

従来、規定された通信プロトコル、例えばHDL C(
High Level Data Link Cont
rol Procedure)によるフレーム・フォー
マットでは、複数のデータフィールド、すなわちアドレ
スフィールド、制御フィールド、伝達情報フィールド、
及びFe2(Frame CheckingSeque
nce)フィールドの4フイールドによって1フレーム
が構成されている。
Conventionally, defined communication protocols, such as HDL C (
High Level Data Link Cont
The frame format according to the ROL Procedure includes multiple data fields, namely an address field, a control field, a conveyance information field,
and Fe2(Frame Checking Sequence
One frame consists of four fields: nce) field.

ホス1−システムからパラレルデータをHDLCのシリ
アルデータに変換して送信する従来の送信制御回路とし
ては、第4図に示すような回路がある。
As a conventional transmission control circuit for converting parallel data into HDLC serial data and transmitting it from the host system, there is a circuit as shown in FIG.

この回路は、並列に送られてくるパラレルデータDTP
を、つぎに示す手順でHD L Cのシリアルのフレー
ム・フォーマットに変換して送信する。
This circuit uses parallel data DTP sent in parallel.
is converted into an HDLC serial frame format and transmitted using the following procedure.

まず、送信可能状態となると、アイドル送信モードにな
りフラグ生成回路3によりフラグパターンFPを送出す
る。この状態は、最初の送信データのパラレルデータD
TPがポストシステムがら送信バッファ・回路7に転送
されるまで継続される。通常、送信バッファ回路7は数
段から数十段のFTFO構成をとる。送信バッファ回路
7の格段はパラレルデータDTPを格納するためのnビ
ット単位のレジスタを備えたデータレジスタ]1と、1
ビツトのレジスタを備えたユースピッ1〜レジスタ12
と、1ピツ1〜のレジスタを備えたエンドビットレジス
タ13とから成る。
First, when it becomes possible to transmit, it enters an idle transmission mode and the flag generation circuit 3 sends out a flag pattern FP. In this state, the parallel data D of the first transmission data
This continues until the TP is transferred from the post system to the transmit buffer circuit 7. Typically, the transmission buffer circuit 7 has an FTFO configuration of several stages to several tens of stages. The main features of the transmission buffer circuit 7 are data registers 1 and 1, which are equipped with n-bit registers for storing parallel data DTP.
Use pins 1 to 12 with bit registers
and an end bit register 13 having registers of 1 bit 1 to 1.

ユースビットレジスタ12の格段のレジスタは、有効な
パラレルデータDTPがデータレジスタ11の対応する
段に存在することを示し5、エンドピットレジスタ13
は、データレジスタ11に存在するパラレルデータのう
ちの1つの送信フレームのfif&のパラレルデータの
位置を示す。
The special register of the use bit register 12 indicates that valid parallel data DTP is present in the corresponding stage of the data register 11 5, and the register of the end pit register 13
indicates the position of the fif& parallel data of one transmission frame among the parallel data existing in the data register 11.

ホストレジスタは書込み端のユースビットレジスタ12
のレジスタがリセットレベルであることを確認してから
パラレルデータDTPをデータレジスタ1]に書込む。
The host register is the use bit register 12 at the write end.
After confirming that the register is at the reset level, parallel data DTP is written to data register 1].

パラレルデータDTPが送信バッファ回路7に転送され
ると、パラレル・シリアル変換回路5は、フラグ生成回
路3からのフラグ同期信号FSにより、送信バッファ回
路7に対し読出し信号RDを送る。読出し信号RDによ
り送信バッファ回路7から読出されたパラレルデータは
パラレル・シリアル変換回路5に送られ、ここでシリア
ルデータDTSに変換されて送出される。
When the parallel data DTP is transferred to the transmission buffer circuit 7, the parallel-to-serial conversion circuit 5 sends a read signal RD to the transmission buffer circuit 7 in response to the flag synchronization signal FS from the flag generation circuit 3. The parallel data read out from the transmission buffer circuit 7 by the read signal RD is sent to the parallel/serial conversion circuit 5, where it is converted into serial data DTS and sent out.

パラレル・シリアル変換回路5がデータレジスタ11か
らエンドピットレジスタ13がセットレベルのパラレル
データを読出すと、これをシリアルデータDTSに変換
して送出するとともに、パラレル・シリアル変換動作を
終了する。
When the parallel-to-serial conversion circuit 5 reads out the parallel data at the set level of the end pit register 13 from the data register 11, it converts it into serial data DTS and sends it out, and ends the parallel-to-serial conversion operation.

HDLCのフレーム・フォーマットでは、FC8生成回
路により、パラレル・シリアル変換回路5からの最後の
シリアルデータに続けてFCSフィールドを送出し、更
にフラグ生成回路3によりフラグパターンFPを送出し
て1つのフレームの送信動作を完了する。
In the HDLC frame format, the FC8 generation circuit sends out the FCS field following the last serial data from the parallel-to-serial conversion circuit 5, and the flag generation circuit 3 sends out the flag pattern FP to complete one frame. Complete the send operation.

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

上述した従来の送信制御回路は、1つのフレームのパラ
レルデータがすべて同一の送信バッファ回路7内に格納
される構成となっているので、ホストシステムが送信バ
ッファ回路7に1つのフレームのアドレスデータ、制御
データを書込み、これに続く伝達情報を外部の記憶装置
からDMA転送で送信バッファ回路7に転送する場合、
1つのフレームのパラレルデータがすべて送信バッファ
回路7に転送された後、送信バッファ回路7が書込み可
能な状態にならなければ、次のフレームのパラレルデー
タを、転送することができす、1つのフレームのパラレ
ルデータの転送ごとにホストシステムからアドレスデー
タ、制御データを書込み、その後に伝達情報を外部の記
憶装置からDMA転送しなければならないため、高速な
動作ができないという欠点があり、また1つのフレーム
の送信の度に、ホストシステムに送信要求を出し、ホス
トシステムはこれを処理するので、ホストシステムの実
行効率も低下するという欠点がある。
The conventional transmission control circuit described above has a configuration in which all the parallel data of one frame is stored in the same transmission buffer circuit 7, so that the host system stores address data of one frame in the transmission buffer circuit 7, When writing control data and transferring subsequent transmission information from an external storage device to the transmission buffer circuit 7 by DMA transfer,
After all the parallel data of one frame has been transferred to the transmission buffer circuit 7, unless the transmission buffer circuit 7 becomes ready for writing, the parallel data of the next frame cannot be transferred. For each parallel data transfer, address data and control data must be written from the host system, and then the transmission information must be transferred via DMA from an external storage device, which has the disadvantage of not being able to operate at high speed. Each time a message is transmitted, a transmission request is issued to the host system, and the host system processes the request, which has the disadvantage that the execution efficiency of the host system also decreases.

本発明の目的は、1フレームごとにホストシステムに送
信要求を出さずに、連続して複数のフレームを送信する
ことがてき、動作の高速化をはかると共にホストシステ
ムの実行効率を向上させることができる送信制御回路を
提供することにある。
An object of the present invention is to be able to transmit multiple frames in succession without issuing a transmission request to the host system for each frame, thereby speeding up the operation and improving the execution efficiency of the host system. The purpose of this invention is to provide a transmission control circuit that can

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

本発明の送信制御回路は、並列に入力されるnビット単
位の第1のデータを複数単位順次格納する複数の第1の
nビットのレジスタを備え、選択信号及び読出し信号に
従って格納されているデータをnビット単位で並列に読
出すFIFO型の第1のデータレジスタを含む第1のデ
ータバッファ回路ど、並列に入力されるnビット単位の
第2のデータを複数単位順次格納する複数の第2のnビ
ットのレジスタを備え、前記選択信号及び読出し信号に
従って格納されているデータをnビット単位で並列に読
出すFIFO型の第2のデータレジスタ、並びに前記各
第2のnビットのレジスタと対応して設けられた1ビツ
トのレジスタを備え、前記第2のnビットのレジスタに
格納されているデータが1つのフレームの最終データで
あるときこの第2のnビットのレジスタと対応する前記
1ビツトのレジスタをセットレベルにし前記第2のデー
タレジスタの読出し動作と同期して格納されているデー
タを読出すエンドビットレジスタを含む第2のデータバ
ッファ回路と、前記読出し信号と前記エンドピッI・レ
ジスタの読出しデータとを人力し前記第1及び第2のデ
ータバッファ回路のうちの何れか一方を読出し動作状態
にする前記選択信号を出力するカウンタ回路と、前記第
1及び第2のデータレジスタから読出されたデータを順
次シリアルデータに変換して出力するパラレル・シリア
ル変換回路とを有している。
The transmission control circuit of the present invention includes a plurality of first n-bit registers that sequentially store a plurality of units of first data in n-bit units input in parallel, and the data is stored in accordance with a selection signal and a read signal. A first data buffer circuit includes a FIFO-type first data register that reads data in n-bit units in parallel, and a plurality of second data registers that sequentially store plural units of n-bit second data input in parallel. A FIFO-type second data register comprising n-bit registers and reading stored data in n-bit units in parallel according to the selection signal and readout signal, and corresponds to each of the second n-bit registers. and a 1-bit register provided in the second n-bit register, and when the data stored in the second n-bit register is the final data of one frame, the 1-bit register corresponding to the second n-bit register is provided. a second data buffer circuit including an end bit register that sets the register to a set level and reads stored data in synchronization with the read operation of the second data register; a counter circuit that outputs the selection signal that inputs the read data and puts one of the first and second data buffer circuits into a read operation state; and The parallel/serial conversion circuit sequentially converts the data into serial data and outputs the serial data.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

この実施例は、並列に入力されるnビット単位のアト1
/スデータ、制御データを複数単位順次格納する複数の
nビットのレジスタを備え、選択信号BS及び読出し信
号RDに従って格納されているデータをnビット単位で
並列に読出すPIFO型の第1のデータレジスタ11A
、この第1のデータレジスタIIAの各nビットのレジ
スタとそれぞれ対応して設けられた第1の1ビツトのレ
ジスタを備え、この第1のデータレジスタ11人の対応
するnピッ1へのレジスタに有効なパラレルデータが存
在するとき対応する第1の1ビツトのレジスタをセット
レベルにし、第1のデータレジスタ11Δと同期して読
出し動作を行う第1のユースビットレジスタ12A、並
びに第1のデータレジスタIIAの各nビットのレジス
タとそれぞれ対応して設けられた第2の1ビツトのレジ
スタを備え、この第1のデータレジスタ11Aの対応す
るnビットのレジスタのパラレルデータが1つのフI/
−ムの区切りまたは1つの送信の区切りのパラレルデー
タであるとき対応する第2の1ビツトのレジスタをセッ
トレベルにし、第1のデータレジスタ11Aと同期して
読出し動作を行う第1のエンドピットレジスタ13Aを
含むアドレス・制御バッファ回路1と、並列に入力され
るnビット単位の伝達情報を複数単位順次格納する複数
のnビットのレジスタを備え、選択信号BS及び読出し
信号RDに従って格納されているデータをnビット単位
で並列に読出すFIFO型の第2のデータレジスタ11
n、この第2のデータレジスタ11Bの各nビットのレ
ジスタとそれぞれ対応して設けられた第3の1ビツトの
レジスタを備え、この第2のデータレジスタ11Bの対
応するnビットのレジスタに有効なパラレルデータが存
在するとき対応する第3の1ビツトのレジスタをセラI
・レベルにし、第2のデータレジスタ1]、Bと同期し
て読出し動作を行う第2のユースビットレジスタ12B
、並びに第2のデータレジスタllnの各nビットのレ
ジスタとそれぞれ対応して設けられ第4の1ビツトのレ
ジスタを備え、この第2のデータレジスタ11Bの対応
するnビットのレジスタのパラレルデータが1つのフレ
ームの最終のパラレルデータであるとき対応する第4の
1ビツトのレジスタをセットレベルにし、第2のデータ
レジスタ11Bと同期して読出し動作を行う第2のエン
ドピットレジスタタ13aを含むデータバラファ回路2
と、送信可能状態になるとフラグ同期信号FSを出力す
ると共に最初のパラレルデータDTPがアドレス・制御
バッファ回路1に転送されるまでフラグパターンを送出
するフラグ生成回路3と、フラグ同期信号FSに従って
、アドレス・制御バッファ回路1及びデータバッファ回
路2から読出されたパラレルデータを順次シリアルデー
タDTSに変換して送出すると共に読出し信号RDを出
力するパラレル・シリアル変換回路5と、送信可能状態
になるとパラレル・シリアル変換回路5からの読出し信
号RDのカウントを開始しこのカウント値に応じてアド
レス・制御バッファ回路1及びデータバッファ回路2の
うちの何れか一方を読出し動作状態とする選択信号BS
を出力し、データバッファ回路2のエンドピットレジス
タ13Bからセットレベルのデータが入力されるとカウ
ント値をリセットして再び読出し信号RDのカウントを
開始するカウンタ回路6と、1フレームの所定の位置に
FCSフレームを挿入するFC8生成回路4とを有する
構成となっている。
In this embodiment, n bits of atto 1 are input in parallel.
A PIFO-type first data register that includes a plurality of n-bit registers that sequentially store a plurality of units of /space data and control data, and that reads stored data in n-bit units in parallel according to a selection signal BS and a read signal RD. 11A
, a first 1-bit register provided corresponding to each n-bit register of the first data register IIA, and a register for the corresponding n-bit 1 of the 11 first data registers. A first use bit register 12A and a first data register that set a corresponding first 1-bit register to a set level when valid parallel data exists and perform a read operation in synchronization with the first data register 11Δ; A second 1-bit register is provided corresponding to each n-bit register of the IIA, and the parallel data of the corresponding n-bit register of the first data register 11A is stored in one file I/A.
- A first end pit register that sets the corresponding second 1-bit register to the set level and performs a read operation in synchronization with the first data register 11A when the data is parallel data of a frame division or one transmission division. 13A, and a plurality of n-bit registers that sequentially store a plurality of n-bit transmission information input in parallel, and data stored in accordance with a selection signal BS and a read signal RD. FIFO-type second data register 11 that reads data in n-bit units in parallel.
n, a third 1-bit register provided corresponding to each n-bit register of this second data register 11B, and a third 1-bit register that is valid for the corresponding n-bit register of this second data register 11B. When parallel data exists, the corresponding third 1-bit register is set to
・A second use bit register 12B that performs a read operation in synchronization with the second data register 1] and B.
, and a fourth 1-bit register provided corresponding to each n-bit register of the second data register 11B, and the parallel data of the corresponding n-bit register of the second data register 11B is 1. When it is the final parallel data of one frame, the corresponding fourth 1-bit register is set to the set level, and the data register including the second end pit register 13a performs a read operation in synchronization with the second data register 11B. F circuit 2
Then, when the state becomes ready for transmission, a flag generation circuit 3 outputs a flag synchronization signal FS and sends out flag patterns until the first parallel data DTP is transferred to the address/control buffer circuit 1. - A parallel/serial conversion circuit 5 that sequentially converts the parallel data read from the control buffer circuit 1 and the data buffer circuit 2 into serial data DTS and sends it out, and also outputs a read signal RD; A selection signal BS that starts counting the read signal RD from the conversion circuit 5 and puts either the address/control buffer circuit 1 or the data buffer circuit 2 into a read operation state according to this count value.
and a counter circuit 6 which resets the count value and starts counting the read signal RD again when the set level data is input from the end pit register 13B of the data buffer circuit 2, and The configuration includes an FC8 generation circuit 4 that inserts an FCS frame.

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

まず、送信可能状態となると、アイドル送信モードにな
り、フラグ生成回路3によりフラグパターンFPを送出
する。この状態は、最初の送信データのパラレルデータ
I) T Pがホスl−システムからアドレス 制御バ
ッファ回路1に転送されるまで継続される。
First, when it becomes ready for transmission, it enters an idle transmission mode, and the flag generation circuit 3 sends out a flag pattern FP. This state continues until the parallel data I)TP of the first transmission data is transferred from the host system to the address control buffer circuit 1.

ホストシステム等から転送されてくるパラレルデータD
TPかアドレスデータ、制御データのときはアドレス・
制御バッファ回路1のデータレジスタ]、IAに格納さ
れ、伝達情報のときはデータバッファ回路2のデータレ
ジスタ11Bに格納される。
Parallel data D transferred from the host system, etc.
TP or address data, if it is control data, address/
data register of control buffer circuit 1], IA, and when it is transmission information, it is stored in data register 11B of data buffer circuit 2.

選択信号BSにより選択されたアドレス・制御バッファ
回路1またはデータバッファ回路2にパラレルデータが
格納されていることを確認すると、パラレル・シリアル
変換回路5は、フラグ生成回路3からのフラグ同期信号
FSに従ってアドレス・制御バッファ回路1.データバ
ッファ回路2及びカウンタ回路6に対し読出し信号RD
を送る。
When confirming that parallel data is stored in the address/control buffer circuit 1 or data buffer circuit 2 selected by the selection signal BS, the parallel/serial conversion circuit 5 converts the data according to the flag synchronization signal FS from the flag generation circuit 3. Address/control buffer circuit 1. Read signal RD to data buffer circuit 2 and counter circuit 6
send.

カウンタ回路6は送信可能状態になると、パラレル・シ
リアル変換回路5からの読出し信号RDのカウントを開
始する。カウント数に応じ選択信号BSを制御しパラレ
ルデータの読出し先を選択する。すなわちHDLCプロ
トコルでは、1,2バイト目であればアドレスデータ、
制御データであるので、アドレス・制御バッファ回路1
を、3バイト目以降であれば伝達情報と判断してデータ
バッファ回路2を選択する。
When the counter circuit 6 becomes ready for transmission, it starts counting the read signal RD from the parallel-serial conversion circuit 5. The selection signal BS is controlled according to the count number to select the read destination of the parallel data. In other words, in the HDLC protocol, the first and second bytes are address data,
Since it is control data, the address/control buffer circuit 1
If it is the third byte or later, it is determined to be transmission information and the data buffer circuit 2 is selected.

従って、送信開始すると、選択信号BSによりまず最初
にアドレス・制御バッファ回路1が選択される。
Therefore, when transmission starts, the address/control buffer circuit 1 is first selected by the selection signal BS.

アドレス・制御バッファ回路1から読出されたパラレル
データはパラレル・シリアル変換回路5に送られ、ここ
でnビット長のシリアルデータDTSに変換されて送出
される。引続きパラレルデータがアドレス・制御バッフ
ァ回路1から読出されると、つぎに選択信号BSはデー
タバッファ回路2を選択する。すなわち、1つのフレー
ムの3バイト目以降のパラレルデータはデータバッファ
回路2から読出される。
The parallel data read from the address/control buffer circuit 1 is sent to the parallel/serial conversion circuit 5, where it is converted into n-bit long serial data DTS and sent out. When parallel data is subsequently read from the address/control buffer circuit 1, the selection signal BS selects the data buffer circuit 2. That is, the parallel data starting from the third byte of one frame is read from the data buffer circuit 2.

そしてデータバッファ回路2のエンドピットレジスタ]
、]、nからセ・ントレベルのデータが言売出されると
、これと対応したデータレジスタIIBのパラレルデー
タシリアルデータDTSに変換して送出するとともに、
1フレームのパラレルデータのシリアルデータへの変換
動作を終了する。これと同時にカウンタ回路6もリセッ
トされ、選択信号BSは再びアドレス・制御バッファ回
路1を選択するが、HDLCのフレーム・フォーマット
では、最後に変換されたシリアルデータDTSに続けて
FC8生成回路4からFCSフィールドを送出し、更に
フラグ生成回路3からフラグパターンFPを送出して1
フレームの送信動作を完了する。
and the end pit register of data buffer circuit 2]
, ], When the cent level data is sent out from n, the parallel data in the corresponding data register IIB is converted into serial data DTS and sent out.
The operation of converting one frame of parallel data into serial data is completed. At the same time, the counter circuit 6 is also reset, and the selection signal BS selects the address/control buffer circuit 1 again. However, in the HDLC frame format, the last converted serial data DTS is followed by the FCS from the FC8 generation circuit 4. The field is sent out, and the flag pattern FP is sent out from the flag generation circuit 3.
Complete the frame transmission operation.

この実施例では、第1番目のフレームのアドレスデータ
、制御データが送出される前でも、アドレス・制御バッ
ファ回路1のデータレジスタ]、IAの書込み端側は空
いているので、予め第2番目のフレームのアドレスデー
タ、制御データをアドレス・制御バッファ回路1に転送
しておくことが可能である。また第2番目のフレームの
伝達情報を、第1番目のフレームの送信が完了する前に
チエイン機能等によりDMA転送を行い、データバッフ
ァ回路2に転送しても、選択信号BSにより第2番目の
アドレスデータ、制御データが送信されるまでデータバ
ッファ回路2に格納しておくことができ、第2番目のア
ドレスデータ、制御データに続けて送出することができ
る。
In this embodiment, even before the address data and control data of the first frame are sent, the data register of the address/control buffer circuit 1 and the write end side of the IA are vacant, so the second frame is It is possible to transfer frame address data and control data to the address/control buffer circuit 1. Furthermore, even if the transmission information of the second frame is transferred to the data buffer circuit 2 by DMA transfer using a chain function or the like before the transmission of the first frame is completed, the transmission information of the second frame is transferred to the data buffer circuit 2 by the selection signal BS. The address data and control data can be stored in the data buffer circuit 2 until they are sent, and can be sent out following the second address data and control data.

このように、アドレス・制御バッファ回路1及びデータ
バッファ回路2に次のフレームのパラレルデータが既に
書き込まれていれば、第1番目のフレームの送信が完了
した後、ホス1ヘシステムを介在することなく連続して
第2番目のフレームを送信することが可能である。
In this way, if the parallel data of the next frame has already been written to the address/control buffer circuit 1 and the data buffer circuit 2, the system can be sent to the host 1 after the transmission of the first frame is completed. It is possible to transmit the second frame in succession without any delay.

また、更に、アドレス・制御バッファ回路1あるいはデ
ータバッファ回路2に空きがあれば、次のフレームのパ
ラレルデータも格納しておくことも可能である。
Furthermore, if there is space in the address/control buffer circuit 1 or the data buffer circuit 2, it is also possible to store the parallel data of the next frame.

第2図では、3つのフレームに対し、パラレル・シリア
ル変換回i/+ 5が第1番目のフレームのアドレスデ
ータ、制御データをアドレス・制御バッファ回路1から
読出している時の、各フレーlわく第2図では、IF、
2ド、3Fとして示しである)の格納先を示している。
In FIG. 2, when the parallel/serial converter i/+ 5 is reading the address data and control data of the first frame from the address/control buffer circuit 1 for three frames, each frame In Figure 2, IF,
2F and 3F) are shown.

アドレス・制御バッファ回路1には、第2番目、第3番
目のフレーム(2F、3F”)のアI・レスデータ、制
御データが、またデータバッファ回路2には第1番目の
フレーム伝達情報かまた送信されずに格納されている。
The address/control buffer circuit 1 receives the address/address data and control data of the second and third frames (2F, 3F"), and the data buffer circuit 2 receives the first frame transmission information. It is also stored without being sent.

データバッファ回路2内のパラレルデータはすべて外部
記憶装置]、 OOからDMA転送されたものである。
All parallel data in the data buffer circuit 2 is DMA transferred from the external storage device OO.

第2番目、第3番目のフレームの伝達情報はまだデータ
バッファ回路2に転送されていない。
The transmission information of the second and third frames has not yet been transferred to the data buffer circuit 2.

上述したようにこの実施例では、各フレームのアドレス
データ、制御データをアドレス・制御バッファ回路1に
、伝達情報をデータバッファ回路2に分割して格納する
ので、複数のフレーl\を送信する場合には、ポストシ
ステムに1フレームことに送信要求を出さずに各フレー
ムのパラレルデータを予め書込むことがてきるので、ホ
ストシステムの介在なしに連続送信することが可能であ
る。
As described above, in this embodiment, the address data and control data of each frame are divided and stored in the address/control buffer circuit 1, and the transmission information is stored in the data buffer circuit 2. Therefore, when transmitting multiple frames, Since the parallel data of each frame can be written in advance without issuing a transmission request to the post system for each frame, continuous transmission is possible without the intervention of the host system.

第3図は本発明の第2の実施例を示すブロック図である
FIG. 3 is a block diagram showing a second embodiment of the invention.

通常、HD L Cプロトコルでは、アドレスフィール
ドが1バイト長、制御フィールドが1バイト長のフレー
ムが規格で定められた有効なフレームであるが、アドレ
ス拡張モードではアドレスフィールドは2バイト有効で
あり、またモジュロ128を使用した場合には、制御フ
ィールドは2バイトに拡張される。従ってHDLCプロ
トコルでのアドレスフィールド、制御フィールドは2〜
4バイト長に拡張できる。
Normally, in the HDLC protocol, a frame with an address field of 1 byte length and a control field of 1 byte length is defined as a valid frame according to the standard, but in address extension mode, the address field is 2 bytes valid, and If modulo 128 is used, the control field is expanded to 2 bytes. Therefore, the address field and control field in the HDLC protocol are 2~
Can be expanded to 4 bytes.

そこでこの実施例においては、このようなアドレスフィ
ールド、制御フィールドにも対処できるようにしたもの
で、カウンタ回路6Aを、選択カランI・値プログラム
信号CPにより、アドレス・制御バッファ回1i’i)
1及びデータバッファ回路2の読出し動作の選択切換え
のカウント値が変えられるようにしている。
Therefore, in this embodiment, it is possible to deal with such address fields and control fields, and the counter circuit 6A is controlled by the address/control buffer circuit 1i'i) by the selection column I/value program signal CP.
The count value for selecting the read operation of the data buffer circuit 1 and the data buffer circuit 2 can be changed.

その他の基本動作及び効果は第1の実施例と同様である
Other basic operations and effects are the same as in the first embodiment.

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

以上説明したように本発明は、入力されるパラレルデー
タのアドレスデータ、制御データを格納する第1のデー
タバッファ回路と、入力されるパラレルデータの伝達情
報を格納する第2のデータバッファ回路とを設け、これ
らデータバッファ回路を選択して格納されているパラレ
ルデータを読出しシリアルデータに変換する構成とする
ことにより、1フレームごとにホストシステムに送信要
求を出すという動作を行なわなくても連続して複数のフ
レームを送信することができ、従って動作の高速化をは
かることができ、かつホストシステムの実行効率を向上
させることができる効果かある。
As explained above, the present invention includes a first data buffer circuit that stores address data and control data of input parallel data, and a second data buffer circuit that stores transmission information of input parallel data. By selecting these data buffer circuits to read out the stored parallel data and convert it into serial data, data can be transmitted continuously without having to issue a transmission request to the host system for each frame. It is possible to transmit a plurality of frames, thereby increasing the speed of operation and improving the execution efficiency of the host system.

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

]7 第1図及び第2図はそれぞれ本発明の第1の実施例のブ
ロック図及びこの実施例の動作を説明するためのパラレ
ルデータの流れを示すブロック図、第3図は本発明の第
2の実施例のブロック図、第4図は従来の送信制御装置
の一例を示すブロック図である。 1・・・アドレス・制御バッファ回路、2・・・データ
バッファ回路、3・・・フラグ生成回路、4・・・F 
CS生成回路、5・・パラレル・シリアル変換回路、6
.6A・・・カウンタ回路、7・・・送信バッファ回路
、11.1.LA、IIB・・・データレジスタ、12
.12A、12B・・・ユースビットレジスタ、13.
13A、13B・・・エンドピットレジスタ、100・
・・外部記憶装置。
]7 FIGS. 1 and 2 are a block diagram of a first embodiment of the present invention and a block diagram showing the flow of parallel data for explaining the operation of this embodiment, and FIG. 3 is a block diagram of a first embodiment of the present invention. FIG. 4 is a block diagram showing an example of a conventional transmission control device. 1...Address/control buffer circuit, 2...Data buffer circuit, 3...Flag generation circuit, 4...F
CS generation circuit, 5...Parallel/serial conversion circuit, 6
.. 6A...Counter circuit, 7...Transmission buffer circuit, 11.1. LA, IIB...data register, 12
.. 12A, 12B...Use bit register, 13.
13A, 13B... End pit register, 100.
...External storage device.

Claims (1)

【特許請求の範囲】[Claims] 並列に入力されるnビット単位の第1のデータを複数単
位順次格納する複数の第1のnビットのレジスタを備え
、選択信号及び読出し信号に従つて格納されているデー
タをnビット単位で並列に読出すFIFO型の第1のデ
ータレジスタを含む第1のデータバッファ回路と、並列
に入力されるnビット単位の第2のデータを複数単位順
次格納する複数の第2のnビットのレジスタを備え、前
記選択信号及び読出し信号に従って格納されているデー
タをnビット単位で並列に読出すFIFO型の第2のデ
ータレジスタ、並びに前記各第2のnビットのレジスタ
と対応して設けられた1ビットのレジスタを備え、前記
第2のnビットのレジスタに格納されているデータが1
つのフレームの最終データであるときこの第2のnビッ
トのレジスタと対応する前記1ビットのレジスタをセッ
トレベルにし前記第2のデータレジスタの読出し動作と
同期して格納されているデータを読出すエンドビットレ
ジスタを含む第2のデータバッファ回路と、前記読出し
信号と前記エンドビットレジスタの読出しデータとを入
力し前記第1及び第2のデータバッファ回路のうちの何
れか一方を読出し動作状態にする前記選択信号を出力す
るカウンタ回路と、前記第1及び第2のデータレジスタ
から読出されたデータを順次シリアルデータに変換して
出力するパラレル・シリアル変換回路とを有することを
特徴とする送信制御回路。
It is equipped with a plurality of first n-bit registers that sequentially store plural units of first data in n-bit units that are input in parallel, and stores stored data in parallel in n-bit units according to a selection signal and a read signal. a first data buffer circuit including a FIFO-type first data register for reading data; and a plurality of second n-bit registers for sequentially storing plural units of n-bit second data input in parallel. a FIFO-type second data register for reading stored data in n-bit units in parallel according to the selection signal and the readout signal; A bit register is provided, and the data stored in the second n-bit register is 1.
When the data is the final data of one frame, the 1-bit register corresponding to the second n-bit register is set to the set level and the stored data is read out in synchronization with the read operation of the second data register. a second data buffer circuit including a bit register; and inputting the read signal and the read data of the end bit register to put one of the first and second data buffer circuits into a read operation state. A transmission control circuit comprising: a counter circuit that outputs a selection signal; and a parallel/serial conversion circuit that sequentially converts data read from the first and second data registers into serial data and outputs the serial data.
JP19026490A 1990-07-18 1990-07-18 Transmission control circuit Pending JPH0479422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19026490A JPH0479422A (en) 1990-07-18 1990-07-18 Transmission control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19026490A JPH0479422A (en) 1990-07-18 1990-07-18 Transmission control circuit

Publications (1)

Publication Number Publication Date
JPH0479422A true JPH0479422A (en) 1992-03-12

Family

ID=16255255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19026490A Pending JPH0479422A (en) 1990-07-18 1990-07-18 Transmission control circuit

Country Status (1)

Country Link
JP (1) JPH0479422A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0544012A1 (en) * 1991-06-04 1993-06-02 Oki Electric Industry Company, Limited Serial access memory
JP2007281358A (en) * 2006-04-11 2007-10-25 Dainippon Screen Mfg Co Ltd Substrate treatment method, and substrate treatment apparatus
JP2007298858A (en) * 2006-05-02 2007-11-15 Hoya Corp Method for producing substrate for mask blank, method for producing mask blank and method for producing mask for exposure, and mask blank and mask for exposure
JP2008130952A (en) * 2006-11-24 2008-06-05 Dainippon Screen Mfg Co Ltd Substrate treatment apparatus and substrate treatment method
JP2008135535A (en) * 2006-11-28 2008-06-12 Dainippon Screen Mfg Co Ltd Rear surface cleaning apparatus, substrate processing apparatus and rear surface cleaning method
JP2008235737A (en) * 2007-03-23 2008-10-02 Dainippon Screen Mfg Co Ltd Substrate processor and substrate processing method
US8029622B2 (en) 2006-09-13 2011-10-04 Dainippon Screen Mfg. Co., Ltd. Substrate processing apparatus, liquid film freezing method and substrate processing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0544012A1 (en) * 1991-06-04 1993-06-02 Oki Electric Industry Company, Limited Serial access memory
EP0544012A4 (en) * 1991-06-04 1998-07-15 Oki Electric Ind Co Ltd Serial access memory
JP2007281358A (en) * 2006-04-11 2007-10-25 Dainippon Screen Mfg Co Ltd Substrate treatment method, and substrate treatment apparatus
JP2007298858A (en) * 2006-05-02 2007-11-15 Hoya Corp Method for producing substrate for mask blank, method for producing mask blank and method for producing mask for exposure, and mask blank and mask for exposure
US8029622B2 (en) 2006-09-13 2011-10-04 Dainippon Screen Mfg. Co., Ltd. Substrate processing apparatus, liquid film freezing method and substrate processing method
JP2008130952A (en) * 2006-11-24 2008-06-05 Dainippon Screen Mfg Co Ltd Substrate treatment apparatus and substrate treatment method
JP2008135535A (en) * 2006-11-28 2008-06-12 Dainippon Screen Mfg Co Ltd Rear surface cleaning apparatus, substrate processing apparatus and rear surface cleaning method
JP2008235737A (en) * 2007-03-23 2008-10-02 Dainippon Screen Mfg Co Ltd Substrate processor and substrate processing method

Similar Documents

Publication Publication Date Title
JPS62233870A (en) Sequential communication controller
US5151999A (en) Serial communications controller for transfer of successive data frames with storage of supplemental data and word counts
JPH0630511B2 (en) Ring transmission system with variable station order
JPH0479422A (en) Transmission control circuit
US20190286589A1 (en) Apparatus and method to improve performance in dma transfer of data
JPH04312152A (en) Network input/output device
JP2006518069A (en) Processor array
US10853123B2 (en) Memory module
KR100546085B1 (en) Compression and decompression of serial port data and status using direct memory access
JP2823625B2 (en) Data processing device
JPH02278942A (en) Line data reception system
JPH0369244A (en) Data reception control circuit
JPH0326136A (en) Reception fifo control circuit
JP2944412B2 (en) Data transfer method and data transfer method
JPH09185882A (en) First-in first-out memory device with different size of input output data and its method
JPH0432922A (en) Interface control circuit
JPH03203445A (en) Line control system based upon switching of receiving buffer
JPH0259849A (en) Communication controller
JPH01161561A (en) Bus converter
JPH0458355A (en) Interface control circuit
JPH0528416B2 (en)
JPS6010344B2 (en) Input/output data transfer method
JPH0376557B2 (en)
JPH07110018B2 (en) Serial communication device
JPS58192153A (en) Zone bit forming circuit