JPH03218112A - Register circuit - Google Patents
Register circuitInfo
- Publication number
- JPH03218112A JPH03218112A JP2013851A JP1385190A JPH03218112A JP H03218112 A JPH03218112 A JP H03218112A JP 2013851 A JP2013851 A JP 2013851A JP 1385190 A JP1385190 A JP 1385190A JP H03218112 A JPH03218112 A JP H03218112A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- type flip
- gate
- flop
- write
- 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
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、D型フリップフロップへの書き込み誤動作を
防止したレジスタ回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a register circuit that prevents write errors to a D-type flip-flop.
従来の技術
近年、半導体集積回路は高集積化され半導体集積回路内
部の負荷で遅延が生し、誤動作を起こす原因となってい
る,
以下に従来のレジスタ回路について説明する。BACKGROUND OF THE INVENTION In recent years, semiconductor integrated circuits have become highly integrated, causing delays due to loads inside the semiconductor integrated circuits, which can cause malfunctions.A conventional register circuit will be described below.
第2図は従来のレジスタ回路の構成を示すしのである。FIG. 2 shows the configuration of a conventional register circuit.
第2図において、1はクロック信号を反転するインバー
タて、2は1のインバータの出力と書き込み信号の論理
積否定をとるナンドゲートて・ある。3は前述2のナン
ドゲートの出力をクロック端子に入力するD型フリップ
フロツプである。In FIG. 2, 1 is an inverter that inverts the clock signal, and 2 is a NAND gate that performs the logical product negation of the output of the inverter 1 and the write signal. 3 is a D-type flip-flop which inputs the output of the NAND gate 2 to its clock terminal.
以上のように構成されたレジスタ回路について以下その
動作について説明する。The operation of the register circuit configured as described above will be explained below.
まず、通常第2図に示す回路において、クロック信号が
ハイレベルの時点で、書き込み信号の切り換えが行なわ
れ、書き込み信号がイネーブルであった場合、クロック
信号と第2図2のナンドゲートで同期され、クロック信
号がローレベルの時点で、D型フリップフロップのクロ
ック端子にパルスが発生され、データ入力端子のデータ
を書き込む。又、書き込み信号が、ディセイブルであっ
た場合、クロック信号がローレベルになってらパルスは
発生されず、以前のデータを保持する。First, in the circuit shown in FIG. 2, the write signal is normally switched when the clock signal is at a high level, and if the write signal is enabled, it is synchronized with the clock signal by the NAND gate of FIG. When the clock signal is at a low level, a pulse is generated at the clock terminal of the D-type flip-flop to write data at the data input terminal. Further, when the write signal is disabled, no pulse is generated after the clock signal becomes low level, and the previous data is retained.
発明が解決しようとする課題
しかしながら、上記従来の構成ではクロック信号の位相
ずれが生じた場合、クロック信号かローレヘルになった
時点て、書き込み信号の切り換えが行なわれてしまう現
象が発生する。以上のような現象が発生すると書き込み
信号か本来、ディセイブルであるにもかかわらず、第3
図のD型フノップフロツプのクロック端子にパルスが発
生し、D型フリップフロツプの内容が、書き変わるとい
う問題を有していた。Problems to be Solved by the Invention However, in the conventional configuration described above, when a phase shift occurs in the clock signal, a phenomenon occurs in which the write signal is switched when the clock signal becomes low level. When the above phenomenon occurs, the write signal is disabled even though it is originally disabled.
There was a problem in that a pulse was generated at the clock terminal of the D-type flip-flop shown in the figure, and the contents of the D-type flip-flop were rewritten.
本発明は、上記従来の問題点を解決するもので、クロッ
ク信号の位相ずれが生じても、D型フJツプフロツプの
書き込みの誤動作を防ぐレジスタ回路を提供することを
目的としている。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to provide a register circuit that prevents write errors in a D-type flip-flop even if a phase shift of a clock signal occurs.
課題を解決するための手段
この目的を達成するために本発明のレジスタ回路は、D
型フリップ7ロップのデータ入力に2つのアンドゲート
と1つのオアゲートとで構成されるセレタクを備えてい
ろ。セレクタの一方のアンドゲートには入力信号と害き
込み信号を、もう一方のアンドゲートにはD型フリップ
フロツプの出力信号と、書き込み信号の反転を入力し、
クロック信号と書き込み信号を独立させた構成になって
いる。Means for Solving the Problems To achieve this object, the register circuit of the present invention has D.
Provide a selector consisting of two AND gates and one OR gate at the data input of the type flip 7 flop. The input signal and the harm signal are input to one AND gate of the selector, and the output signal of the D-type flip-flop and the inversion of the write signal are input to the other AND gate.
The configuration is such that the clock signal and write signal are independent.
作用
この構成によって、クロック信号の位相ずれが生じた場
合でもD型フリップフロップの内容が書き変わってしま
う書き込み誤動作を防ぐことができる。Effect: With this configuration, it is possible to prevent write malfunctions in which the contents of the D-type flip-flop are rewritten even when a phase shift of the clock signal occurs.
実施例
以下本発明の一実施例について、図面を参照しながら説
明する。第1図は本発明の実施例におけるレジスタ回路
の回路図を示す。EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 shows a circuit diagram of a register circuit in an embodiment of the present invention.
第1図において、10はD型フリップ7ロツプ、11は
書き込み信号を反転するインバータ、12は前述11の
インバータの出力と前述10のD型フリップフロップの
出力を入力するアンドゲート、l3はデータ入力信号と
書き込み信号とを入力するアンドゲート、14は前述1
2と13のアンドゲートの出力を入力するオアゲートで
ある。前述14のオアゲートの出力は、前述10のD型
フリップフロツプのD端子に入力される。In FIG. 1, 10 is a D-type flip-flop, 11 is an inverter that inverts the write signal, 12 is an AND gate that inputs the output of the inverter 11 and the output of the D-type flip-flop 10, and l3 is a data input. An AND gate for inputting a signal and a write signal, 14 is the above-mentioned 1
This is an OR gate that inputs the outputs of AND gates 2 and 13. The output of the above-mentioned 14 OR gates is inputted to the D terminal of the above-mentioned 10 D-type flip-flop.
又、D型フリップ7ロツプのクロック端子には、クロッ
ク信号が入力される。A clock signal is also input to the clock terminal of the D-type flip 7-lop.
以上のように構成されたレジスタ回路について、以下そ
の動作を説明する。The operation of the register circuit configured as described above will be described below.
D型フリップフロツプにデータ入力信号のデータを書き
込む場合、書き込み信号はハイレヘルになり、13のア
ンドゲートは、データ入力信号との積により、データ入
力信号のレベルを出力する。又、12のアンドゲートは
、1lのインバータで書き込み信号の反転レベル口一が
入力されるため、10のD型フリップフロツプの出力に
ががわらず、出力は常にローレベルになる。12と13
のアンドゲートの出力により14のオアゲートは、13
のアンドゲートの出力すなわち、データ入力信号を10
のD型フリップフロツプのD端子へ出力する。D型フリ
ップフロップは、クロック信号の立ち下がりエッチで、
入力データを書き込む。When writing the data of the data input signal to the D-type flip-flop, the write signal becomes high level, and the AND gate 13 outputs the level of the data input signal by multiplying it with the data input signal. Further, since the inverted level of the write signal is inputted to the AND gate 12 by the 1L inverter, the output is always at a low level regardless of the output of the D-type flip-flop 10. 12 and 13
With the output of the AND gate, the 14 OR gate becomes 13
The output of the AND gate, that is, the data input signal is 10
output to the D terminal of the D-type flip-flop. A D-type flip-flop is a falling edge of a clock signal.
Write input data.
又、データを書き込まない場合、書き込み信号はローレ
ヘルになり、13のアンドゲートはデータ入力信号にか
かわらず、ローレベルを出力する。又、12のアンドゲ
ートは、11のインバータで書き込み信号の反転したハ
イレヘル信号が入力されるため、10のD型フリップフ
ロツプの出力信号レベルを出力する。12と13のアン
ドゲートの出力により14のオアゲートは、12のアン
ドゲートの出力すなわち、10のD型フリップ7ロツプ
の出力信号を出力する。D型フリップ7ロツプは、クロ
ック信号の立ち下がりエッチで、出力信号を書き込む。Further, when data is not written, the write signal becomes low level, and the AND gate 13 outputs a low level regardless of the data input signal. Further, the AND gate 12 receives the high-level signal obtained by inverting the write signal by the inverter 11, and therefore outputs the output signal level of the D-type flip-flop 10. Based on the outputs of AND gates 12 and 13, OR gate 14 outputs the output signal of 12 AND gates, that is, the output signal of 10 D-type flips and 7 lops. The D-type flip 7 lop writes the output signal on the falling edge of the clock signal.
以上の本実施例のように、D型フリップフロップの入力
信号及び、出力信号に2つのアンドゲートと1つのオア
ゲートで構成されたセレクタを設け、切り換えを書き込
み信号で行うことにより、クロック信号の位相ずれによ
る書き込み誤動作を防ぐことができる。As in the above embodiment, by providing a selector composed of two AND gates and one OR gate for the input signal and output signal of a D-type flip-flop, and switching by a write signal, the phase of the clock signal is Write malfunctions due to misalignment can be prevented.
発明の効果
以上のように本発明は、D型フリップフロップのD入力
に2つのアンドゲートと1つのオアゲートから構成され
るセレクタを備え、一方のアンドゲートには人力信号と
書き込み信号を、もう一方のアンドゲートにはD型フリ
ップ7ロツブの出力信号七、書き込み信号の反転を入力
し、クロック信号と書き込み信号を独立させるこ七によ
り、D型フリップ7ロップの書き込み誤動作を防止する
ことができるため、きわめて有用である。Effects of the Invention As described above, the present invention includes a selector composed of two AND gates and one OR gate at the D input of a D-type flip-flop, and one AND gate receives a human input signal and a write signal, and the other By inputting the output signal 7 of the D-type flip 7 lob and the inversion of the write signal to the AND gate, and making the clock signal and write signal independent, it is possible to prevent write malfunctions of the D-type flip 7 lob. , extremely useful.
第1図は本発明の実施例におけるレジスタ回路の回路図
、第2図は従来の実施例におけるレジスタ回路の回路図
である。
10・・・・・・D型フリップフロップ、11・・・・
・・インハータ、12.13・・・・・・アンドゲート
、14・・・・・・オアゲート。FIG. 1 is a circuit diagram of a register circuit in an embodiment of the present invention, and FIG. 2 is a circuit diagram of a register circuit in a conventional embodiment. 10...D type flip-flop, 11...
...Inharta, 12.13...And gate, 14...Or gate.
Claims (1)
トと1つのオアゲートから構成されるセレタクを備え、
一方のアンドゲートには入力信号と、書き込み信号を、
もう一方のアンドゲートにはD型フリップフロップの出
力信号と、書き込み信号の反転を入力し、クロック信号
と書き込み信号を独立させることによりD型フリップフ
ロップの書き込み誤動作を防止するレジスタ回路。The data input of the D-type flip-flop is equipped with a selector consisting of two AND gates and one OR gate.
One AND gate receives the input signal and write signal,
A register circuit that inputs the output signal of the D-type flip-flop and the inverted write signal to the other AND gate, and prevents write malfunctions of the D-type flip-flop by making the clock signal and the write signal independent.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013851A JPH03218112A (en) | 1990-01-24 | 1990-01-24 | Register circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013851A JPH03218112A (en) | 1990-01-24 | 1990-01-24 | Register circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03218112A true JPH03218112A (en) | 1991-09-25 |
Family
ID=11844782
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013851A Pending JPH03218112A (en) | 1990-01-24 | 1990-01-24 | Register circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03218112A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05308254A (en) * | 1992-04-30 | 1993-11-19 | Sharp Corp | Electronic circuit |
| JP2009296548A (en) * | 2008-06-09 | 2009-12-17 | Toshiba Corp | Semiconductor integrated circuit device |
-
1990
- 1990-01-24 JP JP2013851A patent/JPH03218112A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05308254A (en) * | 1992-04-30 | 1993-11-19 | Sharp Corp | Electronic circuit |
| JP2009296548A (en) * | 2008-06-09 | 2009-12-17 | Toshiba Corp | Semiconductor integrated circuit device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2739964B2 (en) | Clock switching circuit | |
| JPS6365711A (en) | Semiconductor integrated logic circuit | |
| JPH04298115A (en) | flip flop circuit | |
| US7242235B1 (en) | Dual data rate flip-flop | |
| JPH03218112A (en) | Register circuit | |
| US7049871B2 (en) | D-type flip-flop with a reduced number of transistors | |
| JPH04306013A (en) | latch circuit device | |
| JPS6089120A (en) | Flip-flop circuit | |
| JPH0317413B2 (en) | ||
| JPH0334617A (en) | Flip-flop circuit | |
| JPH07135449A (en) | Flip-flop circuit | |
| KR910001377B1 (en) | Programmable Digital Delay Circuit | |
| KR920003287B1 (en) | Double Shifter Logic Circuit | |
| JPS6359212A (en) | Latch circuit | |
| JPH01183211A (en) | signal holding circuit | |
| JPH0369212A (en) | Programmable counter circuit | |
| KR930008226Y1 (en) | D flip-flop / 2 division circuit | |
| JPS62258515A (en) | Latch circuit | |
| JPS63211914A (en) | Master-slave type flip-flop circuit | |
| JPS60196008A (en) | Flip-flop circuit | |
| JPH03181098A (en) | flip flop circuit | |
| JPH0483414A (en) | Latch circuit | |
| JPH0691441B2 (en) | Input synchronization circuit | |
| JPH02256321A (en) | Asynchronous counter | |
| JPS63830B2 (en) |