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
JP3236459B2 - Error handling device in common bus data transfer - Google Patents
[go: Go Back, main page]

JP3236459B2 - Error handling device in common bus data transfer - Google Patents

Error handling device in common bus data transfer

Info

Publication number
JP3236459B2
JP3236459B2 JP32660794A JP32660794A JP3236459B2 JP 3236459 B2 JP3236459 B2 JP 3236459B2 JP 32660794 A JP32660794 A JP 32660794A JP 32660794 A JP32660794 A JP 32660794A JP 3236459 B2 JP3236459 B2 JP 3236459B2
Authority
JP
Japan
Prior art keywords
bus
common bus
abnormality
processor
transfer
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
JP32660794A
Other languages
Japanese (ja)
Other versions
JPH08185372A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP32660794A priority Critical patent/JP3236459B2/en
Publication of JPH08185372A publication Critical patent/JPH08185372A/en
Application granted granted Critical
Publication of JP3236459B2 publication Critical patent/JP3236459B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、共通バスを使用してデ
ータ転送を行う情報処理装置に関し、更に詳しくは、共
通バスを継続専有してデータ転送を行う時に発生する異
常を処理する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for performing data transfer using a common bus, and more particularly, to an apparatus for processing an abnormality that occurs when data transfer is performed while continuously using the common bus. .

【0002】[0002]

【従来の技術】近年、情報処理装置においてデータベー
ス化等が進み、複数のユーザが共通のデータをアクセス
する構成を有する情報処理装置の必要性が高まってお
り、その1つに複数のユーザが共通バスを介して共通資
源をアクセスする方法がある。
2. Description of the Related Art In recent years, a database has been developed in an information processing apparatus, and there is an increasing need for an information processing apparatus having a configuration in which a plurality of users access common data. There is a method of accessing a common resource via a bus.

【0003】図14に従来の共通バスを使用したシステ
ムの全体構成を示す。図14において、共通資源602
をアクセスする場合に、共通バス603に接続された複
数の共通バスアクセスボード601−1〜601−Nの
各々が共通バスのアクセス要求を出し、共通バスの使用
者がかたよらないように調停を行い、共通バスの使用権
を得た共通バスアクセスボード601が共通バス603
を介して共通資源602にアクセスを行う。
FIG. 14 shows an overall configuration of a conventional system using a common bus. In FIG. 14, common resources 602
, Each of the plurality of common bus access boards 601-1 to 601-N connected to the common bus 603 issues a common bus access request, and performs arbitration so that the user of the common bus does not play. The common bus access board 601 that has obtained the right to use the common bus is
To access the common resource 602 via.

【0004】図15は、従来の共通バスアクセスボード
の構成を示す図である。共通バスアクセスボード601
は、プロセッサ604、バス制御部605、及びメモリ
606で構成される。また、バス制御部605は、プロ
セッサ604からの共通バスのアクセス要求信号により
他の共通バスアクセスボード601からのアクセスの調
停を行うバスアクセス調停部607、共通バス603に
対するデータ転送の制御を行う転送制御部608、及び
共通バス603上での異常を検出する異常検出部609
から構成される。
FIG. 15 is a diagram showing a configuration of a conventional common bus access board. Common bus access board 601
Is composed of a processor 604, a bus control unit 605, and a memory 606. The bus control unit 605 also arbitrates access from another common bus access board 601 in response to a common bus access request signal from the processor 604, and transfers data for controlling the data transfer to the common bus 603. A control unit 608 and an abnormality detection unit 609 for detecting an abnormality on the common bus 603
Consists of

【0005】図16は、転送制御部608、及び異常検
出部609の構成の一部を示している。転送制御部60
8は、プロセッサ604からのアクセス要求信号とバス
アクセス調停部607からの調停:勝ち信号との論理積
AND704が“1”となる時にバス転送を開始する。
また、異常検出部609は、バスアクセス調停部607
からのバス専有中信号と、転送制御部608からのバス
転送中信号との論理和OR701の出力と、異常検出部
609内で生成されるバス異常信号との論理積AND7
02の出力をフリップフロップFF703のセットに入
力し、FF703の出力をプロセッサに異常発生信号と
して出力する。プロセッサ604は、異常検出部609
からの異常発生信号によってバス異常を認識し、異常処
理を行った後で、プロセッサ異常解除信号に“1”を出
力することにより異常発生信号をクリアする。
FIG. 16 shows a part of the configuration of the transfer control unit 608 and the abnormality detection unit 609. Transfer control unit 60
8 starts the bus transfer when the logical product AND 704 of the access request signal from the processor 604 and the arbitration: win signal from the bus access arbitration unit 607 becomes “1”.
Further, the abnormality detection unit 609 includes a bus access arbitration unit 607.
AND7 of the output of the logical sum OR 701 of the bus occupying signal from the controller and the bus transferring signal from the transfer control unit 608 and the bus abnormality signal generated in the abnormality detecting unit 609
02 is input to a set of flip-flops FF703, and the output of FF703 is output to the processor as an abnormality occurrence signal. The processor 604 includes an abnormality detection unit 609
After the bus abnormality is recognized by the abnormality occurrence signal from the CPU and the abnormality processing is performed, the abnormality occurrence signal is cleared by outputting "1" to the processor abnormality cancellation signal.

【0006】図17は、従来の共通バスの連続専有の正
常終了を示すタイミングチャートである。タイミングチ
ャート内に記載された各タイミングを示す番号〜を
用いて、以下に説明する。 先ず、プロセッサ604が、バス専有要求信号、及
びアクセス要求信号をアクティブ“1”にすると、バス
アクセス調停部607は共通バス603上で調停を行
い、共通バス603の使用権を獲得した時に転送制御部
608はバス転送を開始する。バスアクセス調停部60
7は共通バス603の使用権を獲得した時に、バス専有
中信号をアクティブ“1”にする。また、転送制御部6
08はバス専有中信号がアクティブ“1”になると、最
初のバス転送を開始するためにバス転送中信号をアクテ
ィブ“1”にする。 転送制御部608は最初のバス転送が終了すると、
バス転送中信号を非アクティブ“0”にすると共に、転
送終了信号をアクティブ“1”にしてプロセッサ604
に転送終了を知らせる。この時、プロセッサ604は再
度バス転送を行うので、プロセッサ604からのバス専
有要求信号をアクティブ“1”に保持する。バスアクセ
ス調停部607はバス専有中信号をアクティブ“1”に
保ち、他の共通バスアクセスボード601にバス専有中
を通知するため、他の共通バスアクセスボード601に
おいて次の調停が行われずにバスの使用権が保持され
る。 プロセッサ604は転送終了を認識するとアクセス
要求信号を非アクティブ“0”にし、最初の転送を終了
する。 プロセッサ604は最初の転送を終了すると、次の
データを用意しアクセス要求信号をアクティブ“1”に
し、バス転送を行い、上記の動作を行う。この間、
プロセッサ604はバス専有要求信号をアクティブ
“1”にし続ける。 共通バス603の専有を必要とするアクセスが終了
すると、プロセッサ604はバス専有要求信号を非アク
ティブ“0”にする。バス専有要求信号が非アクティブ
“0”になることにより、バスアクセス調停部607
は、バス専有中信号を非アクティブ“0”にして共通バ
ス603の継続専有を解放する。
FIG. 17 is a timing chart showing the normal end of continuous occupation of the common bus in the related art. This will be described below using numbers to indicate timings described in the timing chart. First, when the processor 604 sets the bus occupation request signal and the access request signal to active “1”, the bus access arbitration unit 607 performs arbitration on the common bus 603 and performs transfer control when the right to use the common bus 603 is acquired. The unit 608 starts the bus transfer. Bus access arbitration unit 60
When a right to use the common bus 603 is acquired, the bus 7 makes the bus exclusive signal active "1". The transfer control unit 6
In the step 08, when the bus exclusive signal becomes active "1", the bus transfer signal becomes active "1" to start the first bus transfer. When the first bus transfer ends, the transfer control unit 608
The bus transfer signal is set to inactive "0", and the transfer end signal is set to active "1".
To the end of transfer. At this time, since the processor 604 performs the bus transfer again, the bus occupation request signal from the processor 604 is held at active “1”. The bus access arbitration unit 607 keeps the bus occupation signal active at “1” and notifies the other common bus access boards 601 that the bus is occupied. The right to use is retained. When recognizing the end of the transfer, the processor 604 sets the access request signal to inactive "0" and ends the first transfer. When the first transfer is completed, the processor 604 prepares the next data, sets the access request signal to active "1", performs bus transfer, and performs the above operation. During this time,
The processor 604 keeps the bus exclusive request signal active “1”. When the access requiring exclusive use of the common bus 603 ends, the processor 604 sets the bus exclusive use request signal to inactive “0”. When the bus exclusive request signal becomes inactive “0”, the bus access arbitration unit 607
Sets the bus exclusive signal to inactive "0" to release the continuous exclusive use of the common bus 603.

【0007】図18は、従来の共通バスの連続専有の異
常終了を示すタイミングチャートである。タイミングチ
ャート内に記載された各タイミングを示す番号〜を
用いて、以下に説明する。 先ず、プロセッサ604が、バス専有要求信号、及
びアクセス要求信号をアクティブ“1”にすると、バス
アクセス調停部607は共通バス603上で調停を行
い、共通バス603の使用権を獲得した時に転送制御部
608はバス転送を開始する。バスアクセス調停部60
7は共通バス603の使用権を獲得した時に、バス専有
中信号をアクティブ“1”にする。また、転送制御部6
08はバス専有中信号がアクティブ“1”になると、最
初のバス転送を開始するためにバス転送中信号をアクテ
ィブ“1”にする。 バス転送中信号がアクティブの状態“1”で、共通
バス603上に異常が起きると異常検出部609にて異
常を検出し、バス異常信号をアクティブ“1”にする。
バス異常信号がアクティブ“1”になることによって、
バスアクセス調停部607はバス専有中信号を非アクテ
ィブ“0”にし、転送制御部608はバス転送信号を非
アクティブ“0”にすることによってバスを解放する。 異常検出部609はプロセッサ604に対して、異
常発生信号をアクティブ“1”にし、転送制御部608
はプロセッサ604に対して、転送終了信号をアクティ
ブ“1”することによって、共通バス603上で異常が
発生し、バス転送が終了したことを通知する。 プロセッサ604は、異常発生信号、及び転送終了
信号が同時にアクティブ“1”になるのを検出して、共
通バス603上で異常が発生したことを認識し異常処理
を行う。異常処理信号は、異常発生信号、及び転送終了
信号が同時にアクティブ“1”になるのを検出してアク
ティブ“1”となり、プロセッサ604による異常処理
の終了とともに非アクティブ“0”となる。プロセッサ
604は異常処理を終了するとプロセッサ異常解除信号
をアクティブ“1”にすることによって、異常発生信号
を非アクティブ“0”とする。
FIG. 18 is a timing chart showing a conventional abnormal termination of continuous occupation of a common bus. This will be described below using numbers to indicate timings described in the timing chart. First, when the processor 604 sets the bus occupation request signal and the access request signal to active “1”, the bus access arbitration unit 607 performs arbitration on the common bus 603 and performs transfer control when the right to use the common bus 603 is acquired. The unit 608 starts the bus transfer. Bus access arbitration unit 60
When a right to use the common bus 603 is acquired, the bus 7 makes the bus exclusive signal active "1". The transfer control unit 6
In the step 08, when the bus exclusive signal becomes active "1", the bus transfer signal becomes active "1" to start the first bus transfer. When the bus transfer signal is in the active state “1” and an abnormality occurs on the common bus 603, the abnormality detection unit 609 detects the abnormality and sets the bus abnormality signal to active “1”.
When the bus abnormality signal becomes active “1”,
The bus access arbitration unit 607 sets the bus exclusive signal to inactive “0”, and the transfer control unit 608 releases the bus by setting the bus transfer signal to inactive “0”. The abnormality detection unit 609 sets the abnormality occurrence signal to active “1” to the processor 604, and
Activates the transfer end signal to "1" to notify the processor 604 that an error has occurred on the common bus 603 and the bus transfer has been completed. The processor 604 detects that the abnormality occurrence signal and the transfer end signal become active “1” at the same time, recognizes that an abnormality has occurred on the common bus 603, and performs abnormality processing. The abnormality processing signal becomes active "1" upon detecting that the abnormality occurrence signal and the transfer end signal become active "1" at the same time, and becomes inactive "0" upon completion of the abnormality processing by the processor 604. After terminating the abnormal processing, the processor 604 sets the processor abnormal release signal to active “1”, thereby setting the abnormal occurrence signal to inactive “0”.

【0008】図19は、従来の共通バスの連続専有の異
常終了を示すタイミングチャートの他の一例である。タ
イミングチャート内に記載された各タイミングを示す番
号〜を用いて、以下に説明する。 最初の共通バス603に対するアクセスが終了後、
バス専有中信号をアクティブ“1”の状態のまま、次の
共通バス603に対するアクセスが行われるまでの間に
共通バス603上に異常が起きると異常検出部609に
て異常を検出し、バス専有中信号を非アクティブ“0”
にして共通バス603の継続専有を解放する。 異常検出部609はプロセッサ604に対して、異
常発生信号をアクティブ“1”にして共通バス603上
で異常が発生したことを通知するが、プロセッサ604
はバス転送中ではないので共通バス603上での異常発
生を認識しない。何故なら、プロセッサ604は、異常
検出部609からの異常発生信号と転送制御部608か
らの転送終了信号がともにアクティブ“1”となるのを
検出して異常処理を行っているからである。 プロセッサ604は、次の共通バス603へのアク
セスのためにアクセス要求信号をアクティブ“1”にす
ることによって、再度バスアクセス調停部607による
共通バス603の調停が行われる。共通バス603に対
するアクセスが可能になると、転送制御部608はバス
転送中信号をアクティブ“1”にし、転送制御部608
は再度共通バス603に対するアクセスを行う。 プロセッサ604は転送制御部608からの転送終
了信号がアクティブ“1”になった時点で、共通バス6
03上で異常が発生したことを認識して異常処理を行
う。
FIG. 19 is another example of a conventional timing chart showing an abnormal termination of continuous exclusive use of the common bus. This will be described below using numbers to indicate timings described in the timing chart. After the access to the first common bus 603 is completed,
If an error occurs on the common bus 603 until the next access to the common bus 603 is performed while the bus occupancy signal is in the active “1” state, the abnormality detection unit 609 detects the error and the bus occupation is performed. The middle signal is inactive “0”
Then, the continuous exclusive use of the common bus 603 is released. The abnormality detection unit 609 sets the abnormality occurrence signal to active “1” to notify the processor 604 that an abnormality has occurred on the common bus 603.
Does not recognize the occurrence of an abnormality on the common bus 603 because the bus is not being transferred. This is because the processor 604 detects that both the abnormality occurrence signal from the abnormality detection unit 609 and the transfer end signal from the transfer control unit 608 become active “1” and performs the abnormality processing. The processor 604 sets the access request signal to active “1” for the next access to the common bus 603, so that the bus access arbitration unit 607 arbitrates the common bus 603 again. When the access to the common bus 603 becomes possible, the transfer control unit 608 sets the bus transfer signal to active “1”, and sets the transfer control unit 608 to “1”.
Makes access to the common bus 603 again. When the transfer end signal from the transfer control unit 608 becomes active “1”, the processor 604
03, and recognizes that an abnormality has occurred, and performs abnormality processing.

【0009】図20は、従来の共通バスの連続専有の異
常終了を示すタイミングチャートの他の一例である。タ
イミングチャート内に記載された各タイミングを示す番
号〜を用いて、以下に説明する。 2回目の共通バス603に対するアクセスが正常に
終了した直後に、共通バス603上に異常が起きると異
常検出部609にて異常を検出し、バス専有中信号を非
アクティブ“0”にし共通バス603の継続専有を解放
する。 プロセッサ604は2回目の共通バス603に対す
るアクセスを終了後、バス転送を終了するためにバス専
有要求信号を非アクティブ“0”にする。異常検出部6
09はプロセッサ604に対して、異常発生信号をアク
ティブ“1”にして共通バス603上で異常が発生した
ことを通知するが、プロセッサ604はバス転送中では
ないので共通バス603上での異常発生を認識しない。 プロセッサ604は、共通バス603へのアクセス
が必要になると、アクセス要求信号をアクティブ“1”
にすることによって、再度バスアクセス調停部607に
よる共通バス603の調停が行われる。但し、1回のみ
のアクセスであるので、バス専有要求信号を非アクティ
ブ“0”のまま行っている。共通バス603に対するア
クセスが可能になると、バスアクセス調停部607はバ
ス専有中信号をアクティブ“1”にし、転送制御部60
8は再度共通バス603に対するアクセスを行う。 プロセッサ604は転送制御部608からの転送終
了信号がアクティブ“1”になった時点で、共通バス6
03上で異常が発生したことを認識して異常処理を行
う。
FIG. 20 is another example of a conventional timing chart showing an abnormal termination of continuous exclusive use of the common bus. This will be described below using numbers to indicate timings described in the timing chart. Immediately after the second access to the common bus 603 ends normally, if an abnormality occurs on the common bus 603, the abnormality detection unit 609 detects the abnormality, sets the bus exclusive signal to inactive "0", and sets the common bus 603 to inactive. To release the continuation of proprietary. After ending the second access to the common bus 603, the processor 604 sets the bus occupation request signal to inactive "0" to end the bus transfer. Abnormality detector 6
09 sets the abnormality occurrence signal to active “1” and notifies the processor 604 that an abnormality has occurred on the common bus 603. However, since the processor 604 is not performing the bus transfer, an abnormality has occurred on the common bus 603. Do not recognize When the processor 604 needs to access the common bus 603, it sets the access request signal to active “1”.
Accordingly, the arbitration of the common bus 603 by the bus access arbitration unit 607 is performed again. However, since the access is performed only once, the bus occupation request signal is kept inactive "0". When the access to the common bus 603 becomes possible, the bus access arbitration unit 607 changes the bus exclusive signal to active “1”, and sets the transfer control unit 60 to “1”.
8 accesses the common bus 603 again. When the transfer end signal from the transfer control unit 608 becomes active “1”, the processor 604
03, and recognizes that an abnormality has occurred, and performs abnormality processing.

【0010】[0010]

【発明が解決しようとする課題】上述した従来技術で
は、以下の問題点を有している。 プロセッサ604は、アクセス要求信号がアクティ
ブ“1”の間は共通バス603にアクセスするためのア
ドレス、データ等のステータスを有効にするが、アクセ
ス要求信号が非アクティブ“0”の時は別の処理を行っ
ている場合がある。従って、図19に示すようにプロセ
ッサ604からのアクセス要求とアクセス要求の間(ア
クセス要求信号が非アクティブ“0”の時)に異常発生
信号がアクティブ“1”になるため、異常検出部609
が異常発生時のプロセッサ604のステータスを保持し
ようとした場合、共通バス603へのアクセス時以外の
ステータスが保持されてしまう。このステータスは、異
常発生後に共通バス603に対して再アクセスする時に
使用されるので、プロセッサ604が共有資源602の
どこへ再アクセスを行うかが判らなくなる。 図19に示すタイミングで共通バス603上で異常
が発生した場合、バスアクセス調停部607は共通バス
603の継続専有を解放するが、プロセッサ604が異
常発生を認識せずにバス専有要求信号をアクティブ
“1”のままアクセス要求信号をアクティブ“1”にす
るので、再度バスアクセス調停部607によるバス調停
が行われる。プロセッサ604は、2回目のバス転送が
1回目のバス転送から継続してバス専有された状態にあ
ると認識しているが、実際にはバスの専有は一度解放さ
れているため、無駄なデータ転送となる場合がある。こ
れは、共通バス603と共通資源602とのデータバス
の幅が異なる場合の転送、例えば、後述するロック転送
の場合に問題となる。 図20に示すようにバスの継続専有を必要とする転
送が正常に終了し、プロセッサ604がバス専有要求信
号を非アクティブ“0”にし、バス専有転送の終了を認
識した後で、バス専有中信号がアクティブ“1”から非
アクティブ“0”になるまでの間に共通バス603上に
異常が発生した場合、プロセッサ604が必要とした共
通バス603を継続専有するデータ転送が正常に終了し
ているにもかかわらず、次のバス転送終了時に異常発生
がプロセッサ604に通知されてしまい、プロセッサ6
04は不当な異常処理を行ってしまう。
The above-mentioned prior art has the following problems. The processor 604 validates the status such as address and data for accessing the common bus 603 while the access request signal is active “1”, but performs another processing when the access request signal is inactive “0”. May have done. Therefore, as shown in FIG. 19, the abnormality occurrence signal becomes active “1” between the access requests from the processor 604 (when the access request signal is inactive “0”), so that the abnormality detection unit 609
When trying to retain the status of the processor 604 at the time of occurrence of an abnormality, the status other than when the common bus 603 is accessed is retained. Since this status is used when re-accessing the common bus 603 after the occurrence of an abnormality, it becomes impossible to determine where the processor 604 re-accesses the shared resource 602. When an abnormality occurs on the common bus 603 at the timing shown in FIG. 19, the bus access arbitration unit 607 releases the continuous exclusive use of the common bus 603, but the processor 604 activates the bus exclusive use request signal without recognizing the occurrence of the abnormality. Since the access request signal is set to active “1” with “1”, the bus arbitration unit 607 performs bus arbitration again. The processor 604 recognizes that the second bus transfer is in a state where the bus is occupied continuously from the first bus transfer. However, since the bus occupation has been released once, useless data It may be a transfer. This poses a problem in the case where the width of the data bus between the common bus 603 and the common resource 602 is different, for example, in the case of lock transfer described later. As shown in FIG. 20, the transfer requiring continuous occupation of the bus ends normally, the processor 604 sets the bus occupation request signal to inactive "0", and recognizes the end of the bus occupation transfer. If an error occurs on the common bus 603 before the signal changes from active “1” to inactive “0”, the data transfer that the processor 604 needs to occupy the common bus 603 normally ends normally. However, at the end of the next bus transfer, the occurrence of an abnormality is notified to the processor 604, and the processor 6
No. 04 performs an unusual abnormality process.

【0011】本発明は、共通バス上に異常が発生して
も、共通バスに対する不必要な転送、及びプロセッサへ
の不必要な異常の通知を少なくし、正確なステータスを
プロセッサへ通知することが可能な共通バスのデータ転
送における異常処理装置を提供することにある。
According to the present invention, even if an error occurs on the common bus, unnecessary transfer to the common bus and unnecessary notification of the error to the processor are reduced, and an accurate status is notified to the processor. It is an object of the present invention to provide a possible error handling device in a common bus data transfer.

【0012】[0012]

【課題を解決するための手段】バスアクセス調停手段1
02は、プロセッサ101が共通バス107を使用して
データ転送を行う際に、他のプロセッサからのアクセス
要求との調停を行い、共通バスの使用権を獲得する。
Means for Solving the Problems Bus access arbitration means 1
When the processor 101 performs data transfer using the common bus 107, the processor 02 arbitrates with an access request from another processor to acquire the right to use the common bus.

【0013】転送制御手段103は、上記バスアクセス
調停手段102が上記共通バス107の使用権を獲得中
に、上記共通バス107に対する上記プロセッサ101
からのデータ転送の制御を行う。
While the bus access arbitration means 102 has acquired the right to use the common bus 107, the transfer control means 103 controls the processor 101 for the common bus 107.
Control of data transfer from the server.

【0014】異常発生保持手段105は、上記転送制御
手段103が上記共通バス107に対するデータ転送を
実行中に、上記共通バス107上で異常が発生したこと
を保持する。第1〜第3実施例においては、図3のフリ
ップフロップ305がこの機能を有している。
The abnormality occurrence holding means 105 holds that an abnormality has occurred on the common bus 107 while the transfer control means 103 is executing data transfer to the common bus 107. In the first to third embodiments, the flip-flop 305 in FIG. 3 has this function.

【0015】異常発生通知手段104は、上記プロセッ
サ101が上記共通バス107に対するアクセス要求時
に、上記異常発生保持手段105の状態によって上記プ
ロセッサ107に異常発生を通知するか否かを決定す
る。第1〜第3実施例においては、図3のフリップフロ
ップ307がこの機能を有している。上記の異常発生保
持手段105は、上記異常発生通知手段104が上記プ
ロセッサ101に異常を通知した時、または上記プロセ
ッサ101が共通バス107の専有を解除した時に、上
記異常発生の保持をクリアするように構成される。
The abnormality occurrence notifying means 104 determines whether or not to notify the processor 107 of the occurrence of an abnormality according to the state of the abnormality occurrence holding means 105 when the processor 101 requests access to the common bus 107. In the first to third embodiments, the flip-flop 307 in FIG. 3 has this function. The abnormality occurrence holding means 105 clears the abnormality occurrence holding when the abnormality occurrence notifying means 104 notifies the processor 101 of the abnormality, or when the processor 101 releases the exclusive use of the common bus 107. It is composed of

【0016】ステータス保持手段106は、上記異常発
生通知手段104が上記プロセッサ101に対して異常
発生の通知を行う時に、上記共通バス107に出力され
たステータスを保持する。
The status holding means 106 holds the status output to the common bus 107 when the abnormality occurrence notifying means 104 notifies the processor 101 of the occurrence of an abnormality.

【0017】また、前述したバスアクセス調停手段10
2は、上記異常発生保持手段105が上記共通バス10
7上の異常を検出した時に、上記共通バス107に対す
る専有を開放するように構成しても良い。
The bus access arbitration means 10 described above
2 is that the abnormality occurrence holding means 105 is the common bus 10
7 may be configured to release the exclusive use of the common bus 107 when an abnormality is detected on the common bus 107.

【0018】また、前述した転送制御手段103は、上
記異常発生通知手段104が上記プロセッサ101に対
して異常発生の通知を行ってから上記プロセッサ101
が異常処理を終了するまでの間、上記プロセッサ101
からの上記共通バス107に対するアクセス要求に対し
ては、上記共通バス107には実際にアクセスを行わず
に転送終了の通知のみを上記プロセッサ107に対して
行うように構成しても良い。
Further, the transfer control means 103 described above, after the abnormality occurrence notifying means 104 notifies the processor 101 of the occurrence of the abnormality,
Until the end of the abnormal processing, the processor 101
In response to a request for access to the common bus 107 from the CPU, only the transfer end notification may be sent to the processor 107 without actually accessing the common bus 107.

【0019】[0019]

【0020】[0020]

【作用】本発明の原理を、図1のブロック図を用いて以
下に説明する。プロセッサ101が共通バス107を介
して共通資源にアクセスする際、共通バス107を専有
してアクセスする場合には、プロセッサ101はバスア
クセス調停手段102に対してアクセス要求とバス専有
要求を出力する。バスアクセス調停手段102は、共通
バス107に接続された他のプロセッサからのアクセス
要求との調停を行って、共通バス107の使用権を獲得
した時に共通バス107に対するアクセスが開始され
る。
The principle of the present invention will be described below with reference to the block diagram of FIG. When the processor 101 accesses the common resource via the common bus 107 and occupies the common bus 107 exclusively, the processor 101 outputs an access request and a bus occupation request to the bus access arbitration unit 102. The bus access arbitration unit 102 arbitrates with an access request from another processor connected to the common bus 107, and when the right to use the common bus 107 is acquired, access to the common bus 107 is started.

【0021】バスアクセス調停手段102が共通バス1
07の使用権を獲得すると、転送制御手段103はプロ
セッサ101からのアクセス要求に対するデータ転送の
制御を行う。
The bus access arbitration means 102 is the common bus 1
When the right to use 07 is acquired, the transfer control means 103 controls data transfer in response to an access request from the processor 101.

【0022】また、異常発生保持手段105は共通バス
107を監視しており、異常が発生すればその情報を保
持する。異常発生通知手段104は、異常発生保持手段
105が共通バス107上での異常を保持している状態
でプロセッサ101からアクセス要求があると、プロセ
ッサ101に対して異常発生を通知すると同時に、ステ
ータス保持手段106は共通バス107に出力されてい
るステータス(アドレス、データ等の情報)を保持す
る。従って、ステータス保持手段106は常に共通バス
107にアクセスしている最中のステータスを保持する
ことになり、正確なステータスが保持されることにな
る。
Further, the abnormality occurrence holding means 105 monitors the common bus 107, and holds the information when an abnormality occurs. The abnormality occurrence notifying unit 104 notifies the processor 101 of the occurrence of the abnormality when receiving an access request from the processor 101 while the abnormality occurrence holding unit 105 holds the abnormality on the common bus 107, and at the same time, holds the status. The means 106 holds the status (information such as address and data) output to the common bus 107. Therefore, the status holding means 106 always holds the status while the common bus 107 is being accessed, and the correct status is held.

【0023】異常発生通知手段104がプロセッサ10
1に異常を通知してから、プロセッサ101が異常処理
を終了するまでの間、転送制御手段103はプロセッサ
101からのアクセス要求に対して実際には共通バス1
07にアクセスを行わず、プロセッサ101へ転送終了
の通知のみを行う。従って、異常処理が終了するまでの
共通バス107に対する不要なアクセスが取り除かれ
る。
The abnormality occurrence notifying means 104 is
1 from the notification of the abnormality to the processor 101, the transfer control means 103 actually responds to the access request from the
07 is not accessed and only the transfer end notification is sent to the processor 101. Therefore, unnecessary access to the common bus 107 until the end of the abnormal processing is eliminated.

【0024】また、異常発生通知手段104は、異常発
生保持手段105が共通バス107上での異常の保持を
クリアした後の状態でプロセッサ101からアクセス要
求があると、プロセッサ101に対して異常発生を通知
せず、ステータス保持手段106は共通バス107に出
力されているステータスを保持しない。
Further, when there is an access request from the processor 101 after the abnormality occurrence holding means 105 has cleared the holding of the abnormality on the common bus 107, the abnormality occurrence notifying means 104 And the status holding means 106 does not hold the status output to the common bus 107.

【0025】異常発生保持手段105が異常の保持をク
リアするのは、異常発生通知手段104がプロセッサ1
01に異常を通知した時か、或いはプロセッサ101が
共通バス107の専有を解除した時に行われる。
The reason that the abnormality occurrence holding means 105 clears the holding of the abnormality is that the abnormality occurrence notifying means 104
This is performed when an abnormality is notified to the CPU 101 or when the processor 101 releases the exclusive use of the common bus 107.

【0026】[0026]

【実施例】図2は、本発明の第1実施例の構成を示す図
である。共通バスアクセスボード201は、プロセッサ
202、バス制御部203、及びメモリ204で構成さ
れる。また、バス制御部203は、プロセッサ202か
らの共通バス208へのアクセス要求信号により他の共
通バスアクセスボード201からのアクセスの調停を行
うバスアクセス調停部205、共通バス208に対する
データ転送の制御を行う転送制御部206、及び共通バ
ス208上での異常を検出する異常検出部207から構
成される。
FIG. 2 is a diagram showing the configuration of a first embodiment of the present invention. The common bus access board 201 includes a processor 202, a bus control unit 203, and a memory 204. Further, the bus control unit 203 arbitrates access from another common bus access board 201 in response to an access request signal to the common bus 208 from the processor 202, and controls data transfer to the common bus 208. A transfer control unit 206 for performing the operation, and an abnormality detection unit 207 for detecting an abnormality on the common bus 208.

【0027】図3は、転送制御部206、及び異常検出
部207の構成の一部を示している。転送制御部206
は、プロセッサ202からのアクセス要求信号、バスア
クセス調停部205からの調停:勝ち信号、及び異常検
出部207からの異常発生信号の反転信号との論理積A
ND308が“1”となる時にバス転送を開始する。
FIG. 3 shows a part of the configuration of the transfer control unit 206 and the abnormality detection unit 207. Transfer control unit 206
Is the logical product A of the access request signal from the processor 202, the arbitration from the bus access arbitration unit 205: the winning signal, and the inverted signal of the abnormality occurrence signal from the abnormality detection unit 207.
When the ND 308 becomes "1", the bus transfer is started.

【0028】また、異常検出部207は、バスアクセス
調停部205からのバス専有中信号と、転送制御部20
6からのバス転送中信号との論理和OR301の出力
と、異常検出部207内で生成されるバス異常信号との
論理積AND302の出力をフリップフロップFF30
5のセットに入力し、FF305の出力を異常保持信号
としてAND306に入力する。異常保持信号がアクテ
ィブ“1”の状態で、プロセッサ202からのアクセス
要求信号がアクティブ“1”になると、フリップフロッ
プFF307がセットされて異常発生信号がアクティブ
“1”となる。
Further, the abnormality detecting unit 207 receives the bus exclusive signal from the bus access arbitrating unit 205 and the transfer control unit 20.
6 and the output of the logical product AND 302 of the output of the logical sum OR 301 with the bus transfer signal and the bus error signal generated in the error detection unit 207 is output to the flip-flop FF30.
5 and the output of the FF 305 is input to the AND 306 as an abnormality holding signal. When the access request signal from the processor 202 becomes active “1” while the abnormality holding signal is active “1”, the flip-flop FF307 is set and the abnormality occurrence signal becomes active “1”.

【0029】プロセッサ202は、異常検出部207か
らの異常発生信号によってバス異常を認識し、異常処理
を行った後で、プロセッサ異常解除信号に“1”を出力
することにより異常発生信号をクリアする。
The processor 202 recognizes the bus abnormality by the abnormality occurrence signal from the abnormality detection section 207, and after performing the abnormality processing, clears the abnormality occurrence signal by outputting "1" to the processor abnormality cancellation signal. .

【0030】微分回路303は、プロセッサ202から
のバス専有要求信号の立ち下がりを検出して微分信号を
生成する。OR304には微分回路303からの微分信
号の反転信号と、FF307からの異常発生信号が入力
される。また、OR304の出力がFF305のリセッ
トに入力される。従って、FF307からの異常発生信
号がアクティブ“1”になるか、プロセッサ202から
のバス専有要求信号がアクティブ“1”から非アクティ
ブ“0”となる時に、FF305の異常保持信号はクリ
アされる。
The differentiating circuit 303 detects a fall of the bus occupancy request signal from the processor 202 and generates a differentiated signal. The inverted signal of the differentiated signal from the differentiating circuit 303 and the abnormality occurrence signal from the FF 307 are input to the OR 304. The output of the OR 304 is input to the reset of the FF 305. Therefore, when the abnormality occurrence signal from the FF 307 becomes active “1” or the bus occupancy request signal from the processor 202 changes from active “1” to inactive “0”, the abnormality holding signal of the FF 305 is cleared.

【0031】図4は、第1実施例における共通バスのア
クセス異常を示すタイミングチャートである。タイミン
グチャート内に記載された各タイミングを示す番号〜
を用いて、以下に説明する。 先ず、プロセッサ202が、バス専有要求信号、及
びアクセス要求信号をアクティブ“1”にすると、バス
アクセス調停部205は共通バス208上で調停を行
い、共通バス208の使用権を獲得した時に転送制御部
206はバス転送を開始する。バスアクセス調停部20
5は共通バス208の使用権を獲得した時に、バス専有
中信号をアクティブ“1”にする。また、転送制御部2
06はバス専有中信号がアクティブ“1”になると、最
初のバス転送を開始するためにバス転送中信号をアクテ
ィブ“1”にする。 転送制御部206は最初のバス転送が終了すると、
バス転送中信号を非アクティブ“0”にすると共に、転
送終了信号をアクティブ“1”にしてプロセッサ202
に転送終了を知らせる。この時、プロセッサ202は再
度バス転送を行うので、プロセッサ202からのバス専
有要求信号をアクティブ“1”に保持する。バスアクセ
ス調停部205はバス専有中信号をアクティブ“1”に
保ち、他の共通バスアクセスボード201にバス専有中
を通知するため、他の共通バスアクセスボード201に
おいて次の調停が行われずにバスの使用権が保持され
る。 異常検出部207は、共通バス208で異常を検出
するとバス異常信号をアクティブ“1”にする。バス異
常信号がアクティブ“1”になることによって、バスア
クセス調停部205はバス専有中信号を非アクティブ
“0”にすることによって共通バス208を開放する。 バス異常信号がアクティブ“1”になる時、バスア
クセス調停部205からのバス専有中信号はアクティブ
“1”であるので、FF305がセットされて異常保持
信号がアクティブ“1”となる。 プロセッサ202は、次のバス転送を行うためにア
クセス要求信号をアクティブ“1”にする。異常保持信
号がアクティブ“1”であるので、FF307がセット
され異常発生信号がアクティブ“1”となる。転送制御
部206は、異常発生信号がアクティブ“1”になるの
を検出した時点で、バス転送を中断して転送終了信号を
アクティブ“1”にする。異常検出部207は、異常発
生信号がアクティブ“1”になった時点で、共通バス2
08上のステータスを保持する。また、異常発生信号が
アクティブ“1”となるのでFF305がクリアされ
て、異常保持信号が非アクティブ“0”となる。 プロセッサ202は、異常発生信号、及び転送終了
信号が同時にアクティブ“1”になるのを検出して、共
通バス208上で異常が発生したことを認識し異常処理
を行う。異常処理信号は、異常発生信号、及び転送終了
信号が同時にアクティブ“1”になるのを検出してアク
ティブ“1”となり、プロセッサ202による異常処理
の終了とともに非アクティブ“0”となる。プロセッサ
202は異常処理を終了するとプロセッサ異常解除信号
をアクティブ“1”にすることによって、異常発生信号
を非アクティブ“0”とする。
FIG. 4 is a timing chart showing an abnormal access to the common bus in the first embodiment. Numbers indicating each timing described in the timing chart ~
This will be described below with reference to FIG. First, when the processor 202 sets the bus occupation request signal and the access request signal to active “1”, the bus access arbitration unit 205 performs arbitration on the common bus 208 and performs transfer control when the right to use the common bus 208 is acquired. The unit 206 starts the bus transfer. Bus access arbitration unit 20
5 sets the bus exclusive signal to active "1" when the right to use the common bus 208 is acquired. Also, the transfer control unit 2
In the step 06, when the bus exclusive signal becomes active "1", the bus transfer signal becomes active "1" to start the first bus transfer. When the first bus transfer ends, the transfer control unit 206
The bus transfer signal is set to inactive “0”, and the transfer end signal is set to active “1”, so that the processor 202
To the end of transfer. At this time, since the processor 202 performs the bus transfer again, the bus occupation request signal from the processor 202 is held at the active “1”. The bus access arbitration unit 205 keeps the bus occupation signal active at “1” and notifies the other common bus access boards 201 that the bus is occupied. The right to use is retained. When detecting an abnormality in the common bus 208, the abnormality detection unit 207 sets the bus abnormality signal to active “1”. When the bus abnormality signal becomes active “1”, the bus access arbitration unit 205 releases the common bus 208 by setting the bus exclusive signal to inactive “0”. When the bus abnormality signal becomes active “1”, the bus exclusive signal from the bus access arbitration unit 205 is active “1”, so that the FF 305 is set and the abnormality holding signal becomes active “1”. The processor 202 sets the access request signal to active “1” in order to perform the next bus transfer. Since the abnormality holding signal is active “1”, the FF 307 is set and the abnormality occurrence signal becomes active “1”. When detecting that the abnormality occurrence signal becomes active “1”, the transfer control unit 206 suspends the bus transfer and sets the transfer end signal to active “1”. When the abnormality occurrence signal becomes active “1”, the abnormality detection unit 207 outputs
08 is held. Further, since the abnormality occurrence signal becomes active “1”, the FF 305 is cleared, and the abnormality holding signal becomes inactive “0”. The processor 202 detects that the abnormality occurrence signal and the transfer end signal become active “1” at the same time, recognizes that an abnormality has occurred on the common bus 208, and performs abnormality processing. The abnormality processing signal becomes active "1" upon detecting that the abnormality occurrence signal and the transfer end signal become active "1" at the same time, and becomes inactive "0" upon completion of the abnormality processing by the processor 202. When the processor 202 completes the abnormality processing, the processor 202 sets the processor abnormality release signal to active “1”, thereby making the abnormality occurrence signal inactive “0”.

【0032】以上の動作により、プロセッサ202から
のバスアクセス要求時以外のタイミングでは異常発生信
号がアクティブ“1”にならなくなる。従って、異常が
発生した時点でのステータスが正確に保持されるので、
異常処理を終了後ステータスに保持された内容を参照し
てバス転送を再開できるようになる。
By the above operation, the abnormality occurrence signal does not become active "1" except at the time of the bus access request from the processor 202. Therefore, the status at the time of occurrence of the abnormality is accurately maintained,
After the abnormal processing is completed, the bus transfer can be resumed by referring to the contents held in the status.

【0033】図5は、第1実施例における共通バスの他
のアクセス異常を示すタイミングチャートである。図4
では、プロセッサ202が異常発生を正確に認識した場
合であるが、図5は何らかの理由でプロセッサ202が
異常発生を認識できなかった場合を示している。タイミ
ングチャート内に記載された各タイミングを示す番号
〜を用いて、以下に説明する。 プロセッサ202は、2回目のバス転送を行うため
にアクセス要求信号をアクティブ“1”にする。異常保
持信号がアクティブ“1”であるので、FF307がセ
ットされ異常発生信号がアクティブ“1”となる。転送
制御部206は、異常発生信号がアクティブ“1”にな
るのを検出した時点で、バス転送を中断して転送終了信
号をアクティブ“1”にする。異常検出部207は、異
常発生信号がアクティブ“1”になった時点で、共通バ
ス208上のステータスを保持する。また、異常発生信
号がアクティブ“1”となるのでFF305がクリアさ
れて、異常保持信号が非アクティブ“0”となる。 異常発生信号、及び転送終了信号が同時にアクティ
ブ“1”になるが、プロセッサ202は何らかの理由で
異常を検出できない場合、異常処理を行わずに通常動作
を行う。プロセッサ202は異常を認識していないの
で、2回目の共通バス208に対するアクセスが正常に
終了したものとしてバス専有要求信号を非アクティブ
“0”にする。 プロセッサ202は、共通バス208へのアクセス
が必要になると、アクセス要求信号をアクティブ“1”
にする。しかし、バスアクセス調停部205は異常発生
信号がアクティブ“1”であるので、共通バス208の
調停を行わず、転送制御部206は共通バス208への
アクセスをおこなわず、プロセッサ202に対して転送
終了信号をアクティブ“1”にすることのみ行う。
FIG. 5 is a timing chart showing another access abnormality of the common bus in the first embodiment. FIG.
FIG. 5 shows a case where the processor 202 has correctly recognized the occurrence of the abnormality. FIG. 5 shows a case where the processor 202 has failed to recognize the occurrence of the abnormality for some reason. This will be described below using numbers to indicate timings described in the timing chart. The processor 202 sets the access request signal to active “1” in order to perform the second bus transfer. Since the abnormality holding signal is active “1”, the FF 307 is set and the abnormality occurrence signal becomes active “1”. When detecting that the abnormality occurrence signal becomes active “1”, the transfer control unit 206 suspends the bus transfer and sets the transfer end signal to active “1”. The abnormality detection unit 207 holds the status on the common bus 208 when the abnormality occurrence signal becomes active “1”. Further, since the abnormality occurrence signal becomes active “1”, the FF 305 is cleared, and the abnormality holding signal becomes inactive “0”. The abnormality occurrence signal and the transfer end signal become active “1” at the same time. However, if the processor 202 cannot detect the abnormality for some reason, it performs the normal operation without performing the abnormality processing. Since the processor 202 has not recognized the abnormality, it assumes that the second access to the common bus 208 has been normally completed, and sets the bus exclusive request signal to inactive “0”. When an access to the common bus 208 is required, the processor 202 sets the access request signal to active “1”.
To However, the bus access arbitration unit 205 does not arbitrate for the common bus 208 because the abnormality occurrence signal is active “1”, and the transfer control unit 206 does not access the common bus 208 and transfers data to the processor 202. Only the end signal is made active "1".

【0034】以上の動作により、異常発生をプロセッサ
202が認識してクリアしないかぎり、転送制御部20
6は新たなバス転送を開始しなくなり、共通バス208
に対する不必要なアクセスがなくなる。
With the above operation, unless the processor 202 recognizes and clears the occurrence of an abnormality, the transfer control unit 20
6 no longer starts a new bus transfer and the common bus 208
Unnecessary access to is eliminated.

【0035】図6は、第1実施例における共通バスの他
のアクセス異常を示すタイミングチャートである。図5
では、バス異常が発生するのはプロセッサ202が共通
バスを専有している最中であったが、図6ではバス異常
が発生するのはプロセッサ202が共通バスの専有を解
除する時の場合を示している。タイミングチャート内に
記載された各タイミングを示す番号〜を用いて、以
下に説明する。 プロセッサ202が、2回目のバス転送を行い正常
に終了した時に異常が発生しバス異常信号がアクティブ
“1”になる。バスアクセス調停部205からのバス専
有信号がまだアクティブ“1”であるので、FF305
がセットされて異常保持信号がアクティブ“1”とな
る。 プロセッサ202は、2回目のバス転送を終了後に
共通バス208を開放するためにバス専有要求信号を非
アクティブ“0”にする。微分回路303は、バス専有
要求信号の立ち下がりを検出して、微分信号を出力しF
F305をリセットして異常保持信号を非アクティブ
“0”にする。 プロセッサ202は、共通バス208へのアクセス
が必要になると、アクセス要求信号をアクティブ“1”
にすることによって、バスアクセス調停部205による
調停が行われる。しかし、異常保持信号は既に非アクテ
ィブ“0”となっているので、アクセス要求信号がアク
ティブ“1”になっても異常発生信号はアクティブ
“1”とはならず、異常処理は行われない。
FIG. 6 is a timing chart showing another access abnormality of the common bus in the first embodiment. FIG.
In FIG. 6, the bus error occurs while the processor 202 is occupying the common bus. However, in FIG. 6, the bus error occurs when the processor 202 releases the common bus. Is shown. This will be described below using numbers to indicate timings described in the timing chart. When the processor 202 performs the second bus transfer and ends normally, an error occurs and the bus error signal becomes active “1”. Since the bus exclusive signal from the bus access arbitration unit 205 is still active “1”, the FF 305
Is set, and the abnormality holding signal becomes active “1”. After completing the second bus transfer, the processor 202 sets the bus occupancy request signal to inactive “0” in order to release the common bus 208. The differentiating circuit 303 detects the falling of the bus exclusive request signal, outputs a differentiated signal, and outputs
F305 is reset to make the abnormality holding signal inactive "0". When an access to the common bus 208 is required, the processor 202 sets the access request signal to active “1”.
By doing so, arbitration by the bus access arbitration unit 205 is performed. However, since the abnormality holding signal is already inactive "0", even if the access request signal becomes active "1", the abnormality occurrence signal does not become active "1" and no abnormality processing is performed.

【0036】以上の動作により、プロセッサ202によ
るバス専有要求の解除時に共通バス208上で異常が発
生しても、次のバスアクセス要求時に、プロセッサ20
2に共通バス208上での異常発生は通知されなくな
る。
With the above operation, even if an abnormality occurs on the common bus 208 when the processor 202 cancels the bus occupation request, the processor 20 will not operate when the next bus access request is made.
2 is not notified of the occurrence of an abnormality on the common bus 208.

【0037】図7は、本発明の第2実施例の構成を示す
図である。共通バスアクセスボード401は、プロセッ
サ402、バス制御部403、及びメモリ404で構成
される。また、バス制御部403は、プロセッサ402
からの共通バス408へのバスアクセス要求信号により
他の共通バスアクセスボード401からのアクセスの調
停を行うバスアクセス調停部405、共通バス408に
対するデータ転送の制御を行う転送制御部406、及び
共通バス408上での異常を検出する異常検出部407
から構成される。また、図3の異常検出部、転送制御部
の構成の一部を示す図は第2実施例においても使用され
る。
FIG. 7 is a diagram showing the configuration of the second embodiment of the present invention. The common bus access board 401 includes a processor 402, a bus control unit 403, and a memory 404. Further, the bus control unit 403 includes a processor 402
Bus arbitration unit 405 that arbitrates access from another common bus access board 401 in response to a bus access request signal from the common bus 408 to the common bus 408, a transfer control unit 406 that controls data transfer to the common bus 408, and a common bus An abnormality detection unit 407 for detecting an abnormality on 408
Consists of The diagram showing a part of the configuration of the abnormality detection unit and the transfer control unit in FIG. 3 is also used in the second embodiment.

【0038】第2実施例は、共通バス408に対するロ
ック転送を行う。ロック転送とは、例えば、共通バス4
08が32ビットのデータバス幅であり、共通資源が6
4ビットのデータバス幅である場合、共通バス408へ
の2回のアクセスで共通資源へのデータ保障を行われ、
データの同時性が必要な時に用いられる転送方法であ
る。一度共通バス408の使用権を獲得すると、ロック
信号が非アクティブ“0”になるまで共通バス408を
継続専有する転送である。
In the second embodiment, lock transfer to the common bus 408 is performed. Lock transfer refers to, for example, the common bus 4
08 is a 32-bit data bus width and the common resource is 6
If the data bus width is 4 bits, data access to the common resource is performed by two accesses to the common bus 408,
This is a transfer method used when data synchronization is required. Once the right to use the common bus 408 is acquired, the transfer is a transfer that exclusively uses the common bus 408 until the lock signal becomes inactive “0”.

【0039】図8は、第2実施例におけるロック転送正
常終了を示すタイミングチャートである。タイミングチ
ャート内に記載された各タイミングを示す番号〜を
用いて、以下に説明する。 プロセッサ402は、ロック転送を行うためにバス
アクセス要求信号、及びロック転送信号をアクティブ
“1”にする。 バスアクセス調停部405で調停を行い、使用権を
獲得して共通バス408に対する転送を行う。ロック転
送信号がアクティブ“1”状態でのバスアクセス要求で
あるため、バスアクセス調停部405はバス専有中信号
をアクティブ“1”にし、共通バス408を専有する。 転送制御部406は、共通バス408への転送が終
了すると、転送終了信号をアクティブ“1”にしてプロ
セッサ402に通知する。 プロセッサ402は、転送終了がアクティブ“1”
になるのを認識するとプロセッサ402はロック転送信
号をアクティブ“1”のまま、一旦バスアクセス要求を
非アクティブ“0”にする。 プロセッサ402は、次のバス転送のためにバスア
クセス要求信号を再びアクティブ“1”にする。 転送制御部406は、共通バス408に対する転送
が終了すると、転送終了信号をアクティブ“1”にして
プロセッサに転送終了を通知する。 プロセッサ402が転送終了を認識し、ロック転送
を終了するためにバスアクセス要求信号とロック転送信
号を非アクティブ“0”にする。 バスアクセス調停部405は、ロック転送信号が非
アクティブ“0”になったことを認識するとバス専有中
信号を非アクティブ“0”にし、バスの継続専有を解放
する。
FIG. 8 is a timing chart showing normal termination of lock transfer in the second embodiment. This will be described below using numbers to indicate timings described in the timing chart. The processor 402 sets a bus access request signal and a lock transfer signal to active “1” to perform lock transfer. The bus access arbitration unit 405 arbitrates, acquires the right to use, and performs transfer to the common bus 408. Since the lock transfer signal is a bus access request in the active “1” state, the bus access arbitration unit 405 sets the bus exclusive signal to active “1” and occupies the common bus 408. When the transfer to the common bus 408 ends, the transfer control unit 406 sets the transfer end signal to active “1” and notifies the processor 402. The processor 402 sets the transfer end to active “1”.
When the processor 402 recognizes that the bus transfer request is inactive, the bus access request is temporarily set to inactive "0" while the lock transfer signal remains active "1". The processor 402 sets the bus access request signal to active "1" again for the next bus transfer. When the transfer to the common bus 408 is completed, the transfer control unit 406 sets the transfer end signal to active “1” and notifies the processor of the transfer end. The processor 402 recognizes the end of the transfer, and sets the bus access request signal and the lock transfer signal to inactive "0" to end the lock transfer. When recognizing that the lock transfer signal has become inactive “0”, the bus access arbitration unit 405 changes the bus exclusive signal to inactive “0”, and releases the continuous occupancy of the bus.

【0040】図9は、第2実施例におけるロック転送中
のバス異常を示すタイミングチャートである。タイミン
グチャート内に記載された各タイミングを示す番号〜
を用いて、以下に説明する。 プロセッサ402は、ロック転送を行うためにバス
アクセス要求信号、及びロック転送信号をアクティブ
“1”にする。バスアクセス調停部405で調停を行
い、使用権を獲得して共通バス408に対する転送を行
う。転送制御部406は、共通バス408への転送が終
了すると、転送終了信号をアクティブ“1”にしてプロ
セッサ402に通知する。 共通バス408の継続専有中で、実際に共通バス4
08に対するバス転送を行っていない時に、共通バス4
08上で異常が発生すると異常検出部407で異常を検
出し、バス異常信号をアクティブ“1”にする。また、
バス異常信号がアクティブ“1”になった時にバス専有
中信号はアクティブ“1”であるので、FF305がセ
ットされて異常保持信号をアクティブ“1”にする。バ
スアクセス調停部405は、バス異常が発生した時にバ
ス専有信号を非アクティブ“0”にして、バスの継続専
有を解放する。 プロセッサ402には共通バス408上で異常が発
生したことがまだ通知されないので、プロセッサ402
は正常動作の時と同様に次のバスアクセスのために、バ
スアクセス要求信号をアクティブ“1”にする。 バスアクセス要求信号がアクティブ“1”になる
と、FF307がセットされて異常発生信号がアクティ
ブ“1”になる。異常検出部407は、異常発生信号が
アクティブ“1”になった時点で、共通バス408上の
ステータスを保持する。また、転送制御部406は共通
バスに対するバス転送を行わずに転送終了信号をアクテ
ィブ“1”にする。 プロセッサ402は、異常検出部407からの異常
発生信号、及び転送制御部406からの転送終了信号が
アクティブ“1”となるので、共通バス408上での異
常を認識し異常処理を行う。
FIG. 9 is a timing chart showing a bus error during lock transfer in the second embodiment. Numbers indicating each timing described in the timing chart ~
This will be described below with reference to FIG. The processor 402 sets a bus access request signal and a lock transfer signal to active “1” to perform lock transfer. The bus access arbitration unit 405 arbitrates, acquires the right to use, and performs transfer to the common bus 408. When the transfer to the common bus 408 ends, the transfer control unit 406 sets the transfer end signal to active “1” and notifies the processor 402. While the common bus 408 is continuously occupied, the common bus 4
08 when the bus transfer to the common bus 4 is not performed.
When an abnormality occurs on the block 08, the abnormality detection section 407 detects the abnormality and sets the bus abnormality signal to active "1". Also,
Since the bus exclusive signal is active "1" when the bus abnormality signal becomes active "1", the FF 305 is set to make the abnormality holding signal active "1". The bus access arbitration unit 405 sets the bus exclusive signal to inactive “0” when a bus error occurs, and releases the continuous exclusive use of the bus. Since the processor 402 has not yet been notified that an abnormality has occurred on the common bus 408, the processor 402
Sets the bus access request signal to active "1" for the next bus access as in the normal operation. When the bus access request signal becomes active “1”, the FF 307 is set and the abnormality occurrence signal becomes active “1”. The abnormality detection unit 407 holds the status on the common bus 408 when the abnormality occurrence signal becomes active “1”. Further, the transfer control unit 406 sets the transfer end signal to active “1” without performing the bus transfer to the common bus. The processor 402 recognizes the abnormality on the common bus 408 and performs the abnormality processing because the abnormality occurrence signal from the abnormality detection unit 407 and the transfer end signal from the transfer control unit 406 become active “1”.

【0041】図10は、第2実施例におけるロック転送
中のバス異常を示すタイミングチャートの他の一例であ
る。タイミングチャート内に記載された各タイミングを
示す番号〜を用いて、以下に説明する。 プロセッサ402は、ロック転送を行うためにバス
アクセス要求信号、及びロック転送信号をアクティブ
“1”にする。バスアクセス調停部405で調停を行
い、使用権を獲得して共通バス408に対する転送を行
う。転送制御部406は、共通バス408への転送が終
了すると、転送終了信号をアクティブ“1”にしてプロ
セッサ402に通知する。また、プロセッサ402は2
回めのバス転送を行うためにバスアクセス要求信号をア
クティブ“1”にして共通バス408に対する転送を行
う。 共通バス408上では、転送終了後からプロセッサ
402がロック転送信号を非アクティブ“0”にするま
での間、共通バス408の継続専有状態のため、この時
バス上に異常が発生しバス異常信号がアクティブ“1”
になると、FF305がセットされ異常保持信号がアク
ティブ“1”となる。 プロセッサ402がロック転送信号を非アクティブ
“0”にすると、微分回路303はその立ち下がりを検
出して微分信号を生成する。微分回路303からの微分
信号によりFF305はリセットされ、異常保持信号が
非アクティブ“0”になる。 プロセッサ402は、共通バス408へのアクセス
が必要になると、バスアクセス要求信号をアクティブ
“1”にするが、異常検出部407内の異常保持信号は
既に非アクティブ“0”となっているので、異常発生信
号は非アクティブ“0”のままとなりプロセッサ402
へは異常が通知されず、通常の共通バス408へのアク
セスが行われる。
FIG. 10 is another example of a timing chart showing a bus error during lock transfer in the second embodiment. This will be described below using numbers to indicate timings described in the timing chart. The processor 402 sets a bus access request signal and a lock transfer signal to active “1” to perform lock transfer. The bus access arbitration unit 405 arbitrates, acquires the right to use, and performs transfer to the common bus 408. When the transfer to the common bus 408 ends, the transfer control unit 406 sets the transfer end signal to active “1” and notifies the processor 402. In addition, the processor 402
In order to perform the second bus transfer, the bus access request signal is set to active “1” and the transfer to the common bus 408 is performed. On the common bus 408, since the common bus 408 continues to be used exclusively after the transfer is completed and until the processor 402 sets the lock transfer signal to the inactive “0”, an abnormality occurs on the bus at this time, and a bus abnormality signal is generated. Is active "1"
, The FF 305 is set and the abnormality holding signal becomes active “1”. When the processor 402 sets the lock transfer signal to inactive “0”, the differentiating circuit 303 detects the fall and generates a differentiated signal. The FF 305 is reset by the differential signal from the differentiating circuit 303, and the abnormality holding signal becomes inactive "0". When the processor 402 needs to access the common bus 408, the processor 402 sets the bus access request signal to active “1”. However, since the abnormality holding signal in the abnormality detection unit 407 is already inactive “0”, The abnormality occurrence signal remains inactive “0” and the processor 402
Is not notified, and the normal access to the common bus 408 is performed.

【0042】図11は、本発明の第3実施例の構成を示
す図である。共通バスアクセスボード501は、プロセ
ッサ502、バス制御部503、及びメモリ504で構
成される。また、バス制御部503は、プロセッサ50
2からの共通バス508へのバスアクセス要求信号によ
り他の共通バスアクセスボード501からのアクセスの
調停を行うバスアクセス調停部505、共通バス508
に対するデータ転送の制御を行う転送制御部506、及
び共通バス508上での異常を検出する異常検出部50
7から構成される。また、図3の異常検出部、転送制御
部の構成の一部を示す図は第3実施例においても使用さ
れる。
FIG. 11 is a diagram showing the configuration of the third embodiment of the present invention. The common bus access board 501 includes a processor 502, a bus control unit 503, and a memory 504. Further, the bus control unit 503 includes the processor 50.
A bus access arbitration unit 505 that arbitrates access from another common bus access board 501 in response to a bus access request signal from the second common bus 508 to the common bus 508, a common bus 508
A transfer control unit 506 for controlling data transfer to the CPU, and an abnormality detecting unit 50 for detecting an abnormality on the common bus 508.
7 is comprised. The diagram showing a part of the configuration of the abnormality detection unit and the transfer control unit in FIG. 3 is also used in the third embodiment.

【0043】第3実施例は、共通バス508に対する逐
次転送を行う。逐次転送とは、共通バスで複数のデータ
を高速に転送する場合に用いられる転送方法で、一度共
通バス508の使用権を獲得するとプロセッサ502か
らのラストデータ信号がアクティブ“1”となるまで共
通バス508を専有する。
In the third embodiment, sequential transfer to the common bus 508 is performed. Sequential transfer is a transfer method used to transfer a plurality of data at high speed over a common bus. Once the right to use the common bus 508 is acquired, the common transfer is performed until the last data signal from the processor 502 becomes active “1”. It has a bus 508 exclusively.

【0044】図12は、第3実施例における逐次転送正
常終了を示すタイミングチャートである。タイミングチ
ャート内に記載された各タイミングを示す番号〜を
用いて、以下に説明する。 プロセッサ502は、共通バスアクセスボード50
1内のメモリ504から共通バス508へ転送するため
の最初のデータをリードする。 プロセッサ502は、共通資源に最初のデータを逐
次転送にて格納するために、バスアクセス要求信号をア
クティブ“1”にする。 バスアクセス調停部505は、調停を行い使用権を
獲得して共通バス508への転送を開始する。ラストデ
ータ信号が非アクティブ“0”状態でのバスアクセス要
求であるため、バスアクセス調停部505はバス専有中
信号をアクティブ“1”にして共通バス508を専有
し、バス転送中信号をアクティブ“1”にする。 転送制御部506は、共通資源に対してメモリライ
ト信号をアクティブ“1”にし、データの格納を行う。
データの格納が終了すると共通資源からのアクセス完了
信号がアクティブ“1”となる。転送制御部506は、
アクセス完了信号がアクティブ“1”になるとバス転送
中信号を非アクティブ“0”にする。 転送制御部506は、転送終了信号をアクティブ
“1”にし、プロセッサ502へデータの転送が終了し
たことを通知する。 プロセッサ502は、バスアクセス要求信号を非ア
クティブ“0”にし、メモリ504から次に転送するデ
ータをリードする。 プロセッサ502は、再度バスアクセス要求信号を
アクティブ“1”にして上記の動作を繰り返す。 プロセッサ502は、メモリ504から転送する最
後のデータをリードした後にラストデータ信号をアクテ
ィブ“1”にしてバスアクセス要求信号をアクティブ
“1”にする。 転送制御部506は最後のデータ転送を行い、バス
アクセス調停部505はラストデータ信号のアクティブ
“1”を検出し、データ転送の終了後にバス専有中信号
を非アクティブ“0”にして共通バス508の継続専有
を解放する。
FIG. 12 is a timing chart showing the normal end of sequential transfer in the third embodiment. This will be described below using numbers to indicate timings described in the timing chart. The processor 502 is connected to the common bus access board 50
1, the first data to be transferred from the memory 504 to the common bus 508 is read. The processor 502 sets the bus access request signal to active “1” in order to store the first data in the common resource by sequential transfer. The bus access arbitration unit 505 arbitrates, acquires the right to use, and starts transfer to the common bus 508. Since the last data signal is a bus access request in the inactive "0" state, the bus access arbitration unit 505 sets the bus exclusive signal to active "1" to occupy the common bus 508, and sets the bus transfer signal to "active". 1 ". The transfer control unit 506 sets the memory write signal to active “1” for the common resource and stores data.
When the data storage is completed, the access completion signal from the common resource becomes active “1”. The transfer control unit 506 includes:
When the access completion signal becomes active "1", the bus transfer signal is made inactive "0". The transfer control unit 506 sets the transfer end signal to active “1” and notifies the processor 502 that the data transfer has ended. The processor 502 sets the bus access request signal to inactive “0” and reads the next data to be transferred from the memory 504. Processor 502 sets the bus access request signal to active “1” again, and repeats the above operation. After reading the last data to be transferred from the memory 504, the processor 502 sets the last data signal to active "1" and sets the bus access request signal to active "1". The transfer control unit 506 performs the last data transfer, the bus access arbitration unit 505 detects the active “1” of the last data signal, and sets the bus exclusive signal to inactive “0” after the end of the data transfer to set the common bus 508 to the inactive state. To release the continuation of proprietary.

【0045】図13は、第3実施例における逐次転送異
常終了を示すタイミングチャートである。タイミングチ
ャート内に記載された各タイミングを示す番号〜を
用いて、以下に説明する。 プロセッサ502は、メモリ504から最初のデー
タをリードし、共通バス508へ転送する。逐次転送正
常動作を繰り返し行う。 2番目のデータを共通バス508へ転送後に共通バ
ス上で異常が発生し、バス異常信号がアクティブ“1”
となる。バス専有中信号はアクティブ“1”であるの
で、FF305がセットされ異常保持信号がアクティブ
“1”となる。また、異常の発生によって、バスアクセ
ス調停部505はバス専有中信号を非アクティブ“0”
にしてバスの継続専有を解放する。 プロセッサ502は、共通バス508上で異常が発
生したことを認識していないので、プロセッサ502は
正常動作と同様にバスアクセス要求信号をアクティブ
“1”にする。 バスアクセス要求信号がアクティブ“1”になる
と、異常保持信号がアクティブ“1”であるのでFF3
07がセットされ異常発生信号がアクティブ“1”とな
る。異常検出部507は、異常発生信号がアクティブ
“1”になると共通バス508上のステータスを保持す
る。転送制御部506は、共通バス508へのバス転送
を行わずに転送終了信号をアクティブ“1”にする。 プロセッサ502は、異常検出部507からの異常
発生信号、及び転送制御部506からの転送終了信号が
アクティブ“1”になったのを検出し、異常発生を認識
して異常処理を行う。異常処理において、異常検出部5
07に保持されたステータスが参照される。
FIG. 13 is a timing chart showing the sequential transfer abnormal termination in the third embodiment. This will be described below using numbers to indicate timings described in the timing chart. The processor 502 reads the first data from the memory 504 and transfers it to the common bus 508. The normal sequential transfer operation is repeated. After the second data is transferred to the common bus 508, an error occurs on the common bus, and the bus error signal becomes active "1".
Becomes Since the bus exclusive signal is active "1", the FF 305 is set and the abnormality holding signal becomes active "1". Further, due to the occurrence of the abnormality, the bus access arbitration unit 505 changes the bus exclusive signal to inactive “0”.
And release the continuous occupation of the bus. Since the processor 502 does not recognize that an abnormality has occurred on the common bus 508, the processor 502 sets the bus access request signal to active "1" as in the normal operation. When the bus access request signal becomes active "1", the FF3
07 is set and the abnormality occurrence signal becomes active "1". The abnormality detecting unit 507 holds the status on the common bus 508 when the abnormality occurrence signal becomes active “1”. The transfer control unit 506 sets the transfer end signal to active “1” without performing the bus transfer to the common bus 508. The processor 502 detects that the abnormality occurrence signal from the abnormality detection unit 507 and the transfer end signal from the transfer control unit 506 have become active “1”, recognizes the occurrence of the abnormality, and performs the abnormality processing. In the abnormality processing, the abnormality detection unit 5
The status held in 07 is referred to.

【0046】[0046]

【発明の効果】本発明によって共通バスでのバス異常発
生時、プロセッサの共通バスへのアクセスのステータス
(アドレス、データ、リード/ライト転送方向等)が正
しく保持できるようになり、バスアクセスのリトライ処
理が容易に実現可能になる。
According to the present invention, when a bus error occurs in the common bus, the status (address, data, read / write transfer direction, etc.) of the access of the processor to the common bus can be correctly held, and the bus access is retried. Processing can be easily realized.

【0047】また、共通バス上でのバス異常発生をプロ
セッサが認識するまでは、新たなバス転送を行わないた
め共通バスの使用効率が上がる。更には、必要とする共
通バス上でのバス異常のみがプロセッサに通知されるた
め、プロセッサに関与しないバス異常による無駄な異常
処理を行わないですみ、システムとしての効率が上が
り、またプロセッサにおいて確実なデータ転送異常処理
が実現可能になる。
Until the processor recognizes the occurrence of a bus error on the common bus, no new bus transfer is performed, so that the use efficiency of the common bus is improved. Furthermore, since only a bus error on the required common bus is notified to the processor, unnecessary error processing due to a bus error that does not involve the processor need not be performed, thereby increasing the efficiency of the system and ensuring the processor. Data transfer abnormal processing can be realized.

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

【図1】本発明の原理を示すブロック図である。FIG. 1 is a block diagram showing the principle of the present invention.

【図2】本発明の第1実施例の構成を示す図である。FIG. 2 is a diagram showing a configuration of a first exemplary embodiment of the present invention.

【図3】本発明の異常検出部、転送制御部の構成の一部
を示す図である。
FIG. 3 is a diagram showing a part of the configuration of an abnormality detection unit and a transfer control unit according to the present invention.

【図4】第1実施例における共通バスアクセス異常を示
すタイミングチャート(その1)である。
FIG. 4 is a timing chart (part 1) showing a common bus access abnormality in the first embodiment.

【図5】第1実施例における共通バスアクセス異常を示
すタイミングチャート(その2)である。
FIG. 5 is a timing chart (part 2) showing a common bus access abnormality in the first embodiment.

【図6】第1実施例における共通バスアクセス異常を示
すタイミングチャート(その3)である。
FIG. 6 is a timing chart (part 3) showing a common bus access abnormality in the first embodiment.

【図7】本発明の第2実施例の構成を示す図である。FIG. 7 is a diagram showing a configuration of a second embodiment of the present invention.

【図8】第2実施例におけるロック転送正常終了を示す
タイミングチャートである。
FIG. 8 is a timing chart showing normal termination of lock transfer in the second embodiment.

【図9】第2実施例におけるロック転送中のバス異常を
示すタイミングチャートである。
FIG. 9 is a timing chart showing a bus error during lock transfer in the second embodiment.

【図10】第2実施例におけるロック転送正常終了後の
バス異常を示すタイミングチャートである。
FIG. 10 is a timing chart showing a bus abnormality after lock transfer is normally completed in the second embodiment.

【図11】本発明の第3実施例の構成を示す図である。FIG. 11 is a diagram showing a configuration of a third example of the present invention.

【図12】第3実施例における逐次転送正常終了を示す
タイミングチャートである。
FIG. 12 is a timing chart showing a normal end of sequential transfer in the third embodiment.

【図13】第3実施例における逐次転送異常終了を示す
タイミングチャートである。
FIG. 13 is a timing chart showing a sequential transfer abnormal end in the third embodiment.

【図14】従来の共通バスを使用したシステムの全体構
成を示す図である。
FIG. 14 is a diagram showing an overall configuration of a conventional system using a common bus.

【図15】従来の共通バスアクセスボードの構成を示す
図である。
FIG. 15 is a diagram showing a configuration of a conventional common bus access board.

【図16】従来の異常検出部、転送制御部の構成の一部
を示す図である。
FIG. 16 is a diagram showing a part of the configuration of a conventional abnormality detection unit and transfer control unit.

【図17】従来の共通バス連続専有正常終了を示すタイ
ミングチャートである。
FIG. 17 is a timing chart showing a conventional common bus continuous occupation normal termination.

【図18】従来の共通バス連続専有異常終了を示すタイ
ミングチャート(その1)である。
FIG. 18 is a timing chart (part 1) showing a conventional common bus continuous occupation abnormal termination.

【図19】従来の共通バス連続専有異常終了を示すタイ
ミングチャート(その2)である。
FIG. 19 is a timing chart (part 2) showing a conventional common bus continuous occupation abnormal termination.

【図20】従来の共通バス連続専有異常終了を示すタイ
ミングチャート(その3)である。
FIG. 20 is a timing chart (part 3) showing a conventional common bus continuous occupation abnormal termination.

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

101 プロセッサ 102 バスアクセス調停手段 103 転送制御手段 104 異常発生通知手段 105 異常発生保持手段 106 ステータス保持手段 107 共通バス Reference Signs List 101 processor 102 bus access arbitration means 103 transfer control means 104 abnormality occurrence notification means 105 abnormality occurrence holding means 106 status holding means 107 common bus

フロントページの続き (72)発明者 新井 聡一 神奈川県川崎市川崎区田辺新田1番1号 富士電機株式会社内 (56)参考文献 特開 平4−257957(JP,A) 特開 平4−152448(JP,A) 特開 平4−271448(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/00,13/00,13/36 Continuation of the front page (72) Inventor Souichi Arai 1-1, Tanabe-Nitta, Kawasaki-ku, Kawasaki-shi, Kanagawa Prefecture Inside Fuji Electric Co., Ltd. (56) References JP-A-4-257957 (JP, A) JP-A-4- 152448 (JP, A) JP-A-4-271448 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 11/00, 13/00, 13/36

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プロセッサが共通バスを専有してデータ
転送を実行中に、前記共通バス上で異常が発生したこと
を保持する異常発生保持手段と、 前記プロセッサが前記共通バスに対するアクセス要求時
に、前記異常発生保持手段の状態によって前記プロセッ
サに異常発生を通知するか否かを決定する異常発生通知
手段と、 を有し 前記異常発生保持手段は、前記異常発生通知手段が前記
プロセッサに異常を通知した時、又は前記プロセッサが
共通バスの専有を解除した時に、前記異常発生の保持を
クリアする ことを特徴とする共通バスのデータ転送にお
ける異常処理装置。
1. An error occurrence holding means for holding that an error has occurred on the common bus while a processor occupies the common bus and performs data transfer, when the processor requests access to the common bus, anda abnormality occurrence notification means for determining whether to notify the abnormality in said processor the state of the abnormality occurrence holding means, the abnormality occurrence holding means, the abnormality occurrence notification means the
When the processor is notified of an error, or when the processor
When the exclusive use of the common bus is released, the occurrence of
An abnormality processing device for data transfer on a common bus, which is cleared .
【請求項2】 プロセッサが共通バスを使用してデータ
転送を行う際に、他のプロセッサからのアクセス要求と
の調停を行い、共通バスの使用権を獲得するバスアクセ
ス調停手段と、 前記バスアクセス調停手段が前記共通バスの使用権を獲
得中に、前記共通バスに対する前記プロセッサからのデ
ータ転送の制御を行う転送制御手段と、 前記転送制御手段が前記共通バスに対するデータ転送を
実行中に、前記共通バス上で異常が発生したことを保持
する異常発生保持手段と、 前記プロセッサが前記共通バスに対するアクセス要求時
に、前記異常発生保持手段の状態によって前記プロセッ
サに異常発生を通知するか否かを決定する異常発生通知
手段と、 を有することを特徴とする共通バスのデータ転送におけ
る異常処理装置。
2. A bus access arbitration means for arbitrating an access request from another processor and acquiring a right to use a common bus when the processor performs data transfer using a common bus, and said bus access Transfer control means for controlling data transfer from the processor to the common bus while the arbitration means obtains the right to use the common bus, wherein the transfer control means performs data transfer to the common bus, Abnormality occurrence holding means for holding that an error has occurred on a common bus; and determining whether or not to notify the processor of the occurrence of an error based on the state of the error occurrence holding means when the processor requests access to the common bus. An abnormality processing device for data transfer on a common bus, comprising:
【請求項3】 前記転送制御手段は、前記異常発生通知
手段が前記プロセッサに対して異常発生の通知を行って
から前記プロセッサが異常処理を終了するまでの間、前
記プロセッサからの前記共通バスに対するアクセス要求
に対しては、前記共通バスには実際にアクセスを行わず
に転送終了の通知のみを前記プロセッサに対して行うこ
と、 を特徴とする請求項2記載の共通バスのデータ転送にお
ける異常処理装置。
3. The transfer control unit according to claim 1, wherein said transfer control unit is configured to send a notification to said common bus from said processor until the processor ends abnormal processing after the abnormality notification unit notifies the processor of the occurrence of the abnormality. 3. An abnormal process in the data transfer of the common bus according to claim 2, wherein, in response to an access request, only the transfer completion notification is sent to the processor without actually accessing the common bus. apparatus.
【請求項4】 前記バスアクセス調停手段は、前記異常
発生保持手段が前記共通バス上の異常を検出した時に、
前記共通バスに対する専有を開放すること、 を特徴とする請求項2、又は3記載の共通バスのデータ
転送における異常処理装置。
4. The bus access arbitration means, when the abnormality occurrence holding means detects an abnormality on the common bus,
4. The abnormality processing apparatus according to claim 2, wherein exclusive use of the common bus is released.
【請求項5】 前記異常発生通知手段が前記プロセッサ
に対して異常発生の通知を行う時に、前記共通バスに出
力されたステータスを保持するステータス保持手段を更
に有すること、 を特徴とする請求項1〜4の何れか1項に記載の共通バ
スのデータ転送における異常処理装置。
5. The apparatus according to claim 1, further comprising: status holding means for holding a status output to said common bus when said abnormality occurrence notifying means notifies said processor of an abnormality occurrence. 5. The abnormality processing device for data transfer of the common bus according to any one of the above-mentioned items.
JP32660794A 1994-12-28 1994-12-28 Error handling device in common bus data transfer Expired - Fee Related JP3236459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32660794A JP3236459B2 (en) 1994-12-28 1994-12-28 Error handling device in common bus data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32660794A JP3236459B2 (en) 1994-12-28 1994-12-28 Error handling device in common bus data transfer

Publications (2)

Publication Number Publication Date
JPH08185372A JPH08185372A (en) 1996-07-16
JP3236459B2 true JP3236459B2 (en) 2001-12-10

Family

ID=18189704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32660794A Expired - Fee Related JP3236459B2 (en) 1994-12-28 1994-12-28 Error handling device in common bus data transfer

Country Status (1)

Country Link
JP (1) JP3236459B2 (en)

Also Published As

Publication number Publication date
JPH08185372A (en) 1996-07-16

Similar Documents

Publication Publication Date Title
JP4008987B2 (en) Bus communication system, bus arbitration method, and data transfer method
US4864496A (en) Bus adapter module for interconnecting busses in a multibus computer system
US5613075A (en) Method and apparatus for providing deterministic read access to main memory in a computer system
US4979097A (en) Method and apparatus for interconnecting busses in a multibus computer system
US6134625A (en) Method and apparatus for providing arbitration between multiple data streams
JPH08297632A (en) Method and apparatus for arbitration to bus enabling split transaction bus protocol
JPS5812611B2 (en) Data Tensou Seigiyohoushiki
JPH0473176B2 (en)
JP2015530679A (en) Method and apparatus using high efficiency atomic operations
US4837767A (en) Bus adapter module with improved error recovery in a multibus computer system
JP3236459B2 (en) Error handling device in common bus data transfer
US6502150B1 (en) Method and apparatus for resource sharing in a multi-processor system
JP2972491B2 (en) Bus control mechanism and computer system
JPH03150654A (en) Preference control system for processor having cash
JP3597621B2 (en) Lock transfer control method
JPS63101948A (en) Data processor
JP2992621B2 (en) Lock transfer method
JPH02103619A (en) Adapter device
JPH02101560A (en) Bus interface device
JPH10214253A (en) Request control circuit
JP2903551B2 (en) Multiprocessor synchronization mechanism
JP2702832B2 (en) Relief controller for low priority adapter
JP2837893B2 (en) Microcomputer device
JP2825589B2 (en) Bus control method
US20190018807A1 (en) Electronic device

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: 20010918

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20070928

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080928

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080928

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090928

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090928

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090928

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees