JPH04268647A - Register with double read preventing function - Google Patents

Register with double read preventing function

Info

Publication number
JPH04268647A
JPH04268647A JP3050553A JP5055391A JPH04268647A JP H04268647 A JPH04268647 A JP H04268647A JP 3050553 A JP3050553 A JP 3050553A JP 5055391 A JP5055391 A JP 5055391A JP H04268647 A JPH04268647 A JP H04268647A
Authority
JP
Japan
Prior art keywords
read
register
alarm
reset
holding
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.)
Withdrawn
Application number
JP3050553A
Other languages
Japanese (ja)
Inventor
Akira Baba
暁 馬場
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 JP3050553A priority Critical patent/JPH04268647A/en
Publication of JPH04268647A publication Critical patent/JPH04268647A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent double read by providing a read register into which information of a holding register where event occurrence/non-occurrence information is held is read and successively resetting both registers by the end of information read. CONSTITUTION:Event occurrence/non-occurrence information is held in a holding register 10. This information is read out from the holding register 10 to a read register 11 by a read command signal. A holding register reset circuit 13 resets the holding register 10 after detecting that event occurrence information is written from the holding register 10 to the read register 11. A read register reset circuit 12 resets the read register 11 after detecting the end of read of event occurrence/non-occurrence information from the read register 11 due to the read command signal. Registers 10 and 11 consist of D type flip flops. Each of reset circuits 12 and 13 consists of two D type flip flops and one HAND circuit.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は二度読出し防止機能付レ
ジスタに関する。データ処理装置や通信装置などの各種
装置においては、事象例えばアラームの発生状態を常に
最新のものについて監視し、異常発生時に対して即座に
処理を行えるようにして装置の信頼性を向上させたいと
いう要求がある。そのためには、それら事象の発生状態
を保持するレジスタが必要となるが、かかるレジスタで
は、ある一つの事象発生に対して保持した事象有り情報
が誤って二度読出しされて二つの事象発生と誤判定して
しまうことを防止できることが必要とされる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a register with a double read prevention function. In various types of equipment such as data processing equipment and communication equipment, it is desired to improve the reliability of the equipment by always monitoring the latest occurrence of events such as alarms, and by being able to take immediate action in the event of an abnormality. I have a request. In order to do this, a register is required to hold the occurrence status of these events, but in such a register, the event presence information held for one event occurrence may be read out twice, causing the occurrence of two events to be mistaken. It is necessary to be able to prevent this from happening.

【0002】0002

【従来の技術】図4にはアラーム情報を保持するための
この種の従来のレジスタが示される。図中、ALMin
はアラームが発生している期間中“H”となるアラーム
信号であって、“H”が連続的に継続している期間が一
回のアラーム事象の発生を意味する。ALMout は
“H”によって「アラーム有り」を表すアラーム出力信
号であり、読出し指令に応じて読出しアラーム情報とし
て出力される。*RENは読出し指令信号となる負論理
の読出しイネーブル信号であって“L”で読出し動作を
指示するものである。この読出しイネーブル信号*RE
Nは定期的あるいは適宜のタイミングで発生されるもの
であり、アラーム入力ALMinとは非同期のものとな
る。*RESは読出しイネーブル信号*RENの立上り
で発生される負論理のリセット信号である。
2. Description of the Related Art FIG. 4 shows a conventional register of this type for holding alarm information. In the figure, ALMin
is an alarm signal that remains "H" during the period in which the alarm is occurring, and a period in which "H" continues continuously means the occurrence of one alarm event. ALMout is an alarm output signal indicating "alarm present" by "H", and is output as read alarm information in response to a read command. *REN is a negative logic read enable signal serving as a read command signal, and instructs a read operation at "L". This read enable signal *RE
N is generated periodically or at an appropriate timing, and is asynchronous with the alarm input ALMin. *RES is a negative logic reset signal generated at the rising edge of read enable signal *REN.

【0003】51は読み出されるべきアラーム情報を保
持するためのフリップフロップ、52は読出しイネーブ
ル信号*RENの立上り(すなわち読出し指令の終了)
を検出する立上り検出部、53〜55は論理ゲートであ
る。論理ゲート53〜55で構成される回路は、“H”
のアラーム入力ALMinが入力された時にフリップフ
ロップ51を「アラーム有り」の“H”にセットし、そ
の後、リセットがかかるまではアラーム入力ALMin
が消滅してもフリップフロップ51の出力状態をそのま
ま保持する働きをする。
51 is a flip-flop for holding alarm information to be read; 52 is a rising edge of the read enable signal *REN (that is, the end of the read command);
The rising edge detectors 53 to 55 are logic gates. The circuit composed of logic gates 53 to 55 is “H”
When the alarm input ALMin is input, the flip-flop 51 is set to "H" indicating "alarm present", and after that, the alarm input ALMin is input until the reset is applied.
It functions to maintain the output state of the flip-flop 51 as it is even if it disappears.

【0004】この従来回路では、アラームが発生してい
る間はアラームを優先的に保持し、読出しイネーブル信
号*RENによる読出し指令によってフリップフロップ
51からアラーム情報を読み出し、さらに読出しイネー
ブル信号*RENの立上り(すなわち読出し指令の終了
)を検出して発生されるリセット信号*RESで、フリ
ップフロップ51に保持されたアラーム情報のリセット
を行っている。
In this conventional circuit, while an alarm is occurring, the alarm is held preferentially, the alarm information is read from the flip-flop 51 in response to a read command by the read enable signal *REN, and furthermore, when the read enable signal *REN rises, the alarm information is read out from the flip-flop 51. The alarm information held in the flip-flop 51 is reset by the reset signal *RES generated by detecting the end of the read command (that is, the end of the read command).

【0005】[0005]

【発明が解決しようとする課題】上述の従来回路では、
“H”のアラーム入力ALMinが長時間にわたり継続
された時には、アラーム情報の二度読みが発生する。図
5にはこの様子が示される。すなわち、アラーム発生に
より“H”のアラーム入力ALMinが入力され、この
アラーム入力ALMinが読出しイネーブル信号*RE
N■の終了後まで継続され、その後に解除されたような
場合、図4の回路ではフリップフロップ51がリセット
信号*RES■によってはリセットされない。このため
、読出しイネーブル信号*REN■で“H”のアラーム
出力ALMout が読み出されるだけでなく、次のタ
イミングの読出しイネーブル信号*REN■によっても
同じのアラーム出力ALMoutが読み出されることに
なり、同一のアラーム入力ALMinに対して二度、「
アラーム有り」が読み出されてしまう。このようなアラ
ーム情報の二度読みが生じると、アラームの発生回数を
数えるような場合、誤動作となる。
[Problems to be Solved by the Invention] In the above-mentioned conventional circuit,
When the alarm input ALMin of "H" continues for a long time, the alarm information is read twice. This situation is shown in FIG. That is, when an alarm occurs, an alarm input ALMin of "H" is input, and this alarm input ALMin becomes a read enable signal *RE.
In the case where it is continued until after the end of N■ and then released, the flip-flop 51 is not reset by the reset signal *RES■ in the circuit of FIG. Therefore, not only the alarm output ALMout of "H" is read out by the read enable signal *REN■, but also the same alarm output ALMout is read out by the read enable signal *REN■ at the next timing, and the same alarm output ALMout is read out by the read enable signal *REN■ at the next timing. twice for the alarm input ALMin.
"There is an alarm" is read out. If such alarm information is read twice, it will result in a malfunction when counting the number of alarm occurrences.

【0006】本発明はかかる問題点に鑑みてなされたも
のであり、その目的とするところは、アラーム発生など
の事象を保持するレジスタの二度読みによる誤動作を防
止することにある。
The present invention has been made in view of the above problems, and its purpose is to prevent malfunctions due to double reading of registers that hold events such as occurrence of alarms.

【0007】[0007]

【課題を解決するための手段】図1には本発明に係る原
理説明図が示される。上述の目的を達成するために、本
発明に係る二度読み防止機能付レジスタは、一つの形態
として、事象発生の有無情報を保持する保持レジスタ1
0であって事象発生時に事象有り情報が書き込まれるも
のと、読出し指令信号に応じて事象有無情報が読み出さ
れる読出しレジスタ11であって読出し指令信号を受信
した時に保持レジスタ10からそれに保持された事象有
無情報が書き込まれるものと、保持レジスタ10から読
出しレジスタ11に事象有り情報が書き込まれたことを
検出して保持レジスタ10をリセットする保持レジスタ
リセット回路13と、読出し指令信号による読出しレジ
スタ11からの事象有無情報の読出し終了を検出して読
出しレジスタ11をリセットする読出しレジスタリセッ
ト回路12とを備えるものである。
[Means for Solving the Problems] FIG. 1 shows a diagram illustrating the principle of the present invention. In order to achieve the above-mentioned object, the register with a double read prevention function according to the present invention has a holding register 1 that holds information on the occurrence or non-occurrence of an event.
0 to which event presence information is written when an event occurs, and a read register 11 from which event presence/absence information is read in response to a read command signal, which is held from the holding register 10 when the read command signal is received. A holding register reset circuit 13 detects that event presence information is written from the holding register 10 to the read register 11 and resets the holding register 10, and a holding register reset circuit 13 detects that event presence information is written from the holding register 10 to the read register 11. The device includes a read register reset circuit 12 that detects the completion of reading of the event presence/absence information and resets the read register 11.

【0008】また本発明に係る二度読み防止機能付レジ
スタは、他の形態として、D形フリップフロップからな
る保持レジスタ10であって、データ入力端子に一定論
理レベル信号が入力され、クロック入力端子に事情有無
情報が入力され、リセット入力端子に保持レジスタリセ
ット信号が入力されるよう構成されたものと、D形フリ
ップフロップからなる読出しレジスタ11であって、デ
ータ入力端子に保持レジスタ10から出力される事象有
無情報が入力され、クロック入力端子に読出し指令信号
が入力され、リセット入力端子に読出しレジスタリセッ
ト信号が入力されるよう構成されたものと、該保持レジ
スタから該読出しレジスタに事象有りの情報が書き込ま
れたことを検出して保持レジスタリセット信号を発生す
る保持レジスタリセット回路13と、読出し指令信号の
終了を検出して読出しレジスタリセット信号を発生する
読出しレジスタリセット回路12とを備えるものである
Another form of the register with a double read prevention function according to the present invention is a holding register 10 consisting of a D-type flip-flop, in which a constant logic level signal is input to a data input terminal, and a clock input terminal A readout register 11 is configured such that status information is inputted to the input terminal and a holding register reset signal is inputted to the reset input terminal, and a readout register 11 is composed of a D-type flip-flop, and the data is outputted from the holding register 10 to the data input terminal. The device is configured such that event presence information is input to the clock input terminal, a read command signal is input to the clock input terminal, and a read register reset signal is input to the reset input terminal, and information indicating that an event exists from the holding register to the read register. The holding register reset circuit 13 detects that a read command signal has been written and generates a holding register reset signal, and the read register reset circuit 12 detects the end of a read command signal and generates a read register reset signal. .

【0009】[0009]

【作用】ある事象が発生すると、保持レジスタ10に事
象有り情報が書き込まれる。この保持レジスタ10の事
象有り情報は、読出し指令信号が発生されるとそれに応
じて保持レジスタ10から読出しレジスタ11に書き込
まれる。そして読出しレジスタ11への書込みが終了す
るとそれが保持レジスタリセット回路13で検出されて
、保持レジスタリセット回路13が発生する保持レジス
タリセット信号により保持レジスタ10がリセットされ
る。
[Operation] When a certain event occurs, event occurrence information is written to the holding register 10. The event presence information in the holding register 10 is written from the holding register 10 to the reading register 11 in response to the generation of a read command signal. When the writing to the read register 11 is completed, it is detected by the holding register reset circuit 13, and the holding register 10 is reset by a holding register reset signal generated by the holding register reset circuit 13.

【0010】読出し指令信号に基づく読出しレジスタ1
1からの事象有無情報の読出しが終了すると、それが読
出しレジスタリセット回路12で検出されて、この読出
しレジスタリセット回路12が発生する読出しレジスタ
リセット信号により読出しレジスタ11がリセットされ
る。
Read register 1 based on read command signal
When the reading of the event presence/absence information from 1 is completed, it is detected by the read register reset circuit 12, and the read register 11 is reset by the read register reset signal generated by the read register reset circuit 12.

【0011】以上の動作であるから、事象有り情報が読
出し指令信号の前後にわたって継続的に発生された時で
も、その読出し指令信号を契機として保持レジスタ10
および読出しレジスタ11は共にリセットされることに
なり、よって次にタイミングで入力された読出し指令信
号により、同一の事象有り情報の入力に対して出力側で
二度読みが生じることはない。
Because of the above operation, even when event presence information is continuously generated before and after the read command signal, the holding register 10 is triggered by the read command signal.
Both the read register 11 and the read register 11 are reset, so that the read command signal input at the next timing will not cause the same event information to be read twice on the output side.

【0012】0012

【実施例】以下、図面を参照して本発明の実施例を説明
する。図2には本発明の一実施例としての二度読み防止
機能付のレジスタが示される。図中、アラーム入力AL
Min、アラーム出力ALMout 1、アラーム出力
ALMout 2、読出しイネーブル信号*RENは前
述の従来例で説明したのと同様の論理の信号である。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 2 shows a register with a double-read prevention function as an embodiment of the present invention. In the figure, alarm input AL
Min, alarm output ALMout 1, alarm output ALMout 2, and read enable signal *REN are signals with the same logic as explained in the above-mentioned conventional example.

【0013】1はD形フリップフロップで構成されるア
ラーム保持レジスタであり、アラーム入力ALMinの
立上りで“H”の「アラーム有り」情報を保持するよう
動作する。このアラーム保持レジスタ1のデータ入力端
子Dは“H”レベルに固定されており、クロック入力端
子CKにアラーム入力ALMinが入力される。
Reference numeral 1 denotes an alarm holding register composed of a D-type flip-flop, which operates to hold "H""alarmpresent" information at the rising edge of the alarm input ALMin. The data input terminal D of this alarm holding register 1 is fixed at "H" level, and the alarm input ALMin is input to the clock input terminal CK.

【0014】2はD形フリップフロップで構成されるア
ラーム読出しレジスタであり、読出しイネーブル信号*
RENの立下り(すなわちアラーム読出しの開始)でア
ラーム保持レジスタ1が出力するアラーム出力ALMo
ut 1を読み込んで保持するよう動作する。このアラ
ーム読出しレジスタ2のデータ入力端子Dにはアラーム
保持レジスタ1からのアラーム出力ALMout 1が
入力され、クロック入力端子CKには読出しイネーブル
信号*RENが入力される。
2 is an alarm read register composed of a D-type flip-flop, and a read enable signal *
Alarm output ALMo output by alarm holding register 1 at the falling edge of REN (that is, the start of alarm reading)
It operates to read and hold ut1. The alarm output ALMout 1 from the alarm holding register 1 is input to the data input terminal D of the alarm read register 2, and the read enable signal *REN is input to the clock input terminal CK.

【0015】3は読出しイネーブル立上り検出部であり
、読出しイネーブル信号*RENの立上り(すなわちア
ラーム読出し指令の終了)を検出してクロックCLKの
1クロック長のパルスを生成しリセット信号*RES1
としてアラーム読出しレジスタ2のリセット入力端子R
に送出するよう動作する。この読出しイネーブル立上り
検出部3はD形フリップフロップ31、32、ナンド(
NAND)回路33で構成される。
Reference numeral 3 denotes a read enable rising edge detection section which detects the rising edge of the read enable signal *REN (that is, the end of the alarm read command), generates a pulse of one clock length of the clock CLK, and generates a reset signal *RES1.
as reset input terminal R of alarm read register 2
It operates to send to. This read enable rise detection section 3 includes D-type flip-flops 31, 32, NAND (
NAND) circuit 33.

【0016】4はアラーム出力立上り検出部であり、ア
ラーム読出しレジスタ2が出力するアラーム出力ALM
out 2の立上りを検出してクロックCLKの1クロ
ック長のパルスを生成しリセット信号*RES2として
アラーム保持レジスタ1のリセット入力端子Rに送出す
るよう動作する。このアラーム出力立上り検出部4はD
形フリップフロップ41、42、ナンド回路43で構成
される。
4 is an alarm output rise detection section, which detects the alarm output ALM output from the alarm reading register 2.
It operates to detect the rising edge of out 2, generate a pulse of one clock length of clock CLK, and send it to reset input terminal R of alarm holding register 1 as reset signal *RES2. This alarm output rise detection section 4 is D
It consists of flip-flops 41 and 42 and a NAND circuit 43.

【0017】この実施例回路の動作が図3を参照して以
下に説明される。図3は実施例回路の各部信号のタイム
チャートである。
The operation of this embodiment circuit will be explained below with reference to FIG. FIG. 3 is a time chart of signals of each part of the embodiment circuit.

【0018】まず、期間Aの間に発生しかつ消滅したア
ラーム入力ALMinについて動作を説明する。これは
図3中の一点鎖線の場合である。このアラーム入力AL
Minの立上りでアラーム保持レジスタ1に“H”が保
持され、アラーム出力ALMout1が“H”となる。 このアラーム出力ALMout 1は読出しイネーブル
信号*REN■の立下りでアラーム読出しレジスタ2に
読み込まれ、アラーム読出しレジスタ2からは“H”の
アラーム出力ALMout 2が出力される。このアラ
ーム出力ALMout 2の立上りがアラーム出力立上
り検出部4で検出されてリセット信号*RES2■が生
成され、このリセット信号*RES2■によりアラーム
保持レジスタ1はリセットされてその出力信号は“L”
となる。つまり読出しイネーブル信号*REN■を契機
にアラーム保持レジスタ1の内容がアラーム読出しレジ
スタ2に移された形になる。
First, the operation of the alarm input ALMin that occurred and disappeared during period A will be explained. This is the case indicated by the dashed dotted line in FIG. This alarm input AL
At the rising edge of Min, "H" is held in the alarm holding register 1, and the alarm output ALMout1 becomes "H". This alarm output ALMout 1 is read into the alarm read register 2 at the falling edge of the read enable signal *REN■, and the alarm read register 2 outputs an "H" alarm output ALMout 2. The rise of this alarm output ALMout 2 is detected by the alarm output rise detection section 4, and a reset signal *RES2■ is generated, and the alarm holding register 1 is reset by this reset signal *RES2■, and its output signal becomes "L".
becomes. In other words, the contents of the alarm holding register 1 are transferred to the alarm reading register 2 in response to the read enable signal *REN■.

【0019】アラーム読出しレジスタ2からは読出しイ
ネーブル信号*REN■の“L”期間中にアラーム出力
ALMout 2が読み出されてアラーム発生情報とな
る。 アラーム読出しレジスタ2は読出しイネーブル信号*R
EN■の立上り(すなわちアラーム読出しの終了)で読
出しイネーブル立上り検出部3が生成したリセット信号
*RES1■により“L”にリセットされる。
The alarm output ALMout 2 is read from the alarm read register 2 during the "L" period of the read enable signal *REN■ and becomes alarm occurrence information. Alarm read register 2 uses read enable signal *R
It is reset to "L" by the reset signal *RES1■ generated by the read enable rise detection section 3 at the rising edge of EN■ (that is, the end of alarm reading).

【0020】このように、期間Aの間に発生しかつ消滅
したアラーム入力ALMinは読出しイネーブル信号*
REN■によって読み取ることができる。同様に期間B
の間に発生しかつ消滅したアラーム入力ALMinは読
出しイネーブル信号*REN■によって読み取ることが
できる。
In this way, the alarm input ALMin that occurred and disappeared during the period A becomes the read enable signal *
It can be read by REN■. Similarly, period B
The alarm input ALMin that occurs and disappears during this period can be read by the read enable signal *REN■.

【0021】次にアラーム入力ALMinが読出しイネ
ーブル信号*REN■の発生前に発生し、読出しイネー
ブル信号*REN■の終了後まで継続した場合について
説明する。図中のタイミング■の場合であり、実線で示
された波形である。これは従来回路では二度読みを生じ
ていた状態である。この場合の動作も、前述の区間Aの
場合と同じになる。したがって、アラーム入力ALMi
nが読出しイネーブル信号*REN■の前後にわたって
継続していても、アラーム保持レジスタ1からのアラー
ム出力ALMout 1■は読出しイネーブル信号*R
EN■の立下りでリセットされ、またアラーム読出しレ
ジスタ2からのアラーム出力ALMout 2■は読出
しイネーブル信号*REN■の立上りでリセットされる
ことになるので、次のタイミング■で入力された読出し
イネーブル信号*REN■によって二度読みが生じるこ
とはない。
Next, a case will be described in which the alarm input ALMin occurs before the read enable signal *REN■ is generated and continues until after the read enable signal *REN■ ends. This is the case of timing ■ in the figure, and the waveform is indicated by a solid line. This is a situation in which double reading occurs in conventional circuits. The operation in this case is also the same as in the case of section A described above. Therefore, the alarm input ALMi
Even if n continues before and after the read enable signal *REN■, the alarm output ALMout 1■ from the alarm holding register 1 is the read enable signal *R
It is reset at the falling edge of EN■, and the alarm output ALMout 2■ from the alarm read register 2 is reset at the rising edge of the read enable signal *REN■, so the read enable signal input at the next timing ■ *REN■ does not cause double reading.

【0022】次にアラーム入力ALMinの立上りと読
出しイネーブル信号*RENの立上りが重なった場合に
ついて説明する。図中のタイミング■または■の場合で
ある。まずタイミング■の場合、アラーム保持レジスタ
1からのアラーム出力ALMout 1■は“H”とな
る。しかし、読出しイネーブル信号*REN■の立下り
タイミング時にはアラーム出力ALMout 1は“L
”であったため、アラーム読出しレジスタ2には“L”
が読み込まれてアラーム出力ALMout 2は“L”
のままである。 したがって読出しイネーブル信号*REN■によっては
アラーム有りを検出することはできない。しかし次のタ
イミングで読出しイネーブル信号*RENが入力される
ことで、前述同様の動作によりアラーム保持レジスタ1
のアラーム入力ALMin1の“H”がアラーム読出し
レジスタ2に移されてアラーム発生を検出することがで
きる。
Next, a case where the rising edge of the alarm input ALMin and the rising edge of the read enable signal *REN overlap will be explained. This is the case of timing ■ or ■ in the figure. First, in the case of timing ■, the alarm output ALMout 1■ from the alarm holding register 1 becomes "H". However, at the falling timing of the read enable signal *REN■, the alarm output ALMout 1 is “L”.
”, the alarm read register 2 is set to “L”.
is read and alarm output ALMout 2 is “L”
It remains as it is. Therefore, the presence of an alarm cannot be detected by the read enable signal *REN■. However, when the read enable signal *REN is input at the next timing, the alarm holding register 1
"H" of the alarm input ALMin1 is transferred to the alarm read register 2, and the occurrence of an alarm can be detected.

【0023】一方、図示のように次のタイミング■でも
アラーム入力ALMinの立上りと読出しイネーブル信
号*RENの立上りが重なった場合、アラーム出力AL
Mout1の“H”はアラーム読出しレジスタ2に移さ
れて、そのアラーム出力ALMout 2は“H”とな
り、このアラーム出力ALMout 2の立上りタイミ
ングでアラーム保持レジスタ1のアラーム出力ALMo
ut 1はリセットされる。またアラーム保持レジスタ
1のアラーム出力ALMout 1がリセットされるタ
イミングとアラーム入力ALMinの立上りが重なった
場合、リセットが優先されてアラーム出力ALMout
 1はリセットされる。読出し動作終了時、つまり読出
しイネーブル信号*REN■の立上りタイミングでアラ
ーム読出しレジスタ2のアラーム出力ALMout 2
がリセットされる。このように実施例回路では、アラー
ム保持用のレジスタ1と読出し用のレジスタ2を用い、
アラーム入力時にはアラーム保持レジスタ1がアラーム
を保持し、読出し時にはアラーム保持レジスタ1からア
ラーム読出しレジスタ2にアラーム情報を移して読出し
動作を行い、その後アラーム保持レジスタ1をリセット
するようにしている。
On the other hand, as shown in the figure, if the rising edge of the alarm input ALMin and the rising edge of the read enable signal *REN overlap at the next timing ■, the alarm output AL
“H” of Mout1 is transferred to the alarm reading register 2, and its alarm output ALMout 2 becomes “H”, and at the rising timing of this alarm output ALMout 2, the alarm output ALMout of the alarm holding register 1 is transferred to the alarm reading register 2.
ut1 is reset. Furthermore, if the timing at which the alarm output ALMout 1 of the alarm holding register 1 is reset coincides with the rising edge of the alarm input ALMin, the reset takes priority and the alarm output ALMout
1 is reset. At the end of the read operation, that is, at the rising edge of the read enable signal *REN■, the alarm output ALMout 2 of the alarm read register 2 is output.
is reset. In this way, the example circuit uses register 1 for holding alarms and register 2 for reading,
When an alarm is input, the alarm holding register 1 holds the alarm, and when reading the alarm information, the alarm information is transferred from the alarm holding register 1 to the alarm reading register 2 to perform a reading operation, and then the alarm holding register 1 is reset.

【0024】[0024]

【発明の効果】以上に説明したように、本発明によれば
、同じ事象(例えばアラーム)を二度読みすることを防
止でき、信頼性の向上に寄与するところが大きい。
As described above, according to the present invention, it is possible to prevent the same event (for example, an alarm) from being read twice, which greatly contributes to improving reliability.

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

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

【図2】本発明の一実施例としての二度読み防止機能付
レジスタを示すブロック図である。
FIG. 2 is a block diagram showing a register with a double-read prevention function as an embodiment of the present invention.

【図3】実施例の動作説明のための各部信号のタイムチ
ャートである。
FIG. 3 is a time chart of signals of various parts for explaining the operation of the embodiment.

【図4】従来例回路を示すブロック図である。FIG. 4 is a block diagram showing a conventional example circuit.

【図5】従来例回路の動作説明のための各部信号のタイ
ムチャートである。
FIG. 5 is a time chart of various signals for explaining the operation of a conventional circuit.

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

1  アラーム保持レジスタ 2  アラーム読出しレジスタ 3  読出しイネーブル立上り検出部 4  アラーム出力立上り検出部 31、32、41、42  D形フリップフロップ33
、43  アンド回路 ALMin  アラーム入力 ALMout 1  アラーム保持レジスタからのアラ
ーム出力 ALMout 2  アラーム読出しレジスタからのア
ラーム出力 *REN  読出しイネーブル信号 *RES1  アラーム読出しレジスタリセット用のリ
セット信号 *RES2  アラーム保持レジスタリセット用のリセ
ット信号 CLK  クロック
1 Alarm holding register 2 Alarm read register 3 Read enable rise detection section 4 Alarm output rise detection section 31, 32, 41, 42 D-type flip-flop 33
, 43 AND circuit ALMin Alarm input ALMout 1 Alarm output from the alarm holding register ALMout 2 Alarm output from the alarm reading register *REN Read enable signal *RES1 Reset signal for resetting the alarm reading register *RES2 Reset signal for resetting the alarm holding register CLK clock

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  事象発生の有無情報を保持する保持レ
ジスタ(10)であって事象発生時に事象有り情報が書
き込まれるものと、読出し指令信号に応じて事象有無情
報が読み出される読出しレジスタ(11)であって該読
出し指令信号を受信した時に該保持レジスタからそれに
保持された事象有無情報が書き込まれるものと、該保持
レジスタから該読出しレジスタに事象有り情報が書き込
まれたことを検出して該保持レジスタをリセットする保
持レジスタリセット回路(13)と、読出し指令信号に
よる該読出しレジスタからの事象有無情報の読出し終了
を検出して該読出しレジスタをリセットする読出しレジ
スタリセット回路(12)とを備えた二度読み防止機能
付レジスタ。
1. A holding register (10) that holds information on the occurrence of an event, into which the event presence information is written when an event occurs, and a read register (11) from which the event presence information is read in response to a read command signal. When the read command signal is received, the held event presence/absence information is written from the holding register to the read register, and when it is detected that the event presence information is written from the holding register to the read register, the holding is performed. A holding register reset circuit (13) for resetting a register, and a read register reset circuit (12) for detecting completion of reading of event presence/absence information from the read register by a read command signal and resetting the read register. Register with degree reading prevention function.
【請求項2】  D形フリップフロップからなる保持レ
ジスタ(10)であって、データ入力端子に一定論理レ
ベル信号が入力され、クロック入力端子に事情有無情報
が入力され、リセット入力端子に保持レジスタリセット
信号が入力されるよう構成されたものと、D形フリップ
フロップからなる読出しレジスタ(11)であって、デ
ータ入力端子に該保持レジスタから出力される事象有無
情報が入力され、クロック入力端子に読出し指令信号が
入力され、リセット入力端子に読出しレジスタリセット
信号が入力されるよう構成されたものと、該保持レジス
タから該読出しレジスタに事象有りの情報が書き込まれ
たことを検出して該保持レジスタリセット信号を発生す
る保持レジスタリセット回路(13)と、該読出し指令
信号の終了を検出して該読出しレジスタリセット信号を
発生する読出しレジスタリセット回路(12)とを備え
た二度読み防止機能付レジスタ。
2. A holding register (10) consisting of a D-type flip-flop, in which a constant logic level signal is input to a data input terminal, status information is input to a clock input terminal, and holding register reset is input to a reset input terminal. A read register (11) configured to receive a signal and a D-type flip-flop, the event presence information output from the holding register is input to the data input terminal, and read to the clock input terminal. The holding register is reset by detecting that a command signal is input, a read register reset signal is input to the reset input terminal, and information indicating an event has been written from the holding register to the read register. A register with a double read prevention function, comprising a holding register reset circuit (13) that generates a signal, and a read register reset circuit (12) that detects the end of the read command signal and generates the read register reset signal.
JP3050553A 1991-02-22 1991-02-22 Register with double read preventing function Withdrawn JPH04268647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3050553A JPH04268647A (en) 1991-02-22 1991-02-22 Register with double read preventing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3050553A JPH04268647A (en) 1991-02-22 1991-02-22 Register with double read preventing function

Publications (1)

Publication Number Publication Date
JPH04268647A true JPH04268647A (en) 1992-09-24

Family

ID=12862212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3050553A Withdrawn JPH04268647A (en) 1991-02-22 1991-02-22 Register with double read preventing function

Country Status (1)

Country Link
JP (1) JPH04268647A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019021492A1 (en) * 2017-07-28 2019-01-31 株式会社村田製作所 Dc voltage supply circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019021492A1 (en) * 2017-07-28 2019-01-31 株式会社村田製作所 Dc voltage supply circuit
CN110945732A (en) * 2017-07-28 2020-03-31 株式会社村田制作所 DC voltage supply circuit
JPWO2019021492A1 (en) * 2017-07-28 2020-06-18 株式会社村田製作所 DC voltage supply circuit
CN110945732B (en) * 2017-07-28 2022-01-04 株式会社村田制作所 DC voltage supply circuit
US11329477B2 (en) 2017-07-28 2022-05-10 Murata Manufacturing Co., Ltd. Direct-current voltage supply circuit

Similar Documents

Publication Publication Date Title
EP1758022A2 (en) Single event functional interrupt detection method
KR950015189B1 (en) Error detecting apparatus of wide-width fifo buffer
US6715111B2 (en) Method and apparatus for detecting strobe errors
JPH04268647A (en) Register with double read preventing function
CN113692562B (en) Synchronous reset signal generating circuit and digital processing device
JP2818504B2 (en) Time measurement circuit
JPS6318223B2 (en)
SU918975A1 (en) Device for checking memory units
JPS606143B2 (en) Input data state change detection circuit
SU1383361A1 (en) Device for checking logical block
JPH06207971A (en) Test signal generation circuit containing semiconductor device
JPH07212350A (en) Random input pulse holding/synchronizing reading circuit and random input data holding/synchronizing reading circuit
SU1672527A1 (en) Buffer memory
JPS5827247A (en) Logical device
JP2602404Y2 (en) Counter circuit
JP2864779B2 (en) Pulse input circuit
JP2979918B2 (en) Interrupt detection circuit
JPH0378586B2 (en)
JPS5827246A (en) Logical device
JPH01149643A (en) Packet buffer device
JPH0522360A (en) Fifo test diagnostic circuit
JP2002260397A (en) Malfunction detecting circuit, fifo memory having malfunction detecting function, and malfunction detecting method
JPS6386936A (en) Unique pattern detecting circuit
JPH01109853A (en) Mis-dial detection circuit
JPH06132798A (en) Pulse detector

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514