JP3334466B2 - Parallel / serial conversion circuit - Google Patents
Parallel / serial conversion circuitInfo
- Publication number
- JP3334466B2 JP3334466B2 JP34065695A JP34065695A JP3334466B2 JP 3334466 B2 JP3334466 B2 JP 3334466B2 JP 34065695 A JP34065695 A JP 34065695A JP 34065695 A JP34065695 A JP 34065695A JP 3334466 B2 JP3334466 B2 JP 3334466B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- input
- data
- terminal
- parallel
- 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.)
- Expired - Fee Related
Links
Landscapes
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Communication Control (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、パラレル/シリア
ル変換回路に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to a parallel / serial conversion circuit.
【0002】[0002]
【従来の技術】従来のパラレル/シリアル変換回路は、
シフトレジスタを用いてパラレルデータをシフトさせて
クロック信号に同期したパルスとして出力していた。2. Description of the Related Art A conventional parallel / serial conversion circuit includes:
The parallel data is shifted using a shift register and output as a pulse synchronized with a clock signal.
【0003】[0003]
【発明が解決しようとする課題】ところが、上述のよう
な構成のパラレル/シリアル変換回路において、出力さ
れるシリアルの出力信号はクロック信号に同期したパル
ス信号であり、かつ、パルス幅は最短でクロック信号と
同じ幅となるため、伝送線路上でミスする(正しく変換
されない)可能性があった。これは、搬送波となるクロ
ック信号のスピードが速ければ速いほど顕著になる。However, in the parallel / serial conversion circuit having the above-described configuration, the serial output signal output is a pulse signal synchronized with the clock signal, and the pulse width is the shortest. Since the width is the same as that of the signal, there is a possibility that a mistake (improper conversion) occurs on the transmission line. This becomes more remarkable as the speed of the clock signal serving as the carrier increases.
【0004】この問題を防ぐために、同軸ケーブルやシ
ールド線等の耐ノイズ性に優れた高価な伝送線路を使用
する必要があった。In order to prevent this problem, it is necessary to use an expensive transmission line having excellent noise resistance, such as a coaxial cable or a shielded wire.
【0005】本発明は、上記の点に鑑みて成されたもの
であり、その目的とするところは、安定したシリアル信
号のデータが出力されるパラレル/シリアル変換回路を
提供することにある。[0005] The present invention has been made in view of the above points, and an object of the present invention is to provide a parallel / serial conversion circuit that outputs stable serial signal data.
【0006】[0006]
【課題を解決するための手段】請求項1記載の発明は、
所定ビットのパラレル信号及びラッチクロック信号とク
ロック信号が入力されるデータ入力端子及びラッチクロ
ック信号端子とクロック入力端子と、リップルキャリー
信号出力端子を有し、パラレル信号及びラッチクロック
信号が入力されたときに入力されたパラレル信号のデー
タをクロック入力端子に入力されたクロック信号に基づ
いてカウントを行い所定のカウント値になったときにリ
ップルキャリー信号出力端子からリップルキャリー信号
を出力するカウンタ部と、シリアル信号のデータが入力
されるデータ入力端子と、ラッチクロック信号をクロッ
ク信号として入力されるクロック入力端子と、リップル
キャリー信号がリセット信号として入力されるリセット
端子と、データ出力端子とを有し、前記ラッチクロック
信号が入力されるとデータ出力端子の出力をHIGHに
してデータ入力端子に入力されているシリアル信号のデ
ータをデータ出力端子から出力し、リセット端子に入力
されたリップルキャリー信号の立上りでデータ出力端子
の出力をリセットしてLOWにすることにより、前記ラ
ッチクロック信号が入力されると前記カウンタ部からの
リップルキャリー信号が入力されるまでシリアル信号を
出力し続けるラッチ部とを有して成ることを特徴とする
ものである。According to the first aspect of the present invention,
Parallel signals and the latch clock signal and click of a predetermined bit
Data input terminal lock signal are entered and Ratchikuro
Clock signal terminal, clock input terminal, and ripple carry
A signal output terminal, and based on the clock signal input to the clock input terminal, the data of the parallel signal input when the parallel signal and the latch clock signal are input.
Li when it reaches a predetermined count value counts to have
A counter that outputs a ripple carry signal from the ripple carry signal output terminal and serial signal data input
Data input terminal and latch clock signal.
Clock input terminal input as a clock signal and ripple
Reset where carry signal is input as reset signal
And a data output terminal. When the latch clock signal is input , the output of the data output terminal becomes HIGH.
Of the serial signal input to the data input terminal
Data from the data output terminal and input to the reset terminal
Data output pin at the rise of the ripple carry signal
And resetting the output of the counter to LOW so that when the latch clock signal is inputted, a latch section which keeps outputting a serial signal until a ripple carry signal is inputted from the counter section is provided. It is a feature.
【0007】請求項2記載の発明は、請求項1記載のパ
ラレル/シリアル変換回路において、前記カウンタ部
は、前記入力されたパラレル信号のデータを反転させた
上でカウントアップを行うようにしたことを特徴とする
ものである。According to a second aspect of the present invention, in the parallel / serial conversion circuit according to the first aspect, the counter section counts up after inverting data of the input parallel signal. It is characterized by the following.
【0008】[0008]
【発明の実施の形態】以下、本発明の一実施形態につい
て図面に基づき説明する。図1は、本発明の一実施形態
に係るパラレル/シリアル変換回路の全体構成を示す回
路図である。本実施形態に係るパラレル/シリアル変換
回路は、カウンタ部としてのプリセッタブルカウンタ回
路1とラッチ部としてのDフリップフロップ回路2とを
有して成る。プリセッタブルカウンタ回路1は、データ
入力端子DATAとクロック入力端子CLK1とラッチクロック
信号入力端子RCKとリップルキャリー信号出力端子RCYと
を有して成る。データ入力端子DATAは、所定ビットのパ
ラレル信号のデータを反転入力するものである。クロッ
ク入力端子CLK1は、クロック信号を入力するものであ
る。ラッチクロック信号入力端子RCKは、カウントのス
タートを示すラッチクロック信号を入力するものであ
る。リップルキャリー信号出力端子RCYは、所定のカウ
ント値に達するとカウント終了を示すリップルキャリー
信号を出力するものである。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit diagram showing an overall configuration of a parallel / serial conversion circuit according to one embodiment of the present invention. The parallel / serial conversion circuit according to the present embodiment includes a presettable counter circuit 1 as a counter unit and a D flip-flop circuit 2 as a latch unit. The presettable counter circuit 1 has a data input terminal DATA, a clock input terminal CLK1, a latch clock signal input terminal RCK, and a ripple carry signal output terminal RCY. The data input terminal DATA is for inverting input of parallel signal data of a predetermined bit. The clock input terminal CLK1 is for inputting a clock signal. The latch clock signal input terminal RCK inputs a latch clock signal indicating the start of counting. The ripple carry signal output terminal RCY outputs a ripple carry signal indicating the end of counting when a predetermined count value is reached.
【0009】Dフリップフロップ回路2は、データ入力
端子Dとクロック入力端子CLK2とリセット端子Rとデー
タ出力端子OUTとを有して成る。データ入力端子Dは、
シリアル信号のデータを入力するものである。クロック
入力端子CLK2は、ラッチクロック信号を入力するもので
ある。リセット端子Rは、リップルキャリー信号を入力
するものである。データ出力端子OUTは、クロック入力
端子CLK2にラッチクロック信号が入力されると、データ
入力端子Dに入力されているシリアル信号のデータを出
力し、リセット端子Rにリップルキャリー信号が入力さ
れると出力を終了するものである。The D flip-flop circuit 2 has a data input terminal D, a clock input terminal CLK2, a reset terminal R, and a data output terminal OUT. The data input terminal D
This is for inputting serial signal data. The clock input terminal CLK2 is for inputting a latch clock signal. The reset terminal R is for inputting a ripple carry signal. The data output terminal OUT outputs the data of the serial signal input to the data input terminal D when the latch clock signal is input to the clock input terminal CLK2, and outputs when the ripple carry signal is input to the reset terminal R. Is to end.
【0010】以下、本実施形態の動作について説明す
る。なお、本実施形態においては、説明の便宜上、入力
として”1010”の4ビットのデータのパラレル信号
をシリアル信号に変換させる動作について説明する。図
2は、本実施形態に係るパラレル/シリアル変換回路の
動作を示すタイミングチャートである。パラレル信号の
データがデータ入力端子DATAに入力されると、ラッチク
ロック信号入力端子RCKに入力されたラッチクロック信
号の立上りによりラッチされ反転入力される。故に、本
実施形態においては、”0101”のデータの値が入力
されることになる。Hereinafter, the operation of this embodiment will be described. In this embodiment, for convenience of explanation, an operation of converting a parallel signal of 4-bit data of “1010” as an input into a serial signal will be described. FIG. 2 is a timing chart showing the operation of the parallel / serial conversion circuit according to the present embodiment. When the data of the parallel signal is input to the data input terminal DATA, the data is latched at the rising edge of the latch clock signal input to the latch clock signal input terminal RCK and is inverted and input. Therefore, in the present embodiment, a data value of “0101” is input.
【0011】そして、クロック入力端子CLK1に入力され
るクロック信号に基づいてカウントを行い、カウント値
が”1111”になるとカウントを終了してリップルキ
ャリー信号出力端子RCYよりカウント終了を示すリップ
ルキャリー信号を出力する。Then, counting is performed based on the clock signal input to the clock input terminal CLK1, and when the count value reaches “1111”, the counting is terminated, and a ripple carry signal indicating the end of the count is output from the ripple carry signal output terminal RCY. Output.
【0012】また、Dフリップフロップ回路2は、クロ
ック入力端子CLK2にラッチクロック信号が入力される
と、データ出力端子OUTの出力を「HIGH」にしてデ
ータ入力端子Dに入力されているシリアル信号のデータ
を出力し、リセット端子Rに入力されたリップルキャリ
ー信号の立上りでデータ出力端子OUTの出力をリセット
して「LOW」にする。そのデータ出力端子OUTからの
出力信号をシリアル信号として用いることによりパラレ
ル信号をシリアル信号に変換することができる。ここ
で、プリセッタブルカウンタ1は、また0からカウント
を開始するが、次にラッチクロック信号の立上りでデー
タをラッチしない限り、Dフリップフロップ回路2から
出力は現れない。When the latch clock signal is input to the clock input terminal CLK2, the D flip-flop circuit 2 sets the output of the data output terminal OUT to "HIGH" and outputs the serial signal input to the data input terminal D. Data is output, and the output of the data output terminal OUT is reset to “LOW” at the rise of the ripple carry signal input to the reset terminal R. By using the output signal from the data output terminal OUT as a serial signal, a parallel signal can be converted to a serial signal. Here, the presettable counter 1 starts counting from 0 again, but the output from the D flip-flop circuit 2 does not appear unless the data is latched next at the rising edge of the latch clock signal.
【0013】従って、パラレル信号のデータに対応した
パルス幅がクロック信号のカウント値で規定されている
ので、伝送線路を伝わってきたデータをミスする(正し
く変換されない)可能性が少なくなる。また、ビット誤
りが下位のビット誤りしか起こらない(パルス幅をカウ
ントするので上位ビットの誤りは起こりにくい)ので、
ビット誤りチェック機構が簡略化できる。更に、必要な
データがパルス幅で規定されるので、HIGHデータや
LOWデータが入り組んだ伝送信号に比べてデータの圧
縮が容易となり、それが伝送線路上でのミスを少なくす
る。Therefore, since the pulse width corresponding to the data of the parallel signal is defined by the count value of the clock signal, the possibility that data transmitted on the transmission line is missed (is not correctly converted) is reduced. Also, since the bit error occurs only in the lower bit error (the upper bit error is less likely to occur because the pulse width is counted),
The bit error checking mechanism can be simplified. Further, since the required data is defined by the pulse width, the data can be easily compressed as compared with a transmission signal in which HIGH data and LOW data are complicated, which reduces errors on the transmission line.
【0014】なお、本実施形態においては、4ビットの
データから成るパラレル信号をシリアル信号に変換する
場合について説明したが、これに限定される必要はな
く、2nビット(n=3,・・・,k)の場合について
も同様の効果を奏する。また、本実施形態においては、
パラレル信号のデータを反転させた上でカウントアップ
を行う場合について説明しているが、これに限定される
必要はなく、パラレル信号のデータをカウント値として
カウントダウンを行うようにしてもパラレル信号をシリ
アル信号に変換することができる。In the present embodiment, the case where a parallel signal composed of 4-bit data is converted into a serial signal has been described. However, the present invention is not limited to this, and 2n bits (n = 3,...) , K) have the same effect. In the present embodiment,
The case where the count-up is performed after inverting the data of the parallel signal has been described. However, the present invention is not limited to this. Even if the count-down is performed using the data of the parallel signal as the count value, the parallel signal is serialized. It can be converted to a signal.
【0015】請求項1記載の発明は、所定ビットのパラ
レル信号及びラッチクロック信号とクロック信号が入力
されるデータ入力端子及びラッチクロック信号端子とク
ロック入力端子と、リップルキャリー信号出力端子を有
し、パラレル信号及びラッチクロック信号が入力された
ときに入力されたパラレル信号のデータをクロック入力
端子に入力されたクロック信号に基づいてカウントを行
い所定のカウント値になったときにリップルキャリー信
号出力端子からリップルキャリー信号を出力するカウン
タ部と、シリアル信号のデータが入力されるデータ入力
端子と、ラッチクロック信号をクロック信号として入力
されるクロック入力端子と、リップルキャリー信号がリ
セット信号として入力されるリセット端子と、データ出
力端子とを有し、前記ラッチクロック信号が入力される
とデータ出力端子の出力をHIGHにしてデータ入力端
子に入力されているシリアル信号のデータをデータ出力
端子から出力し、リセット端子に入力されたリップルキ
ャリー信号の立上りでデータ出力端子の出力をリセット
してLOWにすることにより、前記ラッチクロック信号
が入力されると前記カウンタ部からのリップルキャリー
信号が入力されるまでシリアル信号を出力し続けるラッ
チ部とを有するので、伝送経路を伝わってきたデータを
ミスする(正しく変換されない)可能性が少なくなり、
また、ビット誤りが下位のビット誤りしか起こらない
(パルス幅をカウントするので上位ビットの誤りは起こ
りにくい)ので、ビット誤りチェック機構が簡略化で
き、更に、必要なデータがパルス幅で規定されるので、
HIGHデータやLOWデータが入り組んだ伝送信号に
比べてデータの圧縮が容易となり、それが伝送線路上で
のミスを少なくでき、安定したシリアル信号のデータが
出力されるパラレル/シリアル変換回路を提供すること
ができた。[0015] claimed invention in claim 1, wherein the data input terminal and the latch clock signal terminal and click the parallel signal and the latch clock signal and the clock signal of a predetermined bit are entered
Has a lock input terminal and a ripple carry signal output terminal
Then, when the parallel signal and the latch clock signal are input, the data of the input parallel signal is clock input.
Counts based on the clock signal input to the pin and outputs a ripple carry signal when the count reaches a predetermined value.
Counter that outputs a ripple carry signal from the signal output terminal, and a data input that receives serial signal data
Pin and latch clock signal input as clock signal
Clock input terminal and ripple carry signal
The reset terminal input as a set signal and the data output
And a power terminal, wherein in the latch clock signal is input the output of the data output terminal to HIGH data input
Data output of serial signal data input to the slave
Ripple output from the terminal and input to the reset terminal
Reset of the data output terminal at the rise of the carry signal
And the latch section keeps outputting a serial signal until the ripple carry signal is inputted from the counter section when the latch clock signal is inputted, so that the data transmitted through the transmission path is provided. Is less likely to be missed (not converted correctly)
In addition, since only a lower bit error occurs in a bit error (an upper bit error hardly occurs because the pulse width is counted), a bit error check mechanism can be simplified, and necessary data is defined by the pulse width. So
Provided is a parallel / serial conversion circuit that facilitates data compression as compared with a transmission signal in which HIGH data and LOW data are complicated, which can reduce errors on a transmission line and that outputs stable serial signal data. I was able to.
【0016】請求項2記載の発明は、請求項1記載のパ
ラレル/シリアル変換回路において、カウンタ部は、入
力されたパラレル信号のデータを反転させた上でカウン
トアップを行うようにしたので、伝送経路を伝わってき
たデータをミスする(正しく変換されない)可能性が少
なくなり、また、ビット誤りが下位のビット誤りしか起
こらない(パルス幅をカウントするので上位ビットの誤
りは起こりにくい)ので、ビット誤りチェック機構が簡
略化でき、更に、必要なデータがパルス幅で規定される
ので、HIGHデータやLOWデータが入り組んだ伝送
信号に比べてデータの圧縮が容易となる。According to a second aspect of the present invention, in the parallel / serial conversion circuit according to the first aspect, the counter section counts up after inverting the data of the input parallel signal. The possibility that data transmitted along the path is missed (is not correctly converted) is reduced, and bit errors occur only in lower bits (errors in upper bits are less likely to occur because the pulse width is counted). Since the error checking mechanism can be simplified and the required data is defined by the pulse width, the data can be easily compressed as compared with a transmission signal in which HIGH data and LOW data are complicated.
【図1】本発明の一実施形態に係るパラレル/シリアル
変換回路の全体構成を示す回路図である。FIG. 1 is a circuit diagram showing an overall configuration of a parallel / serial conversion circuit according to an embodiment of the present invention.
【図2】本実施形態に係るパラレル/シリアル変換回路
変換回路の動作を示すタイミングチャートである。FIG. 2 is a timing chart showing the operation of the parallel / serial conversion circuit conversion circuit according to the present embodiment.
1 プリセッタブルカウンタ回路 2 Dフリップフロップ回路 DATA データ入力端子 CLK1,CLK2 クロック入力端子 RCK ラッチクロック信号入力端子 RCY リップルキャリー信号出力端子 D データ入力端子 R リセット端子 OUT データ出力端子 1 Presettable counter circuit 2 D flip-flop circuit DATA Data input terminal CLK1, CLK2 Clock input terminal RCK Latch clock signal input terminal RCY Ripple carry signal output terminal D Data input terminal R Reset terminal OUT Data output terminal
Claims (2)
ック信号とクロック信号が入力されるデータ入力端子及
びラッチクロック信号端子とクロック入力端子と、リッ
プルキャリー信号出力端子を有し、パラレル信号及びラ
ッチクロック信号が入力されたときに入力されたパラレ
ル信号のデータをクロック入力端子に入力されたクロッ
ク信号に基づいてカウントを行い所定のカウント値にな
ったときにリップルキャリー信号出力端子からリップル
キャリー信号を出力するカウンタ部と、シリアル信号の
データが入力されるデータ入力端子と、ラッチクロック
信号をクロック信号として入力されるクロック入力端子
と、リップルキャリー信号がリセット信号として入力さ
れるリセット端子と、データ出力端子とを有し、前記ラ
ッチクロック信号が入力されるとデータ出力端子の出力
をHIGHにしてデータ入力端子に入力されているシリ
アル信号のデータをデータ出力端子から出力し、リセッ
ト端子に入力されたリップルキャリー信号の立上りでデ
ータ出力端子の出力をリセットしてLOWにすることに
より、前記ラッチクロック信号が入力されると前記カウ
ンタ部からのリップルキャリー信号が入力されるまでシ
リアル信号を出力し続けるラッチ部とを有して成ること
を特徴とするパラレル/シリアル変換回路。1. A predetermined bit parallel signal and the latch clock signal and a data input terminal及 a clock signal are entered
Clock signal terminal, clock input terminal,
It has a pull carry signal output terminal, and when the parallel signal and the latch clock signal are input, the data of the parallel signal input is input to the clock input terminal.
A counter that outputs a ripple carry signal from a ripple carry signal output terminal when a predetermined count value is reached based on a count signal based on the serial signal;
A data input terminal to which data is input and a latch clock
Clock input terminal for inputting a signal as a clock signal
And the ripple carry signal is input as a reset signal.
And a data output terminal. When the latch clock signal is input , the output of the data output terminal is
Is set to HIGH and the serial signal input to the data input terminal is
Output data from the data output terminal and reset
At the rising edge of the ripple carry signal input to the
Reset the output of the data output terminal to LOW
And a latch section for continuously outputting a serial signal until the ripple carry signal is input from the counter section when the latch clock signal is input.
レル信号のデータを反転させた上でカウントアップを行
うようにしたことを特徴とする請求項1記載のパラレル
/シリアル変換回路。2. The parallel / serial conversion circuit according to claim 1, wherein the counter section counts up after inverting data of the input parallel signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34065695A JP3334466B2 (en) | 1995-12-27 | 1995-12-27 | Parallel / serial conversion circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34065695A JP3334466B2 (en) | 1995-12-27 | 1995-12-27 | Parallel / serial conversion circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09181614A JPH09181614A (en) | 1997-07-11 |
JP3334466B2 true JP3334466B2 (en) | 2002-10-15 |
Family
ID=18339066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP34065695A Expired - Fee Related JP3334466B2 (en) | 1995-12-27 | 1995-12-27 | Parallel / serial conversion circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3334466B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW468269B (en) * | 1999-01-28 | 2001-12-11 | Semiconductor Energy Lab | Serial-to-parallel conversion circuit, and semiconductor display device employing the same |
-
1995
- 1995-12-27 JP JP34065695A patent/JP3334466B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH09181614A (en) | 1997-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6260152B1 (en) | Method and apparatus for synchronizing data transfers in a logic circuit having plural clock domains | |
US5331669A (en) | Asynchronous pulse converter | |
KR100434833B1 (en) | Serial/parallel conversion circuit, data transfer control device and electronic equipment | |
JPS62269412A (en) | High resolution delay timer | |
US6163584A (en) | Synchronization element for converting an asynchronous pulse signal into a synchronous pulse signal | |
JP3334466B2 (en) | Parallel / serial conversion circuit | |
JPS5923647A (en) | Method of converting serial data signal and converting circuit | |
CN111211774B (en) | Bounce eliminating circuit | |
JP3341556B2 (en) | Serial / parallel conversion circuit | |
US4078204A (en) | Di-phase pulse receiving system | |
EP0839424A1 (en) | Extended chip select reset apparatus and method | |
JPH1168861A (en) | Simultaneous bidirectional transmission / reception method and simultaneous bidirectional transmission / reception circuit | |
JP3513399B2 (en) | Variable timing device using serial data | |
JPH04316126A (en) | Code converting device | |
US6668298B1 (en) | Shifting an input signal from a high-speed domain to a lower-speed domain | |
JP2734287B2 (en) | Sampling clock information generation circuit | |
KR0164790B1 (en) | Color Format Converter | |
CN118573346A (en) | Synchronous handshake circuit, data transmitting terminal and data transmission system | |
JPH01143435A (en) | Data transmission equipment | |
JPH10135838A (en) | CMI / NRZ conversion circuit | |
JP2575920Y2 (en) | Switching information issuing circuit | |
JPH05315971A (en) | Serial/parallel conversion circuit | |
JP2970241B2 (en) | Sampling clock information generation circuit | |
JP3471275B2 (en) | Synchronization circuit | |
JPS62239742A (en) | Data processing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20020702 |
|
LAPS | Cancellation because of no payment of annual fees |