JPH03216897A - Shift register - Google Patents

Shift register

Info

Publication number
JPH03216897A
JPH03216897A JP2010816A JP1081690A JPH03216897A JP H03216897 A JPH03216897 A JP H03216897A JP 2010816 A JP2010816 A JP 2010816A JP 1081690 A JP1081690 A JP 1081690A JP H03216897 A JPH03216897 A JP H03216897A
Authority
JP
Japan
Prior art keywords
terminal
parallel
shift
input
shift register
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
JP2010816A
Other languages
Japanese (ja)
Inventor
Tetsuya Murayama
哲也 村山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2010816A priority Critical patent/JPH03216897A/en
Publication of JPH03216897A publication Critical patent/JPH03216897A/en
Pending legal-status Critical Current

Links

Landscapes

  • Shift Register Type Memory (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はセット、リセット付D−フリツブフロツブと
ANDケート、インバータ、アナログス.イッチとを備
えたシフトレジスタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a D-flip float with a set and reset function, an AND gate, an inverter, and an analog circuit. The present invention relates to a shift register equipped with a switch.

〔従来の技術〕[Conventional technology]

第3図は従来のシフトレジスタの回路図である。図にお
いて、1〜4はセット、リセット付D−フリップフロッ
プ、5〜12はANDゲート、13はインバータ、14
、15、16、17はパラレルデータ入力端子、l8は
シリアルシフト・パラレルロード選択端子、19はシフ
トクロツク入力端子、20はシリアルデータ入力端子、
21は出力端子である。
FIG. 3 is a circuit diagram of a conventional shift register. In the figure, 1 to 4 are set and reset D-flip-flops, 5 to 12 are AND gates, 13 is an inverter, and 14
, 15, 16, 17 are parallel data input terminals, l8 is a serial shift/parallel load selection terminal, 19 is a shift clock input terminal, 20 is a serial data input terminal,
21 is an output terminal.

次に動作について説明する。Next, the operation will be explained.

まず、パラレル入力データをシリアルデータとして出力
させる場合については、シリアルシフト、パラレルロー
ド端子18を“L”にすることにより、データ入力端子
14〜17に入力されたデータがD−フリップフロツプ
1〜4のセット、リセット端子に入力され、これらD−
フリップフロップ1〜4のQ出力がラッチされる。この
時点でシリアルシフト・パラレルロード選択端子18を
“H”にしてANDゲート5〜12により、データ入力
端子14〜17のパラレル入力データがD−フリップフ
ロップ1〜4に入力されることを禁止した上で、シフト
クロック入力端子19から入力されるクロツク信号に同
期して、この人刀の立ち上りてD−フリップフロップ1
〜4のラッチされた各Q出力が出力端子21よりシフト
アウトされる。
First, when parallel input data is output as serial data, by setting the serial shift/parallel load terminal 18 to "L", the data input to the data input terminals 14 to 17 is transferred to the D-flip-flops 1 to 4. These D-
The Q outputs of flip-flops 1-4 are latched. At this point, the serial shift/parallel load selection terminal 18 was set to "H" and the AND gates 5 to 12 prohibited the parallel input data of the data input terminals 14 to 17 from being input to the D-flip-flops 1 to 4. Above, in synchronization with the clock signal input from the shift clock input terminal 19, the D-flip-flop 1
~4 latched Q outputs are shifted out from the output terminal 21.

次に、シリアル入力テータを出力端子21からシフトア
ウトさせる場合については、シリアルシフト゜パラレル
ロード選択端子18を“H”にして、ANDゲート5〜
12によりデータ入力端子14〜l7のパラレル入力デ
ータがD−フリップフロップ1〜4に入力されることを
禁止した状態としてやると、シリアルデータ入力端子2
0から入力されるシリアルデータはシフトクロツクの立
ち上りに同期して出力端子21よりシフトアウトされる
Next, to shift out the serial input data from the output terminal 21, set the serial shift/parallel load selection terminal 18 to "H", and
12 prohibits the parallel input data of the data input terminals 14 to 17 from being input to the D-flip-flops 1 to 4, then the serial data input terminal 2
Serial data input from 0 is shifted out from the output terminal 21 in synchronization with the rising edge of the shift clock.

この状態をタイムチャートで示すと第4図の様になる。This state is shown in a time chart as shown in FIG.

図において、パラレルデータ入力端子14〜17、シリ
アルデータ入力端子20の状態は任意に決めたものであ
る。
In the figure, the states of parallel data input terminals 14 to 17 and serial data input terminal 20 are arbitrarily determined.

上述の内、シリアルシフト・パラレルロート信号18は
シフトクロツク入力端子19のシフトクロックより文周
等によりつくり出されるものとする。
In the above description, it is assumed that the serial shift/parallel rot signal 18 is generated by Bunshu et al. from the shift clock of the shift clock input terminal 19.

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

従来のシフトレジスタ回路は以上のように構成ざれてい
たので、刻々と変化するパラレル入力データを連続して
シリアルデータとして出力端子からとり出す場合、シフ
トクロツクよりシレアルシフト・・パラレルロード選択
信号をつくり出しているために、若干シリアルシフト・
パラレルロード選択信号はシフトクロツクより遅れを生
し、このために出力端子から出力される信号に第5図に
示す如くハザードを生じるという問題点を有していた。
Conventional shift register circuits were configured as described above, so when the ever-changing parallel input data is continuously taken out from the output terminal as serial data, a serial shift/parallel load selection signal is generated from the shift clock. Due to the slight serial shift
The parallel load selection signal lags behind the shift clock, which causes a hazard in the signal output from the output terminal as shown in FIG. 5.

この発明は上記のような問題点を解消するためになされ
たものでアナログスイッチを使フてパラレル入力データ
を連続してシリアルデータとしてとったす場合に出力端
子の出力にハザードが発生することを抑えたシフトレジ
スタを得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and it prevents the occurrence of hazards in the output of the output terminal when parallel input data is continuously taken as serial data using an analog switch. The purpose is to obtain a reduced shift register.

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

この発明に係るシフトレシスタは、シリアルデータ入力
端子とパラレルデータ入力端子との間にアナログスイッ
チを入れることにより、シリアルデータ入力端子とパラ
レルテータ入力端子とを短絡、開放できるようにしたも
のである。
The shift register according to the present invention is capable of short-circuiting or opening the serial data input terminal and the parallel data input terminal by inserting an analog switch between the serial data input terminal and the parallel data input terminal.

(作用) この発明におけるシフトレシスタは、シフトレジスタに
パラレルデータを入力する場合、D−フリップフロップ
のセット入力とD入力(これはシリアルデータ入力端子
)とが同じであることにより、出力端子の出力にシリア
ルデータ入力か現われてもハザートとはならない。
(Function) In the shift register of the present invention, when parallel data is input to the shift register, the set input of the D-flip-flop and the D input (this is a serial data input terminal) are the same, so that the output of the output terminal is Even if serial data input appears, it will not cause a hazard.

〔実施例] 以下、この発明の一実施例を図について説明する。第1
図において、前記従来のものと同一部分には同一の符号
を付けてあるので、その説明は省略する。図中符号22
、23はアナログスイッチ、24はアナログスイッチ制
御端子である。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
In the figure, parts that are the same as those in the conventional system are designated by the same reference numerals, so their explanation will be omitted. Code 22 in the figure
, 23 is an analog switch, and 24 is an analog switch control terminal.

次に動作について説明する。Next, the operation will be explained.

シフトレシスタはパラレルデータ入力端子14〜17の
パラレルデータをシフトクロツク入力端子19のシフト
クロックからつくり出したシリアルシフトパラレルロー
ト選択端子18のシリアルシフトパラレルロード選択信
号により出力端子21からシフトアウトする場合、アナ
ロクスイッチ制御端子24を“L”にすることによりア
ナログスイッチ22をON、アナログスイッチ23をO
FFLた状態にして置く。この状態でパラレルデータ入
力端子14〜17のパラレル入力データを連続して出力
端子21からとり出す場合、第2図のタイムチャートに
示すようにシリアルシフトパラレル選択端子18のシリ
アルシフトパラレルロ一ド選択信号かシフトクロツク入
力端子19のシフトクロツクより遅れを生じていても、
D−フリツブフロツブ1のD入力がパラレルデータ入力
端子14のパラレルデータ入力と同じであることにより
出力端子21に従来のようなハザードは生じない。
When the shift register shifts out the parallel data from the parallel data input terminals 14 to 17 from the output terminal 21 using the serial shift parallel load selection signal from the serial shift parallel load selection terminal 18 generated from the shift clock from the shift clock input terminal 19, the shift register is controlled by an analog switch. By setting the terminal 24 to “L”, the analog switch 22 is turned on and the analog switch 23 is turned on.
Leave it in FFL state. In this state, when the parallel input data of the parallel data input terminals 14 to 17 is continuously taken out from the output terminal 21, the serial shift parallel load selection of the serial shift parallel selection terminal 18 is performed as shown in the time chart of FIG. Even if the signal lags behind the shift clock of the shift clock input terminal 19,
Since the D input of the D-flip flop 1 is the same as the parallel data input of the parallel data input terminal 14, no hazard occurs at the output terminal 21 as in the conventional case.

また、シリアルデータ入力端子20からのデータをシフ
トレジスタからシフトアウトする場合にはアナログスイ
ッチ制御端子24を“H”にすることによりアナログス
イッチ22をOFF、アナロクスイッチ23をONさせ
てシリアルデータ入力端子20とD−フリップフロップ
1のD入力を短絡した状態として置き、前記従来のもの
と同様の方法で出力端子21からデータを得る。
When data from the serial data input terminal 20 is shifted out from the shift register, the analog switch 22 is turned off by setting the analog switch control terminal 24 to "H", and the analog switch 22 is turned off by turning on the analog switch 23 to output the serial data input terminal. 20 and the D input of the D-flip-flop 1 are placed in a short-circuited state, and data is obtained from the output terminal 21 in the same manner as the conventional one.

なお、上記実施例ではセット、リセット付D−フリップ
フロップ1〜4は4個とし、4ビットのパラレルデータ
をシリアルテータとするシフトレジスタの場合について
述べたが、ビット数については何ビットであフてもよい
In the above embodiment, there are four D-flip-flops 1 to 4 with set and reset functions, and the shift register uses 4-bit parallel data as a serial data. You can.

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

以上のようにこの発明によれば、アナログスイッチによ
りD−フリップフロップのD入力とセット入力が短絡さ
れることにより、パラレル入力データを連続してシリア
ルテータとして出力する場合に出力端子にハザートを発
生させないという効果が得られる。
As described above, according to the present invention, by short-circuiting the D input and set input of the D-flip-flop using the analog switch, a hazard is generated at the output terminal when parallel input data is continuously output as a serial data. This has the effect of not allowing

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

第1図はこの発明の一実施例によるシフトレジスタの回
路図、第2図は第1図のシフトレジスタを使用した場合
の動作説明のタイムチャート、第3図は従来のシフトレ
ジスタの回路図、第4図は第3図のシフトレジスタの動
作説明のタイムチャート、第5図は第3図のシフトレジ
スタのハザードを示すタイムチャートである。 図において、1〜4はセットリセット付D−フリップフ
ロツプ、5〜12はANDゲート、13はインバータ、
14〜17はパラレルデータ入力端子、18はシリアル
シフトパラレルロ一ド選択端子、19はシフトクロツク
、20はシリアルデータ入力端子、21は出力端子、2
2、23はアナログスイッチ、24はアナログスイッチ
制御端子を示す。 なお、図中、同一符号は同一 または相当部分を示す。
FIG. 1 is a circuit diagram of a shift register according to an embodiment of the present invention, FIG. 2 is a time chart explaining the operation when the shift register of FIG. 1 is used, and FIG. 3 is a circuit diagram of a conventional shift register. FIG. 4 is a time chart explaining the operation of the shift register in FIG. 3, and FIG. 5 is a time chart showing hazards in the shift register in FIG. In the figure, 1 to 4 are D-flip-flops with set/reset, 5 to 12 are AND gates, 13 is an inverter,
14 to 17 are parallel data input terminals, 18 is a serial shift parallel load selection terminal, 19 is a shift clock, 20 is a serial data input terminal, 21 is an output terminal, 2
2 and 23 are analog switches, and 24 is an analog switch control terminal. In addition, the same symbols in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 セット、リセット入力付D−フリップフロップとこのD
−フリップフロップに接続される ANDゲート、インバータ、アナログスイッチとで構成
されるシフトレジスタにおいて、前記D−フリップフロ
ップのD入力とこのD−フリップフロップのセット入力
とを前記アナログスイッチにより短絡、開放できるよう
にしたことを特徴とするシフトレジスタ。
[Claims] A D-flip-flop with set and reset inputs and this D-flip-flop with set and reset inputs;
- In a shift register composed of an AND gate, an inverter, and an analog switch connected to a flip-flop, the D input of the D-flip-flop and the set input of this D-flip-flop can be short-circuited or opened by the analog switch. A shift register characterized by:
JP2010816A 1990-01-20 1990-01-20 Shift register Pending JPH03216897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010816A JPH03216897A (en) 1990-01-20 1990-01-20 Shift register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010816A JPH03216897A (en) 1990-01-20 1990-01-20 Shift register

Publications (1)

Publication Number Publication Date
JPH03216897A true JPH03216897A (en) 1991-09-24

Family

ID=11760878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010816A Pending JPH03216897A (en) 1990-01-20 1990-01-20 Shift register

Country Status (1)

Country Link
JP (1) JPH03216897A (en)

Similar Documents

Publication Publication Date Title
EP0256861B1 (en) Flip-flop circuit
WO1993019529A1 (en) Asynchronous-to-synchronous synchronizers, particularly cmos synchronizers
JPH04213913A (en) Double multiplier of clock frequency
US4894557A (en) Asyncronous edge-triggered RS flip-flop circuit
US2987625A (en) Magnetic control circuits
JPH03216897A (en) Shift register
US4633098A (en) Flip-flop circuit with built-in enable function
US4125833A (en) Sequence switching circuit with latching alarm
JPS6258725A (en) Counter circuit
JPH0993099A (en) Edge detection circuit
JP2693798B2 (en) Control signal generation circuit
JPH02306715A (en) Input signal switching circuit
JP2810584B2 (en) Serial data transfer circuit
JPS6228838A (en) Interruption control circuit
JPH0355200Y2 (en)
JPH0577788U (en) Electronic circuit
JPH06176593A (en) Shift register
JPH02239467A (en) Recording density switching circuit
JPH0654860B2 (en) Flip-flop circuit
JPS63169579A (en) Scan design circuit
JPS60175135A (en) key scan circuit
JPS62111314A (en) Clock switching circuit
JPS6236914A (en) Chattering preventing circuit
JPH0537306A (en) Flip-flop circuit
JPH03263914A (en) Signal waveform shaping circuit