JPS63263857A - Data input/output device - Google Patents
Data input/output deviceInfo
- Publication number
- JPS63263857A JPS63263857A JP62098826A JP9882687A JPS63263857A JP S63263857 A JPS63263857 A JP S63263857A JP 62098826 A JP62098826 A JP 62098826A JP 9882687 A JP9882687 A JP 9882687A JP S63263857 A JPS63263857 A JP S63263857A
- Authority
- JP
- Japan
- Prior art keywords
- data
- bit
- data block
- output device
- data input
- 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
- 238000010586 diagram Methods 0.000 description 2
- 238000009835 boiling Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はパケット交換処理に関し、特に回線からのデー
タを入力し上位装置へ出力するデータ入出力装置に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to packet switching processing, and particularly to a data input/output device that inputs data from a line and outputs it to a host device.
従来、この種のデータ入出力装置は、入力したデータブ
ロックの終了をデータ入力装置が検出した復、メモリ面
を切り替えて次のデータブロックをFIFOに書込んで
いた。Conventionally, this type of data input/output device switches the memory plane and writes the next data block to the FIFO after the data input device detects the end of the input data block.
上述した従来のデータ入出力装置は データ入力装置で
データブロック終了の検出をし茹後、FIFOのメモリ
面を切り替えて、次のデータブロックを書込んでいたの
で、入出力装置の他にメモリ面切替回路をもたねばなら
ず、また短いデータブロックを入力した時はメモリ面に
余裕があるにもかかわらずデータブロック毎にメモリ面
を切り替えていたのでメモリ面が無駄になるうえ、メモ
リ面を切り替゛えている間にすぐ次のデータブロックが
出来た場合、データが欠ける可能性がある等の欠点があ
る。In the conventional data input/output device mentioned above, the data input device detects the end of the data block, and after boiling, the FIFO memory surface is switched and the next data block is written. It is necessary to have a switching circuit, and when a short data block is input, the memory surface is switched for each data block even though there is plenty of memory space, which not only wastes memory space, but also reduces the memory space. If the next data block is created immediately during switching, there is a drawback that data may be missing.
本発明のデータ入出力装置は、データを入力し、データ
ブロック終了を検出すると、データブロック終了信号を
出力するデータ入力装置と、(b+1)ビット×Wワー
ド構成で、データ入力表=に入力されたデータを蓄積し
、データブロック終了信号か伝えられると第(b+1)
ビット目を“1″′にし、第1〜第bビット目までに任
意のデータを書込むFIFOと、FIFOからのデータ
を読出し、読出しに際し第(b+1)ビット目が“]”
であるな−らばデータブロックの鞍了と判定して上位装
百に伝えるデータ出力装置とを有する。The data input/output device of the present invention includes a data input device that inputs data and outputs a data block end signal when it detects the end of a data block, and a data input table with a configuration of (b+1) bits x W words. When the data block end signal is transmitted, the (b+1)th data is stored.
A FIFO in which the bit is set to "1"' and arbitrary data is written to the 1st to b-th bits, and data is read from the FIFO, and when reading, the (b+1)th bit is set to "]"
If not, the data output device determines that the data block is complete and notifies the higher-level system of the data block.
したがって、メモリ面をデータブロック毎に切り替える
必要かなくなるので、メモリ面の節約になり、メモリ面
切替回路も不要になり、また短いデータブロックを入力
してもメモリ内でデータブロックの終了を判定できるた
めデータが欠けない。Therefore, there is no need to switch the memory plane for each data block, which saves memory space, eliminates the need for a memory plane switching circuit, and even when inputting a short data block, it is possible to determine the end of the data block within the memory. Therefore, no data is missing.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のデータ入出力装置の一実施例を示すブ
ロック図である。FIG. 1 is a block diagram showing an embodiment of a data input/output device of the present invention.
本実施例は、回線からのデータを入力するデータ入力表
31と、データ入力装置1の出力データBを蓄A資する
(b+1)ビット×Wワード1真成のFIFO2(図中
3は1〜(b+ 1 )幅のデータを示す)と、FIF
O2のデータCを読出し上位装W1(不図示)へ出力す
るデータ出力装=4で構成されている。This embodiment has a data input table 31 for inputting data from a line, and a FIFO 2 (3 in the figure indicates 1 to ( b + 1 ) width data) and FIF
The data output device 4 is configured to read data C of O2 and output it to a host device W1 (not shown).
データ入力装置1に入力されたデータAは、FIFO2
へ積み込まれる。ここで、データブロックの終了でなけ
れば3の(b+1)ビットは“O”である、FIFO2
へ書込まれたデータはデータ出力装M4に入り、上位装
フヘ出力される。もしデータブロックの終了をデータ入
力装置1が検出した場合、データブロック終了信号をF
IFO2へ伝える。データブロック終了信号を受信した
FI FO2では、(b+1)ビットを“1″にしノ、
第1〜第bビット目までに任意のデータを設定する。デ
ータCによりデータブロックの終了を判定したデータ出
力装M4は、それを上位装置に伝える0次のデータプロ
・ンクを入力したFI FO2はデータブロック終了信
号を受信するまで、再び(b+1 )ビット目を“0″
(こする。Data A input to data input device 1 is stored in FIFO 2
loaded into. Here, if the data block does not end, the (b+1) bit of 3 is “O”, FIFO2
The data written to the data output device M4 enters the data output device M4 and is output to the host device. If the data input device 1 detects the end of the data block, the data block end signal is
Inform IFO2. Upon receiving the data block end signal, FIFO2 sets the (b+1) bit to “1” and
Arbitrary data is set in the first to b-th bits. The data output device M4 determines the end of the data block based on the data C, and the FIFO 2, which inputs the 0th order data block that conveys this to the host device, outputs the (b+1)th bit again until it receives the data block end signal. “0”
(Rub.
(発明の効果〕
以上説明したように本発明は、データの入力装置とデー
タ出力装置の藺に配冒された(b+1)どットxWワー
ド構成のFIFOにおいて、データブロックの終了を判
定した時に、第(b+1)ビット目を“1″にし、第1
〜第bビット目までには任意のデータを設定し、これを
データ出力装置に伝えることにより、メモリ面をデータ
ブロック毎に切り替える必要がなくなるのでメモリ面の
節約になり、メモリ面切替回路も不要になり、また短い
データブロックを入力してもメモリ内でデータブロック
の終了を判定できるためデータが欠けないなど、従来よ
り高速、かつ効率よくデータの入出力制御できる効果が
ある。(Effects of the Invention) As explained above, the present invention provides a FIFO having a (b+1) dot x W word structure, which is applied to a data input device and a data output device, when determining the end of a data block. , the (b+1)th bit is set to “1”, and the first
By setting arbitrary data up to the b-th bit and transmitting this to the data output device, there is no need to switch the memory surface for each data block, saving memory space and eliminating the need for a memory surface switching circuit. Moreover, even if a short data block is input, the end of the data block can be determined in the memory, so no data is lost, and data input/output can be controlled faster and more efficiently than before.
第1図は本発明のデータ入出力装置の一実施例を示すブ
ロック図である。
1・・・・・・データ入力装置、
2・・・−FIFOl
3・・・・・・FIFO2に積み込まれたデータ、4・
・・・・・データ出力装置、
A−・・・・・回線からの入力データ、B・・・・・・
データ入力装置1からFIFO2への出力、
C・・・・・・データ出力装M4によるF I FO2
のデータの読出し。
1、−−ンFIG. 1 is a block diagram showing an embodiment of a data input/output device of the present invention. 1...Data input device, 2...-FIFOl 3...Data loaded into FIFO2, 4.
...Data output device, A-...Input data from the line, B...
Output from data input device 1 to FIFO2, C...FIFO2 by data output device M4
Read data. 1,--n
Claims (1)
ータブロック終了信号を出力するデータ入力装置と、 (b+1)ビット×Wワード構成で、データ入力装置に
入力されたデータを蓄積し、データブロック終了信号が
伝えられると第(b+1)ビット目を“1”にし、第1
〜第bビット目までに任意のデータを書込むFIFOと
、 FIFOからのデータを読出し、読出しに際し第(b+
1)ビット目が“1”であるならばデータブロックの終
了と判定して上位装置に伝えるデータ出力装置とを有す
るデータ入出力装置。[Claims] A data input device that inputs data and outputs a data block end signal when the end of a data block is detected; and a data input device that stores data input to the data input device in a (b+1) bit×W word configuration. When the data block end signal is transmitted, the (b+1)th bit is set to “1” and the first
A FIFO into which any data is written up to the b-th bit, and a FIFO where data is read from the FIFO and the (b+)-th bit is read out.
1) A data input/output device that has a data output device that determines that the data block has ended if the bit is “1” and notifies it to a host device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62098826A JPS63263857A (en) | 1987-04-21 | 1987-04-21 | Data input/output device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62098826A JPS63263857A (en) | 1987-04-21 | 1987-04-21 | Data input/output device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63263857A true JPS63263857A (en) | 1988-10-31 |
Family
ID=14230099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62098826A Pending JPS63263857A (en) | 1987-04-21 | 1987-04-21 | Data input/output device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63263857A (en) |
-
1987
- 1987-04-21 JP JP62098826A patent/JPS63263857A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63263857A (en) | Data input/output device | |
JPH01269565A (en) | Printer | |
KR970007157Y1 (en) | Interface apparatus between system bus and multiple parallel port | |
JPS61216002A (en) | Process controller | |
JPS60222917A (en) | Image data transmission device | |
JP2724323B2 (en) | Signal switching device and signal switching method | |
JPS63214999A (en) | Read-only memory device | |
JPH05173876A (en) | Extended memory board | |
KR890001798B1 (en) | Data signal processing apparatus | |
KR19980083459A (en) | Databus Sizing Device | |
JPH0441383B2 (en) | ||
JPS59148199A (en) | Memory parity circuit | |
JPH0828747B2 (en) | Data transfer switching control device | |
JPH0628301A (en) | Direct memory access circuit | |
JPH05100817A (en) | Memory circuit with data conversion function | |
JPH0421149A (en) | Dma data transmitting equipment | |
JPH05265923A (en) | Data transfer equipment | |
JPH03265251A (en) | Line address scanning circuit | |
JPS61173351A (en) | Printing device | |
JPH0289143A (en) | Storage device | |
JPS63229530A (en) | Interruption control system | |
JPH06149319A (en) | Method of extending input/output points of programmable controller | |
JPS62262169A (en) | Data transfer system | |
JPH03156552A (en) | Direct memory access control circuit system | |
JPS61292739A (en) | Memory device |