Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3443154B2 - Asynchronous reset method - Google Patents
[go: Go Back, main page]

JP3443154B2 - Asynchronous reset method - Google Patents

Asynchronous reset method

Info

Publication number
JP3443154B2
JP3443154B2 JP04959594A JP4959594A JP3443154B2 JP 3443154 B2 JP3443154 B2 JP 3443154B2 JP 04959594 A JP04959594 A JP 04959594A JP 4959594 A JP4959594 A JP 4959594A JP 3443154 B2 JP3443154 B2 JP 3443154B2
Authority
JP
Japan
Prior art keywords
signal
clock
circuit
reset
asynchronous reset
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
JP04959594A
Other languages
Japanese (ja)
Other versions
JPH07261878A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP04959594A priority Critical patent/JP3443154B2/en
Publication of JPH07261878A publication Critical patent/JPH07261878A/en
Application granted granted Critical
Publication of JP3443154B2 publication Critical patent/JP3443154B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は非同期リセット方式に関
し、更に詳しくはシステムのクロック信号に同期して動
作している同期回路を任意のタイミングに発生する非同
期リセット信号に従って非同期リセットする非同期リセ
ット方式に関する。システム全体を初期化する場合は非
同期のシステムリセット信号によりシステム全体を強制
リセットしてしまえば良いが、システムの稼働中に特定
の同期回路(フリップフロップ回路,レジスタ回路,カ
ウンタ回路,その他の所定機能を実現するLSI回路
等)のみを非同期で、かつ他のシステム動作に悪影響を
与えずにリセットしたい場合がしばしばある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asynchronous reset system, and more particularly to an asynchronous reset system for asynchronously resetting a synchronous circuit operating in synchronization with a system clock signal according to an asynchronous reset signal generated at an arbitrary timing. . When initializing the entire system, the entire system may be forcibly reset by an asynchronous system reset signal, but a specific synchronous circuit (flip-flop circuit, register circuit, counter circuit, other predetermined function) during system operation. There is often a case where it is desired to reset only the LSI circuit etc. which realizes the above) asynchronously and without adversely affecting the operation of other systems.

【0002】[0002]

【従来の技術】図8は従来技術を説明する図で、図にお
いて2はレジスタ回路(REG)、7はANDゲート回
路(A)である。図8の(A)において、システムの同
期回路である例えばレジスタ回路2はシステムのクロッ
ク信号CKの各立ち上がりで入力データIDをセット
し、出力データODを出力している。システムリセット
信号SRS及び非同期リセット信号XRSはレジスタ回
路2のリセット端子に直接入力しており、何れか一方の
発生によりクロック信号CKとは無関係(非同期)に強
制リセットされる。
2. Description of the Related Art FIG. 8 is a diagram for explaining the prior art. In the figure, 2 is a register circuit (REG) and 7 is an AND gate circuit (A). In FIG. 8A, for example, the register circuit 2 which is a system synchronization circuit sets the input data ID at each rising edge of the system clock signal CK and outputs the output data OD. The system reset signal SRS and the asynchronous reset signal XRS are directly input to the reset terminal of the register circuit 2 and are forcedly reset regardless of the clock signal CK (asynchronous) by the generation of either one.

【0003】この場合に、システムリセット信号SRS
はシステム全体の初期化を目的として使用されるので問
題は無いが、非同期リセット信号XRSはシステムの稼
働中におけるレジスタ回路2のみのリセットを目的とし
て使用されるので、各所望のタイミングに確実にリセッ
トされる必要がある。この点、図8の(B)に示す如
く、非同期リセット信号XRSがクロック信号CKの各
立ち上がりから外れて発生したような場合には、レジス
タ回路2の出力データODは毎回確実にリセットされる
ので、非同期リセットの目的を達成できる。即ち、シス
テムは各非同期リセットのタイミングに出力データOD
=0となることにより、誤動作をせずに稼働を続けられ
る。
In this case, the system reset signal SRS
Since it is used for the purpose of initializing the entire system, there is no problem, but since the asynchronous reset signal XRS is used for the purpose of resetting only the register circuit 2 during the operation of the system, it is surely reset at each desired timing. Needs to be done. In this regard, as shown in FIG. 8B, when the asynchronous reset signal XRS is generated outside the rising edges of the clock signal CK, the output data OD of the register circuit 2 is reliably reset every time. , The purpose of asynchronous reset can be achieved. That is, the system outputs the output data OD at each asynchronous reset timing.
When = 0, the operation can be continued without malfunction.

【0004】しかし、図8の(C)に示す如く、非同期
リセット信号XRSがクロック信号CKとほぼ重なって
発生したような場合には、微妙なタイミング(セットア
ップ/ホールドタイミング)の関係でレジスタ回路2の
出力データODはリセットされず、不定なデータを出力
してしまう場合がある。このために、システム(CPU
等)が要求する各必要なタイミングに出力データOD=
0とはならず、システムの稼働に悪影響を及ぼす場合が
ある。
However, as shown in FIG. 8C, when the asynchronous reset signal XRS is generated in such a manner that it overlaps with the clock signal CK, the register circuit 2 has a delicate timing (setup / hold timing). The output data OD of is not reset, and indefinite data may be output. For this purpose, the system (CPU
Output data OD = at each necessary timing required by
It may not be 0 and may adversely affect the operation of the system.

【0005】この問題は、レジスタ回路2のみならず、
他の任意の同期回路(フリップフロップ回路,カウンタ
回路,その他の所定機能を実現するLSI回路等)につ
いても起こり得る。
This problem is not limited to the register circuit 2,
It may occur in any other synchronization circuit (flip-flop circuit, counter circuit, other LSI circuit that realizes a predetermined function, etc.).

【0006】[0006]

【発明が解決しようとする課題】上記のように従来は非
同期リセット信号XRSにより同期回路を直接に強制リ
セットしていたので、同期回路の出力が不定となる問題
があった。本発明の目的は、非同期リセット信号がどの
ようなタイミングで入力しても同期回路の内容を確実に
リセットできる非同期リセット方式を提供することにあ
る。
As described above, conventionally, the synchronous circuit is directly forcibly reset by the asynchronous reset signal XRS, so that there is a problem that the output of the synchronous circuit becomes indefinite. The object of the present invention is to ensure that the contents of the synchronous circuit are ensured no matter what timing the asynchronous reset signal is input.
It is to provide an asynchronous reset method that can be reset.

【0007】[0007]

【課題を解決するための手段】上記の課題は図1の
(A)の構成により解決される。即ち、本発明(1)の
非同期リセット方式は、入力の非同期リセット信号XR
をラッチ保持すると共に、これに続くシステムのクロ
ック信号CKに同期して1クロック周期の同期パルス
信号DPを発生する同期パルス発生回路3を備え、シス
テムにおけるデータのクロック同期セット機能を有する
レジスタ回路2の入力データを同期パルス信号DPによ
ってマスクするように構成したものである。
The above problems can be solved by the structure shown in FIG. That is, the asynchronous reset method of the present invention (1) uses the asynchronous reset signal XR of the input.
With latches holding the S, the subsequent comprising a synchronizing pulse generating circuit 3 in synchronization with the system clock signal CK to generate a synchronizing pulse signal DP of one clock period by having the clock synchronization set function of the data in the system < The input data of the register circuit 2 is configured to be masked by the synchronization pulse signal DP.

【0008】また上記の課題は図1の(B)の構成によ
り解決される。即ち、本発明(2)の非同期リセット方
式は、本発明(1)の同期パルス発生回路3を備え、シ
ステムにおけるデータのクロック同期ロード機能を有す
る同期回路5のロード付勢端子LDに同期パルス信号D
Pを加えるように構成したものである。また上記の課題
は図1の(C)の構成により解決される。即ち、本発明
(3)の非同期リセット方式は、本発明(1)の同期パ
ルス発生回路3を備え、システムにおけるクロック同期
リセット機能を有する同期回路6のリセット付勢端子C
Rに同期パルス信号DPを加えるように構成したもので
ある。
The above problem can be solved by the structure of FIG. That is, the asynchronous reset method of the present invention (2) includes the synchronous pulse generating circuit 3 of the present invention (1), and supplies a synchronous pulse signal to the load energizing terminal LD of the synchronous circuit 5 having a clock synchronous load function of data in the system. D
It is configured to add P. The above problem is solved by the configuration of FIG. That is, the asynchronous reset method of the present invention (3) includes the synchronous pulse generating circuit 3 of the present invention (1), and the reset energizing terminal C of the synchronous circuit 6 having the clock synchronous reset function in the system.
The configuration is such that the synchronization pulse signal DP is added to R.

【0009】また上記の課題は図2の(A)の構成によ
り解決される。即ち、本発明(4)の非同期リセット方
式は、システムのクロック信号CKと、非同期リセット
信号XRSと、該非同期リセット信号に同期して発生
し、かつその前後に各所定の広がりを有するゲート信号
GSとに基づき、該ゲート信号のレベルに応じて前記シ
ステムのクロック信号と前記非同期リセット信号の一方
を選択すると共に、前記システムのクロック信号と非同
期リセット信号とが重なり部分を有する場合は、その
なり直後から次のクロック信号の発生までのクロック信
号の出力を阻止することにより、新たに合成クロック信
号CK´を形成するクロック合成回路4を備え、システ
ムにおけるデータのクロック同期セット機能を有する
ジスタ回路2のクロック入力端子に前記合成クロック信
号CK´を加え、かつその入力データを前記ゲート信号
GSによってマスクするように構成したものである。
The above problem can be solved by the configuration of FIG. That is, according to the asynchronous reset method of the present invention (4), the system clock signal CK, the asynchronous reset signal XRS, and the gate signal GS that is generated in synchronization with the asynchronous reset signal and has a predetermined spread before and after it. Based on the level of the gate signal,
One of the stem clock signal and the asynchronous reset signal
With selecting, when having a clock signal and the asynchronous reset signal and overlaps part of the system, its weight
A clock synthesis circuit 4 is newly formed by blocking the output of the clock signal from immediately after the occurrence of the clock signal until the generation of the next clock signal, and a clock synchronization setting function for data in the system is provided. br /> register the synthesized clock signal CK' the clock input terminal of the circuit 2 is added, and in which the input data was configured to masked by the gate signal GS.

【0010】また上記の課題は図2の(B)の構成によ
り解決される。即ち、本発明(5)の非同期リセット方
式は、本発明(4)のクロック合成回路4を備え、シス
テムにおけるデータのクロック同期ロード機能を有する
同期回路5のロード付勢端子LDにゲート信号GSを加
え、かつそのクロック入力端子に合成クロック信号CK
´を加えるように構成したものである。
The above problem can be solved by the structure of FIG. That is, the asynchronous reset method of the present invention (5) includes the clock synthesis circuit 4 of the present invention (4), and supplies the gate signal GS to the load energizing terminal LD of the synchronization circuit 5 having the clock synchronous load function of data in the system. In addition, a synthetic clock signal CK is applied to its clock input terminal.
'Is added.

【0011】また上記の課題は図2の(C)の構成によ
り解決される。即ち、本発明(6)の非同期リセット方
式は、本発明(4)のクロック合成回路4を備え、シス
テムにおけるクロック同期リセット機能を有する同期回
路6のリセット付勢端子CRにゲート信号GSを加え、
かつそのクロック入力端子に合成クロック信号CK´を
加えるように構成したものである。
The above problem can be solved by the structure of FIG. That is, the asynchronous reset method of the present invention (6) includes the clock synthesizing circuit 4 of the present invention (4), adds the gate signal GS to the reset energizing terminal CR of the synchronous circuit 6 having the clock synchronous reset function in the system,
In addition, the composite clock signal CK 'is added to its clock input terminal.

【0012】[0012]

【作用】図1の(A)の本発明(1)の非同期リセット
方式において、同期パルス発生回路3は入力の非同期リ
セット信号XRSをラッチ保持すると共に、これに続く
システムのクロック信号CKに同期して1クロック周期
の同期パルス信号DPを発生する。これにより、通常
は、入力データIDはクロック信号CKによりレジスタ
回路2にセットされる。また非同期リセット信号XRS
が任意のタイミングに発生した場合は、その後のクロッ
ク信号CKに同期した1クロック周期の同期パルス信
号DPにより入力データをマスク回路1によりマスクす
るので、レジスタ回路2は確実にリセット(データ0が
セット)される。
In the asynchronous reset method of the present invention (1) of FIG. 1A, the synchronous pulse generation circuit 3 latches and holds the input asynchronous reset signal XRS, and the clock signal of the subsequent system. 1 clock cycle in synchronization with CK
Minute sync pulse signal DP is generated. As a result, normally, the input data ID is set in the register circuit 2 by the clock signal CK. Asynchronous reset signal XRS
If There generated in an arbitrary timing, the subsequent because the input data by one clock period of the synchronizing pulse signal DP synchronized with the clock signal CK is masked by the mask circuit 1, the register circuit 2 reliably reset (data 0 Set).

【0013】また図1の(B)の本発明(2)の非同期
リセット方式において、データのクロック同期ロード機
能を有する同期回路(例えばデータのパラレルロード機
能付きカウンタ回路)5は通常はクロック信号CKに同
期してカウントアップする。そして本発明によれば、カ
ウンタ回路5のロード付勢端子LDに上記の同期パルス
信号DPを加えるように構成したので、非同期リセット
信号XRSが任意のタイミングに発生しても、その後の
クロック信号CKに同期した1クロック周期の同期パル
ス信号DPによりカウンタ回路5を確実にリセット(カ
ウント値CN=0に)できる。
In the asynchronous reset method of the present invention (2) of FIG. 1B, a synchronous circuit (for example, a counter circuit having a data parallel load function) 5 having a data clock synchronous load function is usually a clock signal CK. Count up in sync with. Further, according to the present invention, since the above-mentioned synchronous pulse signal DP is applied to the load energizing terminal LD of the counter circuit 5, even if the asynchronous reset signal XRS is generated at an arbitrary timing, the subsequent clock signal CK is generated. The counter circuit 5 can be surely reset (count value CN = 0) by the synchronization pulse signal DP of one clock cycle synchronized with.

【0014】また図1の(C)の本発明(3)の非同期
リセット方式において、システムにおけるクロック同期
リセット機能を有する同期回路(例えばカウンタ回路)
6は通常はクロック信号CKに同期してカウントアップ
する。そして本発明によれば、カウンタ回路6のリセッ
ト付勢端子CRに上記の同期パルス信号DPを加えるよ
うに構成したので、非同期リセット信号XRSが任意の
タイミングに発生しても、その後のクロック信号CKに
同期した1クロック周期の同期パルス信号DPによりカ
ウンタ回路5を確実にリセット(カウント値CN=0
に)できる。
In the asynchronous reset method of the present invention (3) of FIG. 1C, a synchronous circuit (for example, a counter circuit) having a clock synchronous reset function in the system.
6 usually counts up in synchronization with the clock signal CK. Further, according to the present invention, since the above-mentioned synchronous pulse signal DP is applied to the reset energizing terminal CR of the counter circuit 6, even if the asynchronous reset signal XRS is generated at an arbitrary timing, the subsequent clock signal CK is generated. The counter circuit 5 is surely reset (count value CN = 0
You can.

【0015】更に、図2の(A)の本発明(4)の非同
期リセット方式において、クロック合成回路4は、シス
テムのクロック信号CKと、非同期リセット信号XRS
と、該非同期リセット信号に同期して発生し、かつその
前後に各所定の広がりを有するゲート信号GSとに基づ
き、該ゲート信号GSのレベルに応じて前記システムの
クロック信号CKと前記非同期リセット信号XRSの一
方を選択すると共に、前記システムのクロック信号CK
と非同期リセット信号XRSとが重なり部分を有する場
合は、その重なり直後から次のクロック信号の発生まで
クロック信号の出力を阻止することにより、新たに合
成クロック信号CK´を形成する。
Further, in the asynchronous reset system of the invention (4) of FIG. 2A, the clock synthesizing circuit 4 includes a system clock signal CK and an asynchronous reset signal XRS.
And a gate signal GS which is generated in synchronism with the asynchronous reset signal and has a predetermined spread before and after the asynchronous reset signal , according to the level of the gate signal GS of the system.
One of the clock signal CK and the asynchronous reset signal XRS
Whichever of the two is selected and the clock signal CK of the system
When the asynchronous reset signal XRS and the asynchronous reset signal XRS have an overlapping portion, immediately after the overlapping portion until the next clock signal is generated.
By inhibiting the output of the clock signal of, the new synthesized clock signal CK 'is formed.

【0016】これにより、通常は、入力データIDは合
成クロック信号CK´に組み込まれたクロック信号CK
によりレジスタ回路2にセットされる。また非同期リセ
ット信号XRSが任意のタイミングに発生した場合は、
入力データIDを非同期リセット信号XRSよりも幾分
幅の広いゲート信号GSによってマスクすると共に、レ
ジスタ回路2のクロック端子にはこのタイミングの合成
クロック信号CK´に組み込まれた非同期リセット信号
XRSが入力するので、レジスタ回路2は確実にリセッ
ト(データ0がセット)される。
As a result, normally, the input data ID is the clock signal CK incorporated in the combined clock signal CK '.
Is set in the register circuit 2 by. When the asynchronous reset signal XRS is generated at any timing,
The input data ID is masked by the gate signal GS having a width slightly wider than the asynchronous reset signal XRS, and the clock terminal of the register circuit 2 receives the asynchronous reset signal XRS incorporated in the composite clock signal CK 'at this timing. Therefore, the register circuit 2 is surely reset (data 0 is set).

【0017】本発明(4)によれば、レジスタ回路2は
非同期リセット信号XRSに同期してリセットされるの
で、リセット動作に遅れが生じない。以下の発明
(5),(6)でも同様である。また図2の(B)の本
発明(5)の非同期リセット方式において、システムに
おけるデータのクロック同期ロード機能を有する同期回
路(例えばデータのパラレルロード機能付きカウンタ回
路)5は通常は合成クロック信号CK´に組み込まれた
クロック信号CKに同期してカウントアップする。そし
て本発明によれば、カウンタ回路5のロード付勢端子L
Dにゲート信号GSを加え、かつそのクロック入力端子
に合成クロック信号CK´を加えるように構成したの
で、非同期リセット信号XRSが任意のタイミングに発
生しても、合成クロック信号CK´に組み込まれた非同
期リセット信号XRSによりカウンタ回路5を確実にリ
セット(カウント値CN=0に)できる。
According to the present invention (4), since the register circuit 2 is reset in synchronization with the asynchronous reset signal XRS, there is no delay in the reset operation. The same applies to the following inventions (5) and (6). Further, in the asynchronous reset method of the present invention (5) of FIG. 2B, a synchronous circuit (for example, a counter circuit with a parallel data loading function) 5 having a clock synchronous loading function of data in the system is usually a synthetic clock signal CK. It counts up in synchronization with the clock signal CK incorporated in ‘ According to the present invention, the load energizing terminal L of the counter circuit 5 is
Since the gate signal GS is added to D and the composite clock signal CK 'is added to its clock input terminal, even if the asynchronous reset signal XRS is generated at an arbitrary timing, it is incorporated in the composite clock signal CK'. The counter circuit 5 can be reliably reset (count value CN = 0) by the asynchronous reset signal XRS.

【0018】また図2の(C)の本発明(6)の非同期
リセット方式において、システムにおけるクロック同期
リセット機能を有する同期回路(例えばカウンタ回路)
6は通常は合成クロック信号CK´に組み込まれたクロ
ック信号CKに同期してカウントアップする。そして本
発明によれば、カウンタ回路6のリセット付勢端子CR
にゲート信号GSを加え、かつそのクロック入力端子に
合成クロック信号CK´を加えるように構成したので、
非同期リセット信号XRSが任意のタイミングに発生し
ても、合成クロック信号CK´に組み込まれた非同期リ
セット信号XRSによりカウンタ回路6を確実にリセッ
ト(カウント値CN=0に)できる。
Further, in the asynchronous reset method of the present invention (6) of FIG. 2C, a synchronous circuit (for example, a counter circuit) having a clock synchronous reset function in the system.
6 normally counts up in synchronization with the clock signal CK incorporated in the combined clock signal CK '. And according to the present invention, the reset energizing terminal CR of the counter circuit 6 is
Since the gate signal GS is added to and the combined clock signal CK 'is added to the clock input terminal,
Even if the asynchronous reset signal XRS is generated at an arbitrary timing, the counter circuit 6 can be reliably reset (count value CN = 0) by the asynchronous reset signal XRS incorporated in the combined clock signal CK ′.

【0019】[0019]

【実施例】以下、添付図面に従って本発明による実施例
を詳細に説明する。なお、全図を通して同一符号は同一
又は相当部分を示すものとする。図3は第1実施例の非
同期リセット方式の構成を示す図で、図において1はマ
スク回路の一例であるセクタ(SEL)、2はレジスタ
(REG)、3は同期パルス発生回路、31はインバー
タ回路(I)、32はセット/リセット(ラッチ)タイ
プのフリップフロップ回路(SRF)、33,34はD
(ディレイ)タイプのフリップフロップ回路(DF
F)、35はANDゲート回路(A)である。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The same reference numerals denote the same or corresponding parts throughout the drawings. FIG. 3 is a diagram showing the configuration of the asynchronous reset system of the first embodiment. In the figure, 1 is a sector (SEL) which is an example of a mask circuit, 2 is a register (REG), 3 is a synchronous pulse generation circuit, and 31 is an inverter. Circuits (I) and 32 are set / reset (latch) type flip-flop circuits (SRF), and 33 and 34 are D
(Delay) type flip-flop circuit (DF
F) and 35 are AND gate circuits (A).

【0020】図4は第1実施例の非同期リセット方式の
タイミングチャートである。通常は、同期パルス信号D
PがLOWレベルであるためにセレクタ1は入力データ
IDを選択して出力する。従って、レジスタ2はクロッ
ク信号CKの各立ち上がりで入力データIDをセット
し、対応する出力データODを出力する。非同期リセッ
ト信号XRSが図示のタイミングに入力すると、その立
ち下がりでフリップフロップ回路32がセットされる。
フリップフロップ回路33はその後のクロック信号CK
の立ち上がりによりセットされ、更にフリップフロップ
回路34,ANDゲート回路35と共動して1クロック
周期の間HIGHレベルの同期パルス信号DPを発生す
る。その結果、セレクタ1はこの区間に「0」のデータ
を選択して出力し、かつレジスタ2はこの区間の終わり
のクロック信号CKの立ち上がりで確実にリセット(出
力データOD=0をセット)される。その後は、通常の
動作に戻る。
FIG. 4 is a timing chart of the asynchronous reset system of the first embodiment. Normally, the sync pulse signal D
Since P is at the LOW level, the selector 1 selects and outputs the input data ID. Therefore, the register 2 sets the input data ID at each rising edge of the clock signal CK and outputs the corresponding output data OD. When the asynchronous reset signal XRS is input at the timing shown in the figure, the flip-flop circuit 32 is set at the falling edge.
The flip-flop circuit 33 outputs the subsequent clock signal CK.
Is set at the rising edge of, and further operates in cooperation with the flip-flop circuit 34 and the AND gate circuit 35 to generate the HIGH level synchronizing pulse signal DP for one clock cycle. As a result, the selector 1 selects and outputs "0" data in this section, and the register 2 is reliably reset (output data OD = 0 is set) at the rising edge of the clock signal CK at the end of this section. . After that, it returns to the normal operation.

【0021】なお、この関係は非同期リセット信号XR
Sの発生位置がA点まで移動しても変わらない。一方、
B点の位置よりも遅れると、同期パルス信号DPの発生
は1クロック周期だけ遅れる。また、本実施例では非同
期リセット信号XRSの発生後、実際のリセットまでに
最大で2クロック周期分遅れるが、クロック信号CKの
周波数が高い場合にはこの遅れはさほど問題とはならな
い。そして、このような同期パルス発生回路3は簡単な
回路で構成できる。
Note that this relationship is related to the asynchronous reset signal XR.
It does not change even if the generation position of S moves to point A. on the other hand,
If it is delayed from the position of point B, the generation of the synchronization pulse signal DP is delayed by one clock cycle. Further, in the present embodiment, after the asynchronous reset signal XRS is generated, there is a maximum delay of 2 clock cycles until the actual reset, but when the frequency of the clock signal CK is high, this delay is not a serious problem. Further, such a synchronizing pulse generating circuit 3 can be configured by a simple circuit.

【0022】図5は第2実施例の非同期リセット方式の
構成を示す図で、図において4はクロック合成回路、4
1〜43はD(ディレイ)タイプのフリップフロップ回
路(DFF)、44はセット/リセット(ラッチ)タイ
プのフリップフロップ回路(SRF)、45はセレクタ
(SEL)、46〜49はANDゲート回路(A)、5
0はORゲート回路(O)、51,52はインバータ回
路(I)である。
FIG. 5 is a diagram showing the configuration of the asynchronous reset system of the second embodiment, in which 4 is a clock synthesis circuit and 4 is a clock synthesis circuit.
1 to 43 are D (delay) type flip-flop circuits (DFF), 44 are set / reset (latch) type flip-flop circuits (SRF), 45 is a selector (SEL), and 46 to 49 are AND gate circuits (A). ), 5
Reference numeral 0 is an OR gate circuit (O), and 51 and 52 are inverter circuits (I).

【0023】クロック合成回路4において、セレクタ4
5はゲート信号GSがHIGHレベルの間はクロック信
号CKを選択(排他的に合成)し、ゲート信号GSがL
OWレベルの間は非同期リセット信号XRSを選択(排
他的に合成)して出力する。ANDゲート回路46はク
ロック信号CKと非同期リセット信号XRSとの間の重
なり有無を検出しており、重なりが有る場合はフリップ
フロップ回路41がセットされて、以下の回路と共動し
て、その後におけるクロック信号CKの合成を阻止する
ための制御信号SR−Qを形成する。そして、このよう
な信号処理を高速で行うためにクロック合成回路4には
クロック信号CKよりも十分に高速なクロック信号MC
Kが入力されている。以下、動作の詳細をタイミングチ
ャートに従って説明する。
In the clock synthesis circuit 4, the selector 4
5 selects (exclusively synthesizes) the clock signal CK while the gate signal GS is HIGH level, and the gate signal GS is L
During the OW level, the asynchronous reset signal XRS is selected (combined exclusively) and output. The AND gate circuit 46 detects the presence or absence of the overlap between the clock signal CK and the asynchronous reset signal XRS, and if there is the overlap, the flip-flop circuit 41 is set and cooperates with the following circuits, and thereafter A control signal SR-Q for preventing synthesis of the clock signal CK is formed. In order to perform such signal processing at high speed, the clock synthesizing circuit 4 has a clock signal MC that is sufficiently faster than the clock signal CK.
K has been entered. The details of the operation will be described below with reference to the timing chart.

【0024】図6,図7は第2実施例の非同期リセット
方式のタイミングチャート(1),(2)である。図6
において、非同期リセット信号XRSはゲート信号GS
と共にシステム(例えば制御部のCPU)によって形成
され、かつこのゲート信号GSは非同期リセット信号X
RSの前後に各所定幅の広がりを有している。
FIGS. 6 and 7 are timing charts (1) and (2) of the asynchronous reset method of the second embodiment. Figure 6
, The asynchronous reset signal XRS is the gate signal GS
Together with the system (for example, the CPU of the control unit), and the gate signal GS is the asynchronous reset signal X.
Each RS has a predetermined width before and after the RS.

【0025】非同期リセット信号XRSが例えばAのタ
イミングに入力した場合は、非同期リセット信号XRS
のLOWレベルの部分とクロック信号CKのHIGHレ
ベルの部分とが重なり部分を有しないのでフリップフロ
ップ回路41はセットされない。従って、フリップフロ
ップ回路44はセットされたままであり、その出力の制
御信号SR−QはHIGHレベルに保たれる。その結
果、ゲート信号GSがHIGHレベルの区間ではクロッ
ク信号CKが選択され、かつゲート信号GSがLOWレ
ベルの区間では非同期リセット信号XRS/(但し、/
は反転信号を表す)が選択されてこの区間の合成クロッ
ク信号CK´が形成される。
When the asynchronous reset signal XRS is input at the timing A, for example, the asynchronous reset signal XRS
, And the HIGH level portion of the clock signal CK have no overlapping portion, the flip-flop circuit 41 is not set. Therefore, the flip-flop circuit 44 remains set, and the control signal SR-Q of its output is maintained at the HIGH level. As a result, the clock signal CK is selected while the gate signal GS is at the HIGH level, and the asynchronous reset signal XRS / (however, / is provided when the gate signal GS is at the LOW level).
Represents an inverted signal) to form a composite clock signal CK 'in this section.

【0026】一方、セレクタ1はゲート信号GSがHI
GHレベルの区間に入力データIDを選択し、かつゲー
ト信号GSがLOWレベルの区間に「0」のデータを選
択している。従って、上記の区間におけるレジスタ2は
クロック信号CKの立ち上がりに同期して入力データI
D(=a)をセットし、かつその後の非同期リセット信
号XRSの立ち下がりに同期して「0」のデータをセッ
トすることになり、レジスタ2の非同期リセットが実時
間で確実に行われる。
On the other hand, in the selector 1, the gate signal GS is HI.
The input data ID is selected in the section of GH level, and the data of "0" is selected in the section of the gate signal GS being LOW level. Therefore, the register 2 in the above section synchronizes with the input data I in synchronization with the rising edge of the clock signal CK.
Since D (= a) is set and data of "0" is set in synchronization with the subsequent fall of the asynchronous reset signal XRS, the asynchronous reset of the register 2 is surely performed in real time.

【0027】また非同期リセット信号XRSがBのタイ
ミングに入力した場合は、非同期リセット信号XRSの
LOWレベルの部分とクロック信号CKのHIGHレベ
ルの部分とが重なり部分を有するので、フリップフロ
ップ回路41はゲート信号GSがLOWレベルの区間に
ANDゲート回路47によって切り出された高速のクロ
ック信号により速やかにセットされる。これによりフ
リップフロップ回路42及びANDゲート回路48は共
同してクロック信号MCKの1クロック周期のパルス信
号を発生する。
When the asynchronous reset signal XRS is input at the timing B, since the LOW level portion of the asynchronous reset signal XRS and the HIGH level portion of the clock signal CK have an overlapping portion, the flip-flop circuit 41 has a gate. The signal GS is quickly set by the high-speed clock signal cut out by the AND gate circuit 47 in the LOW level section. As a result, the flip-flop circuit 42 and the AND gate circuit 48 jointly generate a pulse signal of one clock cycle of the clock signal MCK.

【0028】フリップフロップ回路44はパルス信号
によって強制リセットされることにより、その出力の制
御信号SR−QはLOWレベルになり、これによってセ
レクタ45のその後の出力は阻止される。即ち、この場
合はB´のタイミングに現れるクロック信号CKの後半
の部分の出力はANDゲート回路49によって阻止され
る。フリップフロップ回路43は次のクロック信号CK
の立ち上がりによってリセットされ、HIGHレベルと
なった信号によりフリップフロップ回路44を強制セ
ットする。
When the flip-flop circuit 44 is forcibly reset by the pulse signal, the control signal SR-Q of its output becomes the LOW level, whereby the subsequent output of the selector 45 is blocked. That is, in this case, the output of the latter half portion of the clock signal CK appearing at the timing B'is blocked by the AND gate circuit 49. The flip-flop circuit 43 receives the next clock signal CK.
The signal which is reset by the rise of the signal and becomes HIGH level forcibly sets the flip-flop circuit 44.

【0029】従って、上記の区間におけるレジスタ2は
クロック信号CKの立ち上がりに同期して入力データI
D(=d)をセットし、かつその後の非同期リセット信
号XRSの立ち下がりに同期して「0」のデータをセッ
トすることになり、レジスタ2の非同期リセットが実時
間で確実に行われる。図7において、非同期リセット信
号XRSがCのタイミングに入力した場合は、まず非同
期リセット信号XRSの前半のLOWレベルの部分が切
り出されて合成クロック信号CK´に合成出力される。
更に、非同期リセット信号XRSの後半のLOWレベル
の部分はクロック信号CKのHIGHレベルの部分との
間で重なり部分を有するのでフリップフロップ回路4
1は高速のクロック信号により速やかにセットされ
る。これによりパルス信号が発生し、制御信号SR−
Qは次のクロック信号CKの立ち上がりまでLOWレベ
ルとなり、これによってC´のタイミングに現れるクロ
ック信号CKの後半の部分の出力は阻止される。
Therefore, the register 2 in the above section synchronizes with the input data I in synchronization with the rising edge of the clock signal CK.
Since D (= d) is set and data of "0" is set in synchronization with the subsequent fall of the asynchronous reset signal XRS, the asynchronous reset of the register 2 is surely performed in real time. In FIG. 7, when the asynchronous reset signal XRS is input at the timing of C, first, the LOW level portion of the first half of the asynchronous reset signal XRS is cut out and combined and output as the combined clock signal CK ′.
Further, the latter LOW level portion of the asynchronous reset signal XRS has an overlapping portion with the HIGH level portion of the clock signal CK, so the flip-flop circuit 4
1 is set quickly by a high speed clock signal. As a result, a pulse signal is generated and the control signal SR-
Q becomes LOW level until the next rising of the clock signal CK, and thereby the output of the latter half of the clock signal CK appearing at the timing of C ′ is blocked.

【0030】従って、上記の区間におけるレジスタ2は
非同期リセット信号XRSの立ち下がりに同期して
「0」のデータをセットされ、レジスタ2の非同期リセ
ットが実時間で確実に行われる。なお、上記実施例はシ
ステムのクロック信号CKに同期して動作しているレジ
スタ回路2への適用例を示したが、他の種類の同期回路
(フリップフロップ回路,カウンタ回路,その他の所定
機能を実現するLSI回路等)への適用は図1,図2及
びその説明に基づいて容易に実現できる。
Therefore, the register 2 in the above section is set with data "0" in synchronization with the fall of the asynchronous reset signal XRS, and the asynchronous reset of the register 2 is surely performed in real time. Although the above embodiment has shown an example of application to the register circuit 2 operating in synchronization with the system clock signal CK, other types of synchronizing circuits (flip-flop circuit, counter circuit, other predetermined functions) It can be easily realized based on FIGS. 1 and 2 and the description thereof.

【0031】また、上記本発明に好適なる複数の実施例
を述べたが、本発明思想を逸脱しない範囲内で、同期パ
ルス発生回路3,クロック合成回路4,マスク回路1等
を様々な態様で構成できることは言うまでも無い。
Although a plurality of preferred embodiments of the present invention have been described above, the synchronizing pulse generating circuit 3, the clock synthesizing circuit 4, the mask circuit 1 and the like can be implemented in various modes without departing from the concept of the present invention. It goes without saying that it can be configured.

【0032】[0032]

【発明の効果】以上述べた如く本発明の非同期リセット
方式は、上記構成であるので、非同期リセット信号がど
のようなタイミングで入力しても同期回路の内容を確実
リセットできる。
As described above, since the asynchronous reset method of the present invention has the above-mentioned structure, the contents of the synchronous circuit can be surely maintained no matter what timing the asynchronous reset signal is input.
It can be reset to.

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

【図1】図1は本発明の原理を説明する図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】図2は本発明の原理を説明する図である。FIG. 2 is a diagram for explaining the principle of the present invention.

【図3】図3は第1実施例の非同期リセット方式の構成
を示す図である。
FIG. 3 is a diagram showing a configuration of an asynchronous reset system according to a first embodiment.

【図4】図4は第1実施例の非同期リセット方式のタイ
ミングチャートである。
FIG. 4 is a timing chart of the asynchronous reset method of the first embodiment.

【図5】図5は第2実施例の非同期リセット方式の構成
を示す図である。
FIG. 5 is a diagram showing a configuration of an asynchronous reset system according to a second embodiment.

【図6】図6は第2実施例の非同期リセット方式のタイ
ミングチャート(1)である。
FIG. 6 is a timing chart (1) of the asynchronous reset method according to the second embodiment.

【図7】図7は第2実施例の非同期リセット方式のタイ
ミングチャート(2)である。
FIG. 7 is a timing chart (2) of the asynchronous reset method according to the second embodiment.

【図8】図8は従来技術を説明する図である。FIG. 8 is a diagram illustrating a conventional technique.

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

1 マスク回路 2 レジスタ 3 同期パルス発生回路 4 クロック合成回路 5,6 同期回路 1 Mask circuit 2 registers 3 Synchronous pulse generation circuit 4 clock synthesis circuit 5,6 Synchronous circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 1/24 H03K 5/00 H03K 21/38 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 1/24 H03K 5/00 H03K 21/38

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力の非同期リセット信号をラッチ保持
すると共に、これに続くシステムのクロック信号に同期
して1クロック周期の同期パルス信号を発生する同期
パルス発生回路を備え、 システムにおけるデータのクロック同期セット機能を有
するレジスタ回路の入力データを同期パルス信号によっ
てマスクするように構成したことを特徴とする非同期リ
セット方式。
1. A latch holding asynchronous input reset signal
To together, comprising a synchronizing pulse generating circuit for generating the subsequent one clock period of the synchronizing pulse signal in synchronization with the clock signal of the system, have a clock synchronization set function of the data in the system
The asynchronous reset method is characterized in that the input data of the register circuit is masked by a synchronous pulse signal.
【請求項2】 請求項1の同期パルス発生回路を備え、 システムにおけるデータのクロック同期ロード機能を有
する同期回路のロード付勢端子に同期パルス信号を加え
るように構成したことを特徴とする非同期リセット方
式。
2. An asynchronous reset comprising the sync pulse generating circuit according to claim 1, wherein a sync pulse signal is applied to a load energizing terminal of a sync circuit having a function of clock synchronous loading of data in a system. method.
【請求項3】 請求項1の同期パルス発生回路を備え、 システムにおけるクロック同期リセット機能を有する同
期回路のリセット付勢端子に同期パルス信号を加えるよ
うに構成したことを特徴とする非同期リセット方式。
3. An asynchronous reset system comprising the synchronous pulse generating circuit according to claim 1, wherein a synchronous pulse signal is applied to a reset energizing terminal of a synchronous circuit having a clock synchronous reset function in a system.
【請求項4】 システムのクロック信号と、非同期リセ
ット信号と、該非同期リセット信号に同期して発生し、
かつその前後に各所定の広がりを有するゲート信号とに
基づき、該ゲート信号のレベルに応じて前記システムの
クロック信号と前記非同期リセット信号の一方を選択す
ると共に、前記システムのクロック信号と非同期リセッ
ト信号とが重なり部分を有する場合は、その重なり直後
から次のクロック信号の発生までのクロック信号の出力
を阻止することにより、新たに合成クロック信号を形成
するクロック合成回路を備え、 システムにおけるデータのクロック同期セット機能を有
するレジスタ回路のクロック入力端子に前記合成クロッ
ク信号を加え、かつその入力データを前記ゲート信号に
よってマスクするように構成したことを特徴とする非同
期リセット方式。
4. A system clock signal, an asynchronous reset signal, and a signal generated in synchronization with the asynchronous reset signal,
And based on the gate signal having each predetermined spread before and after that , according to the level of the gate signal,
Select one of the clock signal and the asynchronous reset signal
In addition, if the clock signal and the asynchronous reset signal of the system have an overlapping portion, immediately after the overlapping portion.
Following by blocking the output of the clock signal to the generation of the clock signal, a clock synthesis circuit for forming the newly synthesized clock signal, have a clock synchronization set function of the data in the system from the
Said composite clock signal to the clock input terminal of the register circuit to the addition, and asynchronously reset method, characterized in that the input data is configured to mask by the gate signal.
【請求項5】 請求項4のクロック合成回路を備え、 システムにおけるデータのクロック同期ロード機能を有
する同期回路のロード付勢端子にゲート信号を加え、か
つそのクロック入力端子に合成クロック信号を加えるよ
うに構成したことを特徴とする非同期リセット方式。
5. A clock synthesizing circuit according to claim 4, wherein a gate signal is applied to a load energizing terminal and a synthetic clock signal is applied to a clock input terminal of a synchronizing circuit having a function of synchronously loading data in a system. Asynchronous reset method characterized in that
【請求項6】 請求項4のクロック合成回路を備え、 システムにおけるクロック同期リセット機能を有する同
期回路のリセット付勢端子にゲート信号を加え、かつそ
のクロック入力端子に合成クロック信号を加えるように
構成したことを特徴とする非同期リセット方式。
6. The clock synthesizing circuit according to claim 4, wherein a gate signal is applied to a reset energizing terminal of a synchronous circuit having a clock synchronous reset function in a system, and a synthetic clock signal is applied to its clock input terminal. Asynchronous reset method characterized by the above.
JP04959594A 1994-03-18 1994-03-18 Asynchronous reset method Expired - Fee Related JP3443154B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04959594A JP3443154B2 (en) 1994-03-18 1994-03-18 Asynchronous reset method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04959594A JP3443154B2 (en) 1994-03-18 1994-03-18 Asynchronous reset method

Publications (2)

Publication Number Publication Date
JPH07261878A JPH07261878A (en) 1995-10-13
JP3443154B2 true JP3443154B2 (en) 2003-09-02

Family

ID=12835594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04959594A Expired - Fee Related JP3443154B2 (en) 1994-03-18 1994-03-18 Asynchronous reset method

Country Status (1)

Country Link
JP (1) JP3443154B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120498435B (en) * 2025-07-16 2025-10-03 沐曦科技(成都)有限公司 Asynchronous reset state controllable trigger circuit structure

Also Published As

Publication number Publication date
JPH07261878A (en) 1995-10-13

Similar Documents

Publication Publication Date Title
US5036221A (en) Circuit for eliminating metastable events associated with a data signal asynchronous to a clock signal
JP2688166B2 (en) Apparatus and method for managing asynchronous events in a finite state machine
US5274678A (en) Clock switching apparatus and method for computer systems
US5535377A (en) Method and apparatus for low latency synchronization of signals having different clock speeds
US4412342A (en) Clock synchronization system
KR100304036B1 (en) Data Synchronization System and Method
JPH0855084A (en) Apparatus and method for zero latency synchronization for a system having at least two clock domains
US6960942B2 (en) High speed phase selector
US4823365A (en) Synchronization method and elastic buffer circuit
JP3443154B2 (en) Asynchronous reset method
US5898640A (en) Even bus clock circuit
EP0772133A2 (en) System for data synchronisation
JPH06332567A (en) Improved clock device for digital data processing
US6928574B1 (en) System and method for transferring data from a lower frequency clock domain to a higher frequency clock domain
JP2002176341A (en) Clock control circuit
US6931562B1 (en) System and method for transferring data from a higher frequency clock domain to a lower frequency clock domain
JP3151829B2 (en) Digital phase locked loop
US6041418A (en) Race free and technology independent flag generating circuitry associated with two asynchronous clocks
JP2906966B2 (en) Pulse switching circuit
US6295300B1 (en) Circuit and method for symmetric asynchronous interface
US5491438A (en) Synchronized clock generating apparatus
US5341403A (en) Means to avoid data distortion in clock-synchronized signal sampling
JP3033543B2 (en) Frame synchronization circuit
US6175257B1 (en) Integrated circuit comprising a master circuit working at a first frequency to control slave circuits working at a second frequency
JP2778527B2 (en) Counting circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030610

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

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100620

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees