JPH0210912A - Flip-flop circuit - Google Patents

Flip-flop circuit

Info

Publication number
JPH0210912A
JPH0210912A JP63161468A JP16146888A JPH0210912A JP H0210912 A JPH0210912 A JP H0210912A JP 63161468 A JP63161468 A JP 63161468A JP 16146888 A JP16146888 A JP 16146888A JP H0210912 A JPH0210912 A JP H0210912A
Authority
JP
Japan
Prior art keywords
clock
circuit
data
time
input
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
JP63161468A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yasuki
安木 宏行
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 JP63161468A priority Critical patent/JPH0210912A/en
Publication of JPH0210912A publication Critical patent/JPH0210912A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an FF circuit able to prevent malfunction and implement stable FF operation by using an edge of a data change point so as to invalidate a clock signal if a data and a clock is in contention with each other. CONSTITUTION:A data signal D1 is inputted to a clock input CK of two FFs 2, 3 provided newly in in-phase and opposite phase. Q outputs of each are ANDed by an AND circuit 7 and given to its own reset terminal R. An AND circuit 8 ANDs an AND output of the circuit 7 and an existing clock signal and its resulting AND output is given to a clock input CK of the existing FF1. Then an FF4 is provided newly to avoid double clocks to invalidate a pulse for nearly a half period of a clock when one clock pulse comes. Through the constitution above, malfunction is prevented by invalidating a clock signal by using an edge of a data change point if a data and a clock are competed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はフリップフロップ回路、特に、セットアツプタ
イムおよびホールドタイムを考慮せずに論理回路網が設
計された場合でも誤動作を生じないフリップフロップ回
路に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a flip-flop circuit, and particularly to a flip-flop circuit that does not malfunction even when a logic circuit network is designed without considering set-up time and hold time. Regarding.

〔従来の技術〕[Conventional technology]

第5図は従来のフリップフロップ(以下F/Fという)
回路の一例を示す回路図である。
Figure 5 shows a conventional flip-flop (hereinafter referred to as F/F)
FIG. 2 is a circuit diagram showing an example of a circuit.

第5図においてDはデータ、CKはクロック。In FIG. 5, D is data and CK is clock.

Sはセット、Rはリセット信号である。このF/F回路
は第6図に示す動作を行う。この回路においてデータが
一定でクロックのみ変化する場合であれば、確実にF/
Fはデータを読み込み出力は定まる。
S is a set signal, and R is a reset signal. This F/F circuit performs the operation shown in FIG. In this circuit, if the data is constant and only the clock changes, the F/
F reads the data and the output is determined.

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

従来のF/F回路は、回路の仕様により、データとクロ
ックが同時には変化しないタイミングで入る場合と競合
タイミングで入力される場合があるわけで上述した回路
構成ではデータとクロックが競合するタイミングで入力
された場合、出力は不定となり誤動作を引き起こす原因
となっていた。
In conventional F/F circuits, depending on the circuit specifications, data and clock may be input at timings that do not change at the same time, or may be input at timings that conflict with each other. If it was input, the output would be unstable and cause malfunction.

第7図に示すように、クロックが入力される直前でデー
タを変化させる場合、クロックの変化時刻からある一定
の時間以内にデータを変化させてはならない。この時間
をセットアツプ時間t。tの呼んでいる。したがってタ
ロツクの変化時刻を基準としてこの時間よりも以前にデ
ータが変化しておればデータは確実に読み込まれるが、
このセットアツプ時間t。tが短いと出力は不定となる
可能性がある。
As shown in FIG. 7, when data is changed just before the clock is input, the data must not be changed within a certain period of time from the clock change time. This time is the setup time t. T is calling. Therefore, if the data has changed before this time based on the tarokku change time, the data will definitely be read, but
This set-up time t. If t is short, the output may become undefined.

また第8図に示すように、クロックが入力される直後に
データを変化させる場合これもクロック変化時刻からあ
る一定時間内にデータを変化させてはならなく、その時
間をホールドタイムjholdと呼んでいる。したがっ
てクロックの変化時刻を基準としてこの時間経過後にデ
ータが変化すれば、データは確実に読み込まれるが、こ
のホールド時間が短いと出力は不定となる可能性があっ
た。
Also, as shown in Figure 8, when data is changed immediately after the clock is input, the data must not be changed within a certain period of time from the clock change time, and this time is called hold time jhold. There is. Therefore, if the data changes after this time has elapsed based on the clock change time, the data will be reliably read, but if this hold time is short, the output may become unstable.

すなわち、データとクロックが競合タイミングで入力さ
れると出力は不定となり、誤動作を起こすので、回路設
計上、もしくは実使用上、タイミングを考慮する必要が
あるという欠点があったつ本発明の目的は、実使用上ク
ロックとデータが競合タイミング状態で使用されてもデ
ータが変化する時刻の前後わずかの時間すなわちセット
アツプ時間とホールド時間の和の間は、クロック信号を
無効にすることにより、安定なF/F動作を行なわせる
ことができるF/F回路を提供することにある。
In other words, if data and clocks are input at conflicting timings, the output becomes unstable and malfunctions occur, so it is necessary to take timing into consideration in circuit design or in actual use. In actual use, even if the clock and data are used in timing conflict, the clock signal can be disabled for a short time before and after the data changes, that is, during the sum of the set-up time and hold time, to maintain a stable F. An object of the present invention is to provide an F/F circuit that can perform a /F operation.

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

本発明のF/F回路は、データ入力とクロック入力が競
合するタイミングで入力されるフリップフロップ回路を
有する論理回路において、前記フリップフロップのクロ
ックに正規のクロック信号とは異なる複数のパルス発生
回路を具備し、前記複数のパルス発生回路のクロックに
は正規のタロツク信号と正規のデータ信号が独立に供給
され前記パルス発生器の出力信号を正規クロック信号と
ともに前記フリップフロップ回路に供給することから構
成される。
The F/F circuit of the present invention is a logic circuit having a flip-flop circuit in which data input and clock input are input at competing timings, and in which a plurality of pulse generation circuits different from a regular clock signal are used for the clock of the flip-flop. A regular tarok signal and a regular data signal are independently supplied to the clocks of the plurality of pulse generating circuits, and the output signal of the pulse generator is supplied to the flip-flop circuit together with the regular clock signal. Ru.

〔実施例〕〔Example〕

次に本実施例について図面を用いて説明する。 Next, this embodiment will be explained using the drawings.

第1図は本発明の第1の実施例を示す回路図である。FIG. 1 is a circuit diagram showing a first embodiment of the present invention.

本実施例は従来例の回路において、データ信号を新たに
設けた2つのF/Fのクロック入力に同″相と逆相で入
力させる。そしてこの2つのF/Fのζ−出力のAND
をとるとともに自身のリセットも接続し、かつこのAN
D出力をさらに既存のクロック信号とANDをとり、既
存のF/F回路のクロック入力に接続させ、またクロッ
クが1つ入ると、ある時間、クロック信号を無効たする
ためのF/Fをさらに設けたもので、他の点については
従来例の回路と同様である。
In this embodiment, in the conventional circuit, data signals are input into the clock inputs of two newly provided F/Fs in the same phase and in opposite phase.Then, the AND of the ζ-outputs of these two F/Fs is performed.
At the same time as connecting the own reset, and this AN
The D output is further ANDed with the existing clock signal and connected to the clock input of the existing F/F circuit, and when one clock is input, an additional F/F is connected to disable the clock signal for a certain period of time. The other points are similar to the conventional circuit.

次に、第1の実施例の動作について説明する。Next, the operation of the first embodiment will be explained.

まずデータ信号D1を”L”から“°H゛°へ変化させ
るとF/F2のタロツクをたたき(−はL IIとなり
自身のリセット入力にも入っておりF/F2はリセット
され出力QはまたH゛′となる。
First, when the data signal D1 is changed from "L" to "°H゛°," it hits the tarok of F/F2 (- becomes L II and also enters its own reset input, F/F2 is reset and the output Q is also It becomes H'.

一方F/F3のクロックはたたかれないため算−はずつ
と“H”のままである。このため、ANDゲート7の出
力はH”から“L°゛さらに“H”へと変化する。した
がってANDゲート7の出力が“L ”状態にあるとき
は、タロツク信号が入ったとしてもこれは無効となる。
On the other hand, since the clock of F/F3 is not struck, the count remains at "H". Therefore, the output of the AND gate 7 changes from H to L and then to H. Therefore, when the output of the AND gate 7 is in the "L" state, even if a tarok signal is input, it is invalid.

また同様にデートD1がHがらLに変化した場合は、F
/F3の(−が“H”から“L ”さらに“H″′に変
化し、F/F2の出力(−はH”のままであるからAN
Dゲート7の出力も“H′から“L IIさらに°゛H
′′へ変化する。よってANDゲート7の出力が゛L″
状態にあるときは、クロック信号は無効となる。
Similarly, if date D1 changes from H to L, F
/F3's (- changes from "H" to "L" and then "H''', and the output of F/F2 (- remains H", so AN
The output of D gate 7 also changes from “H” to “L II” and then °゛H.
Changes to ``. Therefore, the output of AND gate 7 is “L”
When in the state, the clock signal is disabled.

ここでクロックのパルス幅は普通セットアツプ。Here the clock pulse width is normally set up.

ホールドタイムの幅よりも大きいため第4図に示すよう
に、ダブルクロックになる恐れがある。したがって1つ
のクロックパルスが入れば、クロックの約半周期はパル
スを無効とするためのパルス発生回路をF/F4で構成
している。
Since this is larger than the hold time width, there is a risk of double clocking as shown in FIG. Therefore, when one clock pulse is input, the F/F 4 constitutes a pulse generating circuit for making the pulse invalid for about half the period of the clock.

すなわちCK1がL IIから“H“になるとF/F4
のクロックをたたきF/F4の出力q−は“H”から“
L″となり、自身のリセット入力にも入っているのでF
/F4はリセットされ出力q−はまたH”となる。ただ
しクロック信号を無効とするのはCK、が立ち上がって
からセットアツプ、ホールドタイムの和に、さらに最小
パルス幅だけ経過してからとする。
In other words, when CK1 goes from L II to “H”, F/F4
The output q- of F/F4 changes from “H” to “
Since it becomes L'' and is also included in its own reset input, it becomes F.
/F4 is reset and the output q- becomes H'' again. However, the clock signal is invalidated after CK rises, the sum of set-up and hold times, and the minimum pulse width has elapsed. .

これは第3図からもわかるように、A点とCK、とB点
の波形のANDをとるため0点のクロック波形としては
少なくとも最小パルス幅分以上必要である。
As can be seen from FIG. 3, since the waveforms of point A, CK, and point B are ANDed, the clock waveform at point 0 must be at least as long as the minimum pulse width.

第1図に示した経路a (DI〜D)、経路b(D1〜
2のF/F〜A点)、経路c (DI〜3のF/F〜A
点)の遅延時間には、次の関係式を満足する必要がある
。すなわち第3図に示すタイムチャートかられかるよう
に、 t pda  t pdb  t pd7≧thold
   ”・・・・(1)t、。+d+t−□≦tw  
      ・・・・・・(2)t 9db匈tpda
           ・・・・・・(3)の関係式が
成立つ。ここでj 9daはり、からDまでの遅延時間
、t pdbはDlからF/F2を経由してA点までの
遅延時間、またtpd7はANDゲート7の遅延時間で
あり、tpdcはり、からF/F3を経由してA点まで
の遅延時間である。
Route a (DI~D) and route b (D1~D) shown in Figure 1
2 F/F ~ A point), route c (DI ~ 3 F/F ~ A
The delay time at point) must satisfy the following relational expression. That is, as can be seen from the time chart shown in Fig. 3, t pda t pdb t pd7≧thold
”・・・(1) t, .+d+t−□≦tw
・・・・・・(2)t9db匈tpda
...The relational expression (3) holds true. Here, j9da is the delay time from beam to D, tpdb is the delay time from Dl to point A via F/F2, and tpd7 is the delay time of AND gate 7, and tpdc is the delay time from beam to F/F2. This is the delay time from F3 to point A.

さらにtwはANDゲート5の遅延時間とF/F2のリ
セットから亙1での遅延時間の和あるいはANDゲート
6の遅延時間とF/F3のリセットからσ1での遅延時
間の和である。
Further, tw is the sum of the delay time of the AND gate 5 and the delay time σ1 from the reset of the F/F 2, or the sum of the delay time of the AND gate 6 and the delay time σ1 from the reset of the F/F 3.

さらにCK、が立ち上がってからB点が立ち下がるのは
tw+jwm+。以上の時間が必要となる。
Furthermore, the point B falls after CK rises is tw+jwm+. More time is required.

このt□1oは、最小パルス幅を示すものである。This t□1o indicates the minimum pulse width.

第2図は本発明の第2の実施例を示す回路図である。FIG. 2 is a circuit diagram showing a second embodiment of the present invention.

本実施例はセットアツプとホールド時間の和をANDゲ
ートとF/F2あるいは3のセットからQ出力までの遅
延時間で調整している点と、ダブルクロックを防止する
ためのパルス発生回路をF/F4の出力Qから自身のセ
ットに入っている点を除けば第1の実施例と同じである
In this embodiment, the sum of the set-up and hold times is adjusted using an AND gate and the delay time from the set of F/F 2 or 3 to the Q output, and the pulse generation circuit is installed in the F/F to prevent double clocks. This is the same as the first embodiment except that the output Q of F4 is entered into its own set.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明のF/F回路は、セットアツ
プ、ホールドタイムフリーのF/F回路としてパルス回
路を設けることにより、データとクロックが競合してい
る場合にデータの変化点のエツジを用いてクロック信号
を無効にすることにより誤動作を防止できるという効果
がある。
As explained above, the F/F circuit of the present invention provides a pulse circuit as a set-up and hold time-free F/F circuit, thereby eliminating the edge of a data change point when data and clocks are in conflict. This has the effect of preventing malfunctions by invalidating the clock signal.

したがって第1図のような回路を1つのF/Fとして登
録しておき、セットアツプ、ホールドタイムを設計時に
見のがしても論理検証で確実にチエツクできるという効
果がある。
Therefore, by registering a circuit as shown in FIG. 1 as one F/F, there is an effect that even if set-up and hold times are overlooked during design, they can be reliably checked during logic verification.

【図面の簡単な説明】 第1図は本発明の第1の実施例を示す論理回路図、第2
図は本発明の第2の実施例を示す回路図、第3,4図は
本発明のF/F回路の動作を示すタイムチャート、第5
図は従来の一例を示す回路図、第6図は第5図に示すF
/F回路の動作を示す模式図、第7図はセットアツプ時
間を示すタイムチャート、第8図はホールド時間を示す
タイムチャートである。 1〜4・・・F/F、5〜13・・・AND回路、14
・・・インバータ回路、 D・・・データ、CK・・・クロック、R・・・リセッ
ト、S・・・セット、D+・・・1のF/Fのデータ、
CK。 ・・・1のF/Fのクロック、tset・・・セットア
ツプ時間、jhold・・・ホールド時間、tpd、L
・・・DlからDまでの遅延時間、t pdb・・・D
、から2のF/Fを経由してA点までの遅延時間、tp
dc・・・Dlから3のF/Fを経由してA点までの遅
延時間、j +>d7・・・7ゲートの遅延時間、j 
wain・・・最小パルス幅。
[Brief Description of the Drawings] Figure 1 is a logic circuit diagram showing a first embodiment of the present invention, and Figure 1 is a logic circuit diagram showing a first embodiment of the present invention.
The figure is a circuit diagram showing the second embodiment of the present invention, Figures 3 and 4 are time charts showing the operation of the F/F circuit of the present invention, and Figure 5 is a circuit diagram showing the second embodiment of the present invention.
The figure is a circuit diagram showing a conventional example, and Figure 6 is the F shown in Figure 5.
FIG. 7 is a time chart showing the setup time, and FIG. 8 is a time chart showing the hold time. 1-4...F/F, 5-13...AND circuit, 14
...Inverter circuit, D...Data, CK...Clock, R...Reset, S...Set, D+...1 F/F data,
C.K. ...1 F/F clock, tset...set-up time, jhold...hold time, tpd, L
...Delay time from Dl to D, t pdb...D
, the delay time from 2 to point A via F/F, tp
dc...Delay time from Dl to point A via F/F 3, j +>d7...Delay time of 7 gates, j
wain...minimum pulse width.

Claims (1)

【特許請求の範囲】[Claims] データ入力とクロック入力が競合するタイミングで入力
されるフリップフロップ回路を有する論理回路において
、前記フリップフロップのクロックに正規のクロック信
号とは異なる複数のパルス発生回路を具備し、該複数の
パルス発生回路のクロックには正規のクロック信号と正
規のデータ信号が独立に供給され該パルス発生器の出力
信号を正規クロック信号とともに前記フリップフロップ
回路に供給することを特徴とするフリップフロップ回路
A logic circuit having a flip-flop circuit to which data input and clock input are input at conflicting timings, the flip-flop clock being provided with a plurality of pulse generation circuits different from a regular clock signal, and the plurality of pulse generation circuits A flip-flop circuit characterized in that a regular clock signal and a regular data signal are independently supplied to the clock, and an output signal of the pulse generator is supplied to the flip-flop circuit together with the regular clock signal.
JP63161468A 1988-06-28 1988-06-28 Flip-flop circuit Pending JPH0210912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63161468A JPH0210912A (en) 1988-06-28 1988-06-28 Flip-flop circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63161468A JPH0210912A (en) 1988-06-28 1988-06-28 Flip-flop circuit

Publications (1)

Publication Number Publication Date
JPH0210912A true JPH0210912A (en) 1990-01-16

Family

ID=15735672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63161468A Pending JPH0210912A (en) 1988-06-28 1988-06-28 Flip-flop circuit

Country Status (1)

Country Link
JP (1) JPH0210912A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5355118A (en) * 1991-07-11 1994-10-11 Nissan Motor Co., Ltd. Vehicle collision alert system
JP2020165848A (en) * 2019-03-29 2020-10-08 ラピスセミコンダクタ株式会社 Latch array circuit and semiconductor integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5355118A (en) * 1991-07-11 1994-10-11 Nissan Motor Co., Ltd. Vehicle collision alert system
JP2020165848A (en) * 2019-03-29 2020-10-08 ラピスセミコンダクタ株式会社 Latch array circuit and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
US6507230B1 (en) Clock generator having a deskewer
TW478255B (en) Circuit static timing analysis method using generated clock
JPS63160443A (en) Synchronizing circuit
JPH0210912A (en) Flip-flop circuit
JPH0528289A (en) Register control circuit
JPH0342810B2 (en)
KR960016809B1 (en) Trigger signal generating circuit with trigger masking function
KR970705760A (en) A method for testing an electronic circuit by a logical combination of clock signals, and an electronic circuit comprising such an electronic circuit by logically combining clock signals,
ITMI991386A1 (en) CIRCUIT FOR THE REALIZATION OF A MINIMUM TIME OF WAKE - UP IN THE LOGICAL CIRCUITS OF WAKE - UP
US5045999A (en) Multi-function timing sequencer for different speed main storage units
JPH0627785B2 (en) Semiconductor integrated circuit
JP2810713B2 (en) Timing generator
JP2599759B2 (en) Flip-flop test method
JP2818412B2 (en) Counting circuit
JP2543108B2 (en) Synchronous pulse generator
JPH11259554A (en) Timing analysis method for logic circuit, logic synthesis system using the method and record medium for programming and recording the method
JPH0158895B2 (en)
JPS601644B2 (en) Timing pulse generation circuit
JPS642247B2 (en)
JPS63292719A (en) Counter circuit
JPH0449883U (en)
JPH0446739U (en)
JPH07260899A (en) Signal timing adjusting circuit
JPH05250891A (en) Shift register circuit
JPH01209554A (en) Evaluation system for asynchronous input function of data processing system