JPH0456592A - Information collection system - Google Patents
Information collection systemInfo
- Publication number
- JPH0456592A JPH0456592A JP16701690A JP16701690A JPH0456592A JP H0456592 A JPH0456592 A JP H0456592A JP 16701690 A JP16701690 A JP 16701690A JP 16701690 A JP16701690 A JP 16701690A JP H0456592 A JPH0456592 A JP H0456592A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- information
- output
- cpu
- output port
- 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
- 238000000034 method Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 4
Landscapes
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はCPUとバスで接続された1個または複数個の
機能ブロックの情報を収集するため情報収集方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information collection method for collecting information on one or more functional blocks connected to a CPU via a bus.
従来、この種の情報収集方式は、次々に発生する事象を
時系列にとらえるため、1回情報を収集した後次に情報
を収集する時迄に新たに発生した事象か否かを区別する
ために情報収集後にその情報をクリアする必要があるが
、一般には事象発生と同時にその事象を示す信号が保持
され、情報を収集するのと同時に信号をクリアする回路
が用いられる。Traditionally, this type of information collection method captures events that occur one after another in chronological order, and after collecting information once, it is necessary to distinguish whether the event has newly occurred by the time the next time the information is collected. Although it is necessary to clear the information after collecting it, generally a signal indicating the event is held as soon as the event occurs, and a circuit is used that clears the signal at the same time as collecting the information.
第2図は従来の技術による情報収集方式の一例を示すブ
ロック図である。FIG. 2 is a block diagram showing an example of a conventional information gathering method.
例えば事象aが発生して事象a信号71がアクティブに
なると、フリップフロップ70がリセツトされてフリッ
プフロップ70のQ出カフ2はLOWレベルで保持され
て入力ポート20に入力される。CPUが入力ポート2
0を読み出すと、入力ポートリード信号22によってフ
リップフロップ70はリセットされてフリップフロップ
70のQ出カフ2はHIGHレベルとなるなめ、情報は
1回の読み出しでクリアされることになる。For example, when an event a occurs and the event a signal 71 becomes active, the flip-flop 70 is reset and the Q output cuff 2 of the flip-flop 70 is held at a LOW level and is input to the input port 20. CPU is input port 2
When 0 is read, the flip-flop 70 is reset by the input port read signal 22, and the Q output cuff 2 of the flip-flop 70 goes to HIGH level, so that the information is cleared by one read.
情報の信頼性を求められるシステムにおいては、1回の
読み出しでは信頼性が劣るため2度3度読む必要がある
が、上述した従来の情報収集方式は、情報の収集と同時
に信号がクリアされるため、同一の情報を1回しか収集
することができないという欠点がある。In systems that require reliability of information, it is necessary to read it two or three times because reading it once is not reliable, but in the conventional information collection method described above, the signal is cleared at the same time as information is collected. Therefore, the disadvantage is that the same information can only be collected once.
本発明の情報収集方式は、或る事象が発生したことを示
す信号をクロックに従って保持する保持回路と、CPU
がアクセスすることによって保持するタイミングを決定
する前記クロックを1パルス発生する出力ポートと、前
記保持回路に保持された信号を収集するための入力ポー
トとを備え、前記保持回路では事象が発生しなときはフ
リップフロップにて信号を保持して、前記CPLIが前
記出力ポートをアクセスしてクロックパルスが来ると、
この保持した信号を前記フリップフロップからレジスタ
に送信し、前記CPtJか前記出力ポートをアクセスし
て次のクロックパルスが来るまで前記レジスタにて信号
を保持しておき、前記CPUは前記入力ポートを介して
前記レジスタから情報を収集することを特徴とする。The information collection method of the present invention includes a holding circuit that holds a signal indicating that a certain event has occurred according to a clock, and a CPU.
an output port that generates one pulse of the clock that determines the holding timing by accessing the holding circuit; and an input port that collects the signal held in the holding circuit, and the holding circuit is provided with an output port that generates one pulse of the clock that determines the timing of holding. When the signal is held in the flip-flop, when the CPLI accesses the output port and a clock pulse comes,
This held signal is sent from the flip-flop to a register, and the signal is held in the register until the next clock pulse comes by accessing the CPtJ or the output port, and the CPU transmits the signal via the input port. The information is collected from the register using the register.
次に、本発明について第1図を参照して説明する。 Next, the present invention will be explained with reference to FIG.
第1図は本発明の情報収集方式の一実施例を示すブロッ
ク図である。FIG. 1 is a block diagram showing an embodiment of the information collection method of the present invention.
例えば事象aが発生して事象a信号41がアクティブに
なると、フリップフロップ(以下FF)40がリセット
されるためFF40のQ出力42はLOWレベルで保持
される。CPUがアドレスバス12に出力ポードアドレ
スを出力して出力ポート10をアクセスすると、出力ポ
ードライド信号13のパルス分だけクロック11にパル
スが生じ、レジスタ(以下REG)30に情報が保持さ
れると同時に、FF40のQ出力42は事象a信号41
がアクティブであればLOWレベル、事象a信号41か
アクティブでなければHIGHレベルとなる。CPUは
入力ポートリード信号22により入力ポート20、デー
タバス21を介してREG30の内容を読み出すことに
よって何回でもこの情報を収集することができる。次に
CPUが出カポ」゛ト10をアクセスしてクロック11
にパルスが生じると、FF40,50.60及びREG
30は今までの状態の次の状態を保持するなめ新たな情
報が保持されることになる。For example, when event a occurs and the event a signal 41 becomes active, the flip-flop (hereinafter referred to as FF) 40 is reset, so the Q output 42 of the FF 40 is held at a LOW level. When the CPU outputs an output port address to the address bus 12 and accesses the output port 10, a pulse corresponding to the pulse of the output port ride signal 13 is generated in the clock 11, and at the same time, information is held in the register (hereinafter referred to as REG) 30. Q output 42 of FF 40 is event a signal 41
If the event a signal 41 is active, it becomes a LOW level, and if the event a signal 41 is not active, it becomes a HIGH level. The CPU can collect this information any number of times by reading the contents of REG 30 via input port 20 and data bus 21 using input port read signal 22. Next, the CPU accesses output point 10 and clock 11.
When a pulse occurs, FF40, 50.60 and REG
30 holds new information that holds the next state of the previous state.
なお他の事象a、nが発生したときも同様の動作となる
。Note that the same operation occurs when other events a and n occur.
以上説明したように本発明は、或る事象が発生したこと
を、1回情報を収集した後次に情報を収集する迄に新た
に発生した事象が否かを区別でき、しかもCPUは入力
ポートを介してレジスタから同一の情報を何回でも収集
でき、CPUと各機能ブロックを接続するバスが不安定
な場合でも何回か読み出したデータの多数決で情報を判
断することにより情報収集の信頼性を高めることができ
るという効果がある。As explained above, the present invention is capable of determining whether a certain event has occurred after collecting information once and before collecting information the next time. The same information can be collected from the register any number of times via It has the effect of increasing the
第1図は本発明の情報収集方式の一実施例を示すブロッ
ク図、第2図は従来の技術による情報収集方式の一実施
例を示すブロック図である。
10・・・出力ポート、11・・・クロック、12・・
・アドレスバス、13・・・出力ポードライド信号、2
゜・・・入力ポート、21・・・データバス、22・・
・入力ポートリード信号、30・・・レジスタ(REG
)40.50,60,70,80.90・・・フリップ
フロップ(FF)−41,71・・・事象a信号、51
.81・・・事象す信号、61.91・・・事象n信号
。FIG. 1 is a block diagram showing an embodiment of an information collection method according to the present invention, and FIG. 2 is a block diagram showing an embodiment of an information collection method according to the prior art. 10...Output port, 11...Clock, 12...
・Address bus, 13... Output port ride signal, 2
゜...Input port, 21...Data bus, 22...
・Input port read signal, 30...Register (REG)
)40.50,60,70,80.90...Flip-flop (FF)-41,71...Event a signal, 51
.. 81...Event signal, 61.91...Event n signal.
Claims (1)
保持する保持回路と、CPUがアクセスすることによっ
て保持するタイミングを決定する前記クロックを1パル
ス発生する出力ポートと、前記保持回路に保持された信
号を収集するための入力ポートとを備え、前記保持回路
では事象が発生したときはフリップフロップにて信号を
保持して、前記CPUが前記出力ポートをアクセスして
クロックパルスが来ると、この保持した信号を前記フリ
ップフロップからレジスタに送信し、前記CPUが前記
出力ポートをアクセスして次のクロックパルスが来るま
で前記レジスタにて信号を保持しておき、前記CPUは
前記入力ポートを介して前記レジスタから情報を収集す
ることを特徴とする情報収集方式。A holding circuit that holds a signal indicating that a certain event has occurred according to a clock, an output port that generates one pulse of the clock that determines the timing of holding when accessed by the CPU, and a signal held in the holding circuit. The holding circuit holds the signal in a flip-flop when an event occurs, and when the CPU accesses the output port and a clock pulse comes, this held signal is A signal is sent from the flip-flop to a register, the CPU accesses the output port and holds the signal in the register until the next clock pulse comes, and the CPU transmits the signal to the register via the input port. An information collection method characterized by collecting information from.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16701690A JPH0456592A (en) | 1990-06-26 | 1990-06-26 | Information collection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16701690A JPH0456592A (en) | 1990-06-26 | 1990-06-26 | Information collection system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0456592A true JPH0456592A (en) | 1992-02-24 |
Family
ID=15841826
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16701690A Pending JPH0456592A (en) | 1990-06-26 | 1990-06-26 | Information collection system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0456592A (en) |
-
1990
- 1990-06-26 JP JP16701690A patent/JPH0456592A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6049354B2 (en) | Event occurrence recording method | |
| JPH0456592A (en) | Information collection system | |
| CN117521570A (en) | Bus timeout detection circuit, method, chip and electronic device | |
| JPH0750452B2 (en) | Bus trace mechanism | |
| JPH0448257B2 (en) | ||
| SU1376091A1 (en) | Device for interfacing users with computer | |
| JPS63118964A (en) | Information processor | |
| SU1674140A2 (en) | Input-output interface controller | |
| JPS6165354A (en) | Faulty processor detection method | |
| JP2979553B2 (en) | Fault diagnosis method | |
| JPS6011970A (en) | data processing equipment | |
| SU1697083A2 (en) | Data exchange device | |
| SU1446624A1 (en) | Arrangement for debugging multiprocessor system | |
| JPS5454537A (en) | Data processing system | |
| SU1383374A1 (en) | Device for checking i/0 interface | |
| JPH02236736A (en) | Digital input circuit | |
| JPH0542020B2 (en) | ||
| JPH01303528A (en) | Fault processor | |
| JPH0272456A (en) | Hardware trace buffer | |
| JPH03102555A (en) | Tracing system for host connecting mechanism | |
| JPS59220851A (en) | History information collecting device | |
| JPH01305454A (en) | Bus slave management device and method | |
| JPH01290347A (en) | Input/output control system for asynchronous data | |
| JPH0512141A (en) | Input/output controller | |
| JPH03257547A (en) | Error holding/reading circuit and method |