JPH0370414B2 - - Google Patents
Info
- Publication number
- JPH0370414B2 JPH0370414B2 JP22559686A JP22559686A JPH0370414B2 JP H0370414 B2 JPH0370414 B2 JP H0370414B2 JP 22559686 A JP22559686 A JP 22559686A JP 22559686 A JP22559686 A JP 22559686A JP H0370414 B2 JPH0370414 B2 JP H0370414B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output
- circuit
- cmi
- data
- 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
Links
- 230000001934 delay Effects 0.000 claims description 2
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 230000003111 delayed effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Dc Digital Transmission (AREA)
Description
【発明の詳細な説明】
(イ) 産業上の利用分野
この発明は、通常のNRZ符号信号を伝送信号
用のCMI符号信号に変換するCMI符号化回路に
関する。DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application This invention relates to a CMI encoding circuit that converts a normal NRZ code signal into a CMI code signal for a transmission signal.
(ロ) 従来の技術
CMI符号とは1ビツトのデータ信号を2ビツ
トのブロツクに符号化する1B2B符号の一種であ
り、データ“0”を“01”のブロツクに、データ
“1”を途中のデータ“0”にかかわりなく交互
に“00”と“11”のブロツクに符号化された符号
をいう。(b) Conventional technology CMI code is a type of 1B2B code that encodes a 1-bit data signal into 2-bit blocks, with data “0” in blocks of “01” and data “1” in the middle. A code that is encoded into blocks of "00" and "11" alternately, regardless of data "0".
従来のCMI符号化回路のブロツク図を第4図
に示す。 A block diagram of a conventional CMI encoding circuit is shown in FIG.
第4図において、4,1,4,2は入力端子で
あり、4,1はNRZ符号のデータ信号の入力端
子、4,2はNRZ符号のデータ信号と同期した
クロツク信号の入力端子である。ラツチ回路4,
3によりデータ信号4,aをラツチし、データが
“0”の時出力する信号4,bとデータが“1”
の時出力する信号4・cとに分離する。入力端子
4,2から入力されたクロツク信号4,dをデー
タ“0”のゲート回路4・4に入力し、信号4,
bによりゲートを開きデータが“0”の時だけク
ロツク信号4・dを出力する。また、データ
“1”の入力毎にレベル“0”と“1”を交互に
出力するデータ“1”のレベル記憶回路4・5の
出力信号4・eをデータ“1”のゲート回路4・
6に入力し、信号4・cによりゲートを開き、デ
ータが“1”の時だけ信号4・eを出力する。そ
して合成回路4・7によりゲート回路4・4の出
力信号4・fとゲート回路4・6の出力信号4・
gとを合成し、CMI符号信号4・hを生成し、
出力端子4・8に出力する。 In Figure 4, 4, 1, 4, 2 are input terminals, 4, 1 are input terminals for the NRZ code data signal, and 4, 2 are the input terminals for the clock signal synchronized with the NRZ code data signal. . Latch circuit 4,
3 latches data signal 4, a, and outputs signal 4, b when data is “0” and data is “1”
It is separated into signals 4 and c which are output when . The clock signals 4, d input from the input terminals 4, 2 are input to the gate circuits 4, 4 of data "0", and the signals 4, d are input to the gate circuits 4, 4 of data "0".
b opens the gate and outputs the clock signal 4.d only when the data is "0". Furthermore, the output signals 4.e of the level storage circuits 4.5 for data "1" which alternately output levels "0" and "1" each time data "1" is input are transferred to the gate circuit 4.e for data "1".
6, the gate is opened by signal 4.c, and signal 4.e is output only when the data is "1". Then, the output signal 4.f of the gate circuit 4.4 and the output signal 4.f of the gate circuit 4.6 are generated by the combining circuit 4.7.
g and generates a CMI code signal 4 h,
Output to output terminals 4 and 8.
第4図の具体的な回路を第5図に、その各信号
のタイミングチヤートを第6図に示す。第5図に
おいて5・1はNRZ符号のデータ信号の入力端
子、5・2はNRZ符号のデータ信号と同期した
クロツク信号の入力端子、5・3はデータ信号の
ラツチ回路を構成するフリツプフロツプ、5・4
はデータ“0”のゲート回路を構成するNORゲ
ートである。さらに5・5はNOTゲート、5・
6はNORゲート、5・7はフリツプフロツプで
あり、これらはデータ“1”のレベル記憶回路を
構成する。また、5・8はデータ“1”のゲート
回路を構成するNORゲート、5・9は合成回路
を構成するEX−ORゲート、5・10はCMI符
号の出力端子である。なお、第6図の5・a〜
5・hは第5図の各部の信号を示している。 The specific circuit shown in FIG. 4 is shown in FIG. 5, and the timing chart of each signal is shown in FIG. In FIG. 5, 5.1 is an input terminal for an NRZ code data signal, 5.2 is an input terminal for a clock signal synchronized with the NRZ code data signal, 5.3 is a flip-flop constituting a data signal latch circuit, and 5.・4
is a NOR gate forming a gate circuit for data “0”. Furthermore, 5.5 is NOT gate, 5.
6 is a NOR gate, and 5 and 7 are flip-flops, which constitute a level storage circuit for data "1". Further, 5 and 8 are NOR gates forming a gate circuit for data "1", 5 and 9 are EX-OR gates forming a synthesis circuit, and 5 and 10 are output terminals for the CMI code. In addition, 5.a~ in Figure 6
5.h indicates signals of each part in FIG.
以上のように従来回路では、データ“0”のゲ
ート回路と、データ“1”のゲート回路によりデ
ータを“0”の時と“1”の時とで別々にCMI
符号化し、最終段でこれらを合成し、CMI符号
として出力している。第5図において、EX−
ORゲート5・9がその合成回路であり、データ
“0”をCMI符号化した信号5・fとデータ
“1”をCMI符号化した信号5・gとを入力と
し、CMI符号の信号5・hを出力する。 As described above, in the conventional circuit, the gate circuit for data "0" and the gate circuit for data "1" perform CMI separately for data "0" and "1".
These are encoded, combined in the final stage, and output as a CMI code. In Figure 5, EX-
OR gates 5 and 9 are the synthesis circuits, which input signals 5 and 5, which are CMI-encoded data “0” and signals 5 and g, which are CMI-encoded data “1”, and receive CMI-encoded signals 5 and 9. Output h.
(ハ) 発明が解決しようとする問題点
しかしながらこのような回路方式では信号5・
fと信号5・gとが通過してくるゲート数がそれ
ぞれ異なるため、両信号間にゲート遅延の差が生
じ、第6図の信号5・hの矢印の示す位置にグリ
ツチが発生する。また、通過してくるゲート数を
等しくしても、各ゲートの温度特性の違いや、高
速化による波形のひずみにより、グリツチが発生
する。従来、このグリツチを取り除くために、2
逓倍したクロツクで波形整形しているが、高速化
すると波形がひずみグリツチ幅が拡がるため、信
号と2逓倍クロツクのタイミングにより、ビツト
誤りが生じるという欠点があつた。(c) Problems to be solved by the invention However, in this circuit system, the signal 5.
Since the number of gates through which f and signal 5.g pass is different, a difference in gate delay occurs between the two signals, and a glitch occurs at the position indicated by the arrow of signal 5.h in FIG. Furthermore, even if the number of gates passing through is equal, glitches occur due to differences in the temperature characteristics of each gate and waveform distortion due to increased speed. Conventionally, in order to remove this glitch, 2
The waveform is shaped using a multiplied clock, but as the speed increases, the waveform becomes distorted and the glitch width widens, so there is a drawback that bit errors occur depending on the timing of the signal and the doubled clock.
この発明はこのような事情を考慮してなされた
もので、NRZ符号のデータ信号をCMI符号に符
号化するにあたり、回路内の各信号のゲート遅延
にかかわりなく、CMI符号の出力信号にグリツ
チのような波形欠陥を発生することのない安定し
たCMI符号化回路を提供するものである。 This invention was made in consideration of the above circumstances, and when encoding a data signal of an NRZ code into a CMI code, the glitch is not caused in the output signal of the CMI code, regardless of the gate delay of each signal in the circuit. The present invention provides a stable CMI encoding circuit that does not generate such waveform defects.
(ニ) 問題点を解決するための手段
この発明は、NRZ符号信号を遅延させてCMI
符号信号に符号化するCMI符号化回路において、
クロツク信号発生回路と、クロツク信号をうけた
ときに出力の反転動作を行いCMI符号信号を形
成して出力する出力反転回路と、前記NRZ符号
信号と前記CMI符号信号を比較し、その結果に
基づいて指令信号を出力する判定回路と、指令信
号を受けてゲートを開閉しクロツク信号を出力反
転回路に供給するゲート回路と、NRZ符号信号
の1に対応して最近に出力されたCMI符号信号
のレベルを記憶信号として格納する記憶回路とを
備え、判定回路は、NRZ符号信号が0の場合に
は出力中のCMI符号信号が01になるように、ま
た、NRZ符号信号が1の場合には出力中のCMI
符号信号がNRZ符号信号と記憶信号とが同レベ
ルのときに反転して00又は11となるように、ゲー
ト回路に指令信号を出力することを特徴とする
CMI符号化回路である。(d) Means for solving the problem This invention delays the NRZ code signal to
In a CMI encoding circuit that encodes into a code signal,
A clock signal generation circuit, an output inversion circuit that performs an output inversion operation when receiving a clock signal to form and output a CMI code signal, compare the NRZ code signal and the CMI code signal, and based on the result, a gate circuit that opens and closes the gate in response to the command signal and supplies a clock signal to the output inversion circuit; and a memory circuit that stores the level as a memory signal, and the determination circuit is configured such that when the NRZ code signal is 0, the CMI code signal being output is 01, and when the NRZ code signal is 1, CMI being output
A command signal is output to the gate circuit so that the code signal is inverted and becomes 00 or 11 when the NRZ code signal and the storage signal are at the same level.
This is a CMI encoding circuit.
(ホ) 作用
判定回路は、NRZ符号信号として、たとえば、
「0」が入力されたとき、前記出力反転回路が
CMI符号信号として「1」を出力している場合
にはその出力を反転させ、「0」を出力している
場合にはその出力を持続させていずれも半クロツ
ク後にその出力を反転させる。また、NRZ符号
信号として、たとえば、「1」が入力されたとき、
前記記憶回路と前記出力反転回路とが共に同レベ
ルの信号を出力としているときのみ前記出力反転
回路の出力を反転させ、CMI符号化が行われる。
つまり、前記判定回路は前記出力反転回路の
CMI符号化された出力をフイードバツクし、入
力されるNRZ符号信号と比較して次に出力すべ
き信号レベルを判定し、その信号レベルになるよ
うに前記出力反転回路の出力を反転させる。反転
動作によりCMI符号信号が形成されるので、常
に安定した出力が得られる。(E) Effect The determination circuit receives, for example, the NRZ code signal.
When “0” is input, the output inverting circuit
If "1" is being output as a CMI code signal, the output is inverted; if "0" is being output, the output is maintained and in both cases the output is inverted after half a clock. Also, for example, when "1" is input as the NRZ code signal,
Only when the storage circuit and the output inversion circuit both output signals of the same level, the output of the output inversion circuit is inverted and CMI encoding is performed.
In other words, the judgment circuit is the output inverting circuit.
The CMI encoded output is fed back and compared with the input NRZ encoded signal to determine the next signal level to be output, and the output of the output inverting circuit is inverted to reach that signal level. Since the CMI code signal is formed by the inversion operation, a stable output is always obtained.
(ヘ) 実施例
以下、図面に示す実施例に基づいてこの発明を
詳述する。なお、これによつてこの発明が限定さ
れるものではない。(F) Embodiments The present invention will be described in detail below based on embodiments shown in the drawings. Note that this invention is not limited to this.
第1図はこの発明の構成を示すブロツク図であ
る。第1図において、1・1,1・2は入力端子
であり、1・1はNRZ符号のデータ信号の入力
端子、1・2はNRZ符号のデータ信号と同期し
たクロツク信号の入力端子である。ラツチ・遅延
回路1・3により、データ信号をラツチし、デー
タ信号と反転信号及びそれらの半クロツク分遅延
したデータを出力する。判定回路1・4ではラツ
チ・遅延回路1・3からの入力データ信号と、デ
ータ“1”のレベル記憶回路1・5で保持してい
るレベルと、現在CMI符号として出力している
レベルとを比較し、次のデータ信号をCMI符号
化して出力する際、現在出力しているレベルを反
転しなければならない時だけ、ゲート回路1・6
〜1・8のいずれかのゲートを開きクロツク信号
を出力反転回路1・9へ出力する。出力反転回路
1・9は3本の入力信号線のそれぞれのクロツク
信号の立上りで出力を反転する回路であり、出力
端子1・10にCMI符号の信号として出力する。
次に、判定回路1・4の動作について説明する。
データ“0”が入力された時は、CMI符号とし
て“01”を出力するため、現在CMI符号として
出力しているレベルが“1”の時は出力を反転し
てまずレベルを“0”にしなければならない。そ
こでゲート回路1・6を開き、クロツク信号を出
力反転回路1・9に出力し現在の出力を反転して
レベルを“0”にする。またデータ“0”が入力
されたとき、CMI符号として出力しているレベ
ルが“0”の時は、出力を反転しなくてもよいの
でゲート回路1・6を閉じたままにしておき出力
を反転しないようにする。そして、前記のどちら
の場合でも半クロツク後にはCMI符号として出
力しているレベルを“0”から“1”に反転しな
ければならない。そこで、ゲート回路1・7を開
き、半クロツク分遅れたクロツク信号を出力反転
回路1・9に出力し、現在の出力を反転してレベ
ルを“1”にする。一方データ“1”が入力され
た時は、それ以前のデータ“1”の時にCMI符
号として“11”を出力していたら“00”を、逆に
“00”を出力していたら“11”を出力する。デー
タ“1”のレベル記憶回路には、それ以前のデー
タ“1”の時に出力したレベルが保持されてお
り、判定回路1・4で、これを判定し、次に出力
すべきレベルと現在CMI符号として出力してい
るレベルとを比較し、その出力を反転しなければ
ならない時のみ、ゲート回路1・8を開きクロツ
ク信号を出力反転回路1・9に出力し、現在の出
力を反転する。またこの時データ“1”のレベル
記憶回路1・5でこのCMI符号の出力レベルを
保持しておき、次にデータ“1”を入力した時の
判定用信号として判定回路1・4に出力する。以
上のように判定回路1・4は、入力されたデータ
により、それをCMI符号として出力するレベル
を判定し、現在CMI符号として出力しているレ
ベルを反転しなければならない時のみ、ゲート回
路1・6〜1・8を通してクロツク信号を出力反
転回路1・9に出力するように動作する。 FIG. 1 is a block diagram showing the configuration of the present invention. In Figure 1, 1, 1, 1, and 2 are input terminals, 1 and 1 are input terminals for the NRZ code data signal, and 1 and 2 are the input terminals for the clock signal synchronized with the NRZ code data signal. . The latch/delay circuits 1 and 3 latch the data signal and output the data signal, an inverted signal, and data delayed by a half clock. The determination circuits 1 and 4 compare the input data signals from the latch/delay circuits 1 and 3, the level held in the data "1" level storage circuits 1 and 5, and the level currently output as a CMI code. When comparing and outputting the next data signal after CMI encoding, gate circuits 1 and 6 are used only when the currently output level needs to be inverted.
Open any one of the gates 1 and 8 and output the clock signal to the output inverting circuits 1 and 9. The output inverting circuits 1 and 9 are circuits that invert the output at the rising edge of the clock signal of each of the three input signal lines, and output them as CMI code signals to the output terminals 1 and 10.
Next, the operation of the determination circuits 1 and 4 will be explained.
When data “0” is input, “01” is output as the CMI code, so if the level currently being output as the CMI code is “1”, the output is inverted and the level is set to “0” first. There must be. Therefore, the gate circuits 1 and 6 are opened, and the clock signals are output to the output inverting circuits 1 and 9 to invert the current output and set the level to "0". Also, when data "0" is input and the level output as a CMI code is "0", there is no need to invert the output, so gate circuits 1 and 6 are kept closed and the output is Avoid flipping. In either of the above cases, the level output as a CMI code must be inverted from "0" to "1" after half a clock. Therefore, gate circuits 1 and 7 are opened, and a clock signal delayed by half a clock is outputted to output inverting circuits 1 and 9 to invert the current output and set the level to "1". On the other hand, when data "1" is input, if "11" was output as the CMI code when the data was "1" before then, "00" is output, and conversely, if "00" was output, "11" is output. Output. The level storage circuit for data "1" retains the level output at the time of the previous data "1", and the judgment circuits 1 and 4 judge this and determine the level to be output next and the current CMI. The level outputted as a code is compared, and only when the output needs to be inverted, the gate circuits 1 and 8 are opened and a clock signal is output to the output inversion circuits 1 and 9 to invert the current output. Also, at this time, the output level of this CMI code is held in the level storage circuits 1 and 5 for data "1", and is output to the decision circuits 1 and 4 as a decision signal when the next data "1" is input. . As described above, the judgment circuits 1 and 4 judge the level at which to output the input data as a CMI code, and only when the level currently being output as a CMI code needs to be inverted, the gate circuit 1・It operates to output the clock signal to the output inverting circuits 1 and 9 through the circuits 6 to 1 and 8.
第2図は第1図のブロツク図に対応する一実施
例の電気回路図、第3図は第2図の各信号のタイ
ミングチヤートである。第2図において2・1は
NRZ符号のデータ信号の入力端子、2・2は
NRZ符号のデータ信号と同期したクロツク信号
の入力端子、2・3,2・4はそれぞれデータ信
号のラツチ・遅延回路を構成するフリツプフロツ
プ、2・5は判定回路の一部を構成するEX−
ORゲート、2・6〜2・8は判定回路兼クロツ
ク信号のゲート回路を構成するANDゲート、
2・9および2・10はそれぞれデータ“1”の
レベル記憶回路を構成するANDゲートおよびフ
リツプフロツプ、2・11〜2・13および2・
14〜2・18はそれぞれ出力反転回路を構成す
るフリツプフロツプおよびNANDゲート、2・
19および2・20はクロツク信号とその反転信
号をそれぞれにゲート遅延の差が生じないように
出力する回路を構成するEX−ORゲート、2・
21はCMI符号の出力端子である。また第3図
の2・a〜2・jは第2図の各部の信号を示して
いる。 FIG. 2 is an electrical circuit diagram of one embodiment corresponding to the block diagram of FIG. 1, and FIG. 3 is a timing chart of each signal in FIG. 2. In Figure 2, 2.1 is
NRZ code data signal input terminal, 2.2 is
An input terminal for a clock signal synchronized with the data signal of the NRZ code; 2, 3, 2, and 4 are flip-flops that each constitute a latch/delay circuit for the data signal; 2 and 5 are flip-flops that constitute a part of the determination circuit;
OR gate, 2.6 to 2.8 are AND gates that constitute a judgment circuit and a clock signal gate circuit;
2.9 and 2.10 are AND gates and flip-flops that constitute a data "1" level storage circuit, respectively; 2.11 to 2.13 and 2.10;
14 to 2.18 are flip-flops and NAND gates that constitute the output inverting circuit, respectively;
19, 2 and 20 are EX-OR gates that constitute a circuit that outputs a clock signal and its inverted signal so that there is no difference in gate delay;
21 is a CMI code output terminal. Further, 2.a to 2.j in FIG. 3 indicate signals of each part in FIG.
次に、第2図の動作について説明する。 Next, the operation shown in FIG. 2 will be explained.
まず、入力端子2・2から入力されたクロツク
信号をEX−ORゲート2・19、2・20に入
力し、EX−ORゲート2・19からクロツク信
号2・bを、EX−ORゲート2・20からクロ
ツク反転信号を出力させる。フリツプフロツプ
2・3は入力端子2・1から入力されたデータ信
号2・aをクロツク信号2・bでラツチし、出力
Qからデータ信号2・cを、出力からその反転
信号をそれぞれ出力する。フリツプフロツプ2・
4は、さらにデータ信号2・cをクロツク反転信
号でラツチすることにより、出力Qから半クロツ
ク分遅延したデータ信号2・dを、出力からそ
の反転信号を出力する。ANDゲート2・6はデ
ータ信号2・cの反転信号とCMI符号の出力信
号とクロツク反転信号を入力することにより、デ
ータ信号2・aが“0”で現在CMI符号として
出力しているレベルが“1”のときクロツク反転
信号を出力する(信号2・g)。ANDゲート2・
7は半クロツク分遅延したデータ信号2・dの反
転信号とクロツク信号2・bを入力することによ
りデータ信号2・dが“0”のときは必ずクロツ
ク信号2・bを出力する(信号2・h)。ANDゲ
ート2・9は半クロツク分遅延したデータ信号
2・dとクロツク信号2・bを入力することによ
りデータ信号2・dが“1”のときは必ずクロツ
ク信号を出力する(信号2・e)。フリツプフロ
ツプ2・10ではCMI符号の出力信号を信号
2・eでラツチすることにより、データ信号2・
dが“1”のとき出力したCMI符号のレベルを
保持しておく。EX−ORゲート2・5はフリツ
プフロツプ2・10の出力(信号2・f)と
CMI符号の出力信号を入力することにより、以
前にデータ“1”で出力したレベルと現在CMI
符号として出力しているレベルが等しい時レベル
“1”を出力する。ANDゲート2・8はデータ信
号2・cと、EX−ORゲート2・5の出力と、
クロツク反転信号を入力することにより、データ
信号2・cが“1”で、かつ、以前にデータ
“1”で出力したレベルと現在CMI符号として出
力しているレベルが等しい時クロツク反転信号を
出力する(信号2・i)。上述した信号2・g、
2・h、2・iがCMI符号の出力信号を反転さ
せるクロツク信号となる。フリツプフロツプ2・
11,2・12,2・13では、それぞれ信号
2・g,2・h,2・iで内部のラツチ信号が反
転する。NANDゲート2・14〜2・18はフ
リツプフロツプ2・11〜2・13のうち出力Q
のレベルが“1”であるものが偶数個(0又は
2)であればレベル“0”を、寄数個(1又は
3)であればレベル“1”をNANDゲート2・
18から出力する。これにより、フリツプフロツ
プ2・11〜2・13のうちいずれか1つのラツ
チ信号が反転すると、NANDゲート2・18の
出力が反転する。以上の動作によりNANDゲー
ト2・18の出力信号2・jはデータ信号2・a
をCMI符号に符号化した信号となる。 First, the clock signal input from the input terminal 2.2 is input to the EX-OR gate 2.19, 2.20, and the clock signal 2.b from the EX-OR gate 2.19 is input to the EX-OR gate 2.2. 20 outputs a clock inversion signal. The flip-flops 2 and 3 latch the data signal 2 and a input from the input terminals 2 and 1 with the clock signal 2 and b, and output the data signal 2 and c from the output Q and the inverted signal thereof, respectively. Flip Flop 2・
4 further latches the data signal 2.c with an inverted clock signal, thereby outputting the data signal 2.d delayed by half a clock from the output Q, and the inverted signal thereof from the output. AND gates 2 and 6 input the inverted signal of data signal 2.c, the output signal of the CMI code, and the inverted clock signal, so that when the data signal 2.a is "0", the level currently output as the CMI code is When it is "1", a clock inversion signal is output (signal 2.g). AND gate 2・
7 inputs the inverted signal of the data signal 2.d delayed by half a clock and the clock signal 2.b, thereby outputting the clock signal 2.b whenever the data signal 2.d is "0" (signal 2.・h). By inputting the data signal 2.d delayed by half a clock and the clock signal 2.b, the AND gates 2.9 output a clock signal whenever the data signal 2.d is "1" (signal 2.e ). Flip-flop 2.10 latches the output signal of the CMI code with signal 2.e, thereby generating data signal 2.e.
The level of the CMI code output when d is "1" is held. EX-OR gates 2 and 5 are connected to the outputs of flip-flops 2 and 10 (signals 2 and f).
By inputting the CMI code output signal, the level previously output with data “1” and the current CMI
When the levels output as codes are equal, a level "1" is output. AND gates 2 and 8 receive data signals 2 and c, and outputs of EX-OR gates 2 and 5,
By inputting the clock inversion signal, the clock inversion signal is output when the data signal 2/c is "1" and the level previously output with data "1" and the level currently output as the CMI code are equal. (signal 2・i). The signal 2・g mentioned above,
2.h and 2.i are clock signals for inverting the output signal of the CMI code. Flip Flop 2・
At 11, 2.12, and 2.13, the internal latch signals are inverted by signals 2.g, 2.h, and 2.i, respectively. NAND gates 2.14 to 2.18 are the output Q of flip-flops 2.11 to 2.13.
If there is an even number (0 or 2) of which the level is "1", the level is "0", and if the number is an even number (1 or 3), the level "1" is set to the NAND gate 2.
Output from 18. As a result, when the latch signal of any one of the flip-flops 2.11 to 2.13 is inverted, the outputs of the NAND gates 2.18 are inverted. With the above operation, the output signal 2.j of the NAND gate 2.18 becomes the data signal 2.a.
The signal is encoded into a CMI code.
前述の実施例ではクロツク信号及びクロツク反
転信号が50%デユーテイであるため第3図の信号
2・g〜2・iの各信号の立上りと立下りがほぼ
一致して起こる危険性があるため、出力反転回路
の規模を大きくせざるを得ないが、第7図に示す
ようにクロツク信号及びクロツク反転信号を遅延
回路7・16,7・17とANDゲート7・18,
7・19により、レベルが“1”である期間を短
くすると第8図に示すように信号7・h〜7・j
の各信号の立上りと立下りが同時に起こることが
全くなくなるため、第7図のようにORゲート
7・11とフリツプフロツプ7・12だけで出力
反転回路が構成でき、回路規模を小さくできる。 In the above-mentioned embodiment, since the clock signal and the clock inversion signal have a duty of 50%, there is a risk that the rise and fall of each of the signals 2.g to 2.i in FIG. 3 will occur almost at the same time. Although the scale of the output inversion circuit has to be increased, as shown in FIG.
7.19, if the period during which the level is "1" is shortened, the signals 7.h to 7.j will be reduced as shown in FIG.
Since the rise and fall of each signal never occur at the same time, an output inversion circuit can be constructed with only OR gates 7 and 11 and flip-flops 7 and 12 as shown in FIG. 7, and the circuit scale can be reduced.
このようにして、この発明によるCMI符号化
回路は、CMI符号の出力信号を判定回路に入力
し、次に入力するデータ信号等と比較し、必要な
時だけ最終段の出力反転回路にクロツク信号を入
力して出力を反転させる方式を採用したので、
CMI符号として出力するレベルを反転させる必
要がない時には、最終段の出力反転回路にクロツ
ク信号を入力しないため出力反転回路は全く動作
せず、出力するCMI符号の信号にグリツチが発
生するのを確実におさえることができる。 In this way, the CMI encoding circuit according to the present invention inputs the output signal of the CMI code to the determination circuit, compares it with the next input data signal, etc., and sends a clock signal to the final stage output inversion circuit only when necessary. Since we adopted a method of inputting and inverting the output,
When there is no need to invert the level output as a CMI code, the clock signal is not input to the final stage output inversion circuit, so the output inversion circuit does not operate at all, ensuring that glitches do not occur in the output CMI code signal. can be suppressed.
(ト) 発明の効果
この発明によれば、回路内の各信号のゲート遅
延にかかわりなく、グリツチの発生しない安定し
たCMI符号を出力することができるので、温度
変化によるゲート遅延量の変化が激しい場所にあ
る伝送装置に利用でき、また、低速からある程度
高速のデータ伝送速度をもつ伝送装置に利用する
ことができる。(G) Effects of the Invention According to this invention, a stable CMI code without glitches can be output regardless of the gate delay of each signal in the circuit, so the gate delay amount does not change drastically due to temperature changes. It can be used for transmission equipment located anywhere, and can be used for transmission equipment that has data transmission speeds ranging from low to somewhat high.
第1図はこの発明の一実施例の構成を示すブロ
ツク図、第2図はこの発明の一実施例を示す電気
回路図、第3図は第2図における各部の信号を示
すタイミングチヤート、第4図は従来例の構成を
示すブロツク図、第5図は従来例の回路図、第6
図は第5図における各部の信号のタイミングチヤ
ート、第7図は他の実施例を示す第2図対応図、
第8図は第7図の各部の信号のタイミングチヤー
トである。
2・1……NRZ符号信号入力端子、2・2…
…クロツク信号入力端子、2・3,2・4,2・
10〜2・13……フリツプフロツプ、2・5,
2・19,2・20……EX−ORゲート、2・
6〜2・9,2・14〜2・17……ANDゲー
ト、2・18……NANDゲート、2・21……
CMI符号信号出力端子。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is an electric circuit diagram showing an embodiment of the invention, FIG. 3 is a timing chart showing signals of each part in FIG. Figure 4 is a block diagram showing the configuration of the conventional example, Figure 5 is the circuit diagram of the conventional example, and Figure 6 is the circuit diagram of the conventional example.
The figure is a timing chart of the signals of each part in FIG. 5, and FIG. 7 is a diagram corresponding to FIG. 2 showing another embodiment.
FIG. 8 is a timing chart of signals of each part in FIG. 7. 2.1...NRZ code signal input terminal, 2.2...
...Clock signal input terminal, 2, 3, 2, 4, 2,
10~2・13……Flip Flop, 2・5,
2・19, 2・20……EX-OR gate, 2・
6 to 2.9, 2.14 to 2.17...AND gate, 2.18...NAND gate, 2.21...
CMI code signal output terminal.
Claims (1)
符号化するCMI符号化回路において、クロツク
信号発生回路と、クロツク信号をうけたときに出
力の反転動作を行いCMI符号信号を形成して出
力する出力反転回路と、前記NRZ符号信号と前
記CMI符号信号を比較し、その結果に基づいて
指令信号を出力する判定回路と、指令信号を受け
てゲートを開閉しクロツク信号を出力反転回路に
供給するゲート回路と、NRZ符号信号の1に対
応して最近に出力されたCMI符号信号のレベル
を記憶信号として格納する記憶回路とを備え、判
定回路は、NRZ符号信号が0の場合には出力中
のCMI符号信号が01になるように、また、NRZ
符号信号が1の場合には出力中のCMI符号信号
がNRZ符号信号と記憶信号とが同レベルのとき
に反転して00又は11となるように、ゲート回路に
指令信号を出力することを特徴とするCMI符号
化回路。1 In a CMI encoding circuit that delays an NRZ code signal and encodes it into a CMI code signal, there is a clock signal generation circuit and an output that inverts the output when receiving a clock signal to form and output a CMI code signal. an inversion circuit, a determination circuit that compares the NRZ code signal and the CMI code signal and outputs a command signal based on the result, and a gate that opens and closes a gate in response to the command signal and supplies a clock signal to the output inversion circuit. and a storage circuit for storing the level of the CMI code signal recently outputted as a storage signal corresponding to 1 of the NRZ code signal, and the determination circuit stores the level of the CMI code signal that is being output when the NRZ code signal is 0. Also, NRZ so that the CMI code signal is 01
It is characterized by outputting a command signal to the gate circuit so that when the code signal is 1, the CMI code signal being output is inverted and becomes 00 or 11 when the NRZ code signal and the storage signal are at the same level. CMI encoding circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22559686A JPS6380628A (en) | 1986-09-24 | 1986-09-24 | Cmmi coding circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22559686A JPS6380628A (en) | 1986-09-24 | 1986-09-24 | Cmmi coding circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6380628A JPS6380628A (en) | 1988-04-11 |
| JPH0370414B2 true JPH0370414B2 (en) | 1991-11-07 |
Family
ID=16831801
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22559686A Granted JPS6380628A (en) | 1986-09-24 | 1986-09-24 | Cmmi coding circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6380628A (en) |
-
1986
- 1986-09-24 JP JP22559686A patent/JPS6380628A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6380628A (en) | 1988-04-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6260152B1 (en) | Method and apparatus for synchronizing data transfers in a logic circuit having plural clock domains | |
| JPH0351335B2 (en) | ||
| JP2002208844A (en) | Glitch elimination circuit | |
| JPH0227834A (en) | Phase matching circuit | |
| TW546816B (en) | Input/output interface and semiconductor integrated circuit having input/output interface | |
| US4786823A (en) | Noise pulse suppressing circuit in digital system | |
| JPS5828981B2 (en) | CMI encoder | |
| US5306959A (en) | Electrical circuit for generating pulse strings | |
| US6930522B2 (en) | Method and apparatus to delay signal latching | |
| JPS6179318A (en) | Flip flop circuit | |
| JPH0370414B2 (en) | ||
| JPH0462624B2 (en) | ||
| JPH0614609B2 (en) | Logic gate array | |
| JPH0590970A (en) | Cmi encoder circuit | |
| US4741005A (en) | Counter circuit having flip-flops for synchronizing carry signals between stages | |
| JPS63167496A (en) | Semiconductor memory device | |
| JPH09214297A (en) | Latch circuit | |
| KR20010006850A (en) | Improved skew pointer generation | |
| KR910009093B1 (en) | Coded Mark Inverting Coding Circuit | |
| JPH01276327A (en) | clock generation circuit | |
| KR910007809B1 (en) | Compensation circuit of the distortion of digital data | |
| JPH0695643B2 (en) | CMI coding circuit | |
| JPH0462625B2 (en) | ||
| JPH0529924A (en) | 1/9 frequency divider circuit | |
| KR100338402B1 (en) | Memory device and method of controlling the same |