JPH03192593A - Serial transmission fifo circuit - Google Patents
Serial transmission fifo circuitInfo
- Publication number
- JPH03192593A JPH03192593A JP1332014A JP33201489A JPH03192593A JP H03192593 A JPH03192593 A JP H03192593A JP 1332014 A JP1332014 A JP 1332014A JP 33201489 A JP33201489 A JP 33201489A JP H03192593 A JPH03192593 A JP H03192593A
- Authority
- JP
- Japan
- Prior art keywords
- register
- fifo
- data
- circuit
- transmission
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 45
- 230000004075 alteration Effects 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Shift Register Type Memory (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はシリアル送信用FIFO回路に関し、特ニ外部
ホストプロセッサに接続される通信用制御装置のシリア
ル送信用FIFO回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a serial transmission FIFO circuit, and more particularly to a serial transmission FIFO circuit for a communication control device connected to an external host processor.
従来、かかる通信制御装置におけるシリアル送信用FI
FO回路は、複数のFIFOレジスタおよび送信シフト
レジスタを用いて構成している。Conventionally, serial transmission FI in such a communication control device
The FO circuit is configured using a plurality of FIFO registers and a transmission shift register.
第2図はかかる従来の一例を示すシリアル送信用FIF
O回路の構成図である。Figure 2 shows an example of such a conventional serial transmission FIF.
FIG. 3 is a configuration diagram of an O circuit.
第2図に示すように、従来の通信用制御装置におけるF
IFO回路は通信用制御装置(図示省略)外部から書き
込まれたパラレルデータな格納しておくFIFOレジス
タ1〜3と、FIFOレジスタ3からのパラレルデータ
をシリアルデータに変換し、且つシリアルデータ線14
に送信する送信シフトレジスタ4と、パラレルデータを
FIFOレジスタ1に書き込むためのデータバス10と
を備えており、書き込み要求信号線15の出力はFIF
Oレジスタ3が空になりFIFOレジスタ1,2.3へ
書き込める状態になっていることを示す。As shown in Fig. 2, F in the conventional communication control device is
The IFO circuit has FIFO registers 1 to 3 that store parallel data written from outside the communication control device (not shown), converts the parallel data from the FIFO register 3 into serial data, and connects the serial data line 14.
It is equipped with a transmission shift register 4 for sending data to the FIFO register 1, and a data bus 10 for writing parallel data to the FIFO register 1, and the output of the write request signal line 15 is transmitted to the FIFO register 1.
This indicates that O register 3 is empty and ready for writing to FIFO registers 1, 2, and 3.
かかるFIFO回路において、FIFOレジスタ3が空
状態(この時、FIF○動作によりFIFOレジスタ1
,2も空の状態)になると、FIFOレジスタ3ヘパラ
レルデータを書き込むことを要求する。かかる構成は送
信シフトレジスタ4に格納されているデータが送信され
、送信アンダーラン状態(送信データがなくなり、シリ
アルデータが途中で切れてしまう状態)が発生する前に
、通信用制御装置外部からパラレルデータを書FO回路
の構成図である。In such a FIFO circuit, FIFO register 3 is in an empty state (at this time, FIFO register 1 is
, 2 are also empty), a request is made to write parallel data to FIFO register 3. In such a configuration, the data stored in the transmission shift register 4 is transmitted, and before a transmission underrun condition (a condition in which there is no transmission data and the serial data is cut off midway) occurs, the parallel FIG. 2 is a configuration diagram of an FO circuit for writing data.
第3図に示すように、このFIFO回路は前述した従来
例と同様に、通信用制御装置内の送信回路部であり、F
IFOレジスタ1〜3と、送信用シフトレジスタ4と、
データバス10とは第2図の回路と同一である。この例
ではFIFOレジス゛り2が空になり、書き込み要求信
号線15から出力サレると、FIFOレジスタ1および
2へ書き込める状態になっていること示す。すなわち、
FIFOレジスタ2が空になると、FIFOレジスタ2
ヘパラレルデータを書き込むことを要求する。As shown in FIG. 3, this FIFO circuit is a transmitting circuit section in a communication control device, similar to the conventional example described above, and is
IFO registers 1 to 3, transmission shift register 4,
Data bus 10 is the same as the circuit shown in FIG. In this example, when FIFO register 2 becomes empty and the write request signal line 15 outputs a signal, it indicates that FIFO registers 1 and 2 are ready for writing. That is,
When FIFO register 2 becomes empty, FIFO register 2
requests to write parallel data.
かかる構成は、送信シフトレジスタ4とFIFOレジス
タ3に格納されているデータが送信され、送信アンダー
ラン状態が発生する前に通信制御装置外からパラレルデ
ータを書き込むことができる場合に適している。This configuration is suitable when the data stored in the transmission shift register 4 and the FIFO register 3 is transmitted and parallel data can be written from outside the communication control device before a transmission underrun condition occurs.
上述した従来のシリアル送信用FIFO回路は、データ
の空であるFIFOレジスタ数が規定値3もしくは2に
達すると、書き込み要求信号をアクティブにしている。The conventional serial transmission FIFO circuit described above activates the write request signal when the number of empty FIFO registers reaches a specified value of 3 or 2.
しかしながら、送信レートが変わり、FIFO回路から
はき出される時間間隔が変化する場合、或いは書き込み
要求信号を出力してからFIFO回路へ書き込むまでの
時間が変化する場合には、書き込み要求を発生する制御
回路部を変更する必要があり、柔軟性がないという欠点
がある。However, if the transmission rate changes and the time interval for outputting from the FIFO circuit changes, or if the time from outputting the write request signal to writing to the FIFO circuit changes, the control circuit section that generates the write request may change. The disadvantage is that it requires changes and is not flexible.
本発明の目的は、かかる送信レートの変化によりデータ
をはき出す時間間隔の変更や書き込むまでの時間が変更
される場合にも容易に対処することのできるシリアル送
信用FIFO回路を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a serial transmission FIFO circuit that can easily cope with changes in the time interval at which data is output or the time until data is written due to changes in the transmission rate.
本発明のシリアル送信用FIFO回路は、外部ホストプ
ロセッサからのデータバスを介した制御により送受信動
作を行なう通信用制御装置内に設けられるシリアル送信
用FIFO回路において、前記外部ホストプロセッサか
らのパラレルデータを送信動作の順序どおりに格納する
複数のFIFOレジスタと、前記FIFOレジスタから
のデータを送出する送信シフトレジスタと、前記データ
バスに接続され且つ書き込み要求を制御するために所定
値を設定する制御用レジスタと、前記制御用レジスタの
内容および前記複数のFIFOレジスタの空き塞り情報
に基づき書き込み要求を発生する書き込み要求発生回路
とを有して構成される。The serial transmission FIFO circuit of the present invention is provided in a communication control device that performs transmission and reception operations under control from an external host processor via a data bus, and the serial transmission FIFO circuit receives parallel data from the external host processor. a plurality of FIFO registers that store data in the order of transmission operations, a transmission shift register that transmits data from the FIFO registers, and a control register that is connected to the data bus and that sets predetermined values to control write requests. and a write request generation circuit that generates a write request based on the contents of the control register and information on vacancies and occupancies of the plurality of FIFO registers.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すシリアル送信用FIF
O回路の構成図である。Figure 1 shows an FIF for serial transmission showing one embodiment of the present invention.
FIG. 3 is a configuration diagram of an O circuit.
第1図に示すように、本実施例は外部ホストプロセッサ
(図示省略)からの制御により送受信動作を行なう通信
用制御装置の一部を示しており、この外部ホストプロセ
ッサからデータバス10を介して受信したパラレルデー
タを送信動作の順序どおりに格納するFIFOレジスタ
1〜3と、データバス10に接続さh且つかかるシリア
ル送信用FIFO回路への書き込み要求の出力を制御す
る選択レジスタ5と、選択レジスタ5の内容およびFI
FOレジスタ1〜3の空き情報を基にしてFIFO回路
への書き込み要求を発生するための2人力AND6〜8
並びに3人力OR9からなる書き込み要求発生回路とを
有している。As shown in FIG. 1, this embodiment shows a part of a communication control device that performs transmission and reception operations under the control of an external host processor (not shown). FIFO registers 1 to 3 that store received parallel data in the order of transmission operations, a selection register 5 that is connected to the data bus 10 and that controls the output of a write request to the serial transmission FIFO circuit, and a selection register. 5 contents and FI
Two-man AND6-8 for generating a write request to the FIFO circuit based on the free information of FO registers 1-3
It also has a write request generation circuit consisting of a three-man OR9.
すなわち、本実施例では書き込み要求信号の出力を制御
するための制御用レジスタとしての選択レジスタ5と、
3種類の書き込み要求の内いずれかを選択する2人力A
ND6〜8と、3種類の書き込み要求を一つにまとめる
3人力OR9とを設け、書き込み要求信号線15により
FIFOレジスタ1〜3へのデータの書き込みを要求す
る。尚、11〜13はそれぞれFIFOレジスタ1〜3
が空であることを示すFIFOレジスタ・ステータス線
である。That is, in this embodiment, a selection register 5 is used as a control register for controlling the output of a write request signal;
Two-person power A to select one of three types of writing requests
NDs 6 to 8 and a three-manpower OR 9 for combining three types of write requests into one are provided, and a write request signal line 15 requests writing of data to the FIFO registers 1 to 3. Note that 11 to 13 are FIFO registers 1 to 3, respectively.
FIFO register status line indicating that the FIFO register is empty.
まず、FIFOレジスタ1〜3にデータが格納されてい
る状態で且つ送信シフトレジスタ4からデータが送信さ
れると、FIFO動作によりFIFOレジスタ1が空に
なり、この結果FIFOレジスタ・ステータス線11が
アクティブになる。First, when data is stored in FIFO registers 1 to 3 and data is transmitted from transmission shift register 4, FIFO register 1 becomes empty due to FIFO operation, and as a result, FIFO register status line 11 becomes active. become.
ここで、送信レートが速いなどの理由により送信アンダ
ーラン状態にならないように、この時点で書き込み要求
信号線15をアクティブにする必要があるシステムにお
いては、2人力AND6の出力がアクティブとなるよう
に2人力AND6の入力となる選択レジスタ5のビット
へあらかじめ“1”を設定しておく。Here, in a system where it is necessary to activate the write request signal line 15 at this point in order to prevent a transmission underrun state due to reasons such as a high transmission rate, the output of the two-man AND 6 should be activated. A bit of the selection register 5 which is an input to the two-man AND 6 is set to "1" in advance.
次に、書き込み要求信号線15をアクティブにしない場
合は、新たにパラレルデータの書き込みが行なわれない
。従って、送信シフトレジスタ4からデータが送信され
ると、FIFOレジスタlに続いてFIFOレジスタ2
も空になり、FIFOレジスタ・ステータス線12がア
クティブになる。ここで、書き込み要求信号線15をア
クティブにする必要があるシステムにおいては、2人力
AND7の出力がアクティブとなるように、2人力AN
D7の入力となる選択レジスタ5のビットへあらかじめ
“1パを設定しておく。Next, if the write request signal line 15 is not activated, no new parallel data will be written. Therefore, when data is transmitted from transmission shift register 4, FIFO register 1 is followed by FIFO register 2.
is also empty and the FIFO register status line 12 becomes active. Here, in a system where it is necessary to activate the write request signal line 15, the two-man power AND
"1pa" is set in advance to the bit of the selection register 5 which is the input to D7.
さらに、まだ書き込み要求を必要としない場合は、送信
シフトレジスタ4からデータが送信されると、F工Fo
レジスタ2に続いてFIFOレジスタ3も空になり、F
IFOレジスタ・ステータス線13をアクティブにする
。従って、2人力AND80入力となる選択レジスタ5
のビットへあらかじめ′1″を設定しておくことにより
、書き込み要求信号線15はアクティブになる。Furthermore, if a write request is not required yet, when the data is transmitted from the transmission shift register 4, the
Following register 2, FIFO register 3 is also emptied, and F
Activate IFO register status line 13. Therefore, the selection register 5 becomes a two-man AND80 input.
By setting the bit ``1'' in advance, the write request signal line 15 becomes active.
以上のように、選択レジスタ5に設定した値により、デ
ータが空のFIFOレジスタの任意数で書き込み要求を
発生させることができる。すなわち、シリアル送信用F
工FO回路への書き込み要求信号をシリアル送信用FI
FO回路の空きデータの固定数量ではなく、任意数量で
発生させることができる。As described above, depending on the value set in the selection register 5, a write request can be generated for any number of empty FIFO registers. That is, F for serial transmission
FI for serial transmission of write request signal to engineering FO circuit
Instead of a fixed amount of empty data in the FO circuit, any amount can be generated.
以上説明したように、本発明のシリアル送信用FIFO
回路は、書き込み要求を発生する制御回路部への設定値
を変更すること、すなわちデータが空のFIFOレジス
タの任意数を設定することにより、書き込み要求を発生
させることができるので、送信レートが変わってFIF
O回路からはき出される時間間隔が変化する場合、およ
び書き込み要求信号を出力してからFIFO回路へ書き
込むまでの時間が変化する場合のいずれに対しても、ハ
ードウェアの変更を行なうことなく、対応がとれるとい
う効果がある。As explained above, the serial transmission FIFO of the present invention
The circuit can generate a write request by changing the setting value to the control circuit section that generates the write request, that is, by setting an arbitrary number of empty FIFO registers, so that the transmission rate does not change. TeFIF
It is possible to deal with both cases where the time interval output from the O circuit changes and cases where the time from outputting the write request signal to writing to the FIFO circuit changes without changing the hardware. It has the effect of being removed.
第1図は本発明の一実施例を示すシリアル送信用FIF
O回路の構成図、第2図および第3図はそれぞれ従来の
一例および他の例を示すシリアル送信用FIFO回路の
構成図である。
1〜3・・・・・・FIFOレジスタ、4・・・・・・
送信シフトレジスタ、5・・・・・・選択レジスタ、6
〜8・・・・・・2人力AND、9・・・・・・3人力
0R110・・・・・・データバス、11〜13・・・
・・・F工FOレジスタ・ステータス線、14・・・・
・・シリアルデータ線、15・・・・・・書き込み要求
信号線。Figure 1 shows an FIF for serial transmission showing one embodiment of the present invention.
2 and 3 are block diagrams of a serial transmission FIFO circuit showing one conventional example and another example, respectively. 1 to 3... FIFO register, 4...
Transmission shift register, 5...Selection register, 6
~8...2-manpower AND, 9...3-manpower 0R110...Data bus, 11-13...
...F engineering FO register status line, 14...
...Serial data line, 15...Write request signal line.
Claims (2)
制御により送受信動作を行なう通信用制御装置内に設け
られるシリアル送信用FIFO回路において、前記外部
ホストプロセッサからのパラレルデータを送信動作の順
序どおりに格納する複数のFIFOレジスタと、前記F
IFOレジスタからのデータを送出する送信シフトレジ
スタと、前記データバスに接続され且つ書き込み要求を
制御するために所定値を設定する制御用レジスタと、前
記制御用レジスタの内容および前記複数のFIFOレジ
スタの空き塞り情報に基づき書き込み要求を発生する書
き込み要求発生回路とを有することを特徴とするシリア
ル送信用FIFO回路。(1) In a serial transmission FIFO circuit provided in a communication control device that performs transmission and reception operations under control via a data bus from an external host processor, parallel data from the external host processor is stored in the order of transmission operations. a plurality of FIFO registers, and the F
a transmission shift register that sends data from the IFO register; a control register that is connected to the data bus and sets a predetermined value to control write requests; 1. A FIFO circuit for serial transmission, comprising: a write request generation circuit that generates a write request based on free/full information.
において、書き込み要求発生回路を複数のアンド回路と
前記複数のアンド回路出力の論理和をとるオア回路で構
成したことを特徴とするシリアル送信用FIFO回路。(2) The serial transmission FIFO circuit according to claim (1), wherein the write request generation circuit is constituted by a plurality of AND circuits and an OR circuit that takes the logical sum of the outputs of the plurality of AND circuits. Trusted FIFO circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1332014A JPH03192593A (en) | 1989-12-20 | 1989-12-20 | Serial transmission fifo circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1332014A JPH03192593A (en) | 1989-12-20 | 1989-12-20 | Serial transmission fifo circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03192593A true JPH03192593A (en) | 1991-08-22 |
Family
ID=18250178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1332014A Pending JPH03192593A (en) | 1989-12-20 | 1989-12-20 | Serial transmission fifo circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03192593A (en) |
-
1989
- 1989-12-20 JP JP1332014A patent/JPH03192593A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5655090A (en) | Externally controlled DSP with input/output FIFOs operating asynchronously and independently of a system environment | |
| US20160344644A1 (en) | System and method for ordering of data transferred over multiple channels | |
| US5907485A (en) | Method and apparatus for flow control in packet-switched computer system | |
| US5572676A (en) | Network I/O device having fifo for synchronous and asynchronous operation | |
| US6912566B1 (en) | Memory device and method for operating the memory device | |
| US6584512B1 (en) | Communication DMA device for freeing the data bus from the CPU and outputting divided data | |
| JPH0512157A (en) | Serial data transmitter | |
| JPH03192593A (en) | Serial transmission fifo circuit | |
| US5712991A (en) | Buffer memory for I/O writes programmable selective | |
| US5764642A (en) | System for combining data packets from multiple serial data streams to provide a single serial data output and method therefor | |
| JPH023344B2 (en) | ||
| US7983168B2 (en) | One or more multiport systems to facilitate servicing of asynchronous communications events | |
| JPH08249273A (en) | Asynchronous transfer circuit with transfer speed switching function | |
| JP2944193B2 (en) | Data receiving device | |
| WO1999063699A2 (en) | Interprocessor communication using hardware mailboxes | |
| JPH05173876A (en) | Extended memory board | |
| JP2752834B2 (en) | Data transfer device | |
| JPS6120167A (en) | Data storage device | |
| KR100219045B1 (en) | Fifo circuit having dual channel | |
| JPH02141862A (en) | Data transfer control system | |
| KR100312533B1 (en) | Apparatus and method for processing a message in a printer disk spool | |
| JPS6188635A (en) | Signal transmitting and receiving circuit | |
| JPH09186738A (en) | Data transmission method | |
| JPH0616632B2 (en) | Communication device | |
| JPH11340876A (en) | Serial communication equipment and communication system provided with the same |