JPH04132549U - microprocessor circuit - Google Patents

microprocessor circuit

Info

Publication number
JPH04132549U
JPH04132549U JP4555691U JP4555691U JPH04132549U JP H04132549 U JPH04132549 U JP H04132549U JP 4555691 U JP4555691 U JP 4555691U JP 4555691 U JP4555691 U JP 4555691U JP H04132549 U JPH04132549 U JP H04132549U
Authority
JP
Japan
Prior art keywords
microprocessor
external bus
output
circuit
cache memory
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
JP4555691U
Other languages
Japanese (ja)
Inventor
正利 梅山
Original Assignee
日本信号株式会社
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 日本信号株式会社 filed Critical 日本信号株式会社
Priority to JP4555691U priority Critical patent/JPH04132549U/en
Publication of JPH04132549U publication Critical patent/JPH04132549U/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Bus Control (AREA)
  • Microcomputers (AREA)

Abstract

(57)【要約】 (修正有) 【構成】 キャッシュメモリを内蔵したマイクロプロセ
ツサ1及び、このマイクロプロセツサより外部バス2に
所定時間内に出力が無い場合を検知してマイクロプロセ
ツサに割込み信号を送出する外部バス監視回路3を具備
する。マイクロプロセツサ1が内部キャッシュメモリを
使用し続けて外部バスに出力が成されない場合にも、外
部バス監視回路が強制的に一定時間内で外部バスに出力
させる。また、マイクロプロセッサ1,1′が複数あ
り、比較回路4によって双方の出力の不一致を検出する
ことにより、異状を検知する。 【効果】 外部バスに対する出力が途切れず、外部バス
出力に動作が関連する回路であっても既存プログラムが
転用できる。
(57) [Summary] (with modifications) [Configuration] A microprocessor 1 with a built-in cache memory, and an interrupt to the microprocessor when it detects that there is no output from this microprocessor to the external bus 2 within a predetermined time. It is equipped with an external bus monitoring circuit 3 that sends out signals. Even when the microprocessor 1 continues to use the internal cache memory and no output is made to the external bus, the external bus monitoring circuit forcibly causes the output to be made to the external bus within a certain period of time. Further, there are a plurality of microprocessors 1, 1', and a comparison circuit 4 detects a mismatch between the outputs of the two, thereby detecting an abnormality. [Effect] Output to the external bus is not interrupted, and existing programs can be reused even for circuits whose operations are related to external bus output.

Description

【考案の詳細な説明】[Detailed explanation of the idea]

【0001】0001

【産業上の利用分野】[Industrial application field]

本考案は、キャッシュメモリを内蔵したマイクロプロセツサを使用したマイク ロプロセツサ回路に関し、特に例えばマイクロプロセツサを2台使用し同期させ て同一動作をさせ、両者の外部バスへの出力信号が常に一致していることを照査 することによってマイクロプロセツサ等の動作信頼性を高めた所謂完全同期形2 重系マイクロプロセツサ回路に見られるように外部バスに対するアクセスや出力 に動作が依存するマイクロプロセツサ回路に関する。 This invention is a microphone that uses a microprocessor with built-in cache memory. Regarding microprocessor circuits, especially when two microprocessors are used and synchronized, perform the same operation, and check that the output signals to the external bus on both sides always match. The so-called fully synchronous type 2 improves the operational reliability of microprocessors, etc. by Access and output to external buses as seen in heavy-duty microprocessor circuits relates to microprocessor circuits whose operation depends on

【0002】0002

【従来の技術】[Conventional technology]

従来より鉄道信号系や、産業機器中で原子炉制御系等の特に安全性が要求され る分野においてマイクロプロセツサを使用する場合、マイクロプロセツサの故障 を検出するために同一のマイクロプロセツサを2台用いて2重系として用い、両 者の出力を互いに照査するように構成したり、あるいは両者を同期させて動作さ せ外部バスへの出力の一致を付加回路により照査したりして信頼性、安全性を保 っている。 後者のマイクロプロセツサ回路の従来の一例を図2に示す。図2の完全同期形 2重系マイクロプロセツサ回路10は、各部の故障や電源の停止に対応して安全 側の出力を送出する所謂フエイルセーフな構成となっている。すなわち、2台の マイクロプロセツサ1、1′と夫々の外部バス2、2′に接続された比較回路4 と、この比較回路4に接続されたリレー駆動回路5、後続するリレー6及び外部 バス2、2′に接続された図示しないメモリやI/O回路を含み構成されている 。前記2つのマイクロプロセツサ1、1′は同一のクロック信号CLSに従い同 期して同一処理をするように構成されている。前記比較回路4は、マイクロプロ セツサ1がその外部バス2に出力するデータと、マイクロプロセツサ1′がその 外部バス2′に出力するデータとを常に比較し、データに応じて“1”または“ 0”の信号を発生して後続するリレー駆動回路5に送出しており、この出力は常 態では常に変化することとなる。そして、リレー駆動回路5では、この出力が変 化している場合を正常としリレー6を動作させている。 Traditionally, safety has been particularly required for railway signal systems and nuclear reactor control systems among industrial equipment. When using a microprocessor in a field that In order to detect The output of both users can be configured to check each other's output, or both can be configured to work synchronously. Reliability and safety are ensured by checking the match of the output to the external bus using an additional circuit. ing. A conventional example of the latter microprocessor circuit is shown in FIG. Fully synchronous type in Figure 2 The dual-system microprocessor circuit 10 is safe in response to failures in various parts and power outages. It has a so-called fail-safe configuration in which the output from the side is sent out. In other words, two Comparator circuit 4 connected to microprocessor 1, 1' and respective external bus 2, 2' , a relay drive circuit 5 connected to this comparison circuit 4, a subsequent relay 6 and an external Consists of memory and I/O circuits (not shown) connected to buses 2 and 2' . The two microprocessors 1 and 1' operate in the same manner according to the same clock signal CLS. It is configured to perform the same processing at the same time. The comparison circuit 4 is a microprocessor. The data that processor 1 outputs to its external bus 2 and the data that microprocessor 1' outputs to its external bus 2 are It constantly compares the data output to external bus 2' and sets it to "1" or " according to the data. 0" signal is generated and sent to the subsequent relay drive circuit 5, and this output is always The situation is constantly changing. Then, in the relay drive circuit 5, this output changes. The relay 6 is operated when it is considered normal.

【0003】 しかし、マイクロプロセツサその他が故障して2台のマイクロプロセツサが外 部バスに異なるデータを出力すると、比較回路4がこれを検知し後続するリレー 駆動回路5に対して送出する信号を“1”または“0”に固定する。これに対応 してリレー駆動回路5が、リレー6を落下させる。この結果、リレー6の接点を 介して異常出力が後続装置(図示せず)に送出されマイクロプロセツサ1、1′ 等の故障が検知され所定の必要な処置が取られることになる。 上述した比較回路4はマイクロプロセツサ1、1′から出力される外部バス2 、2′のデータに応じて“1”または“0”の信号を発生し、最終出力のリレー (正常リレー)6を動作させる構成であるので、常態では“1”と“0”とが所 定頻度で発生することが必要である。従って、例えば動作プログラム上でも外部 バスに対してデータ変化が生じない“NOP”命令を使用しない等の配慮が成さ れている。0003 However, the microprocessor and other parts failed and two microprocessors were removed. When different data is output to the bus, the comparator circuit 4 detects this and the subsequent relay The signal sent to the drive circuit 5 is fixed at "1" or "0". Corresponds to this Then, the relay drive circuit 5 drops the relay 6. As a result, the contacts of relay 6 The abnormal output is sent to the subsequent device (not shown) through the microprocessor 1, 1'. Such failures will be detected and necessary predetermined measures will be taken. The above-mentioned comparison circuit 4 connects to the external bus 2 output from the microprocessors 1 and 1'. , 2' generates a "1" or "0" signal according to the data, and the final output relay (Normal relay) Since the configuration is to operate 6, under normal conditions, “1” and “0” are in place. It is necessary to occur at a regular frequency. Therefore, for example, even in the operating program, external Considerations have been taken, such as not using the “NOP” command, which does not cause data changes to the bus. It is.

【0004】 ところで、マイクロプロセツサの発展に伴い近年高速処理をする上で有効な手 段であるキャッシュメモリを内蔵したマイクロプロセツサも供給されている。ち なみに、各種メモリに対するマイクロプロセツサのアクセスタイムを比較した一 例を示すと、通常のローカルメモリに対しては70〜150ns、VME規格の バス上のメモリに対しては500〜1200nsであるアクセスタイムが、内部 キャッシュメモリに対しては60ns以下と高速化される。なお、マイクロプロ セツサによっては、プログラム用とデータ用の2種類のキャッシュメモリを内蔵 するものもある。0004 By the way, with the development of microprocessors, effective methods for high-speed processing have been developed in recent years. Microprocessors with built-in cache memory are also available. Chi By the way, here is a comparison of microprocessor access times for various types of memory. For example, for normal local memory it takes 70-150ns, while the VME standard The access time for memory on the bus is 500 to 1200 ns, but internal For cache memory, the speed is increased to 60 ns or less. In addition, micropro Some setsa have two types of built-in cache memory: one for programs and one for data. Some do.

【0005】[0005]

【考案が解決しようとする課題】[Problem that the idea aims to solve]

ところで、前述した如き従来のマイクロプロセツサ回路10に、上述したキャ ッシュメモリ内蔵のマイクロプロセツサをそのまま適用すると外部バスに対して 長時間出力がなされない場合があり不都合が生じる。 即ち、内部キャッシュメモリを有するマイクロプロセツサの場合、マイクロプ ロセツサは一旦キャッシュメモリにロードされたプログラムで処理を実行し、次 の実行命令がキャッシュメモリに存在する間は外部バスに対するアクセスを実行 しない。従って、キャッシュメモリを有するマイクロプロセツサを使用した回路 や、システムで、ループプログラムを実行させると、外部アクセスがかなりの時 間実行されず外部バスにも出力がないことになる。このため、前述したフエイル セーフな比較回路4からは“1”と“0”の信号がある頻度で発生しないことと なり、結局後続するリレー6が復旧してしまい、不当に異常信号が送出されてし まうことになる。 By the way, the conventional microprocessor circuit 10 as described above has the above-mentioned capacitor. If you apply a microprocessor with built-in flash memory as is, it will Output may not be made for a long time, causing inconvenience. In other words, in the case of a microprocessor with internal cache memory, the microprocessor Rosetsusa executes processing using the program once loaded into cache memory, and then Access to the external bus is executed while the execution instruction exists in the cache memory. do not. Therefore, a circuit using a microprocessor with cache memory When a loop program is executed on a system or a system, external access occurs frequently. It will not be executed for a while and there will be no output to the external bus. For this reason, the above-mentioned fail It is assumed that “1” and “0” signals do not occur with a certain frequency from the safe comparator circuit 4. Eventually, the subsequent relay 6 was restored, and an abnormal signal was sent out incorrectly. I'm going to go to the middle of the day.

【0006】 なお、この対応として、所定時間以上ループする部分を含まないプログラムを 作成する、或いは、ループ処理の中に外部バスをアクセスする過程をわざわざ設 けておくといったソフトウエアによる対応も一応は可能ではあるが、既存のプロ グラムを転用できないという不利益に加えて、上記所定時間をいくらに設定する か(システム毎に異なる)考慮しなければならず、また実行時における動作時間 関係を考慮しつつプログラム作成を行うことは極めて煩雑である等の理由から得 策とは言い難い。 本考案は、以上述べた状況に鑑みて成されたもので、既存の回路に簡易な回路 を付加するのみで、キャッシュメモリを内蔵した高速のマイクロプロセツサを用 いながらも既存プログラムを転用することが可能なマイクロプロセツサ回路を提 案することを課題とするものである。[0006] To deal with this, create a program that does not include any parts that loop for longer than a predetermined time. or create a process to access an external bus during loop processing. Although it is possible to take measures using software such as keeping the In addition to the disadvantage of not being able to repurpose grams, how much should the above prescribed time be set? (varies for each system) and the running time at runtime. It is difficult to create a program while taking relationships into account, and so on. It can hardly be called a strategy. This invention was created in view of the above-mentioned situation, and it is possible to add a simple circuit to the existing circuit. You can use a high-speed microprocessor with built-in cache memory by simply adding We offer a microprocessor circuit that allows existing programs to be reused while The task is to come up with a plan.

【0007】[0007]

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

上記課題を解決するために本考案ではマイクロプロセツサ回路を、 キャッシュメモリを内蔵したマイクロプロセツサと、このマイクロプロセツサ より外部バスに対し所定時間以内に出力が無い場合を検知してマイクロプロセツ サに割込み信号を送出する外部バス監視回路とを具備し構成する。 In order to solve the above problems, this invention uses a microprocessor circuit. A microprocessor with built-in cache memory and this microprocessor The microprocessor detects when there is no output to the external bus within a predetermined time. and an external bus monitoring circuit that sends an interrupt signal to the server.

【0008】 また、本願他の考案ではマイクロプロセツサ回路を、 キャッシュメモリを内蔵した複数のマイクロプロセツサと、これらのマイクロ プロセツサより夫々の外部バスの何れかに対し所定時間以内に出力が無い場合を 検知してマイクロプロセツサに割込み信号を送出する外部バス監視回路と、夫々 の外部バスの状態を比較して不一致を検出して異常信号を送出する比較回路とを 具備した構成とする。[0008] In addition, in other inventions of the present application, the microprocessor circuit is Multiple microprocessors with built-in cache memory and If there is no output from the processor to any of the external buses within a predetermined time, an external bus monitoring circuit that detects and sends an interrupt signal to the microprocessor; and a comparison circuit that compares the status of the external bus and detects a discrepancy and sends out an abnormal signal. The structure shall be equipped with the following.

【0009】[0009]

【作用】[Effect]

外部バス監視回路が、マイクロプロセツサより外部バスに対し所定時間以内に 出力がない場合を検知しマイクロプロセツサに割り込み信号を送出する。マイク ロプロセツサではこの割り込み信号に対応する割り込み処理として所定プログラ ムが起動実行され外部バスへ出力がなされる。 この結果、キャッシュメモリ内部で継続実行されるループプログラムを含むプ ログラムを実行しても既存システムへ悪影響を与えない。これは、既存プログラ ムが略転用できることを意味し、不要のプログラム開発を回避することができる 。 The external bus monitoring circuit allows the microprocessor to monitor the external bus within a predetermined time. It detects when there is no output and sends an interrupt signal to the microprocessor. microphone The processor uses a predetermined program as the interrupt processing corresponding to this interrupt signal. The system is started and executed, and output is made to the external bus. As a result, programs containing loop programs that are continuously executed inside the cache memory. Executing the program will not have a negative impact on the existing system. This is an existing program This means that the system can be easily repurposed, and unnecessary program development can be avoided. .

【0010】0010

【実施例】【Example】

以下、本考案を添附図面に沿って詳細に説明する。 図1は、本願考案のマイクロプロセツサ回路の一実施例を示すブロック図であ る。なお、図2におけると同一又は同等部分には同一図番を付して示す。 図1のマイクロプロセツサ回路20は、図2の回路同様に2つのマイクロプロ セツサ1、1′と夫々の外部バス2、2′に接続された比較回路4と、この比較 回路4に接続されたリレー駆動回路5、後続するリレー6及び外部バス2、2′ に接続された図示しないメモリやI/O回路を含み構成されている。これら部分 の作用は既述したと同様であるため省略する。 Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing an embodiment of the microprocessor circuit of the present invention. Ru. Note that the same or equivalent parts as in FIG. 2 are indicated with the same figure numbers. The microprocessor circuit 20 of FIG. 1 has two microprocessor circuits similar to the circuit of FIG. Comparator circuit 4 connected to setters 1, 1' and respective external buses 2, 2', Relay drive circuit 5 connected to circuit 4, subsequent relay 6 and external bus 2, 2' It is configured to include a memory and an I/O circuit (not shown) connected to the . these parts The operation of is the same as described above, so it will be omitted.

【0011】 これら既存の部分に加えてマイクロプロセツサ回路20は、更に外部バス監視 回路3を具備している。外部バス監視回路3は、マイクロプロセツサ1、1′よ り夫々の外部バスに所定時間以内に出力が無い場合(アクセスが無い場合)を検 知してマイクロプロセツサ1、1′に割込み信号INTを送出する回路であり、 マイクロプロセツサ1、1′が夫々の外部バスをアクセスした時に出力される信 号(例えばDSA、DSB)に夫々接続されたカウンタ31、31′と、このカ ウンタ31、31′のカウント数が所定値に達した時出力されるカウントアップ 信号(CNTUP、CNTUP′)が夫々入力される単一の割込信号発生回路3 3と、カウンタ31、31′にカウントパルスCTPを入力するカウントパルス 発生器32とを含み構成されている。[0011] In addition to these existing parts, the microprocessor circuit 20 also provides external bus monitoring. It is equipped with a circuit 3. The external bus monitoring circuit 3 is connected to the microprocessors 1 and 1'. Detects if there is no output (no access) to each external bus within a specified time. This is a circuit that sends an interrupt signal INT to the microprocessors 1 and 1' based on the The signals output when microprocessors 1 and 1' access their respective external buses. counters 31 and 31' connected to respective numbers (for example, DSA and DSB), and Count up output when the count number of counters 31, 31' reaches a predetermined value A single interrupt signal generation circuit 3 into which signals (CNTUP, CNTUP') are respectively input. 3, and a count pulse that inputs the count pulse CTP to the counters 31 and 31'. The generator 32 is configured to include a generator 32.

【0012】 次に、マイクロプロセツサ回路20の作用を説明する。 従来の回路同様に、前記2つのマイクロプロセツサ1、1′は同一のクロック 信号CLSに従い同期して同一処理をする。カウンタ31、31′は、マイクロ プロセツサ1、1′が外部バスをアクセスした時に出力される信号(実施例では DSA、DSB)が入力されるとカウント値がリセットされる。また、カウント パルスCTPを常時カウントしていて、カウント値が設定値に達するとカウント アップ信号(CNTUP、CNTUP′)を割込信号発生回路33に送出する。 割込信号発生回路33はこれに対応してパルス幅、極性、レベル等が適切な割込 み信号INTを作成し2台のマイクロプロセツサ1、1′の割込み端子7、7′ へと夫々送出する。マイクロプロセツサ1、1′は、割込みに応じて所定処理、 即ち外部にアクセスする処理を含むプログラムを実行した後、元のプログラムの 実行を続ける。従って、マイクロプロセツサが内部キャッシュメモリを使用し続 けて外部にアクセスが成されない場合にも、外部バス監視回路3が強制的に一定 時間内で外部をアクセスさせることとなり、常態では外部アクセスが途切れるこ とはない。0012 Next, the operation of the microprocessor circuit 20 will be explained. As in conventional circuits, the two microprocessors 1, 1' are clocked by the same clock. The same processing is performed in synchronization according to the signal CLS. The counters 31, 31' are micro The signal output when processors 1 and 1' access the external bus (in the example When DSA, DSB) is input, the count value is reset. Also, count Pulse CTP is constantly counted, and when the count value reaches the set value, it starts counting. The up signal (CNTUP, CNTUP') is sent to the interrupt signal generation circuit 33. The interrupt signal generation circuit 33 generates an interrupt with appropriate pulse width, polarity, level, etc. It creates a read signal INT and connects it to the interrupt terminals 7 and 7' of the two microprocessors 1 and 1'. Send them to each of them. The microprocessors 1 and 1' perform predetermined processing in response to the interrupt. In other words, after executing a program that includes external access processing, the original program is Continue running. Therefore, the microprocessor continues to use internal cache memory. Even if no access is made to the outside, the external bus monitoring circuit 3 is forced to maintain a constant state. The external access will be allowed within the specified time, and under normal conditions, external access may be interrupted. There is no such thing.

【0013】 前記比較回路4は、既述した様にマイクロプロセツサ1がその外部バス2に出 力するデータと、マイクロプロセツサ1′がその外部バス2′に出力するデータ とを常に比較し、データに応じて“1”または“0”の信号を発生し後続するリ レー駆動回路5に送出する。この出力は常態では常に変化している。そして、リ レー駆動回路5では、この出力が変化している場合を正常としリレー6を動作さ せている。 しかし、マイクロプロセツサが故障して2台のマイクロプロセツサが外部バス に異なるデータを出力すると、比較回路4がこれを検知し後続するリレー駆動回 路5に対して送出する信号を固定する。この状態に対応してリレー駆動回路5は 、リレー6を落下させる。この結果、リレー6の接点を介して異常出力が後続装 置(図示せず)に送出されマイクロプロセツサ1、1′等の故障が検知され所定 の必要な処置が取られることになる。[0013] As mentioned above, the comparator circuit 4 is connected to the microprocessor 1 which is connected to the external bus 2. data that the microprocessor 1' outputs to its external bus 2'. and generates a “1” or “0” signal depending on the data and then The signal is sent to the ray drive circuit 5. This output is constantly changing under normal conditions. And then The relay drive circuit 5 considers the change in this output to be normal and operates the relay 6. It's set. However, the microprocessor failed and two microprocessors were transferred to the external bus. When different data is output to the comparator circuit 4, this is detected and the subsequent relay drive circuit The signal sent to line 5 is fixed. In response to this state, the relay drive circuit 5 , drop the relay 6. As a result, the abnormal output is transmitted to the subsequent equipment via the contact of relay 6. A failure in the microprocessor 1, 1', etc. is detected and a predetermined Necessary measures will be taken.

【0014】 上述回路に於けるプログラムは外部バスへのアクセスを考慮する必要がないの で従来のプログラムを略転用でき、単に割込み時プログラムを付加するのみで良 い。なお、新規にプログラムを作成する場合にも時間配分に対する配慮は不要で あり、返って従来のプログラムにあっては排除を余儀無くされていた外部バスに 対してデータ変化が生じない“NOP”命令の多用についても配慮する必要が無 くなる。 なお、外部バス監視回路は、マイクロプロセツサが外部バスに対して所定時間 アクセスが無く外部バス上のデータ変化が無い場合を検出すれば良いので、例え ば入力を外部バスのデータに基づくものとする等の適宜の変更が可能である。[0014] The program in the above circuit does not need to consider access to the external bus. You can basically reuse the conventional program by simply adding an interrupt program. stomach. Note that when creating a new program, there is no need to consider time allocation. On the other hand, it is possible to use an external bus that was forced to be excluded in conventional programs. On the other hand, there is no need to consider the frequent use of “NOP” instructions, which do not cause data changes. It becomes. Note that the external bus monitoring circuit allows the microprocessor to monitor the external bus for a predetermined period of time. All you need to do is to detect when there is no access and no data change on the external bus. For example, it is possible to make appropriate changes such as input based on data on an external bus.

【0015】 以上、マイクロプロセツサを2台使用したフエイルセーフなマイクロプロセツ サ回路について説明したが、マイクロプロセツサが1台のみの回路であっても一 定間隔での外部アクセスが装置動作に必要な場合や、外部より動作中であること を監視したい場合であれば上述した技術思想を適用することができることは言う までもない。 即ち、キャッシュメモリを内蔵したマイクロプロセツサと、このマイクロプロ セツサより外部バスに所定時間内に出力が無い場合を検知してマイクロプロセツ サに割込み信号を送出する外部バス監視回路とを具備しマイクロプロセツサ回路 を構成すれば、上述したと同様にマイクロプロセツサが内部キャッシュメモリを 使用し続けて外部にアクセスが成されない場合にも、外部バス監視回路が強制的 に一定時間内で外部をアクセスし外部アクセスが途切れることがない。[0015] The above is a fail-safe microprocessor using two microprocessors. Although we have explained about microprocessor circuits, even if the circuit has only one microprocessor, If external access at regular intervals is required for device operation, or if the device is in operation from the outside. The above technical idea can be applied if you want to monitor Not even. In other words, a microprocessor with built-in cache memory and a The microprocessor detects when there is no output from the setter to the external bus within a predetermined time. and an external bus monitoring circuit that sends interrupt signals to the microprocessor circuit. , the microprocessor uses internal cache memory as described above. Even if the bus continues to be used and no external access is made, the external bus monitoring circuit will be forced to operate. access to the outside within a certain period of time, and there is no interruption in external access.

【0016】[0016]

【考案の効果】[Effect of the idea]

以上詳述したとおり本願考案ではマイクロプロセツサ回路を、 キャッシュメモリを内蔵したマイクロプロセツサと、このマイクロプロセツサ より外部バスに所定時間以内に出力が無い場合を検知してマイクロプロセツサに 割込み信号を送出する外部バス監視回路とを具備し構成したので、 マイクロプロセツサが内部キャッシュメモリを使用し続けて外部バスに出力が されない場合にも、外部バス監視回路が一定時間内で強制的に外部バスに出力さ せるから外部バス出力が途切れることがなく、従って外部から動作中であること を確認できる。 As detailed above, in the present invention, the microprocessor circuit is A microprocessor with built-in cache memory and this microprocessor The microprocessor detects when there is no output on the external bus within a predetermined time. Since it is equipped with an external bus monitoring circuit that sends out interrupt signals, The microprocessor continues to use internal cache memory and output to the external bus. Even if the output is not output, the external bus monitoring circuit will force output to the external bus within a certain period of time. Because the external bus output is uninterrupted, it can therefore be operated externally. You can check.

【0017】 また、本願他の考案ではマイクロプロセツサ回路を、 キャッシュメモリを内蔵した複数のマイクロプロセツサと、これらのマイクロ プロセツサより夫々の外部バスの何れかに所定時間以内に出力が無い場合を検知 してマイクロプロセツサに割込み信号を送出する外部バス監視回路と、夫々の外 部バスの状態を比較して不一致を検出して異常信号を送出する比較回路とを具備 し構成したので、 簡易な回路の付加のみでキャッシュメモリ内部で継続実行されるループプログ ラムを含むプログラムを実行しても既存システムへ悪影響を与えず、既存プログ ラムが略転用でき、従って不要のプログラム開発を回避することができる。[0017] In addition, in other inventions of the present application, the microprocessor circuit is Multiple microprocessors with built-in cache memory and Detects when there is no output from the processor to any of the external buses within a predetermined time. an external bus monitoring circuit that sends interrupt signals to the microprocessor, and Equipped with a comparison circuit that compares the status of the external bus, detects a discrepancy, and sends an abnormal signal. I configured it, so A loop program that can be continuously executed inside the cache memory by simply adding a simple circuit. Executing a program containing a program will not have a negative impact on the existing system, and RAM can be substantially repurposed, and unnecessary program development can therefore be avoided.

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

【図1】本願考案のマイクロプロセツサ回路の一実施例
を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a microprocessor circuit according to the present invention.

【図2】従来のマイクロプロセツサ回路の一例を示すブ
ロック図である。
FIG. 2 is a block diagram showing an example of a conventional microprocessor circuit.

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

1、1′…マイクロプロセツサ、 2、2′…外部バ
ス、3…外部バス監視回路、 4…比較回路。
1, 1'...microprocessor, 2, 2'...external bus, 3...external bus monitoring circuit, 4...comparison circuit.

Claims (2)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 キャッシュメモリを内蔵したマイクロプ
ロセツサと、このマイクロプロセツサより外部バスに対
し所定時間以内に出力が無い場合を検知してマイクロプ
ロセツサに割込み信号を送出する外部バス監視回路とを
具備したマイクロプロセツサ回路。
[Claim 1] A microprocessor with a built-in cache memory, and an external bus monitoring circuit that detects when there is no output from the microprocessor to an external bus within a predetermined time and sends an interrupt signal to the microprocessor. A microprocessor circuit equipped with
【請求項2】 キャッシュメモリを内蔵した複数のマイ
クロプロセツサと、これらのマイクロプロセツサより夫
々の外部バスの何れかに対し所定時間内に出力が無い場
合を検知してマイクロプロセツサに割込み信号を送出す
る外部バス監視回路と、夫々の外部バスの状態を比較し
て不一致を検出して異常信号を送出する比較回路とを具
備したマイクロプロセツサ回路。
[Claim 2] A plurality of microprocessors each having a built-in cache memory, and detecting that there is no output from each of these microprocessors to any of the external buses within a predetermined time, and sending an interrupt signal to the microprocessor. A microprocessor circuit equipped with an external bus monitoring circuit that sends out a signal, and a comparison circuit that compares the states of each external bus, detects a discrepancy, and sends out an abnormal signal.
JP4555691U 1991-05-21 1991-05-21 microprocessor circuit Pending JPH04132549U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4555691U JPH04132549U (en) 1991-05-21 1991-05-21 microprocessor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4555691U JPH04132549U (en) 1991-05-21 1991-05-21 microprocessor circuit

Publications (1)

Publication Number Publication Date
JPH04132549U true JPH04132549U (en) 1992-12-08

Family

ID=31925388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4555691U Pending JPH04132549U (en) 1991-05-21 1991-05-21 microprocessor circuit

Country Status (1)

Country Link
JP (1) JPH04132549U (en)

Similar Documents

Publication Publication Date Title
US5491787A (en) Fault tolerant digital computer system having two processors which periodically alternate as master and slave
JPH04132549U (en) microprocessor circuit
JP2007011639A (en) Input/output control apparatus, information control apparatus, input/output control method, and information control method
JP2998804B2 (en) Multi-microprocessor system
JPS5931738B2 (en) Parallel triple system configuration method for computer system
WO2018003560A1 (en) Electronic control device
JP4613019B2 (en) Computer system
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JPS61267810A (en) Deciding circuit for detection of service interruption
JPS5958560A (en) Diagnosis system of data processor
JP3019336B2 (en) Microprocessor development support equipment
CN117743008A (en) Multi-core processor fault diagnosis and exception handling method, main control board card and equipment
JPH01230111A (en) Power source control system
JPH0651935U (en) Failure management device in multi-CPU system
JPS632922Y2 (en)
JPS63263543A (en) Multilevel programming system
JPS59119451A (en) Diagnosing system of electronic computer system
JPS61145617A (en) Power supply disconnection circuit
JPH0471037A (en) Duplex system for electronic computer
JPS6330660B2 (en)
JPS6174034A (en) Trouble recovery system of counter
JPH05143379A (en) Program monitoring device
JPH0481936A (en) Synchronization control system between plural cpus
JPH01169545A (en) Fault detecting system in multiplex computer system
JPS616743A (en) Arithmetic and control unit