[go: up one dir, main page]

JPH0423049A - Bus cycle re-executing method - Google Patents

Bus cycle re-executing method

Info

Publication number
JPH0423049A
JPH0423049A JP2126668A JP12666890A JPH0423049A JP H0423049 A JPH0423049 A JP H0423049A JP 2126668 A JP2126668 A JP 2126668A JP 12666890 A JP12666890 A JP 12666890A JP H0423049 A JPH0423049 A JP H0423049A
Authority
JP
Japan
Prior art keywords
bus
bus cycle
cycle
execution
mpu
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
Application number
JP2126668A
Other languages
Japanese (ja)
Inventor
Toshio Kamimura
俊夫 上村
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2126668A priority Critical patent/JPH0423049A/en
Publication of JPH0423049A publication Critical patent/JPH0423049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To suppress the bus errors caused by a high speed operation at re- execution of a bus cycle and to carry out a correct bus cycle by reducing the bus cycle executing conditions including the operating frequency, the wait frequency, etc., in re-execution of the bus cycle. CONSTITUTION:In a normal cycle state, a microprocessor MPU 1 executes the bus cycles among the clocks S0 - S7. A bus error detecting part 2 detects an error of a system bus 6 and outputs an error signal 7. The MPU 1 receives the signal 7 and completes the bus cycle under execution to execute again the bus cycle after holding it once. Then the MPU 1 basically executes again the bus cycles up to the clocks S0 - S7. In this case, however, the MPU 1 puts a wait state SW between the clocks S4 and S5. As a result, the bus cycle time is increased and therefore the bus cycle executing conditions are reduced. Then the bus errors caused by a high speed operation can be suppressed at the time of re-execution of the bus cycle.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、バスエラーを検出およびこれに対処するコン
ピュータシステムにおけるバスサイクル再実行方法に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus cycle re-execution method in a computer system for detecting and dealing with bus errors.

〔従来の技術〕[Conventional technology]

近年、各種の分野で、コンピュータシステムの適用が盛
んである。このコンピュータシステムは。
In recent years, computer systems have been widely applied in various fields. This computer system.

処理に必要なデータなどをRAMに格納する。従って、
不当処理などの防゛止のためRAMには高い信頼性が必
要である。また、データなどが行き交うバスに対しては
、正確なバスサイクルの実行が必須となっており、バス
エラーを検出およびこれに対処することが必要である。
Data necessary for processing is stored in RAM. Therefore,
RAM needs to have high reliability to prevent improper processing. Furthermore, for buses where data and the like are exchanged, accurate execution of bus cycles is essential, and it is necessary to detect and deal with bus errors.

そこで、従来のコンピュータシステムに用いられている
MPUは、日立製作所の6800.68000シリ一ズ
マイクロプロセツサ/周辺LSIデータブック(198
9)第307頁の図24に記載の再実行バスサイクルタ
イミングのように、バスエラーを検出すると、バスエラ
ー検出時と同じバスサイクル実行条件でバスサイクルを
再実行するようになっている。
Therefore, the MPU used in conventional computer systems is Hitachi's 6800.68000 series microprocessor/peripheral LSI data book (198
9) As shown in the re-execution bus cycle timing shown in FIG. 24 on page 307, when a bus error is detected, the bus cycle is re-executed under the same bus cycle execution conditions as when the bus error was detected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、近年、コンピュータシステムの高性能化に伴い
、バスサイクルは高速化され、この高速化に起因したバ
スエラーが、再実行時にも発生するという問題があった
However, in recent years, as the performance of computer systems has improved, bus cycles have become faster, and there has been a problem in that bus errors caused by this faster speed also occur during re-execution.

本発明の目的は、高速化に起因したバスエラーを、再実
行時には抑制し、正しいバスサイクルを実行できるコン
ピュータシステムを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a computer system that can suppress bus errors caused by speeding up during re-execution and execute correct bus cycles.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するための手段として、バスサイクル再
実行時には、動作周波数やウェイト数などのバスサイク
ル実行条件を緩和する。
As a means for achieving the above object, bus cycle execution conditions such as the operating frequency and the number of waits are relaxed when the bus cycle is re-executed.

〔作用〕[Effect]

上記のようにバスサイクル再実行時のバスサイクル実行
条件を緩和することにより、MPUとRAMなどの外部
デバイスとの間における、データバスやバス制御信号な
どのセットアツプタイムやホールドタイムなどのマージ
ンが大きくできる。
By relaxing the bus cycle execution conditions when re-executing the bus cycle as described above, margins such as set-up time and hold time of the data bus and bus control signals between the MPU and external devices such as RAM can be reduced. You can make it bigger.

従って、高速化に起因したバスエラーは、再実行時に抑
制でき、正しいバスサイクルを実行することができる。
Therefore, bus errors caused by speeding up can be suppressed during re-execution, and correct bus cycles can be executed.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図、第2図と第3図によ
り説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1, 2, and 3.

第1図は、本発明の一実施例のバスサイクル再実行方法
のフローチャートを示す。
FIG. 1 shows a flowchart of a bus cycle re-execution method according to an embodiment of the present invention.

ステップ1に通常のバスサイクルを実行する。In step 1, a normal bus cycle is executed.

ステップ12ニステツプ11のバスサイクル実行に対す
るバスエラー発生の有無を判定する。また、エラー未発
生時には処理を終了し、エラー発生時にはステップ13
の処理へ分岐する。
Step 12 It is determined whether or not a bus error has occurred in the execution of the bus cycle in step 11. Also, if no error occurs, the process is terminated, and if an error occurs, step 13 is executed.
Branch to processing.

ステップ13:動作周波数を下げ、あるいは、ウェイト
数を増やすなどにより、バスサイクル実行条件を緩和し
、バスサイクルを再実行する。
Step 13: Relax the bus cycle execution conditions by lowering the operating frequency or increasing the number of waits, and re-execute the bus cycle.

ステップ14ニステツプ13のバスサイクル実行に対す
るバスエラー発生の有無を判定する。また、エラー未発
生時には処理を終了し、エラー発生時にはバスエラー例
外処理へ分岐する。ここで、バスエラー例外処理とは、
バスエラー時に行うコンピュータシステムの対応処理の
ことであり、般的には、バスエラーをユーザに知らせる
とともにシステム全体を停止させる。
Step 14: It is determined whether or not a bus error has occurred with respect to the bus cycle execution of step 13. Further, if no error occurs, the process ends, and if an error occurs, the process branches to bus error exception processing. Here, what is bus error exception handling?
This refers to the processing that a computer system performs in response to a bus error, and generally notifies the user of the bus error and halts the entire system.

次に、バスサイクル実行を第2図と第3図により説明す
る。
Next, bus cycle execution will be explained with reference to FIGS. 2 and 3.

第2図は、本発明の一実施例のコンピュータシステムの
ブロックダイアグラムを示す。
FIG. 2 shows a block diagram of a computer system according to an embodiment of the present invention.

ブロック1はシステム全体のシーケンス制御を行うMP
U、ブロック2はシステムバスのエラー検出を行うバス
エラー検出部、ブロック3はプログラムやデータを格納
するメモリ、ブロック4はM Fl t、Jの周辺装置
であるI10デバイス1、ブロック5はMPUの他の周
辺装置であるI10デバイス2、ブロック6は各ブロッ
ク間を結ぶシステムバス、ブロック7はバスエラー検出
部2の出力信号であるエラー信号である。
Block 1 is an MP that performs sequence control of the entire system.
U, block 2 is a bus error detection unit that detects system bus errors, block 3 is a memory that stores programs and data, block 4 is an I10 device 1 that is a peripheral device of M Fl t, J, and block 5 is an MPU. The I10 device 2 which is another peripheral device, the block 6 is a system bus connecting each block, and the block 7 is an error signal which is an output signal of the bus error detection section 2.

第3図は5本発明の一実施例のバスサイクル再実行時の
バスサイクルタイミングを示す。
FIG. 3 shows the bus cycle timing when the bus cycle is re-executed in one embodiment of the present invention.

図の左側に示した通常サイクル時では、MPU1は、S
Oから87まででバスサイクルを実行する。
During the normal cycle shown on the left side of the figure, MPU1
A bus cycle is executed from 0 to 87.

しかし1図に示したように、バスエラー検出部2がシス
テムバス6のエラーを検出し、エラーエラー信号7を出
力すると、これを受けたMPUIは実行中のバスサイク
ルを終了させ、−旦、ホールト状態とした後、再実行サ
イクルを行う。
However, as shown in Figure 1, when the bus error detection unit 2 detects an error on the system bus 6 and outputs the error error signal 7, the MPUI that receives this ends the bus cycle being executed, and After entering the halt state, a re-execution cycle is performed.

図の右側に示した再実行サイクルでも、基本的にMPU
1は、先に行ったSOから87までのバスサイクルを再
実行する。ただし、再実行時には、バスエラーを抑制す
る目的で、MPU]はS4とS5との間にウェイト状態
(SW)を挿入し、バスサイクルを時間的に引き延ばす
ことにより、バスサイクル実行条件を緩和している。
Even in the re-execution cycle shown on the right side of the figure, basically the MPU
1 re-executes the previous bus cycle from SO to 87. However, during re-execution, in order to suppress bus errors, the MPU inserts a wait state (SW) between S4 and S5 to lengthen the bus cycle in order to relax the bus cycle execution conditions. ing.

なお、本実施例では、再実行時にウェイト状態を挿入す
ることにより、バスサイクル実行条件を緩和したが、動
作周波数を下げるなどにより、バスサイクル実行条件を
緩和してもよい。
In this embodiment, the bus cycle execution conditions are relaxed by inserting a wait state at the time of re-execution, but the bus cycle execution conditions may be relaxed by lowering the operating frequency or the like.

また、本実施例では、MPUによりバスサイクル実行条
件の緩和を行ったが、他の手段により行っても良い。さ
らL:、本実施例では、バスエラー検出部がMPUと分
離しているが、バスエラー検出部がMPU内にあっても
よい。
Further, in this embodiment, bus cycle execution conditions are relaxed by the MPU, but this may be done by other means. Furthermore, in this embodiment, the bus error detection section is separated from the MPU, but the bus error detection section may be located within the MPU.

本実施例によれば、MPUとRAMなどの外部デバイス
との間における、データバスやバス制御信号などのセッ
トアツプタイムやホールドタイムなどのマージンが大き
くできる。従って、高速化に起因したバスエラーは、再
実行時に抑制でき、正しいバスサイクルを実行できる。
According to this embodiment, margins such as set-up time and hold time for data buses and bus control signals between the MPU and external devices such as RAM can be increased. Therefore, bus errors caused by speeding up can be suppressed during re-execution, and correct bus cycles can be executed.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、高速化に起因したバスエラーを、再実
行時には抑制し、正しいバスサイクルを実行することが
できる。
According to the present invention, bus errors caused by speeding up can be suppressed during re-execution, and correct bus cycles can be executed.

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

第1図は本発明の一実施例のバスサイクル再実行方法の
フローチャート、第2図は本発明の一実施例のコンピュ
ータシステムのブロック図、第3図は本発明の一実施例
のバスサイクル再実行時のバスサイクルタイミング説明
図を示す。 1・・・MPU、2・・・バスエラー検出部、3・・・
メモリ、4・・・工/○デバイス、5・・・I10デバ
イス、6・・・システムバス、7・・・エラー信号。 菓1図
FIG. 1 is a flowchart of a bus cycle re-execution method according to an embodiment of the present invention, FIG. 2 is a block diagram of a computer system according to an embodiment of the present invention, and FIG. 3 is a bus cycle re-execution method according to an embodiment of the present invention. An explanatory diagram of bus cycle timing during execution is shown. 1...MPU, 2...Bus error detection unit, 3...
Memory, 4... Engineering/○ device, 5... I10 device, 6... System bus, 7... Error signal. 1 illustration

Claims (1)

【特許請求の範囲】 1、バスエラーの検出時にバスサイクルを再実行するコ
ンピュータシステムにおいて、 再実行時の前記バスサイクルの実行条件を緩和すること
を特徴とするバスサイクル再実行方法。
[Scope of Claims] 1. A bus cycle re-execution method in a computer system that re-executes a bus cycle upon detection of a bus error, characterized in that conditions for executing the bus cycle at the time of re-execution are relaxed.
JP2126668A 1990-05-18 1990-05-18 Bus cycle re-executing method Pending JPH0423049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2126668A JPH0423049A (en) 1990-05-18 1990-05-18 Bus cycle re-executing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2126668A JPH0423049A (en) 1990-05-18 1990-05-18 Bus cycle re-executing method

Publications (1)

Publication Number Publication Date
JPH0423049A true JPH0423049A (en) 1992-01-27

Family

ID=14940914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2126668A Pending JPH0423049A (en) 1990-05-18 1990-05-18 Bus cycle re-executing method

Country Status (1)

Country Link
JP (1) JPH0423049A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6763481B2 (en) 2000-04-12 2004-07-13 Matsushita Electric Industrial Co., Ltd. Data processor
JP2009157808A (en) * 2007-12-27 2009-07-16 Nec Electronics Corp Data processing device and bus access control method therein

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6763481B2 (en) 2000-04-12 2004-07-13 Matsushita Electric Industrial Co., Ltd. Data processor
JP2009157808A (en) * 2007-12-27 2009-07-16 Nec Electronics Corp Data processing device and bus access control method therein

Similar Documents

Publication Publication Date Title
EP0380858A3 (en) Method and apparatus for detecting and correcting errors in a pipelined computer system
JPH044616B2 (en)
JPS6218057B2 (en)
JPH0423049A (en) Bus cycle re-executing method
KR20160103205A (en) Processor system with nested vectored interrupt controller
JPH0147818B2 (en)
JPS5868162A (en) Retry processing system
JPH01243167A (en) data processing equipment
JPH0125095B2 (en)
JPS63155330A (en) Microprogram controller
JPS58166454A (en) data processing equipment
JPS6148247A (en) Fault detection system of data transfer system
JPS63142449A (en) Patrol check method for control memory
JPH04156648A (en) Ready signal monitoring device
JPH0436420B2 (en)
JPS621042A (en) Electronic computer
JPH011041A (en) Early failure detection method
JPH04247531A (en) Fault detecting system
JPS63234328A (en) Processing method for interruption of computer
JPH0477854A (en) Microcomputer circuit
JPH01306930A (en) Microprocessor
JPS62135946A (en) Bus checking system
JPS63216173A (en) Command transfer control device
JPH03257640A (en) Run-away countermeasure device for microprocessor
JPH04167042A (en) Asynchronous input/output system