JPS59180740A - System for diagnosing rom microprogram controlling device - Google Patents

System for diagnosing rom microprogram controlling device

Info

Publication number
JPS59180740A
JPS59180740A JP58055865A JP5586583A JPS59180740A JP S59180740 A JPS59180740 A JP S59180740A JP 58055865 A JP58055865 A JP 58055865A JP 5586583 A JP5586583 A JP 5586583A JP S59180740 A JPS59180740 A JP S59180740A
Authority
JP
Japan
Prior art keywords
address
rom
program
microprogram
diagnosis
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
JP58055865A
Other languages
Japanese (ja)
Inventor
Masanori Sakuragi
桜木 正典
Yasuhiro Nioka
二岡 康浩
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58055865A priority Critical patent/JPS59180740A/en
Publication of JPS59180740A publication Critical patent/JPS59180740A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To supply a desired program address to the access of an ROM to diagnose by installing an address memory, into which the program address for accessing the ROM is stored. CONSTITUTION:Before making a diagnosis, the address of a microprogram which is to be diagnosed is stored in an address memory RAM 4 through an interface 5. When the diagnosis is started, the program address stored in the RAM 4 is read out in accordance with the content of a program counter and supplied to an ROM 3 through a multiplexer 2, and then, repetitionary execution of the program to be diagnosed is made to perform the ROM 3. Therefore, a microprogram in an ROM, of which address is fixed, can be operated under a dynamic address.

Description

【発明の詳細な説明】 (イ〉発明の技術分野 本発明は診断時におけるプログラムステップを通常の固
定化されたプログラムステップとは無関係に自由に設定
して診断をなす方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Technical Field of the Invention The present invention relates to a method for performing diagnosis by freely setting program steps at the time of diagnosis, regardless of normal fixed program steps.

(ロ)技術の背景 情報処理装置は複数の命令から成るプログラムの各命令
の実行によって所要の処理を行なっている。このような
関係は各命令をマイクロプログラムで実行する装置にお
いても同様である。
(b) Background of the Technology Information processing devices perform required processing by executing each instruction of a program consisting of a plurality of instructions. This relationship also applies to devices that execute each instruction as a microprogram.

このような装置において、開発時にも、又、障害調査時
や保守時にも、任意のプログラムステップを実行させて
その診断をする必要がある。
In such devices, it is necessary to execute arbitrary program steps and diagnose them during development, fault investigation, and maintenance.

このような診断の従来技法は読み出し専用メモリ (R
OM)に記憶されているプログラム、例えばマイクロプ
ログラムを固定化したアドレスを用いて読み出し、診断
をするものであるから、プログラムの診断に纏わる不具
合から脱却し得ていないのが現状である。
The conventional technique for such diagnostics is read-only memory (R
Since the program stored in the OM (OM), for example, a microprogram, is read out and diagnosed using a fixed address, the current situation is that it has not been possible to overcome the problems associated with program diagnosis.

(ハ)従来技術と問題点 従来、マイクロプログラム方式の制御装置で用いられる
コントロールメモリにROM、又はRAMが用いられる
が、通常、このような装置では、開発時のデパック性を
向上させるため、コントロールメモリに先ずRAMが使
用され、その開発後の量産出荷時にはその低価格化のた
めROMが用いられる。
(c) Conventional technology and problems Conventionally, ROM or RAM is used as the control memory used in microprogram control devices.Usually, in such devices, control memory is used to improve depackability during development. RAM is first used as the memory, and ROM is used to reduce the cost when mass-producing and shipping after development.

このようにして、ROM化されたコントロールメモリで
あっても、その後に障害調査や保守を必要とするもので
ある。
In this way, even a ROM-based control memory requires fault investigation and maintenance afterward.

このような各場合に、コントロールメモリにあるマイク
ロプログラムを部分的に或いは全部を実行させてその任
意のプログラムを診断する必要が生ずる。この実行させ
たい任意のプログラムとしては、任意の命令を繰り返し
実行したり、マイクロプログラムの飛び先を任意に変更
したり、或いは特定のプログラムを繰り返して実行する
等である。
In each of these cases, it becomes necessary to partially or completely execute the microprograms in the control memory to diagnose any of the programs. Examples of the arbitrary program to be executed include repeatedly executing an arbitrary instruction, arbitrarily changing the destination of a microprogram, or repeatedly executing a specific program.

このような場合に、プログラムの変更を要することが生
じたとすると、コントロールメモリのアクセスアドレス
が固定しているため、たとえその変更が僅かであっても
、ROMの内容を書き替え、交換しなければならなかっ
た。
In such a case, if the program needs to be changed, the access address of the control memory is fixed, so even if the change is small, the contents of the ROM must be rewritten and replaced. did not become.

仁)発明の目的 本発明は上述したような従来方式の有する欠点に鑑みて
創案されたもので、その目的は上述のような、アドレス
の固定化から生ずる弊害を排除しうる診断方式を提供す
ることにある。
Purpose of the Invention The present invention was devised in view of the drawbacks of the conventional methods as described above, and its purpose is to provide a diagnostic method that can eliminate the disadvantages caused by fixed addresses as described above. There is a particular thing.

け)発明の構成 そして、この目的はROMマイクロプログラム制御装置
を診断する方式において、上記ROMをアクセスするた
めのプログラムアドレスが格納されるアドレスメモリを
設け、診断時に一ヒ記ROMのプログラムカウンタによ
り上記アドレスメモリをアクセスし、そこからの所要の
プログラムアドレスを上記ROMのアクセスに供して診
断をなすことによって達成される。
g) Structure of the Invention The object of the invention is to provide a system for diagnosing a ROM microprogram control device, by providing an address memory in which a program address for accessing the ROM is stored; This is accomplished by accessing the address memory and providing the required program address therefrom for accessing the ROM for diagnosis.

(へ)発明の実施例 以下、添付図面を参照しながら、本発明の詳細な説明す
る。
(F) Embodiments of the Invention The present invention will now be described in detail with reference to the accompanying drawings.

添付図面は本発明の一実施例で、その要部構成を示す。The accompanying drawing shows an embodiment of the present invention, and shows the main structure thereof.

この図において、】はプログラムカウンタで、その内容
つまりアドレスはマルチプレクサ2を経てROM3へ供
給されると共に、RAM (ランダムアクセスメモリ)
4にも供給されるように構成されている。RAM4はイ
ンターフェース5を経てROM3のアクセスに供される
プログラムアドレスを受けて記憶するようになっている
In this figure, ] is a program counter whose contents, that is, its address, is supplied to ROM 3 via multiplexer 2, and also to RAM (random access memory).
4 is also supplied. The RAM 4 is configured to receive and store a program address used for accessing the ROM 3 via an interface 5.

又、RAM4の出力はマルチプレクサ2を経てROM3
へ接続されている。そのROM3はコントロールメモリ
であり、マイクロプログラムを格納しているものである
。6はROM3の出力へ接続されたコントロール回路で
ある。
Also, the output of RAM4 is sent to ROM3 via multiplexer 2.
connected to. The ROM 3 is a control memory and stores microprograms. 6 is a control circuit connected to the output of ROM3.

次に、上記構成装置の動作を説明する。Next, the operation of the above-mentioned component device will be explained.

通常の動作においては、プログラムカウンタ1から出力
するアドレスがマルチプレクサ2を経てROM3に供給
されてROM3からマイクロプログラムが読み出され、
コントロール回路6へ与えられ、そこで実行される。
In normal operation, the address output from the program counter 1 is supplied to the ROM 3 via the multiplexer 2, and the microprogram is read from the ROM 3.
It is applied to the control circuit 6 and executed there.

このような通常の動作態様を診断する診断態様へ切替え
られると、その診断に入るのに先立って、予め診断しよ
うとするマイクロプログラムのアドレスがインターフェ
ース5を経てアドレスメモリであるRAM4に格納され
る。
When switching to the diagnosis mode for diagnosing such a normal operating mode, the address of the microprogram to be diagnosed is stored in the RAM 4, which is an address memory, via the interface 5 before starting the diagnosis.

そして、診断が開始されると、プログラムカウンタ1の
内容によって、RAM4に格納されているマイクロプロ
グラムアドレスが読み出され、マルチプレクサ2を経て
ROM3へ供給されてROM3から診断せんとするマイ
クロプログラム、例えば任意のマイクロ命令の反復実行
、飛び先変更。
When the diagnosis is started, the microprogram address stored in the RAM 4 is read out according to the contents of the program counter 1, and is supplied to the ROM 3 via the multiplexer 2. Repeatedly execute microinstructions and change destination.

特定のマイクロプログラムの反復実行を行なわせる。Causes repeated execution of a specific microprogram.

このような診断はRAM4に書き込まれるプログラムア
ドレスを適宜に変更することにより、プログラム構成を
自由に設定しうる。従って、アドレスの固定化したRO
M内のマイクロプログラムを動的アドレスの下で動作さ
せることが出来る。
In such a diagnosis, the program configuration can be freely set by appropriately changing the program address written in the RAM 4. Therefore, RO with fixed address
Microprograms in M can be operated under dynamic addressing.

これを換言すれば、従来技法になると、ROMの書き替
え、交換を要していたような診断においても、その必要
性は一切なくなるという効果が得られる。
In other words, the conventional technique eliminates the need for a diagnosis that would require rewriting or replacing the ROM.

上記実施例においては、マイクロプログラムアドレスが
診断に先立ってRAM4に格納される場合について説明
したが、RAM4をアドレスメモリとしてこれにプログ
ラムアドレスを予め格納しておいてもよい。
In the above embodiment, a case has been described in which the microprogram address is stored in the RAM 4 prior to diagnosis, but the RAM 4 may be used as an address memory and the program address may be stored therein in advance.

(ト)発明の効果 以上述べたように、本発明によれば、アドレスメモリに
診断せんとするプログラムアドレスを格納し、これを診
断に際して読み出し、診断に供しているから、たとえア
ドレスが固定化されたプログラムであっても、これを動
的なアドレスで動作させうろことが出来ることとなり、
従って、従来技法では生じてしまう不具合を一掃しうろ
ことになる。
(G) Effects of the Invention As described above, according to the present invention, the program address to be diagnosed is stored in the address memory, and this is read out and used for diagnosis, even if the address is fixed. Even if the program is a program with a dynamic address, it will be possible to run it with a dynamic address.
Therefore, it will be possible to eliminate the problems that occur with conventional techniques.

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

添付図面は本発明の一実施例を示す図である。 図中、1はプログラムカウンタ、2はマルチプレクサ、
3はROM、4はRAM、5はインターフェースである
。 227−
The accompanying drawings illustrate one embodiment of the invention. In the figure, 1 is a program counter, 2 is a multiplexer,
3 is a ROM, 4 is a RAM, and 5 is an interface. 227-

Claims (1)

【特許請求の範囲】[Claims] ROMマイクロプログラム制御装置を診断する方式にお
いて、ROMをアクセスするためのプログラムアドレス
が格納されるアドレスメモリを設け、診断時に上記RO
Mのプログラムカウンタにより上記アドレスメモリをア
クセスし、そこからの所要のプログラムアドレスを上記
ROMのアクセスに供して診断をなすことを特徴とする
ROMマイクロプログラム制御装置の診断方式。
In a method for diagnosing a ROM microprogram control device, an address memory is provided in which a program address for accessing the ROM is stored, and the RO is used during diagnosis.
A diagnostic method for a ROM microprogram control device, characterized in that the address memory is accessed by a program counter of M, and a required program address from there is used to access the ROM for diagnosis.
JP58055865A 1983-03-31 1983-03-31 System for diagnosing rom microprogram controlling device Pending JPS59180740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58055865A JPS59180740A (en) 1983-03-31 1983-03-31 System for diagnosing rom microprogram controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58055865A JPS59180740A (en) 1983-03-31 1983-03-31 System for diagnosing rom microprogram controlling device

Publications (1)

Publication Number Publication Date
JPS59180740A true JPS59180740A (en) 1984-10-13

Family

ID=13010959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58055865A Pending JPS59180740A (en) 1983-03-31 1983-03-31 System for diagnosing rom microprogram controlling device

Country Status (1)

Country Link
JP (1) JPS59180740A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53113447A (en) * 1977-03-15 1978-10-03 Toshiba Corp Information processor
JPS588361A (en) * 1981-07-07 1983-01-18 Nec Corp Microprogram controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53113447A (en) * 1977-03-15 1978-10-03 Toshiba Corp Information processor
JPS588361A (en) * 1981-07-07 1983-01-18 Nec Corp Microprogram controller

Similar Documents

Publication Publication Date Title
CN116719533A (en) Environment automatic deployment method, deployment device, electronic equipment and storage medium
JPS59180740A (en) System for diagnosing rom microprogram controlling device
JPS6212528B2 (en)
JPS62290943A (en) Information processor
JPH0399326A (en) Microprogram loading method, loading controller, information processor, and information processing system
JPS62271021A (en) Microprogram control system
JPS62221034A (en) Arithmetic controller
JPH0353321A (en) Information processor
JPS6265142A (en) Generating system for fault signal
JPS59206946A (en) Microprogram controlling device
JPS5856292A (en) Initializing system of memory
JPH09160806A (en) Method for supporting debugging and its device
JPS60195641A (en) Microprogram controlling device
JPS58142453A (en) Data processing device
JPS62187942A (en) Debugging control processing system
JPH06161832A (en) Trace controller
JPS6393049A (en) Program debug device
JPS629939B2 (en)
JPS603032A (en) Information processor
JPH02254546A (en) Micro sequence circuit
JPS6136851A (en) Display device for application state of system resources
JPH0844570A (en) System and method for program execution
JPH0312747A (en) Microprocessor diagnostic system
JPH04243431A (en) Evaluation system for fault processing function
JPS59186048A (en) Microprogram control system