JPH0547193A - Logic circuit - Google Patents

Logic circuit

Info

Publication number
JPH0547193A
JPH0547193A JP3230850A JP23085091A JPH0547193A JP H0547193 A JPH0547193 A JP H0547193A JP 3230850 A JP3230850 A JP 3230850A JP 23085091 A JP23085091 A JP 23085091A JP H0547193 A JPH0547193 A JP H0547193A
Authority
JP
Japan
Prior art keywords
input
circuit
output
flop
type flip
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
JP3230850A
Other languages
Japanese (ja)
Inventor
Akio Harasawa
昭夫 原澤
Tamotsu Kobayashi
保 小林
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP3230850A priority Critical patent/JPH0547193A/en
Publication of JPH0547193A publication Critical patent/JPH0547193A/en
Pending legal-status Critical Current

Links

Landscapes

  • Shift Register Type Memory (AREA)

Abstract

PURPOSE:To prevent the malfunction by a shift register even when a skew is generated to the clock inputs of respective D type flip-flops in the shift register of the D type flip-flop. CONSTITUTION:This logic circuit is constituted of input terminals 1, 2 and 3, a D latch circuit 4 latching a data at the rise of a clock, a selector circuit 5 and an output terminal 6. In the selector circuit, the data input D0 is outputted except when the select input A is '1' and tone select input B is '0', the data input D1 is outputted when the select input A is '1' and the select input B is '0'.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は論理回路に関し、特にD
タイプフリップフロップのシフトレジスタ間に使用する
クロックスキュー吸収回路に関する。
FIELD OF THE INVENTION This invention relates to logic circuits, and more particularly to D
The present invention relates to a clock skew absorbing circuit used between shift registers of a type flip-flop.

【0002】[0002]

【従来の技術】図5は従来のDタイプフリップフロップ
のシフトレジスタの一例である。
2. Description of the Related Art FIG. 5 shows an example of a conventional D-type flip-flop shift register.

【0003】従来、Dタイプフリップフロップのシフト
レジスタは各Dタイプフリップフロップのクロック入力
に想定されうるスキューを考慮する必要が有った。
Conventionally, the shift register of the D-type flip-flop has to consider the skew that can be assumed in the clock input of each D-type flip-flop.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のDタイ
プフリップフロップのシフトレジスタは、各Dタイプフ
リップフロップのクロック入力のスキューが規定できな
い場合、シフトレジスタが誤動作を起こすという欠点を
有していた。
The above-described conventional D-type flip-flop shift register has a drawback that the shift register malfunctions when the skew of the clock input of each D-type flip-flop cannot be defined. ..

【0005】本発明の目的はDタイプフリップフロップ
のシフトレジスタにおいて各Dタイプフリップフロップ
のクロック入力にスキューが発生してもシフトレジスタ
の誤動作を防止する論理回路を提供することにある。
An object of the present invention is to provide a logic circuit in a shift register of a D type flip-flop, which prevents malfunction of the shift register even if skew occurs in the clock input of each D type flip-flop.

【0006】[0006]

【課題を解決するための手段】本発明は、セレクタ回路
において、第一のセレクト入力が論理値“1”で第二の
セレクト入力が論理値“0”のとき以外には第一のデー
タ入力を選択して出力し、第一のセレクト入力が論理値
“1”で第二のセレクト入力が論理値“0”のときには
第二のデータ入力を選択し出力するセレクタ回路と、ク
ロックの立ち上がりでデータをラッチするDラッチ回
路、及び、3個の入力端子と1個の出力端子から成り、
第一の入力端子の信号をDラッチ回路のデータ入力とセ
レクタ回路の第一のデータ入力に、第二の入力端子の信
号をDラッチ回路のクロック入力とセレクタ回路の第一
のセレクト入力に、第三の入力端子の信号をセレクタ回
路の第二のセレクト入力に、Dラッチ回路の出力をセレ
クタ回路の第二のデータ入力に、セレクタ回路の出力を
出力端子にそれぞれ接続したことを特徴とする論理回路
である。
According to the present invention, in a selector circuit, the first data input is performed except when the first select input is a logical value "1" and the second select input is a logical value "0". Selective output is performed. When the first select input has a logical value "1" and the second select input has a logical value "0", a selector circuit that selects and outputs the second data input and D-latch circuit for latching data, consisting of 3 input terminals and 1 output terminal,
The signal of the first input terminal is used as the data input of the D latch circuit and the first data input of the selector circuit, and the signal of the second input terminal is used as the clock input of the D latch circuit and the first select input of the selector circuit. The signal of the third input terminal is connected to the second select input of the selector circuit, the output of the D latch circuit is connected to the second data input of the selector circuit, and the output of the selector circuit is connected to the output terminal. It is a logic circuit.

【0007】Dタイプフリップフロップのシフトレジス
タにおいて、前段のDタイプフリップフロップのデータ
出力を上記論理回路の第一の入力端子に接続し、前段の
Dタイプフリップフロップのクロック入力を上記論理回
路の第二の入力端子に接続し、後段のDタイプフリップ
フロップのデータ入力に上記論理回路の出力を接続し、
後段のDタイプフリップフロップのクロック入力を上記
論理回路の第三の入力端子を接続している。
In the shift register of the D-type flip-flop, the data output of the D-type flip-flop of the previous stage is connected to the first input terminal of the logic circuit, and the clock input of the D-type flip-flop of the previous stage is connected to the first input terminal of the logic circuit. Two input terminals, the output of the above logic circuit is connected to the data input of the D-type flip-flop in the subsequent stage,
The clock input of the subsequent D-type flip-flop is connected to the third input terminal of the logic circuit.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0009】図1は本発明の回路図である。1,2,3
を入力端子とし、6を出力端子とする。入力端子1はD
ラッチ回路4のクロック入力とセレクタ回路5のデータ
入力D0が接続され、入力端子2はDラッチ回路4のク
ロック入力とセレクタ回路5のセレクト入力Aに接続さ
れ、入力端子3はセレクタ回路5のセレクト入力Bに接
続され、Dラッチ回路4の出力Qはセレクタ回路5デー
タ入力D1が接続され、出力端子6はセレクタ回路5の
出力バーOに接続されている。セレクタ回路5の出力バ
ーOにはセレクト入力Aが論理値“1”でセレクト入力
Bが論理値“0”の時以外はデータ入力D0の論理値が
出力され、セレクト入力Aが論理値“1”でセレクト入
力Bが論理値“0”の時データ入力D1の論理値が出力
される。
FIG. 1 is a circuit diagram of the present invention. 1, 2, 3
Is an input terminal and 6 is an output terminal. Input terminal 1 is D
The clock input of the latch circuit 4 and the data input D0 of the selector circuit 5 are connected, the input terminal 2 is connected to the clock input of the D latch circuit 4 and the select input A of the selector circuit 5, and the input terminal 3 is selected by the selector circuit 5. The input Q is connected to the input B, the output Q of the D latch circuit 4 is connected to the data input D1 of the selector circuit 5, and the output terminal 6 is connected to the output bar O of the selector circuit 5. The logical value of the data input D0 is output to the output bar O of the selector circuit 5 except when the select input A is the logical value "1" and the select input B is the logical value "0", and the select input A is the logical value "1". When the select input B is "0", the logical value of the data input D1 is output.

【0010】図2は本発明の図1の論理回路を使用した
Dタイプフリップフロップのシフトレジスタの一実施例
である。12は図1の論理回路である。データ入力端子
7はDタイプフリップフロップ11のD入力に接続さ
れ、クロック入力8はバッファ9,10の入力に接続さ
れ、バッファ9の出力はDタイプフリップフロップ11
のクロック入力と論理回路12のセレクト信号Aに接続
され、Dタイプフリップフロップ11の出力Qは論理回
路12のデータ入力Dに接続され、バッファ10の出力
は論理回路12のセレクト信号BとDタイプフリップフ
ロップ13のクロック入力に接続され、論理回路12の
出力バーOはDタイプフリップフロップ13のデータ入
力に接続され、出力端子14はDタイプフリップフロッ
プ13のQ出力に接続している。
FIG. 2 shows an embodiment of a shift register of a D type flip-flop using the logic circuit of FIG. 1 of the present invention. Reference numeral 12 is the logic circuit of FIG. The data input terminal 7 is connected to the D input of the D type flip-flop 11, the clock input 8 is connected to the inputs of the buffers 9 and 10, and the output of the buffer 9 is the D type flip-flop 11.
Of the D type flip-flop 11 is connected to the data input D of the logic circuit 12, and the output of the buffer 10 is connected to the select signal B of the logic circuit 12 and the D type. It is connected to the clock input of the flip-flop 13, the output bar O of the logic circuit 12 is connected to the data input of the D-type flip-flop 13, and the output terminal 14 is connected to the Q output of the D-type flip-flop 13.

【0011】図3、図4は図2の回路における波形の説
明図である。
3 and 4 are explanatory diagrams of waveforms in the circuit of FIG.

【0012】図3においてバッファ9の出力伝ぱん遅延
時間をt1、バッファ10の出力伝ぱん遅延時間をt2
とすると、t1<t2の場合、バッファ9の出力が論理
値“1”でバッファ10の出力が論理値“0”の時の論
理回路12の出力バーOは論理回路12のD入力を論理
回路12のセレクト信号Aの立ち上がりでラッチした信
号が出力され、バッファ9の出力が論理値“1”でバッ
ファ10出力が論理値“1”になったとき、論理回路1
2の出力バーOは論理回路12のD入力がそのまま出力
するのでデータ入力端子7の入力信号D1が出力され、
Dタイプフリップフロップ13のD入力に入り、Dタイ
プフリップフロップ13はバッファ10の次の立ち上が
りでラッチし、出力14にデータD1が出力されシフト
レジスタとして動作する。図4においてt1≧t2の場
合、論理回路12の出力バーOは論理回路12のD入力
がそのまま出力されるためシフトレジスタとして動作す
る。
In FIG. 3, the output propagation delay time of the buffer 9 is t1, and the output propagation delay time of the buffer 10 is t2.
Then, when t1 <t2, the output bar O of the logic circuit 12 when the output of the buffer 9 is the logical value “1” and the output of the buffer 10 is the logical value “0”, the D input of the logical circuit 12 is the logical circuit. When the latched signal is output at the rising edge of the select signal A of 12 and the output of the buffer 9 becomes the logical value "1" and the output of the buffer 10 becomes the logical value "1", the logic circuit 1
The output bar O of 2 outputs the input signal D1 of the data input terminal 7 because the D input of the logic circuit 12 is output as it is.
The data enters the D input of the D type flip-flop 13, the D type flip-flop 13 latches at the next rising edge of the buffer 10, and the data D1 is output to the output 14 to operate as a shift register. When t1 ≧ t2 in FIG. 4, the output bar O of the logic circuit 12 operates as a shift register because the D input of the logic circuit 12 is output as it is.

【0013】[0013]

【発明の効果】以上説明したように本発明の論理回路を
使用すれば、Dタイプフリップフロップのシフトレジス
タは、各Dタイプフリップフロップのクロック入力のス
キューが規定できない場合においても、シフトレジスタ
は正常に動作するという効果がある。
As described above, by using the logic circuit of the present invention, the shift register of the D-type flip-flop can operate normally even when the skew of the clock input of each D-type flip-flop cannot be defined. Has the effect of working.

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

【図1】本発明の論理回路図FIG. 1 is a logic circuit diagram of the present invention.

【図2】図1の論理回路図を使用したシフトレジスタの
一実施例
2 is an example of a shift register using the logic circuit diagram of FIG.

【図3】図2の信号波形図FIG. 3 is a signal waveform diagram of FIG.

【図4】図2の信号波形図FIG. 4 is a signal waveform diagram of FIG.

【図5】従来のシフトレジスタ回路図FIG. 5 is a conventional shift register circuit diagram.

【図6】図5の信号波形図6 is a signal waveform diagram of FIG.

【符号の説明】[Explanation of symbols]

1,2,3 入力端子 4 Dラッチ回路 5 セレクタ回路 6 出力端子 7 データ入力端子 8 クロック入力端子 9,10 バッファ 11,13 Dタイプフリップフロップ 12 論理回路 14 出力端子 1, 2 and 3 input terminals 4 D latch circuit 5 selector circuit 6 output terminal 7 data input terminal 8 clock input terminal 9 and 10 buffer 11 and 13 D type flip-flop 12 logic circuit 14 output terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 セレクタ回路において、第一のセレクト
入力が論理値“1”で第二のセレクト入力が論理値
“0”のとき以外には第一のデータ入力を選択して出力
し、第一のセレクト入力が論理値“1”で第二のセレク
ト入力が論理値“0”のときには第二のデータ入力を選
択し出力するセレクタ回路と、クロックの立ち上がりで
データをラッチするDラッチ回路、及び、3個の入力端
子と1個の出力端子から成り、第一の入力端子の信号を
Dラッチ回路のデータ入力とセレクタ回路の第一のデー
タ入力に、第二の入力端子の信号をDラッチ回路のクロ
ック入力とセレクタ回路の第一のセレクト入力に、第三
の入力端子の信号をセレクタ回路の第二のセレクト入力
に、Dラッチ回路の出力をセレクタ回路の第二のデータ
入力に、セレクタ回路の出力を出力端子にそれぞれ接続
したことを特徴とする論理回路。
1. A selector circuit selects and outputs a first data input except when the first select input has a logical value "1" and the second select input has a logical value "0". A selector circuit that selects and outputs the second data input when one select input has a logical value "1" and a second select input has a logical value "0", and a D latch circuit that latches data at the rising edge of a clock, And a signal from the first input terminal to the data input of the D latch circuit and the first data input of the selector circuit, and a signal from the second input terminal to the D input. The clock input of the latch circuit and the first select input of the selector circuit, the signal of the third input terminal to the second select input of the selector circuit, the output of the D latch circuit to the second data input of the selector circuit, Selector circuit A logic circuit characterized in that an output is connected to each output terminal.
JP3230850A 1991-08-19 1991-08-19 Logic circuit Pending JPH0547193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3230850A JPH0547193A (en) 1991-08-19 1991-08-19 Logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3230850A JPH0547193A (en) 1991-08-19 1991-08-19 Logic circuit

Publications (1)

Publication Number Publication Date
JPH0547193A true JPH0547193A (en) 1993-02-26

Family

ID=16914276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3230850A Pending JPH0547193A (en) 1991-08-19 1991-08-19 Logic circuit

Country Status (1)

Country Link
JP (1) JPH0547193A (en)

Similar Documents

Publication Publication Date Title
JP5355401B2 (en) Pulse counter with clock edge recovery
JP2002208844A (en) Glitch elimination circuit
JPH07504076A (en) Dual edge-triggered memory device and system
US6911845B2 (en) Pulse triggered static flip-flop having scan test
KR920018640A (en) LCD driving circuit
US6690221B1 (en) Method and apparatus to delay signal latching
US5187385A (en) Latch circuit including filter for metastable prevention
KR960701539A (en) SINGLE-ENDED PULSE GATING CIRCUIT
US6301188B1 (en) Method and apparatus for registering free flow information
JPH0547193A (en) Logic circuit
US7400178B2 (en) Data output clock selection circuit for quad-data rate interface
JPS6244727B2 (en)
JPS63313222A (en) Key input device
JPH0334617A (en) Flip-flop circuit
JPH0529892A (en) Logic circuit
KR0184153B1 (en) Frequency divider circuit
JPH0969286A (en) Semiconductor memory device
KR0131431Y1 (en) Signal debounce circuit
KR890005160B1 (en) The integrated circuits of d-flip flop and buffer
KR950001175B1 (en) Improved data shift register
KR100199190B1 (en) Data acquisition logic
US6407612B1 (en) Method and system for suppressing input signal irregularities
JP2658327B2 (en) Logic circuit
JP3236235B2 (en) Toggle flip-flop
JPH05273314A (en) Semiconductor logic integrated circuit