JPH0336812A - Synchronizing circuit - Google Patents

Synchronizing circuit

Info

Publication number
JPH0336812A
JPH0336812A JP17226489A JP17226489A JPH0336812A JP H0336812 A JPH0336812 A JP H0336812A JP 17226489 A JP17226489 A JP 17226489A JP 17226489 A JP17226489 A JP 17226489A JP H0336812 A JPH0336812 A JP H0336812A
Authority
JP
Japan
Prior art keywords
clock
input
output
signal
flop
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
JP17226489A
Other languages
Japanese (ja)
Inventor
Michio Ogawa
道雄 小川
Masatsugu Nojima
野島 政嗣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17226489A priority Critical patent/JPH0336812A/en
Publication of JPH0336812A publication Critical patent/JPH0336812A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To synchronize an input signal whose period is shorter than the clock period by providing a 2nd latch means receiving an input signal and an inverted clock signal and a means ORing outputs of 1st and 2nd latch means. CONSTITUTION:When an input signal D whose period is shorter than the period of a clock C is inputted to 1st DFF 12 and a 2nd DFF 13, an output X1 of the DFF 12 remains at an L level and an H level synchronously with the inverse of clock C is obtained at an output X2 of the DFF 13. Then the outputs X1, X2 are inputted to an OR gate 14 and an output X3 of the OR gate 14 is inputted to a 3rd DFF 15, then an H output X4 synchronously with the clock C is obtained from an output terminal Q of the DFF 15. Thus, even when the input signal whose period is shorter than the period of the clock, an output signal synchronously with the clock is obtained and the input signal with shorter period is synchronized without using the sophisticated clock synchronization.

Description

【発明の詳細な説明】 〔概要〕 クロ7りに同期して動作する回路に用いられる同期回路
に関し、 クロック周期より短い入力信号であってもクロックに同
期した出力信号を得ることのできる同期回路を提供する
ことを目的とし、 クロック周期より短い信号を含む入力信号がデータ入力
端子に入力され、クロック信号がクロック端子に入力さ
れる第1の保持手段と、前記入力信号がデータ入力端子
に入力され、前記クロック信号の反転クロック信号がク
ロック端子に入力される第2の保持手段と、前記第1の
保持手段の出力および前記第2の保持手段の出力が入力
され、これら出力の論理和をとる論理手段を備えたこと
を特徴とするように構成する。
[Detailed Description of the Invention] [Summary] Regarding a synchronous circuit used in a circuit that operates in synchronization with a clock cycle, a synchronous circuit that can obtain an output signal synchronized with a clock even if the input signal is shorter than the clock cycle. an input signal including a signal shorter than a clock period is input to the data input terminal, a first holding means is input to the clock terminal, and the input signal is input to the data input terminal; and a second holding means to which an inverted clock signal of the clock signal is inputted to a clock terminal, an output of the first holding means and an output of the second holding means are inputted, and the logical sum of these outputs is calculated. The invention is characterized by having logical means for taking the following steps.

〔産業上の利用分野〕[Industrial application field]

本発明は、クロックに同期して動作する回路に用いられ
る同期回路に係り、詳しくは、クロック周期より短い入
力信号であってもクロックに同期した出力を発生可能な
同期回路に関する。
The present invention relates to a synchronous circuit used in a circuit that operates in synchronization with a clock, and more particularly to a synchronous circuit that can generate an output in synchronization with a clock even when an input signal is shorter than the clock period.

独立なりロック信号を用いている同期式論理回路を接続
したり、非同期的な入力信号を同期式論理回路に加える
ような場合、入力信号の変化時刻をそれが加えられる回
路のクロック信号の立ち上り(立ち下り)時刻に合わせ
なければならないことがある。このような場合に用いら
れる回路を同期回路という。
When connecting synchronous logic circuits that use independent lock signals, or when applying an asynchronous input signal to a synchronous logic circuit, the change time of the input signal is determined by the rise (rise) of the clock signal of the circuit to which it is applied. Falling) You may have to adjust to the time. A circuit used in such a case is called a synchronous circuit.

同期回路は、クロック信号の一つの立ち上り(立ち下り
)時刻から次の立ち上り(立ち下り)時刻までの間に生
じた入力信号の変化を一時記憶し、後の立ち上り(立ち
下り)時刻に出力信号の値を入力信号の値と同しに変化
させるという動作をする。通常、用いられる回路は連続
する2つのクロックの間の2度以上の入力変化に追従し
ない。
A synchronous circuit temporarily stores changes in an input signal that occur between one rising (falling) time of a clock signal and the next rising (falling) time, and outputs the output signal at a later rising (falling) time. The operation is to change the value of the input signal to be the same as the value of the input signal. Typically, the circuits used do not track input changes of more than one degree between two consecutive clocks.

〔従来の技術〕[Conventional technology]

クロックで同期化される回路に用いられる同期式フリッ
プフロノブには、Dフリソプフロップ、同期式RSフリ
ソプフロソプおよびJKフリソプフロップ等種々のもの
があるが、例えばDフリソプフロップを例に採ると第3
図のように示される。
There are various types of synchronous flip-flops used in clock-synchronized circuits, such as D Frisopflops, synchronous RS Frisopflops, and JK Frisopflops. Taking the D Frisopflop as an example, Third
Shown as shown.

この図において、lは同期回路としてのDフリツプフロ
ツプ(DFF)回路であり、Dフリップフロップ1はデ
ータ(D)端子に入力された信号りをクロックCの立ち
上がりに同期して出力端子Qから出力する。すなわち、
クロックの立ち上がり時のD入力が“H”であれば“H
′″を、“L”であれば“L”を出力する。
In this figure, l is a D flip-flop (DFF) circuit as a synchronous circuit, and D flip-flop 1 outputs a signal input to the data (D) terminal from output terminal Q in synchronization with the rising edge of clock C. . That is,
If the D input is “H” at the rising edge of the clock, it is “H”.
'' is "L", outputs "L".

したがって、第4図のタイよングチャートに示すように
D端子に“H”を入力することでQ端子にクロックCに
同期した“H”が出力される。これはクロックCの立ち
上がり時のデータDの入力状態がやや遅れてQ端子に出
力されるものである。
Therefore, as shown in the timing chart of FIG. 4, by inputting "H" to the D terminal, "H" synchronized with the clock C is output to the Q terminal. This means that the input state of data D at the rising edge of clock C is output to the Q terminal with a slight delay.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の同期回路にあっては、
あくまでクロックCの立ち上がりくあるいは立ち下がり
)により同期化されているため、例えば第5図に示すよ
うにD端子に入力される“H”がクロック周期より短い
場合、クロックCの立ち上がり時にD端子の入力は“L
”であるからデータDに“H”の期間があってもQ端子
には“L”のみが出力されてしまう。すなわち、クロッ
ク周期より短い入力信号に対してはクロックに同期した
出力を発生することができないという問題点があった。
However, in such conventional synchronous circuits,
For example, as shown in Figure 5, if the "H" input to the D terminal is shorter than the clock cycle, the D terminal will be synchronized at the rise or fall of the clock C. The input is “L”
”, even if data D has an “H” period, only “L” is output to the Q terminal.In other words, for an input signal shorter than the clock period, an output synchronized with the clock is generated. The problem was that it could not be done.

クロック周期より短い入力信号の同期化を図ろうとすれ
ば該入力信号よりもパルス幅が狭く周波数の高いクロッ
クを用いざるを得す、コスト高を招来する。
If an attempt is made to synchronize an input signal with a shorter period than the clock cycle, a clock having a narrower pulse width and higher frequency than the input signal must be used, resulting in increased costs.

そこで本発明は、クロック周期より短い入力信号であっ
てもクロックに同期した出力信号を得ることのできる同
期回路を提供することを目的としている。
SUMMARY OF THE INVENTION An object of the present invention is to provide a synchronization circuit that can obtain an output signal synchronized with a clock even if the input signal is shorter than the clock cycle.

〔課題を解決するための手段〕[Means to solve the problem]

本発明による同期回路は上記目的達成のため、クロック
周期より短い信号を含む入力信号がデータ入力端子に入
力され、クロック信号がクロック端子に入力される第1
の保持手段と、前記入力信号がデータ入力端子に入力さ
れ、前記クロック信号の反転クロック信号がクロック端
子に入力される第2の保持手段と、前記第1の保持手段
の出力および前記第2の保持手段の出力が入力され、こ
れら出力の論理和をとる論理手段とを備えている。
In order to achieve the above object, the synchronous circuit according to the present invention has a first circuit in which an input signal including a signal shorter than a clock period is input to a data input terminal, and a clock signal is input to a clock terminal.
a second holding means in which the input signal is input to a data input terminal and an inverted clock signal of the clock signal is input to a clock terminal; It is provided with logic means to which the outputs of the holding means are input, and for calculating the logical sum of these outputs.

〔作用〕[Effect]

本発明によれば、クロック周期より短い信号を含む入力
信号がそのデータ入力端子に入力され、クロック信号が
クロック端子に入力される第1の保持手段に、該入力信
号がそのデータ入力端子に入力され、該クロック信号の
反転クロック信号がクロック端子に入力される第2の保
持手段が設けられ、第1および第2の保持手段の出力は
論理をとられて同期回路の出力として出力される。
According to the invention, an input signal including a signal shorter than a clock period is input to its data input terminal, and the input signal is input to the first holding means to which the clock signal is input to the clock terminal. A second holding means is provided in which an inverted clock signal of the clock signal is inputted to a clock terminal, and the outputs of the first and second holding means are logically determined and outputted as an output of the synchronous circuit.

したがって、クロック周期より短い入力信号が入力され
、第1の保持手段の出力は“L”のままであっても、反
転クロック信号を受ける第2の保持手段は反転クロック
信号によって反転クロックに同期した“H”を出力する
。その結果、クロック同期より短い入力信号が入力され
た場合であっても、第1の保持手段あるいは第2の保持
手段の何れかの同期化が求められ、その論理をとること
により同期回路が実現できる。
Therefore, even if an input signal shorter than the clock period is input and the output of the first holding means remains "L", the second holding means receiving the inverted clock signal is synchronized with the inverted clock by the inverted clock signal. Outputs “H”. As a result, even if an input signal shorter than the clock synchronization is input, synchronization of either the first holding means or the second holding means is required, and a synchronous circuit is realized by applying this logic. can.

〔実施例〕〔Example〕

以下、本発明を図面に基づいて説明する。 Hereinafter, the present invention will be explained based on the drawings.

第1.2図は本発明に係る同期回路の一実施例を示す図
であり、本実施例は同期回路としてDクリップフロップ
を用いた例である。
FIG. 1.2 is a diagram showing an embodiment of a synchronous circuit according to the present invention, and this embodiment is an example in which a D clip-flop is used as the synchronous circuit.

まず、構成を説明する。第1図において、11は入力信
号りをクロックCで同期化する同期回路であり、同期回
路11は第1のDクリップフロップ(第1の保持手段)
12、第2のDクリップフロップ(第2の保持手段) 
13、ORゲート(論理手段)14および第3のDフリ
ップフロップ15により構成され、第1のDフリップフ
[レノプ12および第2のDフリップフロップ13の各
データ(D)入力端子には同一の入力信号りが入力され
るとともに、第1のDフリップフロップ12のクロック
端子にはクロックCが入力され、第2のDフリップフロ
ップ13のクロック端子には反転クロックCが入力され
る。第1のDフリップフロップ12の出力端子Qからの
出力X1および第2のDフリップフロップ13の出力端
子Qからの出力X2はORゲート14に入力され、OR
ゲート14でOR論理をとられた後OR出力X3として
第3のDフリップフロップ15のデータ(D)入力端子
に入力される。第3のDフリップフロップ15のクロッ
ク端子にはりo 7りCが入力され、その出力端子Qか
らは出力X4が同期回路11出力として外部に出力され
る。すなわち、クロックCを用いた第1のDフリップフ
ロップ12と反転クロックCを用いた第2のDフリップ
フロップ13に、同一入力信号りをそれぞれ入力し、そ
れらのクリップフロップの出力X1およびX2をORゲ
ート14に入力してその出力X、をクロックCを用いた
第3のDフリップフロップ15に入力し、同期出力X4
を得るものである。
First, the configuration will be explained. In FIG. 1, 11 is a synchronization circuit that synchronizes the input signal with a clock C, and the synchronization circuit 11 is a first D clip-flop (first holding means).
12. Second D clip-flop (second holding means)
13, an OR gate (logic means) 14 and a third D flip-flop 15, each data (D) input terminal of the first D flip-flop 12 and the second D flip-flop 13 receives the same input. At the same time, the clock C is input to the clock terminal of the first D flip-flop 12, and the inverted clock C is input to the clock terminal of the second D flip-flop 13. The output X1 from the output terminal Q of the first D flip-flop 12 and the output X2 from the output terminal Q of the second D flip-flop 13 are input to the OR gate 14 and OR
After being subjected to OR logic at gate 14, it is inputted to the data (D) input terminal of third D flip-flop 15 as OR output X3. The clock terminal C of the third D flip-flop 15 is inputted, and the output terminal Q thereof outputs the output X4 as the output of the synchronous circuit 11 to the outside. That is, the same input signal is input to the first D flip-flop 12 using clock C and the second D flip-flop 13 using inverted clock C, and the outputs X1 and X2 of these clip-flops are ORed. The input to the gate 14 and its output X are input to the third D flip-flop 15 using the clock C, and the synchronous output X4
This is what you get.

以上の構成において、同期回路11の各部の波形は第2
図のようになる。第2図に示すように第1のDフリップ
フロップ12および第2のDフリップフロップ13にク
ロック周期より短い入力信号りが入力されると、第1の
Dフリノブフロップ12は従来例で説明したのと同様の
理由によって出力X。
In the above configuration, the waveforms of each part of the synchronous circuit 11 are
It will look like the figure. As shown in FIG. 2, when an input signal shorter than the clock period is input to the first D flip-flop 12 and the second D flip-flop 13, the first D flip-flop 12 is activated as described in the conventional example. For the same reason as the output X.

は“L”のままであるが、第2のDフリップフロップ1
3の出力X2には反転クロックでに同期した“H“が得
られる。そして、xlおよびX2をORアゲ−−14に
入力し、得られた出力X3を第3のDフリップフロップ
15に入力すると、第3のDフリップフロップ15の出
力端子QからはクロックCに同期した“H”出力X4が
得られる。
remains “L”, but the second D flip-flop 1
At the output X2 of 3, an "H" level synchronized with the inverted clock is obtained. Then, when xl and X2 are input to the OR gate 14 and the obtained output "H" output X4 is obtained.

したがって、本実施例によればクロック周期より短い入
力信号であってもそのクロックに同期した出力信号を得
ることができ、高いクロック周期を用いることなく必要
な短い入力信号の同期化を図ることができる。その結果
、従来ではクロック周波数より短い入力信号の同期をと
るために同期回路が組込まれる装置全体のクロックを高
くするといった態様をとっていたものが、本実施例によ
れば従来と同様のクロックを用いながら短い入力信号に
対する同期化をとることができるため大幅なコスト低減
が可能になる。また、このことは従来装置の大幅な設計
変更を招くことな〈実施できることを意味し、低コスト
化に加え、幅広い用途に適用が可能である。
Therefore, according to this embodiment, even if the input signal is shorter than the clock period, an output signal synchronized with the clock can be obtained, and necessary short input signals can be synchronized without using a high clock period. can. As a result, in the past, in order to synchronize input signals shorter than the clock frequency, the clock of the entire device in which the synchronization circuit was incorporated was raised, but according to this embodiment, the same clock as before is used. Since it is possible to synchronize with short input signals while using the device, it is possible to significantly reduce costs. Furthermore, this means that the present invention can be implemented without causing major design changes to conventional devices, and in addition to cost reduction, it can be applied to a wide range of applications.

なお、本実施例ではORアゲ−14の出力X3を第3の
Dフリップフロップ15に入力し、第3のDフリップフ
ロップ15でクロックCと同期をとるようにしているが
、これは図示しない後段の回路との同期をとることを考
慮に容れたものであって、その必要がない場合には第3
のDフリップフロップ15は必ずしも必須のものではな
い。
Note that in this embodiment, the output X3 of the OR game 14 is input to the third D flip-flop 15, and the third D flip-flop 15 is synchronized with the clock C. It takes into consideration synchronization with the third circuit, and if it is not necessary, the third circuit
The D flip-flop 15 is not necessarily essential.

また、本実施例ではクリップフロップにDクリップフロ
ップを用いているが、勿論これには限定されず、他のク
リップフロップ、例えばJKフリンプフロップを用いて
もよい。さらに、第1のDフリップフロップ12および
第2のDフリンプフロンブ13の論理をとるものであれ
ばORゲート14には限定されない。
Further, in this embodiment, a D clip-flop is used as the clip-flop, but of course the present invention is not limited to this, and other clip-flops such as a JK flip-flop may be used. Furthermore, it is not limited to the OR gate 14 as long as it takes the logic of the first D flip-flop 12 and the second D flip-flop 13.

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

第1.2図は本発明に係る同期回路の一実施例を示す図
であり、 第1図はその全体構成図、 第2図はその各部のタイミングチャート、第3〜5図は
従来の同期回路を示す図であり、第3図はその同期回路
としてのDフリップフロップを示す図、 第4図はそのタイミングチャート、 第5図はそのクロック周期より短い入力信号が入力され
た場合のタイミングチャートである。 11・・・・・・同期回路、 12・・・・・・第1のDフリツプフロツプ(第1の保
持手段)、 13・・・・・・第2のDフリツプフロツプ(第2の保
持手段)、 14・・・・・・ORゲート(論理手段)、15・・・
・・・第3のDフリ ソブフロソプ。 第 図 一実施例の各部のタイミングチャート 第 図
Figure 1.2 is a diagram showing an embodiment of the synchronous circuit according to the present invention, Figure 1 is its overall configuration diagram, Figure 2 is a timing chart of each part, and Figures 3 to 5 are conventional synchronous circuits. FIG. 3 is a diagram showing a D flip-flop as a synchronous circuit, FIG. 4 is a timing chart thereof, and FIG. 5 is a timing chart when an input signal shorter than the clock cycle is input. It is. 11... Synchronous circuit, 12... First D flip-flop (first holding means), 13... Second D flip-flop (second holding means), 14...OR gate (logic means), 15...
...Third D Frisobfurosop. Fig. 1 Timing chart of each part of the embodiment Fig.

Claims (1)

【特許請求の範囲】 クロック周期より短い信号を含む入力信号がデータ入力
端子に入力され、クロック信号がクロック端子に入力さ
れる第1の保持手段と、 前記入力信号がデータ入力端子に入力され、前記クロッ
ク信号の反転クロック信号がクロック端子に入力される
第2の保持手段と、 前記第1の保持手段の出力および前記第2の保持手段の
出力が入力され、これら出力の論理和をとる論理手段と
、 を備えたことを特徴とする同期回路。
[Scope of Claims] First holding means, wherein an input signal including a signal shorter than a clock cycle is input to a data input terminal, and a clock signal is input to a clock terminal; the input signal is input to a data input terminal; a second holding means into which an inverted clock signal of the clock signal is inputted to a clock terminal; and a logic into which the output of the first holding means and the output of the second holding means are inputted, and which takes the logical sum of these outputs. A synchronous circuit comprising means and.
JP17226489A 1989-07-04 1989-07-04 Synchronizing circuit Pending JPH0336812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17226489A JPH0336812A (en) 1989-07-04 1989-07-04 Synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17226489A JPH0336812A (en) 1989-07-04 1989-07-04 Synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH0336812A true JPH0336812A (en) 1991-02-18

Family

ID=15938675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17226489A Pending JPH0336812A (en) 1989-07-04 1989-07-04 Synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH0336812A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05191223A (en) * 1992-01-10 1993-07-30 Nec Corp Asynchronous pulse retiming circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05191223A (en) * 1992-01-10 1993-07-30 Nec Corp Asynchronous pulse retiming circuit

Similar Documents

Publication Publication Date Title
JP2787725B2 (en) Data clock timing adjustment circuit
JPS62245814A (en) Pulse circuit
US4821295A (en) Two-stage synchronizer
US3935475A (en) Two-phase MOS synchronizer
JPH0336812A (en) Synchronizing circuit
JPH0282812A (en) Clock switching system
JPH052016B2 (en)
JPH0879029A (en) Four-phase clock pulse generating circuit
JP2665257B2 (en) Clock transfer circuit
JP2545010B2 (en) Gate device
JPH01166633A (en) Bit phase synchronizing circuit
JP2543108B2 (en) Synchronous pulse generator
JPH01268309A (en) Two-phase clock generator
JPH03204251A (en) Clock synchronizing circuit
JPS6022542B2 (en) synchronization circuit
JPH04186914A (en) Temporary holding circuit
JPH0271638A (en) Timing signal generator
JPS62233944A (en) Timing extraction circuit
JPH02290321A (en) Timing synchronizing circuit
JPS63117514A (en) Clock signal switching circuit
JPH03282805A (en) Clock signal switching circuit
JPS61110253A (en) Synchronising circuit
JPH04140912A (en) Logic circuit
JPH08172427A (en) Synchronization circuit
JPH01228317A (en) Delay circuit