JP4610423B2 - Data transfer circuit - Google Patents

Data transfer circuit Download PDF

Info

Publication number
JP4610423B2
JP4610423B2 JP2005181868A JP2005181868A JP4610423B2 JP 4610423 B2 JP4610423 B2 JP 4610423B2 JP 2005181868 A JP2005181868 A JP 2005181868A JP 2005181868 A JP2005181868 A JP 2005181868A JP 4610423 B2 JP4610423 B2 JP 4610423B2
Authority
JP
Japan
Prior art keywords
flip
flop
circuit
data transfer
output
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 - Fee Related
Application number
JP2005181868A
Other languages
Japanese (ja)
Other versions
JP2007005984A (en
Inventor
和憲 山下
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.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
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 Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP2005181868A priority Critical patent/JP4610423B2/en
Publication of JP2007005984A publication Critical patent/JP2007005984A/en
Application granted granted Critical
Publication of JP4610423B2 publication Critical patent/JP4610423B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Logic Circuits (AREA)

Description

本発明は、クロック信号に同期して行われるデータ転送が正常に実行されたか否かを監視して、そのデータ転送に誤りがあった場合は一時的にクロック信号を停止してデータ訂正を行うデータ転送回路に関するものである。   The present invention monitors whether or not the data transfer performed in synchronization with the clock signal is normally executed, and if there is an error in the data transfer, the clock signal is temporarily stopped to correct the data. The present invention relates to a data transfer circuit.

フリップフロップ間でデータを転送する場合、受け側のフリップフロップのホールド制約を満足するように、クロック信号やデータ信号のタイミング調整が行われる。しかし、タイミングが想定以上に変化すると正常動作しない。電源電圧をはじめとするノイズの混入等があると、このような現象が発生し易い。   When data is transferred between flip-flops, the timing of the clock signal and data signal is adjusted so as to satisfy the hold constraint of the receiving flip-flop. However, if the timing changes more than expected, it will not operate normally. Such a phenomenon is likely to occur when noise such as power supply voltage is mixed.

例えば、図7に示すデータ転送回路において、図中の領域A(網点で示した。)の電源ラインおよび接地ラインが領域Bの電源ラインや接地ラインと分離されている場合、領域A側のフリップフロップFF1から領域B側のフリップフロップFF2へのデータ転送が正しく行われるように、回路設計時には、バッファB1〜B3,B5,B6〜B9等を使用することで、フリップフロップFF2のクロックタイミングとそこへの入力データ信号の到達タイミングを調整し、フリップフロップFF2におけるセットアップタイムとホールドタイムが確保できるようにしている。なお、セットアップタイムとホールドタイムは図9に示す関係にある。   For example, in the data transfer circuit shown in FIG. 7, when the power line and the ground line in region A (shown by halftone dots) in the diagram are separated from the power line and ground line in region B, In order to correctly transfer data from the flip-flop FF1 to the flip-flop FF2 on the region B side, the buffers B1 to B3, B5, B6 to B9, etc. are used at the time of circuit design, so that the clock timing of the flip-flop FF2 By adjusting the arrival timing of the input data signal there, the setup time and hold time in the flip-flop FF2 can be secured. Note that the setup time and the hold time have the relationship shown in FIG.

ここで、電源電圧変動について考えてみると、領域Bは領域Aから電源ラインが分離されているので、領域Aの電圧変動パターンと領域Bの電圧変動パターンは異なる。しかし、回路設計時には、通常、領域Aの電源電圧と領域Bの電源電圧は等しいものとして調整するので、このような電圧変動は想定されていない。したがって、フリップフロップFF1からフリップフロップFF2へのデータ転送が正常に行われず、不正なデータが転送されることになる場合が発生する。   Here, considering the power supply voltage fluctuation, since the power supply line is separated from the area A in the area B, the voltage fluctuation pattern in the area A and the voltage fluctuation pattern in the area B are different. However, at the time of circuit design, since the power supply voltage in the region A and the power supply voltage in the region B are usually adjusted to be equal, such voltage fluctuation is not assumed. Therefore, there is a case where data transfer from the flip-flop FF1 to the flip-flop FF2 is not normally performed and illegal data is transferred.

例えば、領域A,Bで電源電圧が同一の場合は、図8(a)に示すタイミングチャートのように正常動作するが、領域Bの電源電圧が領域Aのそれよりも一時的に低くなった場合は、フリップフロップFF2へのクロック信号の到達が遅れ、ホールド違反が発生して、図8(b)のタイミングチャートに示すように、フリップフロップFF2の2サイクル目のクロック信号が遅れ、フリップフロップFF2のQ出力が正常動作の場合に比べて1サイクル速く変化することがある。   For example, when the power supply voltages are the same in the regions A and B, the power supply voltage in the region B is temporarily lower than that in the region A although it operates normally as shown in the timing chart of FIG. In this case, the arrival of the clock signal to the flip-flop FF2 is delayed, a hold violation occurs, and the clock signal in the second cycle of the flip-flop FF2 is delayed as shown in the timing chart of FIG. The Q output of FF2 may change one cycle faster than in the case of normal operation.

そこで、このようにデータ転送異常を防止するために、入力信号の静止状態を検出してからサンプリングを行うこと(例えば、特許文献1参照)や、信号が安定したことを検出して次段のフリップフロップ用のクロック信号を生成すること(例えば、特許文献2参照)等が行われている。これらは、入力信号がある一定期間変化しないことをもって、信号が安定したことを検出して、サンプリングを行うものである。   Therefore, in order to prevent the data transfer abnormality in this way, sampling is performed after detecting the stationary state of the input signal (see, for example, Patent Document 1), or the signal is stabilized and the next stage is detected. A clock signal for a flip-flop is generated (for example, see Patent Document 2). In these methods, when the input signal does not change for a certain period, the signal is detected to be stable and sampling is performed.

特開昭62−131629号公報JP-A-62-131629 特開平08−288822号公報Japanese Patent Laid-Open No. 08-288822

ところが、特許文献1に記載のように、入力信号の静止状態を検出してからサンプリングを行う手法では、サンプリングする瞬間に入力信号が変化すると、間違った値をサンプリングしてしまうことがあり、そもそもこの手法は多ビットの信号にのみ適用可能であり、1ビットの信号には使えない。また、特許文献2に記載のように、信号が安定したことを検出して次段のフリップフロップのクロック信号を生成する手法でも、サンプリングする瞬間に入力信号が変化すると正常動作しない。以上のいずれも、入力信号がある一定期間変化しないことをもって信号が安定したことを検出してサンプリングしているので、信号が間違っていると誤動作する。また、タイミングが変化する要因をすべて考慮してタイミング設計を行うことについては、そもそも技術的に不可能な場合があり、仮に可能であっても、コスト、消費電力、納期等などの面で困難な場合が多い。   However, as described in Patent Document 1, in the method of sampling after detecting the stationary state of the input signal, if the input signal changes at the moment of sampling, an incorrect value may be sampled in the first place. This method can be applied only to multi-bit signals and cannot be used for 1-bit signals. Further, as described in Patent Document 2, even when the signal is detected to be stable and the clock signal of the flip-flop of the next stage is generated, if the input signal changes at the moment of sampling, it does not operate normally. In any of the above cases, since sampling is performed by detecting that the input signal does not change for a certain period of time and the signal is stable, malfunction occurs if the signal is incorrect. In addition, timing design considering all factors that change timing may be technically impossible in the first place, but if possible, it is difficult in terms of cost, power consumption, delivery time, etc. There are many cases.

本発明の目的は、サンプリングしたデータの値を期待値と比較し、不一致の場合に訂正処理を行うようにして、簡単な構成で正常なデータ転送を行うことができるようにしたデータ転送回路を提供することである。   An object of the present invention is to provide a data transfer circuit that compares a sampled data value with an expected value and performs a correction process in the case of a mismatch so that normal data transfer can be performed with a simple configuration. Is to provide.

上記課題を解決するために、本発明は、クロック信号により制御され、第1のフリップフロップから第2のフリップフロップへのデータ転送を行うデータ転送回路において、前記第1のフリップフロップと同じ条件の領域に配置され、前記第1のフリップフロップの出力を保持するする第3のフリップフロップと、前記第2のフリップフロップの出力と前記第3のフリップフロップの出力を比較し、両出力の不一致を検出する不一致検出回路と、前記不一致検出回路により不一致が検出されたとき、前記第1、第2および第3のフリップフロップに供給する前記クロック信号を停止するクロック停止回路と、前記不一致検出回路により不一致が検出されたとき、前記第2のフリップフロップに保持されている情報を前記第3のフリップフロップに保持されている情報と一致するように訂正する訂正回路と、を具備することを特徴とする。   In order to solve the above problems, the present invention provides a data transfer circuit controlled by a clock signal and performing data transfer from a first flip-flop to a second flip-flop, under the same conditions as the first flip-flop. A third flip-flop arranged in the region and holding the output of the first flip-flop, and comparing the output of the second flip-flop with the output of the third flip-flop, A mismatch detection circuit to detect, a clock stop circuit for stopping the clock signal supplied to the first, second and third flip-flops when the mismatch is detected by the mismatch detection circuit; and the mismatch detection circuit When a mismatch is detected, the information stored in the second flip-flop is transferred to the third flip-flop. Characterized in that it comprises a and a correction circuit for correcting to match the information stored in the.

ここで、前記クロック停止回路は、前記クロック信号の停止時間を制御する停止時間制御回路を備えていることが望ましい。   Here, it is desirable that the clock stop circuit includes a stop time control circuit for controlling a stop time of the clock signal.

また、前記訂正回路は、前記第2のフリップフロップに保持された情報の訂正に要する時間を制御する訂正時間制御回路を備えていることが望ましい。   The correction circuit preferably includes a correction time control circuit that controls a time required to correct the information held in the second flip-flop.

本発明によれば、タイミング調整が簡単となる。ノイズ等により稀に発生するタイミング変動を考慮する必要がなく、通常通りのタイミング調整だけでよい。通常ホールドタイム調整を行うには、パスの遅延を増やすよう回路変更を行うが、このような対策は前記タイミング変動分に対して行う必要はない。   According to the present invention, timing adjustment is simplified. There is no need to take into account timing fluctuations that occur rarely due to noise or the like, and it is only necessary to adjust timing as usual. In order to adjust the normal hold time, the circuit is changed so as to increase the delay of the path, but such measures need not be taken for the timing variation.

また、信頼性が向上する。すなわち、もし万が一不正なデータが転送されても、自動的にこれが検出され訂正される。この動作による遅れは訂正を行っている場合に限られるので、正常動作をしている場合には他の回路に比べて動作の遅れはない。したがって、高い確率で正常動作が期待できる回路においては、動作の遅れをほぼ0に保ったまま高い信頼性を確保できる。   In addition, reliability is improved. That is, even if illegal data is transferred, this is automatically detected and corrected. Since the delay due to this operation is limited to the case where correction is performed, there is no delay in operation compared to other circuits in the normal operation. Therefore, in a circuit that can be expected to operate normally with a high probability, high reliability can be ensured while maintaining a delay in operation of approximately zero.

さらに、費用対効果の面で有利である。不一致が発生し訂正回路が動作すると、正常動作に比べて1乃至数サイクルの時間だけ遅れるが、ホールドタイムの調整を完璧に行うことは、作業に時間がかかり、場合によっては最大動作周波数を落とす必要が出てきたり、回路規模増大でコスト増につながり、タイミング調整が完璧でなかった場合は最悪LSIの作り直しになる。そのコストとリスクを考えると、低い確率で発生する1乃至数サイクル程度の遅れをシステムが許容できるかどうか検討するほうが遙かに簡単である。   Furthermore, it is advantageous in terms of cost effectiveness. When the mismatch occurs and the correction circuit operates, it is delayed by one to several cycles compared to the normal operation. However, the perfect adjustment of the hold time takes time and may reduce the maximum operating frequency. If the necessity arises or the circuit scale increases, the cost increases, and the timing adjustment is not perfect, the worst LSI is recreated. Considering the cost and risk, it is much easier to examine whether the system can tolerate a delay of one to several cycles that occurs with a low probability.

以下、本発明のデータ転送回路の具体例を実施例によって説明する。本発明では、受け側のフリップフロップがサンプリングしたデータ信号の値を期待値と比較し、不一致の場合にクロック信号を一時的に停止しておいて、データの訂正処理を行う。   Hereinafter, specific examples of the data transfer circuit of the present invention will be described by way of examples. According to the present invention, the value of the data signal sampled by the receiving flip-flop is compared with the expected value, and if there is a mismatch, the clock signal is temporarily stopped and the data correction processing is performed.

図1は実施例1のデータ転送回路の回路構成を示す図であり、領域A(網点で表した。)に配置されたフリップフロップFF1からのデータ信号を領域Bに配置されたフリップフロップFF2に転送する構成を示す。フリップフロップFF2はセット/リセット端子付きである。領域Aと領域Bは電源ラインと接地ラインが異なる領域である。フリップフロップFF1にはクロック信号がアンド回路AND1とバッファB1〜B5を経由して供給され、フリップフロップFFB1には同クロック信号がアンド回路AND1とバッファB6〜B9を経由して供給されている。また、領域Aにはフリップフロップ1のQ出力を保持するフリップフロップFF3が期待値保持用として配置され、これに対してクロック信号CLKがアンド回路AND1とバッファB1〜B3を経由して供給されている。   FIG. 1 is a diagram illustrating a circuit configuration of a data transfer circuit according to the first embodiment. A data signal from a flip-flop FF1 disposed in a region A (represented by a halftone dot) is a flip-flop FF2 disposed in a region B. The structure to transfer is shown. The flip-flop FF2 has a set / reset terminal. Region A and region B are regions in which the power supply line and the ground line are different. The clock signal is supplied to the flip-flop FF1 via the AND circuit AND1 and the buffers B1 to B5, and the clock signal is supplied to the flip-flop FFB1 via the AND circuit AND1 and the buffers B6 to B9. In the region A, a flip-flop FF3 that holds the Q output of the flip-flop 1 is arranged for holding the expected value, and the clock signal CLK is supplied to the flip-flop FF3 via the AND circuit AND1 and the buffers B1 to B3. Yes.

比較器COMPはフリップフロップFF2のQ出力値とフリップフロップFF3のQ出力値を比較し、その比較結果の検出信号S1(一致のときL、不一致のときH)をアンド回路AND1に送ると共に、フリップフロップFF4に送る。ナンド回路NAND1,NAND2は、フリップフロップFF4のQ出力とフリップフロップFF3のQ出力とクロック信号CLKを入力して、フリップフロップFF2に対するHレベル訂正信号又はLレベル訂正信号を生成する。   The comparator COMP compares the Q output value of the flip-flop FF2 and the Q output value of the flip-flop FF3, and sends a detection signal S1 (L for coincidence, H for coincidence) to the AND circuit AND1. To FF4. The NAND circuits NAND1 and NAND2 receive the Q output of the flip-flop FF4, the Q output of the flip-flop FF3, and the clock signal CLK, and generate an H level correction signal or an L level correction signal for the flip flop FF2.

請求項との関係では、比較回路COMPが不一致検出回路を構成し、フリップフロップFF4とナンド回路NAND1,NAND2が訂正回路を構成し、アンド回路AND1がクロック停止回路を構成する。また、フリップフロップFF4は訂正時間制御回路も構成する。   In relation to the claims, the comparison circuit COMP constitutes a mismatch detection circuit, the flip-flop FF4 and the NAND circuits NAND1 and NAND2 constitute a correction circuit, and the AND circuit AND1 constitutes a clock stop circuit. The flip-flop FF4 also constitutes a correction time control circuit.

さて、フリップフロップFF1とFF3に入力するクロック信号は同期しており、これに対してフリップフロップFF2に入力するクロック信号も同期している場合は、フリップフロップFF3のQ出力(期待値)とフリップフロップFF2のQ出力は同じ値となり、比較器COMPの検出信号S1はLとなる。よって、アンド回路AND1はゲートを開き継続してクロック信号CLKを通過させる。また、次のクロックタイミング(クロック信号がHになるタイミング、以下同じ)でフリップフロップFF4のQ出力がLになるので、ナンド回路NAND1,NAND2の出力はHから変化しない。よって、フリップフロップFF2はセットもまたリセットもされず、そのフリップフロップFF2は入力したデータを保持してQ出力に出力する。   When the clock signals input to the flip-flops FF1 and FF3 are synchronized, and when the clock signal input to the flip-flop FF2 is also synchronized, the Q output (expected value) of the flip-flop FF3 and the flip-flop The Q output of FF2 becomes the same value, and the detection signal S1 of the comparator COMP becomes L. Therefore, the AND circuit AND1 opens the gate and continues to pass the clock signal CLK. Further, since the Q output of the flip-flop FF4 becomes L at the next clock timing (timing when the clock signal becomes H, the same applies hereinafter), the outputs of the NAND circuits NAND1 and NAND2 do not change from H. Therefore, the flip-flop FF2 is neither set nor reset, and the flip-flop FF2 holds the input data and outputs it to the Q output.

フリップフロップFF2に供給されるクロック信号がフリップフロップFF1,FF3に供給されるクロック信号に対して一時的に遅れた場合(図2参照)は、フリップフロップFF2,FF3のQ出力の値が異なってきて、比較器COMPの検出信号S1がHに変化する。このため、アンド回路AND1がゲートを閉じてフリップフロップFF1〜FF3へのクロック信号供給を停止する。   When the clock signal supplied to the flip-flop FF2 is temporarily delayed with respect to the clock signal supplied to the flip-flops FF1 and FF3 (see FIG. 2), the Q output values of the flip-flops FF2 and FF3 are different. Thus, the detection signal S1 of the comparator COMP changes to H. Therefore, the AND circuit AND1 closes the gate and stops supplying the clock signal to the flip-flops FF1 to FF3.

また、フリップフロップFF4のQ出力が次のクロックタイミングでHになり、このとき、フリップフロップFF3のQ出力がLのときは、ナンド回路NAND2の出力がLとなってフリップフロップFF2がリセットされ、そのQ出力がフリップフロップFF3のQ出力と同じLになる。なお、フリップフロップFF3のQ出力がHのときは、ナンド回路NAND1の出力がLとなってフリップフロップFF2がセットされ、そのQ出力がフリップフロップFF3のQ出力と同じHになる。   Further, the Q output of the flip-flop FF4 becomes H at the next clock timing. At this time, when the Q output of the flip-flop FF3 is L, the output of the NAND circuit NAND2 becomes L and the flip-flop FF2 is reset. The Q output becomes the same L as the Q output of the flip-flop FF3. When the Q output of the flip-flop FF3 is H, the output of the NAND circuit NAND1 becomes L and the flip-flop FF2 is set, and the Q output becomes the same H as the Q output of the flip-flop FF3.

このようにして、フリップフロップFF2のQ出力がフリップフロップFF3のQ出力と異なるときは、フリップフロップFF1〜FF3に供給するクロック信号を停止すると共に、その停止中にフリップフロップFF2のQ出力をフリップフロップFF3のQ出力と一致するように訂正する。これにより、フリップフロップFF2,FF3のQ出力が一致すると、比較器COMPの検出信号S1がLになるので、アンド回路AND1がゲートを開いて、クロック信号をFF1〜FF3に供給し、次の入力データの転送を開始する。この実施例1では、アンド回路AND2はフリップフロップFF1〜FF3に対して1クロック分だけゲートを閉じる。   In this way, when the Q output of the flip-flop FF2 is different from the Q output of the flip-flop FF3, the clock signal supplied to the flip-flops FF1 to FF3 is stopped and the Q output of the flip-flop FF2 is flipped during the stop. Correction is made so as to coincide with the Q output of FF3. Thus, when the Q outputs of the flip-flops FF2 and FF3 match, the detection signal S1 of the comparator COMP becomes L, and the AND circuit AND1 opens the gate to supply the clock signal to FF1 to FF3, and the next input Start data transfer. In the first embodiment, the AND circuit AND2 closes the gate for one clock with respect to the flip-flops FF1 to FF3.

図3は実施例2のデータ転送回路の回路構成を示す図である。ここでは、フリップフロップFF5、アンド回路AND2、ノア回路NOR1、およびナンド回路NAND3,NAND4を使用する点が図1の構成と異なっている。   FIG. 3 is a diagram illustrating a circuit configuration of the data transfer circuit according to the second embodiment. Here, flip-flop FF5, AND circuit AND2, NOR circuit NOR1, and NAND circuits NAND3 and NAND4 are different from the configuration of FIG.

請求項との関係では、比較回路COMPが不一致検出回路を構成し、フリップフロップFF4とナンド回路NAND3,NAND4が訂正回路を構成し、アンド回路AND2、ノア回路NOR1、フリップフロップFF5がクロック停止回路を構成する。また、フリップフロップFF4は訂正時間制御回路も構成し、フリップフロップFF5は停止時間制御回路も構成する。   In relation to the claims, the comparison circuit COMP constitutes a mismatch detection circuit, the flip-flop FF4 and the NAND circuits NAND3 and NAND4 constitute a correction circuit, the AND circuit AND2, the NOR circuit NOR1, and the flip-flop FF5 constitute the clock stop circuit. Constitute. The flip-flop FF4 also constitutes a correction time control circuit, and the flip-flop FF5 also constitutes a stop time control circuit.

フリップフロップFF2のQ出力がフリップフロップFF3のQ出力と同じときは、比較器COMPの検出信号S1がLになり、次のクロックタイミングでフリップフロップFF4のQ出力がLになり、ナンド回路NAND3,NAND4の出力はHとなって、フリップフロップFF2に対するセット、リセットは行われない。また、ノア回路NOR1の出力がHとなるので、アンド回路AND2がゲートを閉じることはなく、フリップフロップFF1〜FF3に対するクロック信号供給は継続して行なわれる。   When the Q output of the flip-flop FF2 is the same as the Q output of the flip-flop FF3, the detection signal S1 of the comparator COMP becomes L, the Q output of the flip-flop FF4 becomes L at the next clock timing, and the NAND circuit NAND3, NAND3 The output of the NAND 4 becomes H, and the set and reset for the flip-flop FF 2 are not performed. Since the output of the NOR circuit NOR1 becomes H, the AND circuit AND2 does not close the gate, and the clock signal supply to the flip-flops FF1 to FF3 is continued.

フリップフロップFF2に供給されるクロック信号がフリップフロップFF1,FF3に供給されるクロック信号に対して遅れた場合(図4参照)は、フリップフロップFF2,FF3のQ出力の値が異なってきて、比較器COMPの検出信号S1がHに変化する。このため、即座にノア回路NOR1の出力がLになり、アンド回路AND2がゲートを閉じてフリップフロップFF1〜FF3へのクロック信号供給を停止する。このクロック信号供給停止は、次のクロックタイミングで検出信号S1をサンプリングするフリップフロップFF5によって、次のクロックでも継続される。   When the clock signal supplied to the flip-flop FF2 is delayed with respect to the clock signal supplied to the flip-flops FF1 and FF3 (see FIG. 4), the Q output values of the flip-flops FF2 and FF3 are different. The detection signal S1 of the device COMP changes to H. For this reason, the output of the NOR circuit NOR1 immediately becomes L, the AND circuit AND2 closes the gate, and stops supplying the clock signal to the flip-flops FF1 to FF3. This supply stop of the clock signal is continued even at the next clock by the flip-flop FF5 that samples the detection signal S1 at the next clock timing.

また、フリップフロップFF4のQ出力が次のクロックタイミングでHになり、このとき、フリップフロップFF3のQ出力がLのときは、ナンド回路NAND4の出力がLとなってフリップフロップFF2がリセットされ、そのQ出力がフリップフロップFF3のQ出力と同じLになる。なお、フリップフロップFF3のQ出力がHのときは、ナンド回路NAND3の出力がLとなってフリップフロップFF2がセットされ、そのQ出力がフリップフロップFF3のQ出力と同じHになる。   Further, the Q output of the flip-flop FF4 becomes H at the next clock timing. At this time, when the Q output of the flip-flop FF3 is L, the output of the NAND circuit NAND4 becomes L and the flip-flop FF2 is reset. The Q output becomes the same L as the Q output of the flip-flop FF3. When the Q output of the flip-flop FF3 is H, the output of the NAND circuit NAND3 becomes L and the flip-flop FF2 is set, and the Q output becomes the same H as the Q output of the flip-flop FF3.

このようにして、フリップフロップFF2のQ出力がフリップフロップFF3のQ出力と異なるときは、フリップフロップFF1〜FF3に供給するクロック信号を停止すると共に、その停止中にフリップフロップFF2のQ出力をフリップフロップFF3のQ出力と一致するように訂正する。これにより、フリップフロップFF2,FF3のQ出力が一致すると、比較器COMPの検出信号S1がLになるので、アンド回路AND2がゲートを開いて、クロック信号をFF1〜FF3に供給し、次の入力データの転送を開始する。   In this way, when the Q output of the flip-flop FF2 is different from the Q output of the flip-flop FF3, the clock signal supplied to the flip-flops FF1 to FF3 is stopped and the Q output of the flip-flop FF2 is flipped during the stop. Correction is made so as to coincide with the Q output of FF3. Thus, when the Q outputs of the flip-flops FF2 and FF3 match, the detection signal S1 of the comparator COMP becomes L, and the AND circuit AND2 opens the gate to supply the clock signal to FF1 to FF3, and the next input Start data transfer.

この実施例2では、アンド回路AND2を制御するためにフリップフロップFF5を使用するので、アンド回路AND2はフリップフロップFF1〜FF3に対して2クロック分だけゲートを閉じ、実施例1の構成に比べて、グリッチの発生を防止し、最大動作周波数を高くすることができる。   In the second embodiment, since the flip-flop FF5 is used to control the AND circuit AND2, the AND circuit AND2 closes the gates for two clocks with respect to the flip-flops FF1 to FF3, compared with the configuration of the first embodiment. Therefore, it is possible to prevent the occurrence of glitches and increase the maximum operating frequency.

図5は実施例3のデータ転送回路の回路構成を示す図である。ここでは、実施例2の構成に対して、さらにフリップフロップFF6〜FF8を追加している。このように、ここではナンド回路NAND3,NAND4から出力する訂正信号をフリップフロップFF7,FF8で一端ホールドしてからフリップフロップFF2に送るようにしている。このため、アンド回路AND2のゲートを閉じるための回路部分に、フリップフロップFF6をさらに1段追加して、フリップフロップFF1〜FF3に供給するクロック信号の停止期間を3クロック分に延長している。動作は実施例2とほぼ同様であるので、詳しい説明は省略する。図6に動作のタイミングチャートを示した。   FIG. 5 is a diagram illustrating a circuit configuration of the data transfer circuit according to the third embodiment. Here, flip-flops FF6 to FF8 are further added to the configuration of the second embodiment. As described above, the correction signal output from the NAND circuits NAND3 and NAND4 is held by the flip-flops FF7 and FF8 and then sent to the flip-flop FF2. Therefore, one more stage of the flip-flop FF6 is added to the circuit portion for closing the gate of the AND circuit AND2, and the stop period of the clock signal supplied to the flip-flops FF1 to FF3 is extended to 3 clocks. Since the operation is almost the same as that of the second embodiment, detailed description thereof is omitted. FIG. 6 shows an operation timing chart.

請求項との関係では、比較回路COMPが不一致検出回路を構成し、フリップフロップFF4,FF7,FF8とナンド回路NAND3,NAND4が訂正回路を構成し、アンド回路AND2、ノア回路NOR1、フリップフロップFF5,FF6がクロック停止回路を構成する。また、フリップフロップFF4,FF7,FF8は訂正時間制御回路も構成する。フリップフロップFF5,FF6は停止時間制御回路も構成する。   In relation to the claims, the comparison circuit COMP constitutes a mismatch detection circuit, the flip-flops FF4, FF7, FF8 and the NAND circuits NAND3, NAND4 constitute a correction circuit, the AND circuit AND2, the NOR circuit NOR1, the flip-flop FF5, The FF 6 constitutes a clock stop circuit. The flip-flops FF4, FF7, and FF8 also constitute a correction time control circuit. The flip-flops FF5 and FF6 also constitute a stop time control circuit.

実施例1のデータ転送回路のブロック図である。FIG. 3 is a block diagram of a data transfer circuit according to the first embodiment. 実施例1のデータ転送回路の動作のタイミングチャートである。3 is a timing chart of the operation of the data transfer circuit according to the first embodiment. 実施例2のデータ転送回路のブロック図である。FIG. 6 is a block diagram of a data transfer circuit according to a second embodiment. 実施例2のデータ転送回路の動作のタイミングチャートである。6 is a timing chart of the operation of the data transfer circuit according to the second embodiment. 実施例3のデータ転送回路のブロック図である。FIG. 10 is a block diagram of a data transfer circuit according to a third embodiment. 実施例3のデータ転送回路の動作のタイミングチャートである。10 is a timing chart of the operation of the data transfer circuit according to the third embodiment. 従来のデータ転送回路のブロック図である。It is a block diagram of a conventional data transfer circuit. 従来のデータ転送回路の動作のタイミングチャートである。It is a timing chart of the operation | movement of the conventional data transfer circuit. セットアップタイムとホールドタイムの説明図である。It is explanatory drawing of a setup time and a hold time.

符号の説明Explanation of symbols

FF1〜FF8:フリップフロップ
B1〜B9:バッファ
COMP:比較器
AND1,AND2:アンド回路
NAND1〜NAND4:ナンド回路
NOR1:ノア回路
FF1 to FF8: flip-flop B1 to B9: buffer COMP: comparator AND1, AND2: AND circuit NAND1 to NAND4: NAND circuit NOR1: NOR circuit

Claims (3)

クロック信号により制御され、第1のフリップフロップから第2のフリップフロップへのデータ転送を行うデータ転送回路において、
前記第1のフリップフロップと同じ条件の領域に配置され、前記第1のフリップフロップの出力を保持するする第3のフリップフロップと、
前記第2のフリップフロップの出力と前記第3のフリップフロップの出力を比較し、両出力の不一致を検出する不一致検出回路と、
前記不一致検出回路により不一致が検出されたとき、前記第1、第2および第3のフリップフロップに供給する前記クロック信号を停止するクロック停止回路と、
前記不一致検出回路により不一致が検出されたとき、前記第2のフリップフロップに保持されている情報を前記第3のフリップフロップに保持されている情報と一致するように訂正する訂正回路と、
を具備することを特徴とするデータ転送回路。
In a data transfer circuit controlled by a clock signal and performing data transfer from the first flip-flop to the second flip-flop,
A third flip-flop that is disposed in an area under the same conditions as the first flip-flop and holds the output of the first flip-flop;
A mismatch detection circuit for comparing the output of the second flip-flop and the output of the third flip-flop and detecting a mismatch between the outputs;
A clock stop circuit for stopping the clock signal supplied to the first, second and third flip-flops when a mismatch is detected by the mismatch detection circuit;
A correction circuit that corrects the information held in the second flip-flop so that it matches the information held in the third flip-flop when a mismatch is detected by the mismatch detection circuit;
A data transfer circuit comprising:
請求項1に記載のデータ転送回路において、
前記クロック停止回路は、前記クロック信号の停止時間を制御する停止時間制御回路を備えていることを特徴とするデータ転送回路。
The data transfer circuit according to claim 1, wherein
The data transfer circuit, wherein the clock stop circuit includes a stop time control circuit for controlling a stop time of the clock signal.
請求項1又は2に記載のデータ転送回路において、
前記訂正回路は、前記第2のフリップフロップに保持された情報の訂正に要する時間を制御する訂正時間制御回路を備えていることを特徴とするデータ転送回路。
The data transfer circuit according to claim 1 or 2,
The data transfer circuit, wherein the correction circuit includes a correction time control circuit that controls a time required to correct the information held in the second flip-flop.
JP2005181868A 2005-06-22 2005-06-22 Data transfer circuit Expired - Fee Related JP4610423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005181868A JP4610423B2 (en) 2005-06-22 2005-06-22 Data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005181868A JP4610423B2 (en) 2005-06-22 2005-06-22 Data transfer circuit

Publications (2)

Publication Number Publication Date
JP2007005984A JP2007005984A (en) 2007-01-11
JP4610423B2 true JP4610423B2 (en) 2011-01-12

Family

ID=37691186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005181868A Expired - Fee Related JP4610423B2 (en) 2005-06-22 2005-06-22 Data transfer circuit

Country Status (1)

Country Link
JP (1) JP4610423B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2977045B1 (en) * 2011-06-23 2015-12-11 Thales Sa MEMORY DEVICE CORRECTING COLLISION EFFECT OF HIGH ENERGY PARTICLES.

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62251949A (en) * 1986-04-25 1987-11-02 Mitsubishi Electric Corp Error correcting method for memory device
JPH03202910A (en) * 1989-12-29 1991-09-04 Fujitsu Ltd Synchronizing circuit
JP2003168966A (en) * 2001-11-29 2003-06-13 Kawasaki Microelectronics Kk Semiconductor integrated circuit and method for designing it
JP2006203687A (en) * 2005-01-21 2006-08-03 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62251949A (en) * 1986-04-25 1987-11-02 Mitsubishi Electric Corp Error correcting method for memory device
JPH03202910A (en) * 1989-12-29 1991-09-04 Fujitsu Ltd Synchronizing circuit
JP2003168966A (en) * 2001-11-29 2003-06-13 Kawasaki Microelectronics Kk Semiconductor integrated circuit and method for designing it
JP2006203687A (en) * 2005-01-21 2006-08-03 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit

Also Published As

Publication number Publication date
JP2007005984A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
US7405603B2 (en) Delayed Locked Loop Circuit
US7280417B2 (en) System and method for capturing data signals using a data strobe signal
US7619453B2 (en) Delay-locked loop (DLL) system for determining forward clock path delay
KR100954117B1 (en) Delay Locked Loop Apparatus
JP5121712B2 (en) Bit skew prevention method and system
US7489170B2 (en) Delay locked loop in synchronous semiconductor memory device and driving method thereof
EP2887550B1 (en) Clock signal synchronization
US20080239845A1 (en) Semiconductor memory device and method for driving the same
US20070067660A1 (en) Asymmetrical IO method and system
KR102551508B1 (en) Delay control device and method therefor
KR100553833B1 (en) Circuits and Method for Controlling Inversion of Delay Locked Loop, Delay Locked Loop and Synchronous Semiconductor Memory Apparatus
KR20090088111A (en) Locking state detector and dll circuit with the same
US8085072B2 (en) Semiconductor integrated circuit having delay locked loop circuit
US20090119533A1 (en) Digital delay locked loop circuit using mode register set
JP2005071586A (en) Circuit device, memory device, and clock skew compensating method
US6968026B1 (en) Method and apparatus for output data synchronization with system clock in DDR
US20110158010A1 (en) Skew detector and semiconductor memory device using the same
JP4610423B2 (en) Data transfer circuit
US7506193B1 (en) Systems and methods for overcoming part to part skew in a substrate-mounted circuit
KR20110076672A (en) Delay lock loop circuit
US20070216456A1 (en) Delay locked loop and method of locking a clock signal
US8005078B2 (en) Packet processor, packet control method, and packet control program
KR100484250B1 (en) Digital dll circuit for controlling initial delay
KR20020037525A (en) Semiconductor memory device with a delay locked loop circuit
US7107475B1 (en) Digital delay locked loop with extended phase capture range

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100930

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101012

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101012

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131022

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4610423

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees