JPH06104950A - Selection circuit - Google Patents
Selection circuitInfo
- Publication number
- JPH06104950A JPH06104950A JP4253207A JP25320792A JPH06104950A JP H06104950 A JPH06104950 A JP H06104950A JP 4253207 A JP4253207 A JP 4253207A JP 25320792 A JP25320792 A JP 25320792A JP H06104950 A JPH06104950 A JP H06104950A
- Authority
- JP
- Japan
- Prior art keywords
- input
- data
- signal
- selection circuit
- selection
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、選択回路に関し、特に
入力データが数バイト単位で意味をもつデータ(以下、
セルという)単位で切り替えを行う選択回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a selection circuit, and more particularly, to input data having meaningful data in units of several bytes (hereinafter, referred to as
The present invention relates to a selection circuit that performs switching in units of cells.
【0002】[0002]
【従来の技術】従来の選択回路は図2に示すように、選
択信号22と入力2回線以上の入力データ20,21
と、出力1回線の出力データ23とを有し、選択信号2
2により選択された入力回線に切り替えて出力回線に出
力する構造となっていた。2. Description of the Related Art A conventional selection circuit, as shown in FIG. 2, has a selection signal 22 and input data 20 and 21 of two or more input lines.
And the output data 23 of the output 1 line, the selection signal 2
The input line selected by 2 is switched to output to the output line.
【0003】[0003]
【発明が解決しようとする課題】この従来の選択回路で
は、選択信号が切り替わった瞬間に選択されていた入力
回路が切り替わり出力回線に出力されるため、入力デー
タが数バイト単位で意味を持つデータである時に選択信
号が入力データの数バイトの単位とは同期せずに切り替
わることにより、出力データに意味不明のデータが出力
される可能性が高いという問題点があった。In this conventional selection circuit, since the selected input circuit is switched at the moment the selection signal is switched and is output to the output line, the input data is meaningful data in units of several bytes. However, the selection signal is switched without being synchronized with the unit of several bytes of the input data, and there is a problem that the meaningless data is likely to be output as the output data.
【0004】本発明の目的は、どの回線が選択されても
セルの先頭からデータが出力されるようにした選択回路
を提供することにある。It is an object of the present invention to provide a selection circuit that outputs data from the beginning of a cell regardless of which line is selected.
【0005】[0005]
【課題を解決するための手段】前記目的を達成するた
め、本発明に係る選択回路は、入力選択回路と、カウン
タ回路と、回線選択回路とを有し、2回線以上から入力
された数バイト単位で意味をもつ入力データを切り替え
て出力する選択回路であって、入力選択回路は、選択信
号により複数回線の入力データの先頭を示す入力同期信
号を選択するものであり、カウンタ回路は、選択された
入力同期信号から入力データの長さをカウントするもの
であり、回線選択回路は、カウンタ回路からのカウント
終了信号により複数回線を切り替えるものである。To achieve the above object, a selection circuit according to the present invention comprises an input selection circuit, a counter circuit and a line selection circuit, and several bytes input from two or more lines. A selection circuit that switches and outputs meaningful input data in units, the input selection circuit selects an input synchronization signal indicating the beginning of input data of a plurality of lines by a selection signal, and the counter circuit selects The length of the input data is counted from the input synchronization signal thus generated, and the line selection circuit switches a plurality of lines according to the count end signal from the counter circuit.
【0006】[0006]
【作用】選択信号5の入力により入力選択回路11で入
力データ1,2のどちらかを選択するか決定する。その
選択された入力データ数をカウンタ回路12でカウント
する。カウンタ回路12の出力信号により回線選択回路
13で入力データの切り替えを行う。The input selection circuit 11 determines whether the input data 1 or 2 is selected by the input of the selection signal 5. The counter circuit 12 counts the selected number of input data. The line selection circuit 13 switches the input data according to the output signal of the counter circuit 12.
【0007】[0007]
【実施例】以下、本発明の一実施例を図により説明す
る。図1は、本発明の一実施例を示すブロック図であ
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.
【0008】図1において、本発明は、入力データが数
バイト単位で意味を持つデータが入力する2回線以上の
回線を有し、入力クロック8と、選択信号5と、入力回
線毎の入力データ1,2と、セルの先頭を示す入力同期
信号3,4と、入力許可信号6,7と、出力データ9
と、セルの先頭を示す出力同期信号10とを取り扱う選
択回路である。In FIG. 1, the present invention has two or more lines for inputting meaningful data in units of a few bytes, and has an input clock 8, a selection signal 5, and input data for each input line. 1, 2, input sync signals 3 and 4 indicating the beginning of cells, input permission signals 6 and 7, and output data 9
And an output synchronization signal 10 indicating the beginning of the cell.
【0009】さらに本発明は、選択信号により複数回線
のセルの先頭を示す入力同期信号を選択する入力選択回
路11と、選択された入力同期信号からセルの長さをカ
ウントするカウンタ回路12と、入力データの切り替え
を行う回線選択回路13とを備えている。Further, according to the present invention, an input selection circuit 11 for selecting an input synchronization signal indicating the heads of cells on a plurality of lines by a selection signal, and a counter circuit 12 for counting the cell length from the selected input synchronization signal, And a line selection circuit 13 for switching input data.
【0010】入力データがnバイト単位(以下、セルと
いう)で意味を持つ8bit並列の入力データ1,8b
it並列の入力データ2のそれぞれの回線の入力データ
の先頭を示す入力同期信号3,入力同期信号4と選択信
号5により入力選択回路11で入力データ1,入力デー
タ2のどちらを選択するかを決定する。8 bit parallel input data 1, 8b in which the input data has a meaning in a unit of n bytes (hereinafter referred to as a cell)
It Selects which of the input data 1 and the input data 2 is to be selected by the input selection circuit 11 by the input synchronization signal 3, the input synchronization signal 4 and the selection signal 5 which indicate the beginning of the input data of each line of the parallel input data 2. decide.
【0011】一方、入力を選択した回線に対して入力許
可信号6又は入力許可信号7を出力する。回線データの
送信側で、この入力許可信号を受けてデータ送信を停止
する。又、この時に入力を選択した回線の入力データが
1セル(nバイト)分入力されるまで入力同期信号3,
入力同期信号4を受け付けないようにカウンタ回路12
の1セルカウント動作中信号17によって入力同期信号
の選択信号14及び入力同期信号の選択信号15にゲー
トをかける。On the other hand, the input permission signal 6 or the input permission signal 7 is output to the line whose input is selected. The transmission side of the line data receives the input permission signal and stops the data transmission. Also, at this time, until the input data of the line selected to be input is input for one cell (n bytes), the input synchronization signal 3,
Counter circuit 12 so as not to accept input synchronization signal 4
The input synchronization signal selection signal 14 and the input synchronization signal selection signal 15 are gated by the 1-cell counting in-operation signal 17.
【0012】入力選択回路11より出力する入力同期信
号の選択信号14又は入力同期信号の選択信号15によ
りカウンタ回路12を起動させ、クロック8によりnま
でカウントを行わせる。カウント開始のタイミングで出
力同期信号10を出力すると共に回線選択信号16を出
力する。カウンタ回路12から出力される回線選択信号
16により、回線選択回路13で入力データ1,入力デ
ータ2のどちらかを選択し、出力データ9に出力する。
この出力データ9は出力同期信号10に同期し、セルの
先頭から出力される。The counter circuit 12 is activated by the input synchronization signal selection signal 14 or the input synchronization signal selection signal 15 output from the input selection circuit 11, and the clock 8 counts up to n. The output synchronizing signal 10 is output at the timing of starting counting, and the line selection signal 16 is output. In accordance with the line selection signal 16 output from the counter circuit 12, the line selection circuit 13 selects either the input data 1 or the input data 2 and outputs it as the output data 9.
This output data 9 is output from the beginning of the cell in synchronization with the output synchronization signal 10.
【0013】1セル分のデータ出力が終了した時に入力
選択回路11で入力同期信号3,入力同期信号4の受け
付けを行い、上記同様の制御を行う。When the data output for one cell is completed, the input selection circuit 11 accepts the input synchronization signal 3 and the input synchronization signal 4, and the same control as above is performed.
【0014】[0014]
【発明の効果】以上説明したように本発明は、入力デー
タが数バイト単位で意味を持つデータが入力2回線以上
ある場合に選択信号によって、いつ選択信号が切り替わ
っても、どの回線が選択されても入力データのセルの先
頭から出力データとして出力できるという効果がある。As described above, according to the present invention, when the input data has two or more input data lines having meaningful data in units of several bytes, which line is selected by the selection signal regardless of when the selection signal is switched. However, there is an effect that the output data can be output from the beginning of the cell of the input data.
【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】従来の選択回路を示すブロック図である。FIG. 2 is a block diagram showing a conventional selection circuit.
1 入力データ 2 入力データ 3 入力同期信号 4 入力同期信号 5 選択信号 6 入力許可信号 7 入力許可信号 8 入力クロック 9 出力データ 10 出力同期信号 11 入力選択回路 12 カウンタ回路 13 回線選択回路 14 入力同期信号の選択信号 15 入力同期信号の選択信号 16 回線選択信号 17 1セルカウント動作中信号 1 Input data 2 Input data 3 Input synchronization signal 4 Input synchronization signal 5 Selection signal 6 Input permission signal 7 Input permission signal 8 Input clock 9 Output data 10 Output synchronization signal 11 Input selection circuit 12 Counter circuit 13 Line selection circuit 14 Input synchronization signal Selection signal 15 Input synchronization signal selection signal 16 Line selection signal 17 1 Cell counting operation signal
Claims (1)
選択回路とを有し、2回線以上から入力された数バイト
単位で意味をもつ入力データを切り替えて出力する選択
回路であって、 入力選択回路は、選択信号により複数回線の入力データ
の先頭を示す入力同期信号を選択するものであり、 カウンタ回路は、選択された入力同期信号から入力デー
タの長さをカウントするものであり、 回線選択回路は、カウンタ回路からのカウント終了信号
により複数回線を切り替えるものであることを特徴とす
る選択回路。1. A selection circuit which has an input selection circuit, a counter circuit, and a line selection circuit and which switches and outputs meaningful input data input from two or more lines in units of several bytes. The selection circuit selects the input sync signal indicating the beginning of the input data of multiple lines by the selection signal, and the counter circuit counts the length of the input data from the selected input sync signal. The selection circuit is characterized in that a plurality of lines are switched by a count end signal from the counter circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4253207A JPH06104950A (en) | 1992-09-22 | 1992-09-22 | Selection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4253207A JPH06104950A (en) | 1992-09-22 | 1992-09-22 | Selection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06104950A true JPH06104950A (en) | 1994-04-15 |
Family
ID=17248049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4253207A Pending JPH06104950A (en) | 1992-09-22 | 1992-09-22 | Selection circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06104950A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1033857A (en) * | 1996-07-30 | 1998-02-10 | Masuda Seni Kk | Bead-like object sewing device, feeding tool used in bead-like object sewing device and decorative body provided with bead-like object |
-
1992
- 1992-09-22 JP JP4253207A patent/JPH06104950A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1033857A (en) * | 1996-07-30 | 1998-02-10 | Masuda Seni Kk | Bead-like object sewing device, feeding tool used in bead-like object sewing device and decorative body provided with bead-like object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4098410B2 (en) | Serial interface device with register for both transmission and reception | |
JPH06104950A (en) | Selection circuit | |
KR100383897B1 (en) | Clock Signal Supply | |
JP2893897B2 (en) | Serial I / O device | |
RU2012146C1 (en) | Device for transmitting and receiving digital signals | |
JP2728109B2 (en) | Data instruction signal generation circuit | |
KR0146763B1 (en) | Broadcast control apparatus of shared buffer type atm switch | |
SU1509914A1 (en) | Information input device | |
KR100206987B1 (en) | Multifunction timer | |
RU2018942C1 (en) | Device for interfacing users with computer | |
SU1405042A1 (en) | Data input device | |
GB2167624A (en) | Subscriber line signalling device for use in a telecommunications system | |
SU643861A1 (en) | Multichannel device for interfacing message sources with digital computer | |
JP2708366B2 (en) | Data processing system and auxiliary control device | |
JPS58213541A (en) | Data separating circuit | |
JP2002198963A (en) | Band generation device | |
JPH0591558A (en) | Method of transmitting data | |
JPH10303845A (en) | Channel state discrimination circuit | |
JPH04220041A (en) | Split phase signal formation rule violation detection circuit | |
JPH06125356A (en) | Synchronization circuit | |
JPS63260333A (en) | Frame synchronizing circuit | |
JPH0149067B2 (en) | ||
JPH03157028A (en) | Line monitor system for line transferring hdlc data frame using fixed length cell | |
JPH05336065A (en) | Data inserting circuit | |
JPH0568048A (en) | Optical fifo memory |