JPH03166615A - Initialization factor analyzing circuit - Google Patents
Initialization factor analyzing circuitInfo
- Publication number
- JPH03166615A JPH03166615A JP1304911A JP30491189A JPH03166615A JP H03166615 A JPH03166615 A JP H03166615A JP 1304911 A JP1304911 A JP 1304911A JP 30491189 A JP30491189 A JP 30491189A JP H03166615 A JPH03166615 A JP H03166615A
- Authority
- JP
- Japan
- Prior art keywords
- reset
- factor
- flop
- flip
- encoder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims abstract description 43
- 238000000556 factor analysis Methods 0.000 claims description 12
- 102000003712 Complement factor B Human genes 0.000 abstract description 4
- 108090000056 Complement factor B Proteins 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、上位ソフトウェアへのリセット情報を伝達す
るための初期化要因分析回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an initialization factor analysis circuit for transmitting reset information to higher-level software.
従来、上位ソフトウェアへリセット情報を伝達するもの
に、リセット情報伝達回路がある。また、このリセット
情報伝達回路には、リセット要因が複数ある場合のリセ
ット情報伝達を行うものがある。このようなリセット情
報伝達回路では、要因別のリセット信号の論理積をとる
などして、リセットの有無を上位ソフトウェアへ伝達す
るようになっている。Conventionally, there is a reset information transmission circuit that transmits reset information to higher-level software. Further, some of these reset information transmission circuits transmit reset information when there are a plurality of reset factors. In such a reset information transmission circuit, the presence or absence of a reset is transmitted to the higher-level software by, for example, performing a logical product of reset signals for each factor.
上述した従来のリセット情報伝達回路では、リセットの
要因を無視してリセットの有無のみを上位ソフトウェア
へ伝達している。したがって、上位ソフトウェア側では
、リセットを検出してもその要因を識別することができ
ない。また、本来は部分的なメモリクリアで済むような
リセットの場合にも、一度、全メモリクリアしてから必
要データを再ロードしなければならないという欠点があ
る。In the conventional reset information transmission circuit described above, only the presence or absence of a reset is transmitted to the higher-level software, ignoring the cause of the reset. Therefore, even if a reset is detected, the higher-level software cannot identify its cause. Furthermore, even in the case of a reset that would normally only require a partial memory clear, there is a drawback in that the entire memory must be cleared once and then the necessary data must be reloaded.
本発明の目的は、このような欠点を除去し、リセット信
号の要因を分析できる初期化要因分析回路を提供するこ
とにある。An object of the present invention is to eliminate such drawbacks and provide an initialization factor analysis circuit that can analyze the factors of a reset signal.
本発明は、装置にリセット要因が複数ある場合の上位ソ
フトウェアへのリセット検出情報を伝達する初期化要因
分析回路であって、
要因別にリセット信号を保持する保持手段と、前記各保
持手段の保持の状態により示されるリセット検出情報を
コード化して前記上位ソフトウェアへ伝達する変換手段
とを有し、
装置にリセットがかかった場合、そのリセット要因を前
記上位ソフトウェアで識別できることを特徴としている
。The present invention is an initialization factor analysis circuit that transmits reset detection information to higher-level software when a device has multiple reset factors, and the present invention comprises a holding means for holding a reset signal for each factor, and a holding means for holding a reset signal for each of the holding means. and a conversion means for encoding reset detection information indicated by the state and transmitting it to the higher-level software, and when the device is reset, the reset cause can be identified by the higher-level software.
前述した本発明の初期化要因分析回路において、保持手
段がフリップフロップであり、変換手段がエンコーダで
あるのが好適である。In the initialization factor analysis circuit of the present invention described above, it is preferable that the holding means is a flip-flop and the converting means is an encoder.
また、前述した、フリップフロップおよびエンコーダを
備える本発明の初期化要因分析回路において、リセット
検出情報のクリアを指示する信号を保持して各フリップ
フロツブをリセットするレジスタを有するのが好適であ
る。Further, in the above-mentioned initialization factor analysis circuit of the present invention, which includes a flip-flop and an encoder, it is preferable to include a register that holds a signal instructing clearing of reset detection information and resets each flip-flop.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は、本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図に示す初期化要因分析回路は、フリップフロップ
11〜l4と、レジスタ20と、エンコーダ30と、デ
ータバス40とを備えている。The initialization factor analysis circuit shown in FIG. 1 includes flip-flops 11 to 14, a register 20, an encoder 30, and a data bus 40.
このような初期化要因分析回路は、装置にリセット要因
が複数ある場合に、上位ソフトウェアへリセット情報を
伝達する。すなわち、この初期化要因分析回路は、要因
別のリセット信号として、パワー・オン・リセット信号
e,と、要因A−Cによるリセット信号b.xc,とを
入力する。Such an initialization factor analysis circuit transmits reset information to higher-level software when there are multiple reset factors in the device. That is, this initialization factor analysis circuit uses a power-on reset signal e, and reset signals b. Input xc,.
フリップフ口ップ11は、パワー・オン・リセット信号
格納用フリップフロツプである。フリ・冫ブフロップ1
1の端子Sには、パワー・オン・リセ・ント信号e1が
入力される。そして、フリ・冫プフロップl1は、パワ
ー・オン・リセット検出ビットe2をエンコーダ30に
出力する。Flip-flop 11 is a flip-flop for storing a power-on reset signal. Furi・Flop Flop 1
A power-on reset signal e1 is input to the terminal S of the power-on reset signal e1. The flip-flop l1 then outputs the power-on reset detection bit e2 to the encoder 30.
フリップフロップ12は、リセ・冫ト要因A格納フリッ
プフロップである。フリツプフロツプ12の端子Sには
、要因Aによるリセット信号a.が入力される。そして
、フリップフロツプ12は、要因Aリセット検出ビット
a,をエンコーダ30に出力する。The flip-flop 12 is a flip-flop that stores lyse/destruct factor A. The terminal S of the flip-flop 12 receives a reset signal a. is input. The flip-flop 12 then outputs the cause A reset detection bit a, to the encoder 30.
フリップフロップl3は、リセット要因B格納フリップ
フロップである。フリツブフロツブ13の端子Sには、
要因Bによるリセット信号b+が入力される。そして、
フリップフロツプ13は、要因Bリセット検出ビットb
2をエンコーダ30に出力する。Flip-flop l3 is a reset factor B storage flip-flop. The terminal S of the fritub 13 has
A reset signal b+ due to factor B is input. and,
Flip-flop 13 has cause B reset detection bit b
2 is output to the encoder 30.
フリップフロップ14は、リセット要因C格納フリツフ
゜フロ・ンフ゜である。フリ・ンフ゜フロ・冫フ゜14
の端子Sには、要因Cによるリセット信号C,が人力さ
れる。そして、フリップフロップl4は、要因Cリセッ
ト検出ビットC2をエンコーダ30に出力する。The flip-flop 14 is a reset factor C storage flip-flop. Furi Nfu Furo Fuku 14
A reset signal C due to a factor C is manually input to the terminal S of the . Then, the flip-flop l4 outputs the cause C reset detection bit C2 to the encoder 30.
レジスタ20は、リセットクリア指示用レジスタである
。レジスタ20には、リセットクリア指示信号d,が入
力される。そして、レジスタ20は、リセット要因検出
ビットクリア信号d2を、フリツプフロップ11〜14
の端子Rにそれぞれ出力する。Register 20 is a reset clear instruction register. A reset clear instruction signal d is input to the register 20. Then, the register 20 sends the reset factor detection bit clear signal d2 to the flip-flops 11 to 14.
output to terminal R of each.
エンコーダ30は、要因別のリセット検出情報をコード
化し、データバス40にコード化したリセット検出情報
を出力する。すなわち、エンコーダ30は、パワー・オ
ン・リセット検出ビットe2+要因Aリセット検出ビッ
トal+ 要因Bリセット検出ビットb2,要因Cリセ
ット検出ビットC2に基づいて、リセット検出情報を生
威する。The encoder 30 encodes the reset detection information for each factor and outputs the encoded reset detection information to the data bus 40 . That is, the encoder 30 generates reset detection information based on the power-on reset detection bit e2+factor A reset detection bit al+factor B reset detection bit b2, and factor C reset detection bit C2.
次に、この初期化要因分析回路の動作について説明する
。Next, the operation of this initialization factor analysis circuit will be explained.
パワー・オン・リセットがかかった場合、パワー・オン
・リセット信号e+の変化をパワー・オン・リセット信
号格納フリップフロップ11が保持し、パワー・オン・
リセット検出ビットe2が立つ。また、他の要因A−C
によるリセットがかかった場合も同様に、要因A−Cに
よるリセット信号a,〜c,の変化をリセット要因A−
C格納フリップフロップ12〜l4が保持し、要因A−
Cリセット検出ビットat〜C2が立つ。When a power-on reset is applied, the power-on reset signal storage flip-flop 11 holds the change in the power-on reset signal e+, and the power-on reset signal e+ is held by the power-on reset signal storage flip-flop 11.
Reset detection bit e2 is set. Also, other factors A-C
Similarly, when a reset is applied, changes in reset signals a, ~c, due to factors A-C are changed to reset factors A-C.
The C storage flip-flops 12 to 14 hold, and the factor A-
C reset detection bit at~C2 is set.
パワー・オン・リセット検出ビットex,要因Aリセッ
ト検出ビットa2,要因Bリセット検出ビットb2,
要因Cリセット検出ビットc2は、エンコーダ30に
人力される。エンコーダ30は、このパワー・オン・リ
セット検出ビシトe2と要因A−Cリセット検出ビット
as〜c2の状態を必要最小限のビット数にコード化し
てデータバス40に出力する。これにより、エンコーダ
30でコード化されたリセット検出情報を、その要因を
識別できる形でソフトウェアに伝達することができる。Power-on reset detection bit ex, cause A reset detection bit a2, cause B reset detection bit b2,
The factor C reset detection bit c2 is manually input to the encoder 30. The encoder 30 encodes the states of the power-on reset detection bit e2 and the cause A-C reset detection bits as to c2 into the minimum necessary number of bits, and outputs the code to the data bus 40. Thereby, the reset detection information encoded by the encoder 30 can be transmitted to the software in a form that allows the cause of the reset detection information to be identified.
ソフトウェア側でのリセットに対する処理終了など、上
位ソフトウェアへのリセット検出情報をクリアしたい場
合、リセットクリア指示用レジスタ20が用いられる。The reset clear instruction register 20 is used when it is desired to clear reset detection information to higher-level software, such as when processing for a reset ends on the software side.
すなわち、リセットクリア指示用レジスタ20にリセッ
トクリア指示信号d,が入力されると、リセット要因検
出ビットクリア信号d2が作成される。このリセット要
因検出ビットクリア信号d2がパワー・オン・リセット
信号格納フリップフロップ1lおよびリセット要因A〜
C格納フリップフロップ12〜14のリセット端子Rに
接続される。That is, when the reset clear instruction signal d is input to the reset clear instruction register 20, the reset factor detection bit clear signal d2 is generated. This reset factor detection bit clear signal d2 is applied to the power-on reset signal storage flip-flop 1l and the reset factor A~
It is connected to the reset terminal R of the C storage flip-flops 12-14.
これにより、リセットクリア指示信号d1がリセットク
リアを指示すると、パワー・オン・リセット検出ビット
e2及び要因A−Cリセット検出ビッ}aX〜c2はす
べてクリアされ、データパス40上のリセット検出情報
もクリアされる。As a result, when the reset clear instruction signal d1 instructs reset clear, the power-on reset detection bit e2 and cause A-C reset detection bits {aX~c2} are all cleared, and the reset detection information on the data path 40 is also cleared. be done.
このように、本実施例であるリセット要因格納回路は、
要因別にリセット信号を保持するフリップフロップと、
要因別のリセット検出情報をコード化してデータパスに
出力するエンコーダと、リセット情報を指示する信号を
保持するレジスタとを具備している。そして、装置にリ
セットがかかった場合、そのリセット要因を上位ソフト
ウェアで識別できる。In this way, the reset factor storage circuit of this embodiment is
A flip-flop that holds reset signals for each factor,
It includes an encoder that encodes reset detection information for each factor and outputs it to the data path, and a register that holds a signal that indicates reset information. When the device is reset, the cause of the reset can be identified by the host software.
以上説明したように本発明は、装置にリセット要因が複
数ある場合の上位ソフトウェアへのり七ッ1一情報伝達
において、要因別にリセット信号を保持する゛フリップ
フロツプと、要因別のリセット検出情報をコード化して
データパスに出力するエンコーダと、リセット情報クリ
アを指示する信号を保持するレジスタとを具備し、装置
にリセットがかかった場合にそのリセット要因を上位ソ
フトウェアで識別できるようにすることにより、例えば
ソフト暴走時の監視タイマによるリセットのような部分
的リセットで済むような場合には、特定部分を除いてメ
モリクリアすることができるので、メモリに再ロードし
なくて済むという効果がある。As explained above, the present invention utilizes a flip-flop that holds a reset signal for each factor and encodes reset detection information for each factor in transmitting information to upper-level software when a device has multiple reset factors. It is equipped with an encoder that outputs to the data path and a register that holds a signal that instructs to clear the reset information, so that when the device is reset, the cause of the reset can be identified by the higher-level software. In cases where a partial reset such as a reset by a monitoring timer in the event of a runaway is sufficient, the memory can be cleared except for a specific portion, which has the effect of eliminating the need to reload the memory.
第l図は、本発明の一実施例を示すブロック図である。
1l・・・・・パワー・オン・リセット信号格納フリッ
プフロップ
12・・・・・リセット要因A格納フリップフエ3・
14・
20・
30・
40・
ロップ
・リセット要因B48納フリップフ
ロップ
・リセット要因C格納フリップフ
ロップ
・リセットクリア指示用レジスタ
・エンコーダ
・データパスFIG. 1 is a block diagram showing one embodiment of the present invention. 1l... Power-on reset signal storage flip-flop 12... Reset factor A storage flip-flop 3, 14, 20, 30, 40. Register/encoder/data path for pre/reset clear instruction
Claims (3)
ウェアへのリセット検出情報を伝達する初期化要因分析
回路であって、 要因別にリセット信号を保持する保持手段と、前記各保
持手段の保持の状態により示されるリセット検出情報を
コード化して前記上位ソフトウェアへ伝達する変換手段
とを有し、 装置にリセットがかかった場合、そのリセット要因を前
記上位ソフトウェアで識別できることを特徴とする初期
化要因分析回路。(1) An initialization factor analysis circuit that transmits reset detection information to higher-level software when there are multiple reset factors in the device, comprising a holding means for holding a reset signal for each factor, and a holding state of each of the holding means. and converting means for encoding reset detection information indicated by and transmitting it to the upper software, and when the device is reset, the reset cause can be identified by the upper software. .
エンコーダである請求項1記載の初期化要因分析回路。(2) The initialization factor analysis circuit according to claim 1, wherein the holding means is a flip-flop and the converting means is an encoder.
して各フリップフロップをリセットするレジスタを有す
る請求項2記載の初期化要因分析回路。(3) The initialization factor analysis circuit according to claim 2, further comprising a register that holds a signal instructing clearing of the reset detection information and resets each flip-flop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1304911A JPH03166615A (en) | 1989-11-27 | 1989-11-27 | Initialization factor analyzing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1304911A JPH03166615A (en) | 1989-11-27 | 1989-11-27 | Initialization factor analyzing circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03166615A true JPH03166615A (en) | 1991-07-18 |
Family
ID=17938788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1304911A Pending JPH03166615A (en) | 1989-11-27 | 1989-11-27 | Initialization factor analyzing circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03166615A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997017647A1 (en) * | 1995-11-08 | 1997-05-15 | Advanced Micro Devices, Inc. | A core section having asynchronous partial reset |
US5898232A (en) * | 1995-11-08 | 1999-04-27 | Advanced Micro Devices, Inc. | Input/output section of an integrated circuit having separate power down capability |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5720825A (en) * | 1980-07-11 | 1982-02-03 | Nec Corp | System interface controller |
JPS6316316A (en) * | 1986-07-08 | 1988-01-23 | Matsushita Graphic Commun Syst Inc | Resetting device |
JPS6466721A (en) * | 1987-09-08 | 1989-03-13 | Nec Corp | Resetting circuit |
-
1989
- 1989-11-27 JP JP1304911A patent/JPH03166615A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5720825A (en) * | 1980-07-11 | 1982-02-03 | Nec Corp | System interface controller |
JPS6316316A (en) * | 1986-07-08 | 1988-01-23 | Matsushita Graphic Commun Syst Inc | Resetting device |
JPS6466721A (en) * | 1987-09-08 | 1989-03-13 | Nec Corp | Resetting circuit |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997017647A1 (en) * | 1995-11-08 | 1997-05-15 | Advanced Micro Devices, Inc. | A core section having asynchronous partial reset |
US5860125A (en) * | 1995-11-08 | 1999-01-12 | Advanced Micro Devices, Inc. | Integrated circuit including a real time clock, configuration RAM, and memory controller in a core section which receives an asynchronous partial reset and an asynchronous master reset |
US5898232A (en) * | 1995-11-08 | 1999-04-27 | Advanced Micro Devices, Inc. | Input/output section of an integrated circuit having separate power down capability |
US6067627A (en) * | 1995-11-08 | 2000-05-23 | Advanced Micro Devices, Inc. | Core section having asynchronous partial reset |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0352028B1 (en) | Apparatus for transmitting data between a central processor and remote peripheral devices | |
US3714635A (en) | Standard adapter method and apparatus | |
US4669044A (en) | High speed data transmission system | |
JPH03166615A (en) | Initialization factor analyzing circuit | |
SU1550524A1 (en) | Device for interfacing processor and external unit | |
SU590696A1 (en) | Logical information processing device | |
SU1513462A1 (en) | Device for interfacing computer with peripheral apparatus | |
SU1734100A1 (en) | Vector-stream-oriented device | |
SU1179308A1 (en) | Interface for linking analog-to-digital converter with digital computer | |
SU1575168A1 (en) | Device for isolation of median of three numbers | |
SU1702433A1 (en) | Magnetic storage | |
SU840874A1 (en) | Device for interfacing digital computer with peripheral units | |
JP2982811B2 (en) | Access control device | |
SU1361567A1 (en) | Device for introducing information from two-position transducers | |
SU1206783A1 (en) | Device for odd-parity check of parallel binary code | |
SU679980A1 (en) | Microprogram control unit | |
SU1488876A1 (en) | Buffer storage devices | |
SU964694A1 (en) | Device for transmitting telemetric information | |
JPH0427754B2 (en) | ||
RU1807495C (en) | Process-to-process interface | |
SU1465889A1 (en) | Device for monitoring information transmitter | |
SU1148032A1 (en) | Information input device | |
SU1236548A1 (en) | Addressing device | |
SU1288706A1 (en) | Interface for linking computer with communication channels | |
KR890702352A (en) | Serial controller |