JPH0368568B2 - - Google Patents
Info
- Publication number
- JPH0368568B2 JPH0368568B2 JP55077768A JP7776880A JPH0368568B2 JP H0368568 B2 JPH0368568 B2 JP H0368568B2 JP 55077768 A JP55077768 A JP 55077768A JP 7776880 A JP7776880 A JP 7776880A JP H0368568 B2 JPH0368568 B2 JP H0368568B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- gate
- output
- gate circuit
- level
- 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 - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/027—Generators characterised by the type of circuit or by the means used for producing pulses by the use of logic circuits, with internal or external positive feedback
- H03K3/037—Bistable circuits
Description
【発明の詳細な説明】
本発明はフリツプフロツプ回路に関し、特にエ
ツジトリガ形のフリツプフロツプ回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to flip-flop circuits, and more particularly to edge-triggered flip-flop circuits.
エツジトリガのフリツプフロツプ回路(FFと
略記する)は多くの利点を有し、多様な用途に用
いられているが、エツジトリガの性格から次のよ
うな欠点がある。すなわち、FF自体およびその
周辺論理の診断が容易でない。特にこの種のFF
を使用した論理回路をLSI化した場合、FFのデ
イレーチエツク、AC特性測定が容易でなく、
LSIのテストが不十分になることが少なくない。 Edge-triggered flip-flop circuits (abbreviated as FF) have many advantages and are used in a variety of applications, but due to the nature of edge triggers, they have the following drawbacks. That is, it is not easy to diagnose the FF itself and its peripheral logic. Especially this kind of FF
When converting a logic circuit using LSI into an LSI, it is difficult to check the FF delay and measure the AC characteristics.
LSI testing is often insufficient.
したがつて本発明の目的は、前記の如き問題を
解消したエツジトリガ形のFFを提供することに
ある。 Therefore, an object of the present invention is to provide an edge-trigger type FF that solves the above-mentioned problems.
本発明のもう1つの目的は、エツジトリガ形の
FFとクロツク形のFFの両方の働きを選択可能な
FFを提供することにある。 Another object of the present invention is to provide edge-triggered
Both FF and clock-type FF functions can be selected.
The goal is to provide FF.
以下、本発明を具体的に詳述するが、それに先
立つて周知のエツジトリガ形のD.FFについて第
1図で説明する。 The present invention will be described in detail below, but prior to that, a well-known edge trigger type D.FF will be explained with reference to FIG.
第1図において、入出力がクロス結合された2
つのナンドゲート1,2は基本的なRS−FFを構
成している。このRS−FF10の2つの入力(ナ
ンドゲート1,2の入力)を制御するのがゲート
制御回路11で、4つのナンドゲート3,4,
5,6から成る。ナンドゲート3の各入力にはク
ロツク入力CKとナンドゲート5の出力がそれぞ
れ接続され、このナンドゲート3の出力はナンド
ゲート1,5の1つの入力にそれぞれ接続されて
いる。ナンドゲート4の1つの入力にはクロツク
入力CKが、もう1つの入力にはナンドゲート3
の出力が、さらにもう1つの入力にはナンドゲー
ト6の出力がそれぞれ接続され、またこのナンド
ゲート4の出力はナンドゲート2,6の1つの入
力にそれぞれ接続されている。ナンドゲート6の
1つの入力にはデータ入力Dが接続されている。 In Figure 1, the input and output are cross-coupled.
Two NAND gates 1 and 2 constitute a basic RS-FF. The gate control circuit 11 controls the two inputs of this RS-FF10 (the inputs of NAND gates 1 and 2), and the four NAND gates 3, 4,
Consists of 5 and 6. A clock input CK and an output of NAND gate 5 are connected to each input of NAND gate 3, and the output of NAND gate 3 is connected to one input of NAND gates 1 and 5, respectively. One input of NAND gate 4 has clock input CK, and the other input has NAND gate 3.
The output of NAND gate 6 is connected to another input, and the output of NAND gate 4 is connected to one input of NAND gates 2 and 6, respectively. A data input D is connected to one input of the NAND gate 6.
この動作を簡単に説明すると、まずクロツク入
力CKが“0”レベルの時は、ナンドゲート3,
4の出力はいずれも“1”レベルである。したが
つて出力Q,は不変である。ここで出力Qは
“0”レベル、出力が“1”レベルであると仮
定しよう。またデータ入力Dが“1”レベルだと
すると、ナンドゲート6の出力は“0”レベル、
ナンドゲート5の出力は“1”レベルである。 To briefly explain this operation, first, when clock input CK is at “0” level, NAND gate 3,
All outputs of 4 are at the "1" level. Therefore, the output Q, remains unchanged. Let us now assume that the output Q is at the "0" level and the output is at the "1" level. Also, if the data input D is at the "1" level, the output of the NAND gate 6 is at the "0" level,
The output of the NAND gate 5 is at the "1" level.
クロツク入力CKにクロツクパルスが与えられ、
それが“1”レベルに立上がると、ナンドゲート
3の出力が“0”レベルに反転するが、ナンドゲ
ート4の出力は“1”レベルのままである。した
がつてRS−FF10の状態は反転し、Q出力が
“1”レベルに、出力が“0”レベルになる。 A clock pulse is given to clock input CK,
When it rises to the "1" level, the output of the NAND gate 3 is inverted to the "0" level, but the output of the NAND gate 4 remains at the "1" level. Therefore, the state of RS-FF10 is reversed, and the Q output becomes "1" level and the output becomes "0" level.
この直後、データ入力Dが“0”レベルに変わ
つたとしよう。ナンドゲート6の出力は“1”レ
ベルに反転するが、ナンドゲート3,4,5の出
力は変化しない。 Suppose that immediately after this, data input D changes to the "0" level. The output of NAND gate 6 is inverted to the "1" level, but the outputs of NAND gates 3, 4, and 5 remain unchanged.
その後、クロツク入力CKが“0”レベルにな
ると、前述したように、ナンドゲート3,4の出
力がいずれも“1”レベルになるが、RS−FF1
0の状態は変化しない。 After that, when the clock input CK goes to "0" level, the outputs of NAND gates 3 and 4 both go to "1" level, but RS-FF1
The state of 0 does not change.
このように、ここに示したFFは、クロツク入
力CKに与えられるクロツクパルスの立上がりエ
ツジでトリガし、データ入力Dのレベルにしたが
つて出力Q,が決まり、この状態は次のクロツ
クパルスの立上りエツジの時点まで保持される。 Thus, the FF shown here is triggered by the rising edge of the clock pulse applied to the clock input CK, and the output Q, is determined according to the level of the data input D, and this state is reached at the rising edge of the next clock pulse. Retained up to the point in time.
次に第2図によつて本発明によるFFの一実施
例を説明する。尚、第1図と同等部分には同符号
を付してある。 Next, an embodiment of the FF according to the present invention will be explained with reference to FIG. Note that the same parts as in FIG. 1 are given the same reference numerals.
本実施例と第1図に示したものとの相異点は、
ゲート制御回路13の構成およびモード入力MD
を新たに設けたことである。ゲート制御回路13
にはオアゲート7,8が追加されている。そして
ナンドゲート5の1つの入力にはナンドゲート3
の出力とモード入力MDがオアゲート7でオアさ
れて結合され、ナンドゲート6の1つの入力には
ナンドゲート4の出力とモード入力MDがオアゲ
ート8でオアされて結合されている。 The difference between this example and the one shown in FIG.
Configuration of gate control circuit 13 and mode input MD
This is a new feature. Gate control circuit 13
Or Gates 7 and 8 have been added. And one input of NAND gate 5 has NAND gate 3
The output of the NAND gate 4 and the mode input MD are ORed by an OR gate 7 and combined, and one input of the NAND gate 6 is connected to the output of the NAND gate 4 and the mode input MD by an OR gate 8.
動作は次の通りである。 The operation is as follows.
まずモード入力MDが“0”レベルの場合、ゲ
ート制御回路13は第1図のゲート制御回路11
と全く同じ動作をする。つまり、本実施例のFF
は、クロツクパルスの立上りエツジでトリガし、
その時のデータ入力Dのレベルをラツチする。 First, when the mode input MD is at the "0" level, the gate control circuit 13 is connected to the gate control circuit 11 in FIG.
behaves exactly the same. In other words, the FF of this example
triggers on the rising edge of the clock pulse,
The level of data input D at that time is latched.
一方、モード入力MDに“1”が与えられた場
合、本実施例のFFはクロツク形のFFとして動作
する。すなわち、クロツク入力CKが“0”レベ
ルの時は、データ入力Dのレベルに関係なく、ナ
ンドゲート3,4の出力はいずれも“1”レベル
である。ここで、Q出力は“Q”、出力は“1”
であると仮定する。クロツクパルスが供給されれ
てクロツク入力CKが“1”レベルになり、その
時にデータ入力Dが“1”レベルであるとする
と、ナンドゲート6の出力が“0”レベル、ナン
ドゲート6の出力が“1”レベルであるため、ナ
ンドゲート3の出力のみ“0”レベルに変化し、
ナンドゲート4の出力は“1”レベルのままであ
る。したがつて、RS−FF10は状態を反転し、
Q出力が“1”レベルに、出力が“0”レベル
に変わる。 On the other hand, when "1" is applied to the mode input MD, the FF of this embodiment operates as a clock type FF. That is, when the clock input CK is at the "0" level, the outputs of the NAND gates 3 and 4 are both at the "1" level, regardless of the level of the data input D. Here, Q output is “Q” and output is “1”
Assume that If a clock pulse is supplied and the clock input CK goes to the "1" level, and at that time the data input D is at the "1" level, the output of the NAND gate 6 will be at the "0" level, and the output of the NAND gate 6 will be at the "1" level. level, only the output of NAND gate 3 changes to “0” level,
The output of the NAND gate 4 remains at the "1" level. Therefore, RS-FF10 reverses the state and
The Q output changes to "1" level and the output changes to "0" level.
クロツク入力CKが“1”レベルの期間中、デ
ータ入力Dのレベルが一定なら上の状態を保つ。
しかし、クロツク入力CKが“1”レベルの期間
にデータ入力Dが“0”レベルに変化すると、ナ
ンドゲート6の出力が“1”レベルに変化し、し
たがつてナンドゲート5の出力が“0”レベルに
変わる。これによつてナンドゲート3の出力が
“1”レベルになり、またナンドゲート4の出力
が“0”レベルになる。したがつてRS−FF10
が反転し、Q出力が“0”に出力が“1”にな
る。 While the clock input CK is at the "1" level, if the level of the data input D is constant, it remains in the above state.
However, if the data input D changes to the "0" level while the clock input CK is at the "1" level, the output of the NAND gate 6 changes to the "1" level, and therefore the output of the NAND gate 5 changes to the "0" level. Changes to As a result, the output of NAND gate 3 becomes "1" level, and the output of NAND gate 4 becomes "0" level. Therefore, RS-FF10
is inverted, and the Q output becomes "0" and the output becomes "1".
すなわち、クロツク入力CKが“1”レベルの
期間中、Q,出力はデータ入力Dのレベルに応
じて変化する。これはいわゆるクロツク形FFの
動作である。 That is, while the clock input CK is at the "1" level, the output Q changes according to the level of the data input D. This is the operation of a so-called clock type FF.
本発明のさらに実用的な一実施例を第3図に示
す。 A more practical embodiment of the invention is shown in FIG.
本実施例は非同期動作も可能としたもので、プ
リセツト入力PR、クリア入力CRが新たに設けら
れている。プリセツト入力PRはナンドゲート1,
5の1つの入力にそれぞれ接続され、クリア入力
CRはナンドゲート2,3,6のつの入力にそれ
ぞれ接続されている。これら入力PR,CRを用い
れば、クロツク入力CKと非同期で出力Q,を
セツトし、リセツトできる。これ以外は、前記実
施例と全く同じである。 This embodiment also allows asynchronous operation, and a preset input PR and clear input CR are newly provided. Preset input PR is NAND gate 1,
5 each connected to one input, clear input
CR is connected to the inputs of NAND gates 2, 3, and 6, respectively. By using these inputs PR and CR, the output Q can be set and reset asynchronously with the clock input CK. Other than this, this embodiment is completely the same as the previous embodiment.
尚、本発明は以上に述べた各実施例に限定され
るものではない。例えばRS−FF10は2つのノ
アゲートの入出力をクロス結合したものでもよ
い。ただしこの場合、クロツク入力CKが“0”
レベルの期間、ゲート制御回路13の両出力を
“0”レベルに保持するように同回路13の構成
を変更する必要があるが、これは容易に実現でき
るので具体例は省略する。またゲート制御回路1
3も、上に述べたような作用を有するならば任意
に変更できるものである。 Note that the present invention is not limited to the embodiments described above. For example, the RS-FF 10 may be configured by cross-coupling the inputs and outputs of two NOR gates. However, in this case, clock input CK is “0”
It is necessary to change the configuration of the gate control circuit 13 so that both outputs of the gate control circuit 13 are held at the "0" level during the level period, but since this can be easily realized, a specific example will be omitted. Also, gate control circuit 1
3 can also be changed arbitrarily as long as it has the effect described above.
以上に述べたように、本発明によるフリツプフ
ロツプ回路はエツジトリガ形の動作とクロツク形
の動作のいずれも可能であり、モード入力によつ
て任意に切換えが可能である。したがつて、エツ
ジトリガ形のフリツプフロツプ回路としてLSI化
を図つた場合でも、モード入力によつてクロツク
形動作を指定すれば、デイレーチエツク、AC特
性測定、論理診断等を容易に実施でき、LSIの設
計や検査に多大の効果をもたらすものである。 As described above, the flip-flop circuit according to the present invention is capable of both edge trigger type operation and clock type operation, and can be arbitrarily switched by mode input. Therefore, even if an LSI is implemented as an edge-triggered flip-flop circuit, by specifying clock-type operation using the mode input, delay checks, AC characteristic measurements, logic diagnosis, etc. can be easily performed, and LSI This has a great effect on design and inspection.
第1図は従来のエツジトリガ形D−フリツプフ
ロツプ回路の一例を示す論理回路図、第2図は本
発明によるD−フリツプフロツプ回路の一実施例
を示す論理回路図、第3図は本発明の他の一実施
例を示す論理回路図である。
1〜6……ナンドゲート、7,8……オアゲー
ト、10……RS−フリツプフロツプ、13……
ゲート制御回路、D……データ入力、CK……ク
ロツク入力、MD……モード入力、PR……プリ
セツト入力、CR……クリア入力、Q,……フ
リツプフロツプ出力。
FIG. 1 is a logic circuit diagram showing an example of a conventional edge-triggered D-flip-flop circuit, FIG. 2 is a logic circuit diagram showing an embodiment of a D-flip-flop circuit according to the present invention, and FIG. 3 is a logic circuit diagram showing an example of a D-flip-flop circuit according to the present invention. FIG. 2 is a logic circuit diagram showing an example. 1 to 6...Nand gate, 7,8...Or gate, 10...RS-flipflop, 13...
Gate control circuit, D...Data input, CK...Clock input, MD...Mode input, PR...Preset input, CR...Clear input, Q...Flip-flop output.
Claims (1)
3及び第4のゲート回路を有するゲート制御回路
と、第5及び第6のゲート回路を有するRS−フ
リツプフロツプとからなり、 前記ゲート制御回路は、第1のオアゲートの入
力にはモード入力と第3のゲート回路の出力が接
続され、第2のオアゲートの入力にはモード入力
と第4のゲート回路の出力が接続され、第1のゲ
ート回路の入力には第1のオアゲートの出力と第
2のゲート回路の出力が接続され、第2のゲート
回路の入力にはデータ入力と第2のオアゲートの
出力が接続され、第3のゲート回路の入力にはク
ロツク入力と第1のゲート回路の出力が接続さ
れ、第4のゲート回路の入力にはクロツク入力と
第2のゲート回路の出力と第3のゲート回路の出
力が接続されてなり、 前記RS−フリツプフロツプは、第5のゲート
回路の入力には第3のゲート回路の出力と第6の
ゲート回路の出力が接続され、第6のゲート回路
の入力には第4のゲート回路の出力と第5のゲー
ト回路の出力が接続されてなり、 前記モード入力が第1レベルの場合は、第3の
ゲート回路、第4のゲート回路の出力を各々第1
オアゲート、第2オアゲートを介してそのまま第
1のゲート回路、第2のゲート回路の入力とし、
前記モード入力が第2レベルの場合は、第3のゲ
ート回路、第4のゲート回路の出力に関係なく、
該モード入力を各々第1オアゲート、第2オアゲ
ートをを介して第1のオアゲート回路、第2のゲ
ート回路の入力とすることを特徴とするフリツプ
フロツプ回路。 2 プリセツト入力が各々第1のゲート回路と第
5のゲート回路の入力に接続され、クリア入力が
各々第2のゲート回路と第3のゲート回路と第6
のゲート回路の入力に接続されていることを特徴
とする特許請求の範囲第1項記載のフリツプフロ
ツプ回路。[Claims] 1. A gate control circuit having first and second OR gates, first, second, third and fourth gate circuits, and an RS-flip-flop having fifth and sixth gate circuits. In the gate control circuit, the mode input and the output of the third gate circuit are connected to the input of the first OR gate, and the mode input and the output of the fourth gate circuit are connected to the input of the second OR gate. The output of the first OR gate and the output of the second gate circuit are connected to the input of the first gate circuit, and the data input and the output of the second OR gate are connected to the input of the second gate circuit. The clock input and the output of the first gate circuit are connected to the input of the third gate circuit, and the clock input, the output of the second gate circuit, and the output of the third gate circuit are connected to the input of the fourth gate circuit. In the RS-flip-flop, the output of the third gate circuit and the output of the sixth gate circuit are connected to the input of the fifth gate circuit, and the output of the sixth gate circuit is connected to the input of the sixth gate circuit. is formed by connecting the output of the fourth gate circuit and the output of the fifth gate circuit, and when the mode input is at the first level, the outputs of the third gate circuit and the fourth gate circuit are respectively connected to the first level.
directly input to the first gate circuit and the second gate circuit via the OR gate and the second OR gate,
When the mode input is at the second level, regardless of the outputs of the third gate circuit and the fourth gate circuit,
A flip-flop circuit characterized in that the mode input is input to a first OR gate circuit and a second gate circuit via a first OR gate and a second OR gate, respectively. 2. The preset inputs are connected to the inputs of the first gate circuit and the fifth gate circuit, respectively, and the clear inputs are connected to the inputs of the second gate circuit, the third gate circuit, and the sixth gate circuit, respectively.
2. The flip-flop circuit according to claim 1, wherein the flip-flop circuit is connected to an input of a gate circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7776880A JPS574618A (en) | 1980-06-11 | 1980-06-11 | Flip-flop |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7776880A JPS574618A (en) | 1980-06-11 | 1980-06-11 | Flip-flop |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS574618A JPS574618A (en) | 1982-01-11 |
| JPH0368568B2 true JPH0368568B2 (en) | 1991-10-29 |
Family
ID=13643117
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7776880A Granted JPS574618A (en) | 1980-06-11 | 1980-06-11 | Flip-flop |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS574618A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6430902B2 (en) * | 2015-07-06 | 2018-11-28 | 日本スピンドル製造株式会社 | Closed kneader |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5333566A (en) * | 1976-08-09 | 1978-03-29 | Hitachi Ltd | Low-power logical circuit |
| JPS5373952A (en) * | 1976-12-14 | 1978-06-30 | Toshiba Corp | Flip-flop integrated circuit |
-
1980
- 1980-06-11 JP JP7776880A patent/JPS574618A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS574618A (en) | 1982-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3587248B2 (en) | Scan flip-flops | |
| JPH04232699A (en) | Scannable registers with delay test capability | |
| JPS6323508B2 (en) | ||
| US7262648B2 (en) | Two-latch clocked-LSSD flip-flop | |
| US4667339A (en) | Level sensitive latch stage | |
| JPH0317413B2 (en) | ||
| CN111030669B (en) | RS latch, RS trigger and controller | |
| JPS6089120A (en) | Flip-flop circuit | |
| JPH0133052B2 (en) | ||
| JP2797355B2 (en) | D-type flip-flop circuit | |
| JPH0234018A (en) | Flip-flop circuit | |
| JPH04148385A (en) | Microcomputer cell | |
| JPS5822458A (en) | Integrated circuit | |
| JPH05327422A (en) | D flip-flop circuit | |
| JPH0750149B2 (en) | How to test shift registers | |
| JPS5936034Y2 (en) | T-type flip-flop circuit | |
| JPS5868156A (en) | Integrated circuit | |
| JPH0547128B2 (en) | ||
| JPH0257732B2 (en) | ||
| KR940006928Y1 (en) | Counter circuit with random initial value | |
| JPS6295017A (en) | Master/slave type flip-flop circuit | |
| JPH04207519A (en) | Latch circuit | |
| JPS60100820A (en) | Monostable multivibrator | |
| JPS61137428A (en) | Frequency dividing circuit | |
| Potton | Combinational Logic Circuits |