JPH01137728A - Circuit device for serial/parallel conversion - Google Patents

Circuit device for serial/parallel conversion

Info

Publication number
JPH01137728A
JPH01137728A JP29706887A JP29706887A JPH01137728A JP H01137728 A JPH01137728 A JP H01137728A JP 29706887 A JP29706887 A JP 29706887A JP 29706887 A JP29706887 A JP 29706887A JP H01137728 A JPH01137728 A JP H01137728A
Authority
JP
Japan
Prior art keywords
signal
synchronization
counter
parallel
serial
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
JP29706887A
Other languages
Japanese (ja)
Inventor
Naoki Kozuka
直樹 小塚
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 JP29706887A priority Critical patent/JPH01137728A/en
Publication of JPH01137728A publication Critical patent/JPH01137728A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To obtain an S/P conversion circuit device whose circuit constitution can be simplified at the time of designing it by providing a control ROM with a synchronism detecting function and a control function. CONSTITUTION:A serial signal 1 consists of an idle signal, a synchronizing signal and a data signal, the idle signal is inputted to the control ROM 51, a counter signal 4 shows '0' and a synchronism detecting signal 6 clears the contents of a synchronizing counter 3 at the time of detecting no synchronism. Then, the synchronizing signal is inputted to the ROM 51, the signal 6 is turned to a synchronism detecting state by increasing the signal 4, the contents of the counter 3 are not cleared, and said state is held until the end of synchronism detection. At the time of ending the synchronism detection by the ROM 51, the input timing of the data signal is set up and a parallel data detecting clock signal 7 is outputted to a terminal CK of a D-FF 19 in a parallel conversion circuit 8. The FF 19 outputs a semi-parallel signal 20 as a parallel signal 9 based on the signal 7.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、直列なシリアル信号を並列なパラレル信号に
変換する回路装置に関し、とくに同期信号、データ信号
ならびにアイドル信号を含むシリアル信号ならびにシリ
アル信号をサンプリングするシリアル信号のクロックを
それぞれ入力して、上記のデータ信号をパラレル信号に
変換して出力するシリアル/パラレル変換の回路装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a circuit device for converting serial serial signals into parallel parallel signals, and particularly to serial signals including synchronization signals, data signals, and idle signals, as well as serial signals. The present invention relates to a serial/parallel conversion circuit device that inputs clocks of serial signals sampling data signals, converts the data signals into parallel signals, and outputs the parallel signals.

〔従来の技術J データ伝送における直列伝送方式では、受信端で同期を
とってgj−シ1リアルな直列信号をパラレルな並列信
号に変換する回路が必要である。このシリアル信号をパ
ラレル信号に変換する回路は、−般に多く用いられてい
る。シリアル信号は、例えば第2図に示すように、アイ
ドル信号13、同期信号14、ならびにデータ信号15
を含む直列信号である。
[Prior Art J] A serial transmission system for data transmission requires a circuit that synchronizes at the receiving end and converts a gj-serial serial signal into a parallel signal. Circuits that convert serial signals into parallel signals are commonly used. The serial signals include, for example, an idle signal 13, a synchronization signal 14, and a data signal 15, as shown in FIG.
It is a serial signal containing .

従来、この種のシリアル/パラレル変換回路装置は、第
5図に示されるように、独立した同期検出回路lOを設
けて、シリアル信号1に含まれる同期信号14を検出し
、データ信号15をパラレル信号9に変換していた。
Conventionally, this type of serial/parallel conversion circuit device, as shown in FIG. It was converted to signal 9.

第5図において、シリアル信号1のアイドル信号13が
同期検出回路lOに入力されると、同期検出回路IOに
より出力されるカウンタのクリア信号11は、同期信号
14の未検出のため、論理和回路12を介して同期カウ
ンタ3をクリアする。一方、同期用カウンタ3は、カウ
ンタ信号4にて同期末検出状態であることを制御用のり
一ドオンリメモリ(以下、ROMという)5に知らせる
In FIG. 5, when the idle signal 13 of the serial signal 1 is input to the synchronization detection circuit IO, the counter clear signal 11 outputted by the synchronization detection circuit IO is output from the OR circuit because the synchronization signal 14 is not detected. The synchronization counter 3 is cleared via 12. On the other hand, the synchronization counter 3 notifies the control glue-only memory (hereinafter referred to as ROM) 5 that the end of synchronization has been detected using a counter signal 4.

次にシリアル信号1の同期信号14が供給された場合、
同期検N路lOより同期検出状態を示すりCw。
Next, when the synchronization signal 14 of the serial signal 1 is supplied,
Synchronization detection N path 1O indicates the synchronization detection state.Cw.

リア信号11が出力され、同期用カウンタ3がクリアさ
れずに動作する。そしてシリアル信号1のデータ信号1
5が供給されると、カウント信号4を介在して、制御用
ROM5よりパラレルデータ検出用のクロック7が出力
される。かくして、パラレル変換回路8により、データ
信号15がパラレル信号9に変換されて出力される。
The rear signal 11 is output, and the synchronization counter 3 operates without being cleared. and data signal 1 of serial signal 1
5 is supplied, the control ROM 5 outputs the clock 7 for parallel data detection via the count signal 4. Thus, the parallel conversion circuit 8 converts the data signal 15 into a parallel signal 9 and outputs the parallel signal 9.

以下、第5図の動作を第6図から第1O図を参照して説
明する。
The operation shown in FIG. 5 will be explained below with reference to FIGS. 6 to 10.

同期検出回路lOは、第6図に示すように、たとえばノ
ット回路10aおよびバッファ回路10bからなる同期
信号の設定回路16、ならびにセレクタ17で構成され
、同期信号14と同じパターンを作成する。なお第6図
は、同期信号14がr 0100OOOIJの場合の同
期信号設定回路16を示す。セレクタ17はカウンタ信
号4を端子SELに入力して、カウンタ信号4に示す値
をカウンタのクリア信号11として出力することにより
、シリアル信号1の同期信号14を受信したか否かを検
出する。
As shown in FIG. 6, the synchronization detection circuit IO is constituted by a synchronization signal setting circuit 16 consisting of, for example, a NOT circuit 10a and a buffer circuit 10b, and a selector 17, and creates the same pattern as the synchronization signal 14. Note that FIG. 6 shows the synchronization signal setting circuit 16 when the synchronization signal 14 is r 0100OOOIJ. The selector 17 inputs the counter signal 4 to the terminal SEL and outputs the value shown in the counter signal 4 as a counter clear signal 11, thereby detecting whether or not the synchronization signal 14 of the serial signal 1 has been received.

第8図には、シリア啄り言号1の同期信号14が同期検
出回路IOに入力された場合、即ち同期検出時のパター
ンを示している。カウンタクリア信号11の出力は、カ
ウンタ信号4が0から整数のn(nは同期信号14のビ
ット数であって、第6図の場合はn=8)へ順次インク
リメントされることによって、正常に同期信号14が検
出されたことになり、その時点tで、同期検出信号6が
同期未検出状態から同期検出状態に変化する。そして同
期検出信号6が、同期用カウンタ3ならびに同期検出回
路10の動作を中止する状態になり、同期検出を終了す
る。
FIG. 8 shows a pattern when the synchronization signal 14 of the serial pronunciation code 1 is input to the synchronization detection circuit IO, that is, when synchronization is detected. The output of the counter clear signal 11 is normally incremented by the counter signal 4 being sequentially incremented from 0 to an integer n (n is the number of bits of the synchronization signal 14, and in the case of FIG. 6, n=8). This means that the synchronization signal 14 has been detected, and at that time t, the synchronization detection signal 6 changes from the synchronization undetected state to the synchronization detected state. Then, the synchronization detection signal 6 enters a state in which the operations of the synchronization counter 3 and the synchronization detection circuit 10 are stopped, and the synchronization detection ends.

第9図には、シリアル信号1の同期信号14以外の信号
であるアイドル信号13またはデータ信号14が、同期
検出回路lOに入力された場合、即ち同期信号14とし
て判断されない同期検出時のパターンを示している。こ
の時のカウンタクリア信号11は、カウンタ信号4がn
になる前に、同期はずれtl、t2.t3の状態となり
「0」に戻ることにより、同期信号14として判定され
ない状態が続き、同期゛用カウン゛り3が途中でクリア
される状態が継続される。但し、同期検出信号6が同期
用カウンタ3ならびに同期検出回路10の動作を中止し
ている状態の場合には、第9図で説明した動作は行なわ
れない。
FIG. 9 shows a pattern when the idle signal 13 or the data signal 14, which is a signal other than the synchronization signal 14 of the serial signal 1, is input to the synchronization detection circuit 10, that is, when the synchronization is detected in which it is not determined as the synchronization signal 14. It shows. At this time, the counter clear signal 11 indicates that the counter signal 4 is n.
Before the synchronization occurs, tl, t2. By entering the state of t3 and returning to "0", the state in which it is not judged as the synchronization signal 14 continues, and the state in which the synchronization counter 3 is cleared midway continues. However, when the synchronization detection signal 6 is in a state in which the synchronization counter 3 and the synchronization detection circuit 10 are in a state where the operations are stopped, the operation described in FIG. 9 is not performed.

次に、同期用カウンタ3ならびに制御用ROM5の動作
を説明する。第10図に同期信号14の検出時とパラレ
ル信号9の作成時のカウンタ信号4、同期検出信号6な
らびにパラレルデータ検出用のクロック7のパターンを
示している。
Next, the operations of the synchronization counter 3 and the control ROM 5 will be explained. FIG. 10 shows the patterns of the counter signal 4, synchronization detection signal 6, and clock 7 for detecting parallel data when detecting the synchronization signal 14 and creating the parallel signal 9.

同期用カウンタ3は、同期信号14の検出時にシリアル
信号クロック2によりカウンタ信号4の値を順次インク
リメントし、また同期信号14の未検出時には、同期検
出信号6およびカウンタクリア信号11により、カウン
タ信号4の値をrOJに戻す動作を行なう。
The synchronization counter 3 sequentially increments the value of the counter signal 4 using the serial signal clock 2 when the synchronization signal 14 is detected, and when the synchronization signal 14 is not detected, the synchronization detection signal 6 and the counter clear signal 11 increment the value of the counter signal 4. An operation is performed to return the value of to rOJ.

制御用ROM5は同期用カウンタ3の出力であるカウン
タ値に基づいて次の通り動作する。まず、カウンタ信号
4の値が「0」〜「n」、すなわち同期信号14の検出
時の場合は、同期信号14がまだ検出されていない状態
と判断して、同期検出回路lOのセレクタ17で同期信
号14を検出するための動作が行なわれる。この時、パ
ラレルデータ検出用クロック7の出力は行なわれない。
The control ROM 5 operates as follows based on the counter value that is the output of the synchronization counter 3. First, if the value of the counter signal 4 is "0" to "n", that is, when the synchronization signal 14 is detected, it is determined that the synchronization signal 14 has not been detected yet, and the selector 17 of the synchronization detection circuit IO An operation is performed to detect the synchronization signal 14. At this time, the parallel data detection clock 7 is not output.

そしてカウンタ信号4がrnJをこえた場合、すなわち
パラレル信号9の作成時に、第1O図の如く、パラレル
データ検出用のクロック7が、m間隔(整数mはパラレ
ル信号9のビット数)でに個(整数にはパラレル信号9
のデータ数)だけ出力される。
Then, when the counter signal 4 exceeds rnJ, that is, when the parallel signal 9 is created, the clock 7 for parallel data detection is transmitted at intervals of m (the integer m is the number of bits of the parallel signal 9), as shown in FIG. (Parallel signal 9 for integer
(number of data) is output.

この時の同期検出信号6は、常に同期検出状態を示すよ
うに設定され、カウンタクリア信号11で論理和回路1
2により同期用カウンタ3にクリアをかけないようにす
る。そしてパラレルデータ検出用クロック7かに個目の
信号を出力したあと、即ちパラレル信号9の作成終了後
に、カウンタ信号4の値を再び同期検出を行なう状態と
するため、同期検出信号6を同期未検時として、同期用
カウンタ3にクリアをかけカウンタ信号4の値を「0」
に戻す。
The synchronization detection signal 6 at this time is set to always indicate the synchronization detection state, and the counter clear signal 11 causes the OR circuit 1
2 prevents the synchronization counter 3 from being cleared. After outputting the second signal to the parallel data detection clock 7, that is, after completing the creation of the parallel signal 9, the synchronization detection signal 6 is set to a state in which synchronization detection is performed again on the value of the counter signal 4. For time detection, clear the synchronization counter 3 and set the value of the counter signal 4 to "0".
Return to

次に、パラレル変換回路8の動作を第7図によ合、シリ
アル信号クロック2のタイミングでシフトレジスタ18
により準パラレル信号20に変換される。この準パラレ
ル信号20は、LSB (パラレル信号9の最下位ビッ
ト)とMSB (パラレル信号9の最上位ビット)との
区別がなく、単純にm個に分割された信号である。この
準パラレル信号20をLSBとMSBとをそろえたパラ
レル信号9とするには、D形フリップフロップ19でパ
ラレルデ−タ検出用クロック7のタイミングによりパラ
レル信号9を作成し、外部に送出する。
Next, according to the operation of the parallel conversion circuit 8 as shown in FIG. 7, the shift register 18 is
is converted into a quasi-parallel signal 20 by. This quasi-parallel signal 20 does not distinguish between LSB (the least significant bit of the parallel signal 9) and MSB (the most significant bit of the parallel signal 9), and is simply a signal divided into m pieces. In order to convert this quasi-parallel signal 20 into a parallel signal 9 with the LSB and MSB aligned, the parallel signal 9 is created by the D-type flip-flop 19 at the timing of the parallel data detection clock 7 and sent to the outside.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のシリアル/パラレル変換回路装置におい
て、同期検出回路lOは、シリアル信号1のアイドル信
号I3ならびに同期信号14を入力した時のみ動作して
おり、データ信号15の場合はその機能を停止している
In the conventional serial/parallel conversion circuit device described above, the synchronization detection circuit IO operates only when the idle signal I3 of the serial signal 1 and the synchronization signal 14 are input, and stops its function in the case of the data signal 15. ing.

また、制御用ROM5の出力であるパラレルデータ検出
用クロック7は、アイドル信号13ならびに同期信号1
4の場合には動作を停止しており、シリアル信号1のデ
ータ信号15を入力した場合のみ動作している。
Further, the parallel data detection clock 7, which is the output of the control ROM 5, is connected to the idle signal 13 and the synchronization signal 1.
In the case of 4, the operation is stopped, and it operates only when the data signal 15 of the serial signal 1 is input.

このように、同期検出回路lOならびに制御用ROM5
の動作の一部は、一方が動作している時には他方が動作
していない状態となり、回路の動作の一部に無駄が生じ
てしまう。
In this way, the synchronization detection circuit lO and the control ROM 5
When one circuit is operating, the other is not operating, resulting in a part of the circuit's operation being wasted.

本発明の目的は、同期検出回路10ならびに制御用RO
M5の両機能を制御用ROM5に合体して、構成ならび
に構造の簡略化をはかったシリアル/パラレル変換の回
路装置を提供することにある。
The object of the present invention is to provide a synchronization detection circuit 10 and a control RO
It is an object of the present invention to provide a serial/parallel conversion circuit device which has a simplified configuration and structure by combining both functions of M5 into a control ROM 5.

L問題点を解決するための手段〕 本発明の回路装置は、アイドル信号、同期信号ならびに
データ信号からなるシリアル信号を入力すると共に、該
シリアル信号をサンプリングするクロックを入力して、
変換されたパラレル信号を出力する回路装置において、
前記シリアル信号のクロックを入力して、その計数値で
あるカウンタ信号を送出する同期用カウンタと、前記カ
ウンタ信号ならびに前記シリアル信号をアドレス信号と
して入力して同期信号を検出し、該同期検出信号を前記
同期用カウンタに送出すると共に、パラレルデータ検出
用のクロックを送出する制御用ROMと、前記シリアル
信号、前記シリアル信号のクロックならびに前記パラレ
ルデータ検出用クロックをそれぞれ入力して、前記の変
換されたパラレル信号を送出するパラレル変換回路と、
を備えていることを特徴とする。
Means for Solving Problem L] The circuit device of the present invention inputs a serial signal consisting of an idle signal, a synchronization signal, and a data signal, and inputs a clock for sampling the serial signal.
In a circuit device that outputs converted parallel signals,
a synchronization counter that inputs the clock of the serial signal and sends out a counter signal that is the counted value; and a synchronization counter that inputs the counter signal and the serial signal as an address signal to detect a synchronization signal, and outputs the synchronization detection signal. A control ROM that sends out a clock for parallel data detection as well as to the synchronization counter, and inputs the serial signal, the clock of the serial signal, and the clock for parallel data detection, and converts the converted data. A parallel conversion circuit that sends out parallel signals,
It is characterized by having the following.

〔作 用〕[For production]

したがって本発明によると、制御用ROMが同期検出機
能と制御機能とを有するため、回路設計時における回路
の簡略化が得られると共に、動作時における故障率が減
少することになって、信頼性が向上することになる。
Therefore, according to the present invention, since the control ROM has a synchronization detection function and a control function, the circuit can be simplified at the time of circuit design, and the failure rate during operation is reduced, resulting in improved reliability. It will improve.

〔実施例〕〔Example〕

以下に本発明を、その実施例について図面を参照して説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明による一実施例を示すブロック図、第3
図は第1図の制御用ROM51ならびに同期用カウンタ
3の動作をしめずタイムチャート、第4図は第1図の制
御用ROM51の動作をしめすフローチャートである。
FIG. 1 is a block diagram showing one embodiment of the present invention;
The figure is a time chart showing the operations of the control ROM 51 and synchronization counter 3 shown in FIG. 1, and FIG. 4 is a flowchart showing the operation of the control ROM 51 shown in FIG.

まず、第1図に示すように、シリアル信号1を制御用R
OM51ならびにパラレル変換回路8のシフトレジスタ
18に入力し、シリアル信号のクロック2を同期用カウ
ンタ3ならびにパラレル変換回路8のシフトレジスタ1
8のクロック端子CKに入力するように接続されている
。同期用カウンタ3は、シリアル信号クロック2をクロ
ック端子CKに入力すると共に、同期検出信号6をクリ
ア端子CLRに入力して、カウンタ信号4を制御用RO
M51に出力するように接続されている。
First, as shown in FIG.
The clock 2 of the serial signal is input to the OM51 and the shift register 18 of the parallel conversion circuit 8, and the clock 2 of the serial signal is input to the synchronization counter 3 and the shift register 1 of the parallel conversion circuit 8.
It is connected so as to be input to the clock terminal CK of No. 8. The synchronization counter 3 inputs the serial signal clock 2 to the clock terminal CK, inputs the synchronization detection signal 6 to the clear terminal CLR, and outputs the counter signal 4 to the control RO.
It is connected to output to M51.

制御用ROM51には、シリアル信号1ならびにカウン
タ信号4が入力されて、同期検出信号6を同期用カウン
タ3に出力すると共に、パラレルデータ検出用のクロッ
ク7をパラレル変換回路8のD形フリップフロップ19
のクロック端子GKに出力するように接続されている。
The control ROM 51 receives the serial signal 1 and the counter signal 4, outputs the synchronization detection signal 6 to the synchronization counter 3, and outputs the clock 7 for parallel data detection to the D-type flip-flop 19 of the parallel conversion circuit 8.
The clock terminal GK is connected to output the clock terminal GK of the clock terminal GK.

シフトレジスタ18は準パラレル信号20を出力するよ
うにD形フリップフロップ19に接続され、D形フリッ
プフロップ19からはパラレル信号9が出力される。
The shift register 18 is connected to a D-type flip-flop 19 so as to output a quasi-parallel signal 20, and the D-type flip-flop 19 outputs a parallel signal 9.

軸 次に第1図のシリアル/パラレル変換回路装置の動作を
、第2図から第4図を参照して説明する。
Next, the operation of the serial/parallel conversion circuit device shown in FIG. 1 will be explained with reference to FIGS. 2 to 4.

この実施例は、シリアル信号1が”0011”のくり返
しであるアイドル信号13、”旧0000旧”の8ビツ
トである同期信号14、ならびに8ビツトで510バイ
トあるデータ信号15である場合で説明する。
This embodiment will be explained in the case where the serial signal 1 is an idle signal 13 that is a repetition of "0011", a synchronization signal 14 that is 8 bits of "old 0000 old", and a data signal 15 that is 8 bits and 510 bytes. .

従って第1図に示すように、パラレル変換回路8のシフ
トレジスタ18の出力である準パラレル信号20ならび
にD形フリップフロップ19からの出力であるパラレル
信号9は、それぞれ20−1から20−8の8本構成、
ならびに9−1から9−8の8本構成となる。
Therefore, as shown in FIG. 1, the quasi-parallel signal 20, which is the output of the shift register 18 of the parallel conversion circuit 8, and the parallel signal 9, which is the output from the D-type flip-flop 19, are respectively 20-1 to 20-8. Consisting of 8 pieces,
In addition, it has an eight-piece configuration from 9-1 to 9-8.

そしてカウンタ信号4は同期カウンタ3より12本出力
され、カウンタ信号4の値がrOJ〜「7」までは同期
信号14の受信時に使用されると共に、「8」〜r40
87J  (8ビツトのデータ信号15が510バイト
あるので、シリアル信号1に直した場合8 x 510
 = 4080必要)まではデータ信号15の処理時に
使用、され、残りの値のr 4088J〜:、;;ノ r4095J  (カウンタ信号4で表現できる最大値
)までを、同期信号14の受信待時へもどす、すなわち
カウンタ信号4の値をrOJに戻すために使用する。
Then, 12 counter signals 4 are output from the synchronization counter 3, and the values of the counter signal 4 from rOJ to "7" are used when receiving the synchronization signal 14, and the values from "8" to r40 are used when receiving the synchronization signal 14.
87J (8-bit data signal 15 has 510 bytes, so if it is converted to serial signal 1, 8 x 510
= 4080 (required) is used when processing the data signal 15, and the remaining values r4088J~:,;;nor up to r4095J (maximum value that can be expressed by counter signal 4) are used when waiting for reception of the synchronization signal 14. In other words, it is used to return the value of counter signal 4 to rOJ.

シリアル信号1が制御用ROM51に入力されると共に
、シリアル信号クロック2が同期カウンタ3に入力され
て、制御用ROM51ならびに同期用カウンタ3の動作
により、シリアル信号lの内容が同期信号14であるか
否かの検出を行なう。
Serial signal 1 is input to control ROM 51, serial signal clock 2 is input to synchronization counter 3, and the operation of control ROM 51 and synchronization counter 3 determines whether the content of serial signal l is synchronization signal 14 or not. Detection is performed to determine whether or not.

第3図ならびに第4図に示すように、シリアル信号1と
してroollJのアイドル信号13が制御用ROM5
1に入力される場合は、カウンタ信号4の値は「0」を
示し同期検出信号6は同期未検出の状態として、同期用
カウンタ3にクリアを行なうように設定される(ステッ
プ5TI)。
As shown in FIGS. 3 and 4, the idle signal 13 of rollJ is stored in the control ROM 5 as the serial signal 1.
1, the value of the counter signal 4 indicates "0" and the synchronization detection signal 6 is set to be in a state where synchronization has not been detected, so that the synchronization counter 3 is cleared (step 5TI).

次いでr 0100OOOIJの同期信号14が制御用
ROM51に入力される場合には、第4図のステップS
T2〜STMの如く、カウンタ信号4の値が「0」〜「
7」まで順次インクリメントされ、カウンタ信号4の値
が同期信号14の各ビットの位置を示すと仮定して、同
期検出信号6は、同期検出の状態として同期用カウンタ
3にはクリアをかけないようにする(ステップSTM)
。そしてカウンタ信号4の値が「7」で同期検出が終了
したことになり、同期検出信号6は引続き同期検出の状
態として同期用カウンタ3へクリアをかけない状態とす
る。
Next, when the synchronization signal 14 of r0100OOOIJ is input to the control ROM 51, step S in FIG.
As shown in T2 to STM, the value of counter signal 4 is "0" to "
7" and assuming that the value of the counter signal 4 indicates the position of each bit of the synchronization signal 14, the synchronization detection signal 6 is in a state of synchronization detection so that the synchronization counter 3 is not cleared. (Step STM)
. Then, when the value of the counter signal 4 is "7", it means that the synchronization detection is completed, and the synchronization detection signal 6 continues to be in the state of synchronization detection and the synchronization counter 3 is not cleared.

制御用ROM51が、同期信号14の第8ビツト目であ
る「7」を比較して同期検出が終了すると、データ信号
15が入力されるタイミングとなって、パラレルデータ
検出用のクロック7の信号がD形フリップフロップ19
のクロック端子CKに出力されると共に、一方、カウン
タ信号4の値は、「8」以上、順次インクリメントされ
る。なお、パラレルデータ検出用クロック7の信号は、
従来と同様に第1O図に示されるように、m間隔にに個
出力される。
When the control ROM 51 compares the 8th bit "7" of the synchronization signal 14 and completes synchronization detection, the timing when the data signal 15 is input is reached, and the signal of the clock 7 for parallel data detection is D type flip-flop 19
Meanwhile, the value of the counter signal 4 is sequentially incremented by "8" or more. Note that the signal of the parallel data detection clock 7 is as follows.
As in the conventional case, as shown in FIG. 1O, the signals are output at intervals of m.

パラレル変換回路8は従来と同様に、シフトレジスタ1
8は、シリアル信号1ならびにシリアル信号クロック2
を入力して、準パラレル信号20である20−1から2
0−8までをD形フリップフロップ19に出力し、D形
フリップフロップ19ではパラレルデータ検出用のクロ
ック7により、準パラレル信号20をパラレル信号9と
して9−1から9−8までを出力する。
The parallel conversion circuit 8 is similar to the conventional one, and the shift register 1
8 is serial signal 1 and serial signal clock 2
20-1 to 2 which is the quasi-parallel signal 20.
0 to 8 are output to the D-type flip-flop 19, and the D-type flip-flop 19 outputs the quasi-parallel signal 20 as a parallel signal 9 from 9-1 to 9-8 using the parallel data detection clock 7.

そしてデータ信号15が終了して再びアイドル信号15
が入力されたとき、同期検出信号6を再び同期未検出状
態として、同期用カウンタ3にクリアをかけて同期検出
待ちの状態となる。
Then, when the data signal 15 ends, the idle signal 15 returns again.
When the synchronization detection signal 6 is inputted, the synchronization detection signal 6 is set to the synchronization undetected state again, and the synchronization counter 3 is cleared to enter the state of waiting for synchronization detection.

[発明の効果] 以上説明したように本発明は、制御用ROMに同期検出
機能ならびに制御機能の両機能をもたせたので、構成な
らびに構造の簡略化が可能となり、回路設計時における
回路の簡略化ならびに稼動時における故障率を減少する
ことができるため、信頼性が向上するという効果がある
[Effects of the Invention] As explained above, the present invention provides the control ROM with both the synchronization detection function and the control function, so that the configuration and structure can be simplified, and the circuit can be simplified when designing the circuit. In addition, since the failure rate during operation can be reduced, reliability is improved.

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

第1図は本発明による一実施例を示すブロック図、第2
図は同上を説明する信号図、第3図は第1図の動作をし
めずタイムチャート、第4図は第1図の動作をしめずフ
ローチャート、第5図は従来例をしめずブロック図、第
6図は第5図の同期検出回路の構成を示すブロック図、
第7図は第5図の同期信号設定回路の構成図、第81.
¥1.第9図は第5図の同期検出回路のタイムチャート
、第1O図は、第5図の動作を説明するタイムチャート
である。 1・・・・・・・・・シリアル信号、 2・・・・・・・・・シリアル信号クロック、3・・・
・・・・・・同期用カウンタ、4−−−−−・・・・カ
ウンタ信号、 51・・・・・・・・・制御用ROM。 6・・・・・・・・・同期検出信号、 7・・・・・・・・・パラレルデータ検出用クロック、
8・・・・・・・・・パラレル変換回路、9・・・・・
・・・・パラレル信号、 13・・・・・・・・・アイドル信号、14・・・・・
・・・・同期信号、 15・・・・・・・・・データ信号、 18・・・・・・・・・シフトレジスタ、19・・・・
・・・・・D形フリップフロップ、20・・・・・・・
・・準パラレル信号。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a signal diagram explaining the same as the above, Figure 3 is a time chart without showing the operation of Figure 1, Figure 4 is a flow chart without showing the operation of Figure 1, Figure 5 is a block diagram without showing the conventional example, FIG. 6 is a block diagram showing the configuration of the synchronization detection circuit in FIG.
7 is a block diagram of the synchronizing signal setting circuit of FIG. 5, and FIG. 81.
¥1. 9 is a time chart of the synchronization detection circuit of FIG. 5, and FIG. 1O is a time chart explaining the operation of FIG. 5. 1... Serial signal, 2... Serial signal clock, 3...
. . . Synchronization counter, 4 --- Counter signal, 51 . . . Control ROM. 6...... Synchronization detection signal, 7...... Parallel data detection clock,
8...Parallel conversion circuit, 9...
...Parallel signal, 13...Idle signal, 14...
...Synchronization signal, 15...Data signal, 18...Shift register, 19...
...D type flip-flop, 20...
...Semi-parallel signal.

Claims (1)

【特許請求の範囲】 1)アイドル信号、同期信号ならびにデータ信号からな
るシリアル信号を入力すると共に、該シリアル信号をサ
ンプリングするクロックを入力して、変換されたパラレ
ル信号を出力する回路装置において、 前記シリアル信号のクロックを入力して、その計数値で
あるカウンタ信号を送出する同期用カウンタと、 前記カウンタ信号ならびに前記シリアル信号をアドレス
信号として入力して同期信号を検出し、該同期検出信号
を前記同期用カウンタに送出すると共に、パラレルデー
タ検出用のクロックを送出する制御用ROMと、 前記シリアル信号、前記シリアル信号のクロックならび
に前記パラレルデータ検出用クロックをそれぞれ入力し
て、前記の変換されたパラレル信号を送出するパラレル
変換回路と、を備えていることを特徴とするシリアル/
パラレル変換の回路装置。 2)前記のパラレル変換回路が、シフトレジスタならび
にD形フリップフロップである前記特許請求の範囲第1
項に記載の回路装置。
[Scope of Claims] 1) A circuit device that inputs a serial signal consisting of an idle signal, a synchronization signal, and a data signal, and also inputs a clock for sampling the serial signal and outputs a converted parallel signal, comprising: a synchronization counter that inputs a serial signal clock and sends out a counter signal that is the count value; a synchronization counter that inputs the counter signal and the serial signal as an address signal to detect a synchronization signal; A control ROM that sends out a clock for detecting parallel data as well as a synchronization counter; and a control ROM that inputs the serial signal, the clock of the serial signal, and the clock for detecting parallel data, A serial/parallel conversion circuit that transmits signals.
Parallel conversion circuit device. 2) Claim 1, wherein the parallel conversion circuit is a shift register and a D-type flip-flop.
The circuit device described in Section.
JP29706887A 1987-11-24 1987-11-24 Circuit device for serial/parallel conversion Pending JPH01137728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29706887A JPH01137728A (en) 1987-11-24 1987-11-24 Circuit device for serial/parallel conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29706887A JPH01137728A (en) 1987-11-24 1987-11-24 Circuit device for serial/parallel conversion

Publications (1)

Publication Number Publication Date
JPH01137728A true JPH01137728A (en) 1989-05-30

Family

ID=17841797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29706887A Pending JPH01137728A (en) 1987-11-24 1987-11-24 Circuit device for serial/parallel conversion

Country Status (1)

Country Link
JP (1) JPH01137728A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0397318A (en) * 1989-09-11 1991-04-23 Fujitsu Ltd Digital pll circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0397318A (en) * 1989-09-11 1991-04-23 Fujitsu Ltd Digital pll circuit

Similar Documents

Publication Publication Date Title
JP3080341B2 (en) Data match detection circuit
US5125089A (en) Asynchronous-to-synchronous parallel word transfer circuit for preventing incoming asyncronous parallel byte data from interfering with outgoing synchronous data
US5367543A (en) Circuit for detecting synchronizing signal in frame synchronization data transmission
JPH01137728A (en) Circuit device for serial/parallel conversion
US4096471A (en) Method and apparatus for transfer of asynchronously changing data words
US5208840A (en) Method and arrangement for detecting framing bit sequence in digital data communications system
JPH0431211B2 (en)
JPH084263B2 (en) Frame signal synchronization detection circuit
EP0294614B1 (en) m bit to n bit code converting circuit
JPS62239742A (en) Data processing circuit
KR950001927B1 (en) Circuit for detecting digital data synchronous signal
JPS638676B2 (en)
KR200158764Y1 (en) Synchronous serial input device
JP2735760B2 (en) Pattern detection circuit
JP2576526B2 (en) I / O signal monitoring circuit
JPS62122434A (en) Frame signal synchronization detecting circuit
JPS6386641A (en) Input level decision circuit for start-stop synchronizing data signal
JPS63312754A (en) Error generation circuit
JPH0637857A (en) Serial data receiving circuit
JP2941266B1 (en) Encoder data output method for bus communication type encoder device
JPS61101142A (en) Data protection circuit
JPS634733B2 (en)
JPH02104198A (en) Serial controller
JPS63142730A (en) Code detection circuit for burst synchronism
JPS619057A (en) Zero inserting circuit