JPH0642207B2 - Multi-level programming method - Google Patents

Multi-level programming method

Info

Publication number
JPH0642207B2
JPH0642207B2 JP62098104A JP9810487A JPH0642207B2 JP H0642207 B2 JPH0642207 B2 JP H0642207B2 JP 62098104 A JP62098104 A JP 62098104A JP 9810487 A JP9810487 A JP 9810487A JP H0642207 B2 JPH0642207 B2 JP H0642207B2
Authority
JP
Japan
Prior art keywords
nano
program
address
control unit
nanoprogram
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
JP62098104A
Other languages
Japanese (ja)
Other versions
JPS63263543A (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
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP62098104A priority Critical patent/JPH0642207B2/en
Publication of JPS63263543A publication Critical patent/JPS63263543A/en
Publication of JPH0642207B2 publication Critical patent/JPH0642207B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マイクロプログラム制御の管理下に一段低
いレベルのナノプログラム制御を備えたマルチレベルプ
ログラミング方式に関し、特にナノプログラムシーケン
サのアドレス異常を検出するようにしたものである。
Description: TECHNICAL FIELD The present invention relates to a multi-level programming system provided with nano program control at a lower level under the control of micro program control, and particularly detects an address error of a nano program sequencer. It is something that is done.

〔従来の技術〕[Conventional technology]

従来、演算処理速度を向上させるために、マイクロプロ
グラム制御の管理下に一段低いレベルのナノプログラム
制御を備えて異常の論理演算、算術演算以外の関数演算
などの多重にループして複数クロックを要するような特
殊演算をナノプログラム制御に機能分担して必要に応じ
てプログラムレベルの移行を行うマルチレベルプログラ
ミング方式が提案されている。
Conventionally, in order to improve the operation processing speed, nano-program control at a lower level is provided under the control of micro-program control, and multiple clocks are required by multiple loops such as abnormal logical operations and function operations other than arithmetic operations. A multi-level programming method has been proposed in which such special operations are assigned to the nano program control and the program level is changed as necessary.

このマルチレベルプログラミング方式は、第5図〜第7
図に示すように、マイクロシーケンサ11,マイクロプ
ログラムメモリ12及びマイクロ専用パイプラインレジ
スタ13で構成されるマイクロプログラム制御部1と、
ナノシーケンサ21,ナノプログラムメモリ22及びナ
ノ専用パイプラインレジスタ23で構成されるナノプロ
グラム制御部2と、各プログラムレベルの専用制御信号
とマイクロ/ナノプログラム共通制御信号とのもとに制
御対象となる例えばデータ処理部3を備えている。
This multi-level programming method is shown in FIGS.
As shown in the figure, a micro program control unit 1 including a micro sequencer 11, a micro program memory 12, and a micro dedicated pipeline register 13,
A nano program control unit 2 including a nano sequencer 21, a nano program memory 22, and a nano dedicated pipeline register 23, and a control target based on a dedicated control signal at each program level and a micro / nano program common control signal For example, the data processing unit 3 is provided.

データ処理部3は、演算器31、高速ワークレジスタ3
2,33、キャッシュメモリ34及びシステムメモリ3
5で構成され、マイクロプログラム処理では、キャッシ
ュメモリ34及びシステムメモリ35を使用して演算
し、ナノプログラム処理では制御クロックが高速である
のでレジスタ32,33を使用する高速データ処理部4
でレジスタ−レジスタ間の高速演算を行う。
The data processing unit 3 includes a calculator 31 and a high-speed work register 3
2, 33, cache memory 34 and system memory 3
5, the high speed data processing unit 4 uses the registers 32 and 33 because the cache memory 34 and the system memory 35 are used for calculation in the micro program processing and the control clock is high speed in the nano program processing.
To perform high-speed calculation between registers.

而して、マイクロプログラム制御部1の管理のもとにマ
イクロプロセッサが動作している時は、ナノプログラム
制御部2はマイクロプログラム制御部1からの実行許可
待ちであるアイドル状態にあり、ナノシーケンサ21に
含まれるプログラムカウンタは停止しており、ナノ専用
パイプラインレジスタ23の出力であるナノプログラム
専用制御信号はすべてロックされ、マイクロ/ナノ共通
パイプラインレジスタ15の出力はマイクロナノプログ
ラムセレクタ14によりマイクロプログラム制御信号が
出力される。
Thus, when the microprocessor is operating under the control of the micro program control unit 1, the nano program control unit 2 is in an idle state waiting for execution permission from the micro program control unit 1, and the nano sequencer The program counter included in 21 is stopped, all the nano program dedicated control signals output from the nano dedicated pipeline register 23 are locked, and the output from the micro / nano common pipeline register 15 is set by the micro / nano program selector 14. The program control signal is output.

そして、ナノプログラム制御部2は、第6図に示すナノ
プログラム実行制御回路を介してマイクロプログラム制
御部1により管理される。
The nano program control unit 2 is managed by the micro program control unit 1 via the nano program execution control circuit shown in FIG.

すなわち、50はD型フリップフロップで構成されるナ
ノプログラム制御用フリップフロップ、51はナノプロ
グラム制御用ANDゲート、52はマイクロウォッチド
ッグタイマであり、マイクロプログラム処理におけるナ
ノプログラム起動命令によって、マイクロパイプライン
レジスタ13からナノプログラム起動要求信号が出力さ
れ、これがANDゲート51を介してナノプログラム制
御フリップフロップ50に供給される。このため、ナノ
プログラム制御フリップフロップ50がナノ制御クロッ
クが高レベルとなった時点でセットされて、その出力側
からナノプログラム実行許可信号が出力され、これがナ
ノプログラム制御部2に入力されることにより、ナノプ
ログラム処理が実行される。このとき、マイクロプログ
ラム制御部1には、ANDゲート51の出力がマイクロ
プログラム停止指令として入力され、これによってナノ
プログラム処理の終了を待つ待機状態となる。
That is, 50 is a nano-program control flip-flop composed of a D-type flip-flop, 51 is a nano-program control AND gate, 52 is a micro watchdog timer, and a micro program pipeline by a nano program start instruction in micro program processing. A nanoprogram activation request signal is output from the register 13 and is supplied to the nanoprogram control flip-flop 50 via the AND gate 51. Therefore, the nano program control flip-flop 50 is set at the time when the nano control clock becomes high level, the nano program execution permission signal is output from the output side thereof, and this is input to the nano program control unit 2. , Nanoprogram processing is executed. At this time, the output of the AND gate 51 is input to the micro program control unit 1 as a micro program stop command, whereby the micro program control unit 1 enters a standby state waiting for the end of the nano program processing.

一方、ナノプログラム制御部2のナノプログラムメモリ
22に格納されている複数のナノプログラム群の終わり
にそれぞれ第7図(b)に示すナノプログラム終了命令
(NEND命令)を設け、且つナノプログラムメモリ2
2の未使用領域に第7図(a)に示すホールト命令(HA
LT命令)を設けておき、ナノプログラム終了命令によ
って正常にナノプログラムが終了するときは、ナノプロ
グラム終了信号がナノ専用パイプラインレジスタ23よ
りANDゲート51に出力されてマイクロプログラム制
御部1が動作状態に復帰し、ナノプログラム制御部2は
ナノプログラム制御用フリップフロップ50がナノ制御
クロックが高レベルとなった時点でリセットされるの
で、ナノプログラム実行停止となり、アイドル状態とな
る。また、ナノシーケンサ21でアドレス異常が発生し
てホールト命令に到達すると、ナノシーケンサは停止状
態となってナノプログラム終了信号が出力されなくな
る。このため、マイクロウォッチドッグタイマ52がタ
イムアップした時点でANDゲート51の出力が低レベ
ルとなるので、マイクロプログラムの停止指令を解除し
てマイクロプログラム処理に復帰する。
On the other hand, a nano program end command (NEND command) shown in FIG. 7B is provided at the end of each of the plurality of nano program groups stored in the nano program memory 22 of the nano program control unit 2, and the nano program memory 2
In the unused area of No. 2, a halt instruction (HA
(LT instruction) is provided, and when the nano program ends normally by the nano program end instruction, the nano program end signal is output from the nano-dedicated pipeline register 23 to the AND gate 51 to operate the micro program control unit 1. Then, the nanoprogram control unit 2 is reset when the nanoprogram control flip-flop 50 is reset at the time when the nanocontrol clock becomes high level, so that the nanoprogram execution is stopped and the nanoprogram control unit 2 enters the idle state. When an address error occurs in the nano sequencer 21 and the halt command is reached, the nano sequencer is stopped and the nano program end signal is not output. Therefore, since the output of the AND gate 51 becomes low level when the micro watchdog timer 52 times out, the stop instruction of the micro program is canceled and the micro program processing is returned to.

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

しかしながら、上記従来のマルチレベルプログラミング
方式にあっては、ナノプログラムメモリにホールト命令
が格納され、アドレス異常時にナノシーケンサが停止状
態となった後に、マイクロウォッチドッグタイマがタイ
ムアップしたときにマイクロプログラム処理に復帰する
ので、アドレス異常発生時点からマイクロプログラム処
理に復帰するまでに時間が掛かると共に、マイクロウォ
ッチドッグタイマのタイムアップによってアドレス異常
を検出するようにしているので、マイクロプログラム制
御部のアドレス異常であるかナノシーケンサアドレス異
常であるかを判別することができず、マイクロプログラ
ム処理のオペレーションシステムでプログラムを継続実
行可能であるか否かの判断を行えないため、システムダ
ウンに波及する等の問題点があった。
However, in the conventional multi-level programming method described above, the halt instruction is stored in the nano program memory, and the micro program processing is performed when the micro watchdog timer times out after the nano sequencer is stopped at the time of an address error. Since it takes time to return to the microprogram processing from the time when an address error occurs, the microwatchdog timer times up to detect the address error. It is not possible to determine whether or not there is an error in the nano sequencer address, and it is not possible to determine whether the program can be continuously executed by the microprogram processing operating system, so the system will be down. There is a problem.

そこで、この発明は、上記従来例の問題点に着目してな
されたものであり、ナノプログラム制御部にアドレス異
常命令を格納し、且つナノプログラム制御部からアドレ
ス異常信号が出力されたときにアドレス異常処理を行う
アドレス異常検出回路を設けることにより、ナノシーケ
ンサアドレス異常時に速やかにマイクロプログラム処理
に復帰し、マイクロプログラム処理におけるナノシーケ
ンサアドレス異常の認識を容易にし、マイクロプログラ
ム処理のオペレーションシステムの判断無しでは新たな
ナノプログラム処理の起動を禁止し、上記従来例の問題
点を解決することが可能なマルチレベルプログラミング
方式を提供することを目的とする。
Therefore, the present invention has been made in view of the problems of the above-mentioned conventional example, in which an address abnormal instruction is stored in the nano program control unit, and when the address abnormal signal is output from the nano program control unit, the address By providing an address error detection circuit that performs error processing, it quickly returns to microprogram processing when a nanosequencer address error occurs, facilitates recognition of nanosequencer address error in microprogram processing, and makes no judgment of the operating system for microprogram processing. It is an object of the present invention to provide a multi-level programming method that can prevent the activation of a new nanoprogram process and solve the problems of the conventional example.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するために、本願第1の発明は、マイク
ロプログラム制御部及びナノプログラム制御部を備え、
前記マイクロプログラム制御部からのナノプログラム起
動要求を受けて、当該マイクロプログラム制御部にマイ
クロプログラム停止指令を出力すると共に、前記ナノプ
ログラム制御部にナノプログラム実行許可を出力し、且
つ当該ナノプログラムからのナノプログラム終了信号を
受けて前記マイクロプログラム停止指令及びナノプログ
ラム実行許可を解除するナノプログラム実行制御回路を
有するマルチレベルプログラミング方式において、前記
ナノプログラム制御部のプログラムメモリにおける未使
用領域及び各ナノプログラム群の境界位置にそれぞれア
ドレス異常フラグ付ナノエンド命令を格納して、ナノプ
ログラムカウンタがアドレス異常フラグ付ナノエンド命
令の番地に到達したときに当該ナノプログラム制御部か
らアドレス異常信号を出力し、該アドレス異常信号をア
ドレス異常制御回路でラッチして、アドレス異常通知を
前記ナノプログラム制御部に出力してそのマイクロプロ
グラム停止指令及びナノプログラム実行許可を解除して
マイクロプログラム処理に強制復帰させ、且つマイクロ
プログラム処理のオペレーティングシステムにアドレス
異常を通知し、前記マイクロプログラム処理のオペレー
ティングシステムがナノプログラム処理の実行継続可能
なときにラッチ状態解除指令を前記アドレス異常制御回
路に出力して該アドレス異常制御回路のラッチ状態を解
除するまで、前記アドレス異常制御回路の出力にて前記
ナノプログラム起動要求をロックするようにしたことを
特徴としている。
In order to achieve the above object, the first invention of the present application comprises a micro program control unit and a nano program control unit,
Upon receiving a nanoprogram activation request from the microprogram control unit, a microprogram stop command is output to the microprogram control unit, a nanoprogram execution permission is output to the nanoprogram control unit, and In a multi-level programming method having a nano program execution control circuit for receiving the nano program end signal and canceling the micro program stop command and the nano program execution permission, an unused area in the program memory of the nano program control unit and each nano program group The nano end instruction with address error flag is stored at the boundary position of each address, and when the nano program counter reaches the address of the nano end instruction with address error flag, the nano program control unit sends the address error message. Is output, the address abnormality signal is latched by the address abnormality control circuit, the address abnormality notification is output to the nanoprogram control unit, the microprogram stop command and the nanoprogram execution permission are released, and the microprogram processing is forced. When the operating system for microprogram processing is notified of an address abnormality and the operating system for microprogram processing is capable of continuing execution of nanoprogram processing, a latch state release command is output to the address abnormality control circuit. The nanoprogram activation request is locked by the output of the address abnormality control circuit until the latching state of the address abnormality control circuit is released.

また、本願第2の発明は、マイクロプログラム制御部及
びナノプログラム制御部を備え、前記マイクロプログラ
ム制御部からのナノプログラム起動要求を受けて、当該
マイクロプログラム制御部にマイクロプログラム停止指
令を出力すると共に、前記ナノプログラム制御部にナノ
プログラム実行許可を出力し、且つ当該ナノプログラム
からのナノプログラム終了信号を受けて前記マイクロプ
ログラム停止指令及びナノプログラム実行許可を解除す
るナノプログラム実行制御回路を有するマルチレベルプ
ログラミング方式において、前記ナノプログラム制御部
のプログラムメモリにおける未使用領域及び各ナノプロ
グラム群の境界位置にそれぞれアドレス異常フラグ付ナ
ノエンド命令を格納して、ナノプログラムカウンタがア
ドレス異常フラグ付ナノエンド命令の番地に到達したと
きに当該ナノプログラム制御部からアドレス異常信号を
出力し、該アドレス異常信号をアドレス異常制御回路で
ラッチして、アドレス異常通知を前記ナノプログラム制
御部に出力してそのマイクロプログラム停止指令及びナ
ノプログラム実行許可を解除してマイクロプログラム処
理に強制復帰させると共に、マイクロプログラム処理の
オペレーティングシステムにアドレス異常を通知し、さ
らに前記ナノプログラムの暴走をナノプログラム監視回
路で監視し、当該ナノプログラム監視回路でナノプログ
ラムの暴走を検出したときにその状態をラッチし、これ
を前記オペレーティングシステムに通知し、アドレス異
常及びナノプログラム暴走の何れかが発生したときにそ
の前後のナノプログラムアドレスをアドレス保持回路で
保持し、前記マイクロプログラム処理のオペレーティン
グシステムがナノプログラム処理の実行継続可能なとき
にラッチ状態解除指令を前記アドレス異常制御回路及び
ナノプログラム監視回路に出力して該アドレス異常制御
回路及びナノプログラム監視回路のラッチ状態を解除す
るまで、前記アドレス異常制御回路及びナノプログラム
監視回路の出力にて前記ナノプログラム起動要求をロッ
クするようにしたことを特徴としている。
Further, a second invention of the present application comprises a micro program control unit and a nano program control unit, receives a nano program activation request from the micro program control unit, and outputs a micro program stop command to the micro program control unit. A multi-level having a nano-program execution control circuit for outputting a nano-program execution permission to the nano-program control unit and canceling the micro-program stop command and the nano-program execution permission in response to a nano-program end signal from the nano-program In the programming method, the nano program counter stores the nano end instruction with an address error flag at an unused area in the program memory of the nano program control unit and the boundary position of each nano program group, and the nano program counter causes the address error flag to be stored. When the address of the nano end command is reached, an address abnormality signal is output from the nano program control unit, the address abnormality signal is latched by the address abnormality control circuit, and an address abnormality notification is output to the nano program control unit. While canceling the micro program stop command and nano program execution permission and forcibly returning to the micro program processing, an address error is notified to the operating system of the micro program processing, and the runaway of the nano program is monitored by the nano program monitoring circuit, When the nanoprogram monitoring circuit detects a nanoprogram runaway, the state is latched and this is notified to the operating system, and when an address error or nanoprogram runaway occurs, the nanoprogram address before and after that will occur. To Held by a dress holding circuit, and when the operating system of the microprogram processing can continue execution of the nanoprogram processing, a latch state release command is output to the address abnormality control circuit and the nanoprogram monitoring circuit, and the address abnormality control circuit and The nanoprogram activation request is locked by the output of the address abnormality control circuit and the nanoprogram monitoring circuit until the latch state of the nanoprogram monitoring circuit is released.

〔作用〕[Action]

第1の発明においては、アドレス異常フラグ付ナノエン
ド命令をナノプログラム領域の未使用領域及び複数のナ
ノプログラム群の境界位置に格納しておき、ナノシーケ
ンサにアドレス異常が発生してナノプログラムカウンタ
がアドレス異常フラグ付ナノエンド命令の番号に到達し
た時に、ナノプログラム制御部からアドレス異常信号を
アドレス異常制御回路に出力し、このアドレス異常制御
回路で、直ちにナノプログラム制御回路を動作させて強
制的にマイクロプログラム処理に復帰させると共に、マ
イクロプログラム処理のオペレーションシステムにナノ
シーケンサアドレス異常通知を行い、このオペレーショ
ンシステムでナノシーケンサアドレス異常を認識してナ
ノプログラム処理の実行が継続可能か否かを判断するこ
とができ、継続可能であると判断したときに、ラッチ状
態解除指令をアドレス異常制御回路に出力して、そのア
ドレス異常信号のラッチ状態を解除しない限り新たなナ
ノプログラムの起動を禁止する。
In the first invention, the nano-end instruction with the address abnormality flag is stored in the unused area of the nano program area and the boundary position of a plurality of nano program groups, and the nano program counter causes the nano program counter to address when the address abnormality occurs in the nano sequencer. When the number of nano-end instruction with error flag is reached, the nano-program control unit outputs an address error signal to the address error control circuit, and this address error control circuit immediately activates the nano-program control circuit to forcibly execute the micro program. At the same time as returning to the processing, the nano sequencer address error notification is sent to the micro program processing operation system, and this operation system can recognize the nano sequencer address error and judge whether the nano program processing can be continued or not. , Can be continued When it is determined that it is, and outputs the latched state release instruction to address the abnormality control circuit inhibits the activation of the new nano programs unless latched off of the address anomaly signal.

また、第2の発明においては、上記第1の発明の作用に
加えて、ナノプログラム監視回路でナノプログラムの暴
走を検出したときにも、マイクロプログラム処理を強制
的に復帰させると共に、名のプログラム暴走をオペレー
ティングシステムに通知するので、ナノプログラムの異
常がアドレス異常であるかプログラム暴走異常であるか
を認識することができ、さらにナノプログラムのアドレ
ス異常及びナノプログラムの暴走の何れかを検出したと
きにその前後のナノプログラムアドレスをアドレス保持
回路で保持することにより、異常発生原因を解析するこ
とができる。
In addition, in the second invention, in addition to the operation of the first invention, the microprogram processing is forcibly restored and the name program is executed even when the nanoprogram runaway circuit detects a runaway of the nanoprogram. Since the runaway is notified to the operating system, it can be recognized whether the nanoprogram error is an address error or a program runaway error, and when either a nanoprogram address error or a nanoprogram runaway is detected. Further, by holding the nano program address before and after that in the address holding circuit, the cause of the abnormality can be analyzed.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の第1実施例を示すブロックである。FIG. 1 is a block diagram showing a first embodiment of the present invention.

図中、1はマイクロプログラム制御部、2はナノプログ
ラム制御部、11はマイクロシーケンサ、12はマイク
ロプログラムメモリ、13はマイクロ専用パイプライン
レジスタ、21はナノシーケンサ、22はナノプログラ
ムメモリ、23はナノ用パイプラインレジスタ、50は
ナノプログラム制御用フリップフロップ、51はナノプ
ログラム制御用ANDゲートであって、これらは第5図
の従来例と同様の構成を有するので、その詳細説明はこ
れを省略する。
In the figure, 1 is a micro program controller, 2 is a nano program controller, 11 is a micro sequencer, 12 is a micro program memory, 13 is a micro dedicated pipeline register, 21 is a nano sequencer, 22 is a nano program memory, and 23 is a nano program memory. Pipeline register, 50 is a nano-program control flip-flop, and 51 is a nano-program control AND gate. Since these have the same configuration as the conventional example of FIG. 5, detailed description thereof will be omitted. .

この発明においては、ナノプログラム制御部2のナノプ
ログラムメモリ22が第3図に示すように構成されてい
る。すなわち、第3図において、Mはマップ領域であ
って、マイクロ命令のナノプログラム起動命令で指定さ
れた番号のナノプログラムにジャンプするためのジャン
プテーブルを構成し、N〜Nは複数n個のナノプロ
グラム群である。そして、マップ領域Mの未使用領
域、ナノプログラム群の境界位置のチェックポイント及
びプログラムの未使用領域には全て斜線図示のようにア
ドレス異常フラグ付ナノエンド命令が格納されている。
このアドレス異常フラグ付ナノエンド命令(AERR命
令)は、第2図(a)に示す通常のナノプログラム終了命
令(NEND命令)はオペランド部の最下位の1ビット
情報で表されるアドレス異常フラグが“0”であるに対
して、第2図(b)に示す如く、オペコード部はナノプロ
グラム終了命令と全く同じで、オペランド部の最下位1
ビットで表されるアドレス異常フラグが“1”に設定さ
れていることのみが異なる。したがって、アドレス異常
フラグ付ナノエンド命令は、ナノプログラムに対する処
理とナノプログラム終了信号を出力する処理とがナノプ
ログラム終了命令と全く同じに構成され、パイプライン
レジスタ23はオペランド部の最下位1ビット情報が
“1”であるときにアドレス異常信号を出力する。
In the present invention, the nano program memory 22 of the nano program control unit 2 is constructed as shown in FIG. That is, in FIG. 3, M 1 is a map area, which constitutes a jump table for jumping to the nanoprogram of the number designated by the nanoprogram activation instruction of the microinstruction, and N 1 to N n are plural n. It is a group of individual nano programs. Then, in the unused area of the map area M 1 , the check point at the boundary position of the nanoprogram group, and the unused area of the program, the nano-end instruction with the address abnormality flag is stored as shown by the diagonal lines.
This nano end instruction with address abnormality flag (AERR instruction) is the normal nano program end instruction (NEND instruction) shown in FIG. 2 (a), and the address abnormality flag represented by the least significant 1-bit information of the operand part is " On the other hand, as shown in FIG. 2 (b), the opcode part is exactly the same as the nanoprogram end instruction, and the lowest 1
The only difference is that the address abnormality flag represented by a bit is set to "1". Therefore, the nano-end instruction with the address abnormality flag is configured so that the processing for the nano program and the processing for outputting the nano program end signal are exactly the same as the nano program end instruction, and the pipeline register 23 stores the least significant 1-bit information of the operand part. When it is "1", an address abnormality signal is output.

このパイプラインレジスタ23から出力されるアドレス
異常信号は、アドレス異常制御回路を構成するJKフリ
ップフロップ53のJ入力側に供給され、JKフリップ
フロップ53のK入力側にはマイクロプログラム処理の
オペレーションシステムから入力されるラッチ状態解除
指令としてのエラーリセット信号が供給される。そし
て、JKフリップフロップ53の出力側から得られるア
ドレス異常通知信号がマイクロプログラム処理のオペレ
ーションシステムに通知されると共に、アドレス異常制
御用ORゲート54の一方の入力側に供給され、このO
Rゲート54の他方の入力にパイプラインレジスタ23
からのナノプログラム終了信号が供給される。そして、
ORゲート54の出力側が、一方の入力側にマイクロプ
ログラム制御部1のパイプラインレジスタ13からのナ
ノプログラム起動要求信号が入力されるナノプログラム
制御用ANDゲート51の他方の反転入力側に接続され
ている。
The address abnormality signal output from the pipeline register 23 is supplied to the J input side of the JK flip-flop 53 which constitutes the address abnormality control circuit, and the K input side of the JK flip-flop 53 is supplied from the operation system of the microprogram processing. An error reset signal as an input latch state release command is supplied. Then, the address abnormality notification signal obtained from the output side of the JK flip-flop 53 is notified to the operation system of the microprogram processing, and is supplied to one input side of the address abnormality control OR gate 54.
The pipeline register 23 is provided to the other input of the R gate 54.
The nano program end signal from And
The output side of the OR gate 54 is connected to the other inverting input side of the nano program control AND gate 51 to which the nano program start request signal from the pipeline register 13 of the micro program control section 1 is input to one input side. There is.

次に、上記第1実施例の動作を説明する。今、マイクロ
プログラム制御部1からのナノプログラム起動要求信号
によってナノプログラム処理が実行され、そのナノプロ
グラム処理が正常に終了した場合には、ナノプログラム
メモリ22からナノプログラム終了命令が出力されてパ
イプラインレジスタ23からナノプログラム終了信号が
出力されるので、これがORゲート54を介してナノプ
ログラム制御用ANDゲート51に入力されることによ
り、その出力側が低レベルとなり、マイクロプログラム
停止指令が解除されてマイクロプログラム処理に復帰す
ると共に、ナノプログラム制御用フリップフロップ50
がナノ制御用クロックが到来した時点でリセットされ
て、ナノプログラム制御部2がアイドル状態となる。
Next, the operation of the first embodiment will be described. Now, when the nano program processing is executed by the nano program start request signal from the micro program control unit 1 and the nano program processing is normally completed, a nano program end command is output from the nano program memory 22 and the pipeline is executed. Since the nano program end signal is output from the register 23, this is input to the nano program control AND gate 51 via the OR gate 54, so that the output side becomes low level, and the micro program stop command is released and the micro program stop command is released. The nanoprogram control flip-flop 50 is returned to the program processing.
Is reset when the nano control clock arrives, and the nano program control unit 2 enters the idle state.

しかしながら、(1)マイクロプログラム制御部1から未
登録の番号のナノプログラムを起動したことにより、ナ
ノシーケンサ21のナノプログラムカウンタが、マップ
領域Mの未使用領域のアドレス異常命令の番地を指定
した場合、(2)ナノプログラム処理実行中にナノプログ
ラムカウンタに誤アドレスがセットされて暴走し、ナノ
プログラムカウンタがナノプログラムメモリ22の複数
個所に散在するナノシーケンサアドレス異常命令の番地
に到達した場合には、ナノ専用パイプラインレジスタ2
3からナノプログラム終了信号とアドレス異常信号とが
出力される。したがって、ナノプログラム終了信号がO
Rゲート54を介してANDゲート51に供給されるこ
とにより、ANDゲート51の出力側が低レベルとな
り、マイクロプログラム停止指令信号が解除されてマイ
クロプログラム制御部1は速やかに動作状態に復帰し、
その後にナノプログラム制御用フリップフロップ50に
ナノ制御クロックが入力された時点でその出力側からナ
ノプログラム実行許可信号が出力されなくなるので、ナ
ノプログラム制御部2はアイドル状態となる。
However, (1) the nanoprogram counter of the nanosequencer 21 specifies the address of the address abnormal instruction in the unused area of the map area M 1 by activating the unregistered nanoprogram from the microprogram control unit 1. In the case of (2) when an incorrect address is set in the nano program counter during the nano program processing and the program runs out of control, and the nano program counter reaches the addresses of nano sequencer address abnormal instructions scattered in multiple places of the nano program memory 22. Is a nano-only pipeline register 2
A nanoprogram end signal and an address abnormality signal are output from 3. Therefore, the nanoprogram end signal is O
By being supplied to the AND gate 51 via the R gate 54, the output side of the AND gate 51 becomes low level, the micro program stop command signal is released, and the micro program control unit 1 quickly returns to the operating state,
After that, when the nano control clock is input to the nano program control flip-flop 50, the nano program execution permission signal is not output from the output side, so the nano program control unit 2 is in the idle state.

このナノプログラム制御部2のアイドル状態への移行に
よって、ナノプログラム終了信号は出力されない状態と
なるが、アドレス異常信号がJKフリップフロップ53
にナノ制御クロックが入力された時点でラッチされ、そ
の出力側からアドレス異常通知信号が出力されるので、
これがORゲート54を介してANDゲート51に入力
されるので、このANDゲート51からマイクロプログ
ラム停止指令が出力されることはないと共にナノプログ
ラム制御用フリップフロップ50がセットされることも
ない。
Due to the transition of the nano program control unit 2 to the idle state, the nano program end signal is not output, but the address abnormal signal is the JK flip-flop 53.
When the nano control clock is input to, it is latched, and the address error notification signal is output from its output side.
Since this is input to the AND gate 51 through the OR gate 54, the AND gate 51 does not output a microprogram stop command and the nanoprogram control flip-flop 50 is not set.

また、JKフリップフロップ53から出力されるアドレ
ス異常通知信号がマイクロオペレーションシステムに入
力され、このマイクロオペレーションシステムでナノシ
ーケンサにアドレス異常が発生したことを容易に認識す
ることができ、マイクロオペレーションシステムによっ
て、ナノプログラムメモリ22がRAMで構成されてい
る場合のナノプログラムの再ローディングや異常要因解
析によってナノプログラム制御の継続使用可能と判断し
た時に、エラーリセット信号を出力するまでは、新たな
ナノプログラムの起動が禁止される。
Further, the address abnormality notification signal output from the JK flip-flop 53 is input to the micro operation system, and it is possible to easily recognize that the nano sequencer has an address abnormality in this micro operation system. When the nano program memory 22 is composed of RAM, when it is judged that the nano program control can be continued by reloading the nano program and analyzing the cause of abnormality, a new nano program is started until an error reset signal is output. Is prohibited.

以上のように第1実施例によると、ナノ命令のアドレス
異常命令から簡単な制御回路を介して容易且つ迅速にマ
イクロプログラム処理に復帰し、マイクロオペレーショ
ンシステムでアドレス異常を認識することができ、また
新たなナノプログラム起動を禁止することができる。
As described above, according to the first embodiment, it is possible to easily and promptly return to the microprogram processing from the nano-address abnormal instruction through the simple control circuit, and recognize the address abnormality in the micro operation system. It is possible to prohibit the activation of new nano programs.

次に、この発明の第2実施例を第4図について説明す
る。
Next, a second embodiment of the present invention will be described with reference to FIG.

この第2実施例は、ナノシーケンサの暴走パターンが無
限ループであるかアドレス異常であるかを認識すること
を可能としたものである。
The second embodiment makes it possible to recognize whether the runaway pattern of the nanosequencer is an infinite loop or an address error.

すなわち、第4図に示すように、ナノプログラム制御用
ANDゲート51の出力をナノウォッチドッグタイマ6
0に入力し、そのタイムアップ信号をマイクロオペレー
ションシステムに通知すると共に、ナノプログラム制御
用ANDゲート51及びナノクロック制御用ANDゲー
ト61の反転入力側に入力し、ANDゲート61の他の
1つの入力側にナノ制御クロックが、その他の反転入力
側にアドレス異常通知信号が入力され、一方ナノシーケ
ンサ21から出力されるアドレス信号がアドレスラッチ
レジスタ62に供給され、そのラッチアドレスが他のア
ドレスラッチレジスタ63に供給され、両アドレスラッ
チレジスタ62,63にナノクロック制御用ANDゲー
ト61の出力がラッチクロックとして供給されているこ
とを除いては前記第1実施例と同様の構成を有し、第1
図との対応部分には同一符号を付しその詳細説明はこれ
を省略する。
That is, as shown in FIG. 4, the output of the AND gate 51 for controlling the nano program is changed to the nano watchdog timer 6
0 to notify the micro-operation system of the time-up signal, and to the inverting input side of the AND gate 51 for nano program control and the AND gate 61 for nano clock control, and the other one input of the AND gate 61. The nano control clock is input to the other side, the address abnormality notification signal is input to the other inverting input side, the address signal output from the nano sequencer 21 is supplied to the address latch register 62, and the latch address thereof is supplied to the other address latch register 63. And a configuration similar to that of the first embodiment except that the output of the nanoclock controlling AND gate 61 is supplied to both address latch registers 62 and 63 as a latch clock.
Portions corresponding to those in the figure are denoted by the same reference numerals and detailed description thereof will be omitted.

この第2実施例によると、ナノプログラム制御部2が正
常にナノプログラムを実行している場合には、前述した
ように、パイプラインレジスタ23からアドレス異常信
号が出力されないので、JKフリップフロップ53はリ
セット状態にあり、アドレス異常通知信号が出力されて
おらず、且つナノウォッチドッグタイマ60もタイムア
ップすることがないので、ナノクロック制御用ANDゲ
ート61からはナノ制御クロックがそのままアドレスラ
ッチレジスタ62及び63に出力され、これらアドレス
ラッチレジスタ62及び63にナノシーケンサ21から
出力される現在のアドレスデータ及び1つ前アドレスデ
ータがラッチされる。
According to the second embodiment, when the nanoprogram control unit 2 normally executes the nanoprogram, the address abnormality signal is not output from the pipeline register 23 as described above, so that the JK flip-flop 53 is In the reset state, the address abnormality notification signal is not output, and since the nano watchdog timer 60 does not time up, the nano clock control AND gate 61 outputs the nano control clock as it is to the address latch register 62 and the nano control clock. The present address data and the previous address data, which are output to 63 and are output from the nano sequencer 21, are latched in the address latch registers 62 and 63.

この状態で、ナノシーケンサ21でアドレス異常が発生
すると、前述したように、パイプラインレジスタ23か
らアドレス異常信号が出力され、これがJKフリップフ
ロップ53にラッチされて、その出力側からアドレス異
常通知信号が出力されるので、これがナノプログラム制
御用ANDゲート51に入力されてマイクロプログラム
停止指令信号が解除され、マイクロプログラム処理に復
帰すると共に、ナノクロック制御ANDゲート61の出
力が低レベルを維持することになり、アドレスラッチレ
ジスタ62,63のアドレスラッチが停止される。この
ため、アドレスラッチレジスタ62には、現在のナノシ
ーケンサ21から出力されたアドレスデータがラッチさ
れており、アドレスラッチレジスタ63には、その1つ
前のアドレスデータがラッチされているので、これらア
ドレスデータをマイクロオペレーションシステムに通知
することにより、マイクロオペレーションシステムで異
常の発生したアドレスと,その1つ前のアドレスとを認
識することができ、異常原因の解析を行う場合に有効と
なる。
When an address abnormality occurs in the nanosequencer 21 in this state, as described above, the pipeline register 23 outputs the address abnormality signal, which is latched by the JK flip-flop 53, and the address abnormality notification signal is output from the output side. Since this is output to the nanoprogram control AND gate 51, the microprogram stop command signal is released, the microprogram processing is restored, and the output of the nanoclock control AND gate 61 is maintained at a low level. The address latches of the address latch registers 62 and 63 are stopped. Therefore, the address latch register 62 latches the address data output from the current nano-sequencer 21, and the address latch register 63 latches the address data immediately before the address data. By notifying the data to the micro operation system, it is possible to recognize the address in which the error occurred in the micro operation system and the address immediately before it, which is effective in analyzing the cause of the error.

また、ナノシーケンサ21が無限ループを生じて暴走状
態となると、パイプラインレジスタ23からナノプログ
ラム終了信号が出力されなくなるので、ナノプログラム
制御用ANDゲート51の出力が高レベルを維持し、こ
のためナノウォッチドッグタイマ60がタイムアップし
てそのタイムアップ信号がナノプログラム制御用AND
ゲート51及びナノクロック制御用ANDゲート61に
入力される。したがって、ナノプログラム制御用AND
ゲート51の出力が低レベルとなって、マイクロプログ
ラム処理に復帰すると共に、ナノプログラム制御部2が
アイドル状態となり、且つアドレスラッチレジスタ62
及び63にナノウォッチドッグタイマ60のタイムアッ
プ時にナノシーケンサ21から出力されるアドレスデー
タ及びその1つ前のアドレスデータがそれぞれラッチさ
れる。そして、ナノウォッチドッグタイマ60のタイム
アップ信号とそのときのアドレスデータ及び1つ前のア
ドレスデータとがマイクロオペレーションシステムに通
知されることにより、マイクロオペレーションシステム
でナノプログラムで無限ループによる異常状態が発生し
たことを認識することができ、そのときのアドレスデー
タにより、無限ループ発生原因を解析することができ
る。
Further, when the nano sequencer 21 enters an infinite loop and goes into a runaway state, the nano program end signal is no longer output from the pipeline register 23, so that the output of the nano program control AND gate 51 maintains a high level. The watchdog timer 60 times up, and the time-up signal is AND for nano program control.
It is input to the gate 51 and the nano clock control AND gate 61. Therefore, AND for nano program control
The output of the gate 51 becomes low level, the microprogram processing is resumed, the nanoprogram control unit 2 becomes idle, and the address latch register 62
And 63, the address data output from the nano sequencer 21 when the nano watchdog timer 60 times out and the address data immediately before it are respectively latched. Then, the time-up signal of the nano watchdog timer 60 and the address data at that time and the address data immediately before are notified to the micro operation system, so that an abnormal state due to an infinite loop occurs in the nano program in the micro operation system. It is possible to recognize what has happened, and the cause of the infinite loop can be analyzed by the address data at that time.

以上のように、第2実施例によると、ナノプログラム制
御部2のナノシーケンサ14でのアドレス異常と無限ル
ープとによる暴走を適格に判別することができ、異常要
因の知識を強化することができる。
As described above, according to the second embodiment, the address abnormality in the nano sequencer 14 of the nano program control unit 2 and the runaway due to the infinite loop can be properly discriminated, and the knowledge of the abnormality factor can be strengthened. .

なお、上記実施例においては、ナノプログラム制御回路
としてANDゲート51及びDフリップフロップ50を
適用した場合について説明したが、これに限定されるも
のではなく、他の論理素子又は判断回路を適用すること
ができ、またアドレス異常制御回路もJKフリップフロ
ップ53に限定されるものではなく、他の同等の論理素
子、ラッチ回路等を適用し得るものである。
In the above embodiments, the case where the AND gate 51 and the D flip-flop 50 are applied as the nano program control circuit has been described, but the present invention is not limited to this, and other logic elements or determination circuits may be applied. The address abnormality control circuit is not limited to the JK flip-flop 53, and other equivalent logic elements, latch circuits, etc. can be applied.

〔発明の効果〕〔The invention's effect〕

以上説明したように、第1の発明によれば、ナノ命令の
アドレス異常フラグ付ナノエンド命令により、ナノプロ
グラム制御部から出力されるアドレス異常信号を簡単な
アドレス異常制御回路に保持させ、その保持信号をナノ
プログラム制御回路に入力すると共に、マイクロオペレ
ーションシステムに通知する構成としたので、ナノシー
ケンサアドレス異常時に速やかにマイクロプログラム処
理に復帰することができると共に、マイクロオペレーシ
ョンシステムの判断によりナノプログラムの実行継続可
能となった場合のシステムへの影響を軽減することがで
き、しかもナノプログラム制御部におけるアドレス異常
の要因がアドレス異常制御回路の出力により容易に認識
することができるため、マイクロオペレーションシステ
ムで専用のRAS処理を実行することができ、そのうえ
アドレス異常時にマイクロオペレーションシステムから
のラッチ解除指令が出力されるまでは新たなナノプログ
ラムの起動を禁止しているので、マイクロオペレーショ
ンシステムのRAS処理を行うまでは多重に異常が発生
することはなく、異常時のアドレスレジスタ等の各種情
報を保持することが可能である等の効果が得られる。
As described above, according to the first aspect of the invention, the nano-end instruction with the address abnormality flag of the nano instruction causes the address abnormality signal output from the nano program control unit to be held in the simple address abnormality control circuit, and the holding signal Is input to the nano program control circuit and is notified to the micro operation system, it is possible to quickly return to the micro program processing when the nano sequencer address error occurs, and continue execution of the nano program according to the judgment of the micro operation system. If possible, the effect on the system can be reduced, and the cause of the address error in the nano program control unit can be easily recognized by the output of the address error control circuit. RAS The new nano program is prohibited until the latch release command is output from the micro operation system when an address error occurs. There is no occurrence of abnormality, and it is possible to obtain various effects such as being able to hold various information such as the address register at the time of abnormality.

また、第2の発明によれば、第1の発明の構成に加え
て、ナノプログラム監視回路でナノプログラムの暴走を
監視し、暴走を検出したときにも、マイクロプログラム
処理を強制的に復帰させると共に、その旨をマイクロプ
ログラムのオペレーションシステムに通知するので、マ
イクロプログラムのオペレーションシステムでナノプロ
グラム処理に異常が発生したときに、アドレス異常であ
るかプログラム暴走であるかを確実に認識することがで
き、しかもナノプログラム処理で異常が発生したときに
アドレス保持回路でその前後のアドレスを保持している
ので、異常原因の解析が容易となる効果が得られる。
According to the second invention, in addition to the configuration of the first invention, the nanoprogram monitoring circuit monitors the runaway of the nanoprogram, and when the runaway is detected, the microprogram processing is forcibly restored. At the same time, the fact is notified to the operating system of the microprogram, so that when an abnormality occurs in the nanoprogram processing in the operating system of the microprogram, it can be surely recognized whether the address is abnormal or the program is out of control. Moreover, when an abnormality occurs in the nanoprogram processing, the address holding circuit holds the addresses before and after the abnormality, so that the cause of the abnormality can be easily analyzed.

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

第1図はこの発明の第1の実施例を示すブロック図、第
2図(a)及び(b)はそれぞれナノプログラム制御用ナノ命
令を示す説明図、第3図はナノプログラムメモリの構成
を示す図、第4図はこの発明の第2実施例を示すブロッ
ク図、第5図はナノプログラム制御を備えたマイクロプ
ロセッサを示すブロック図、第6図は従来例を示すブロ
ック図、第7図(a)及び(b)はそれぞれ従来例のナノプロ
グラム制御用ナノ命令を示す説明図である。 図中、1はマイクロプログラム制御部、2はナノプログ
ラム制御部、3はデータ処理部、11はマイクロシーケ
ンサ、12はマイクロプログラムメモリ、13はマイク
ロ専用パイプラインレジスタ、21はナノシーケンサ、
22はナノプログラムメモリ、23はナノ専用パイプラ
インレジスタ、50はナノプログラム制御用フリップフ
ロップ、51はナノプログラム制御用ANDゲート、5
3はJKフリップフロップ、54はアドレス異常制御用
ORゲート、60はナノウォッチドッグタイマ、61は
ナノクロック制御用ANDゲート、62,63はアドレ
スラッチレジスタである。
FIG. 1 is a block diagram showing a first embodiment of the present invention, FIGS. 2 (a) and 2 (b) are explanatory views showing nano-commands for controlling nano-programs, and FIG. 3 shows the structure of a nano-program memory. FIG. 4, FIG. 4 is a block diagram showing a second embodiment of the present invention, FIG. 5 is a block diagram showing a microprocessor having nanoprogram control, FIG. 6 is a block diagram showing a conventional example, and FIG. (a) And (b) is explanatory drawing which shows the nano command for nano program control of a prior art example, respectively. In the figure, 1 is a micro program control unit, 2 is a nano program control unit, 3 is a data processing unit, 11 is a micro sequencer, 12 is a micro program memory, 13 is a micro dedicated pipeline register, 21 is a nano sequencer,
Reference numeral 22 is a nano program memory, 23 is a nano dedicated pipeline register, 50 is a nano program control flip-flop, 51 is a nano program control AND gate, 5
3 is a JK flip-flop, 54 is an OR gate for address abnormality control, 60 is a nano watchdog timer, 61 is an AND gate for nano clock control, and 62 and 63 are address latch registers.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】マイクロプログラム制御部及びナノプログ
ラム制御部を備え、前記マイクロプログラム制御部から
のナノプログラム起動要求を受けて、当該マイクロプロ
グラム制御部にマイクロプログラム停止指令を出力する
と共に、前記ナノプログラム制御部にナノプログラム実
行許可を出力し、且つ当該ナノプログラムからのナノプ
ログラム終了信号を受けて前記マイクロプログラム停止
指令及びナノプログラム実行許可を解除するナノプログ
ラム実行制御回路を有するマルチレベルプログラミング
方式において、前記ナノプログラム制御部のプログラム
メモリにおける未使用領域及び各ナノプログラム群の境
界位置にそれぞれアドレス異常フラグ付ナノエンド命令
を格納して、ナノプログラムカウンタがアドレス異常フ
ラグ付ナノエンド命令の番地に到達したときに当該ナノ
プログラム制御部からアドレス異常信号を出力し、該ア
ドレス異常信号をアドレス異常制御回路でラッチして、
アドレス異常通知を前記ナノプログラム制御部に出力し
てそのマイクロプログラム停止指令及びナノプログラム
実行許可を解除してマイクロプログラム処理に強制復帰
させ、且つマイクロプログラム処理のオペレーティング
システムにアドレス異常を通知し、前記マイクロプログ
ラム処理のオペレーティングシステムがナノプログラム
処理の実行継続可能なときにラッチ状態解除指令を前記
アドレス異常制御回路に出力して該アドレス異常制御回
路のラッチ状態を解除するまで、前記アドレス異常制御
回路の出力にて前記ナノプログラム起動要求をロックす
るようにしたことを特徴とするマルチレベルプログラミ
ング方式。
1. A micro program control unit and a nano program control unit are provided, and in response to a nano program activation request from the micro program control unit, a micro program stop command is output to the micro program control unit and the nano program In a multi-level programming method having a nano program execution control circuit that outputs a nano program execution permission to the control unit, and receives the nano program end signal from the nano program and cancels the micro program stop command and the nano program execution permission, The nano program counter stores nano end instructions with an address abnormality flag at an unused area in the program memory of the nano program control unit and a boundary position of each nano program group, and the nano program counter uses the nano end with an address abnormality flag Outputs an address abnormality signal from the nano program control unit when it reaches the address of the decree, latches the address anomaly signal in the address abnormal control circuit,
An address abnormality notification is output to the nanoprogram control unit, the microprogram stop command and the nanoprogram execution permission are released to forcefully return to the microprogram processing, and an address abnormality is notified to the operating system of the microprogram processing, Until the operating system of the micro program processing outputs the latch state cancellation command to the address abnormality control circuit when the nano program processing can be continuously executed, the address abnormality control circuit is released until the latch state of the address abnormality control circuit is released. A multilevel programming method characterized in that the nanoprogram activation request is locked at the output.
【請求項2】アドレス異常制御回路は、J入力側にアド
レス異常信号が、K入力側にマイクロプログラム処理の
オペレーティングシステムのラッチ状態解除指令がそれ
ぞれ入力されるJKフリップフロップで構成されている
特許請求の範囲第1項記載のマルチレベルプログラミン
グ方式。
2. The address abnormality control circuit comprises a JK flip-flop to which an address abnormality signal is input to the J input side and a latch state release command of an operating system for microprogram processing is input to the K input side, respectively. The multi-level programming method according to claim 1.
【請求項3】マイクロプログラム制御部及びナノプログ
ラム制御部を備え、前記マイクロプログラム制御部から
のナノプログラム起動要求を受けて、当該マイクロプロ
グラム制御部にマイクロプログラム停止指令を出力する
と共に、前記ナノプログラム制御部にナノプログラム実
行許可を出力し、且つ当該ナノプログラムからのナノプ
ログラム終了信号を受けて前記マイクロプログラム停止
指令及びナノプログラム実行許可を解除するナノプログ
ラム実行制御回路を有するマルチレベルプログラミング
方式において、前記ナノプログラム制御部のプログラム
メモリにおける未使用領域及び各ナノプログラム群の境
界位置にそれぞれアドレス異常フラグ付ナノエンド命令
を格納して、ナノプログラムカウンタがアドレス異常フ
ラグ付ナノエンド命令の番地に到達したときに当該ナノ
プログラム制御部からアドレス異常信号を出力し、該ア
ドレス異常信号をアドレス異常制御回路でラッチして、
アドレス異常通知を前記ナノプログラム制御部に出力し
てそのマイクロプログラム停止指令及びナノプログラム
実行許可を解除してマイクロプログラム処理に強制復帰
させると共に、マイクロプログラム処理のオペレーティ
ングシステムにアドレス異常を通知し、さらに前記ナノ
プログラムの暴走をナノプログラム監視回路で監視し、
当該ナノプログラム監視回路でナノプログラムの暴走を
検出したときにその状態をラッチし、これを前記オペレ
ーティングシステムに通知し、アドレス異常及びナノプ
ログラム暴走の何れかが発生したときにその前後のナノ
プログラムアドレスをアドレス保持回路で保持し、前記
マイクロプログラム処理のオペレーティングシステムが
ナノプログラム処理の実行継続可能なときにラッチ状態
解除指令を前記アドレス異常制御回路及びナノプログラ
ム監視回路に出力して該アドレス異常制御回路及びナノ
プログラム監視回路のラッチ状態を解除するまで、前記
アドレス異常制御回路及びナノプログラム監視回路の出
力にて前記ナノプログラム起動要求をロックするように
したことを特徴とするマルチレベルプログラミング方
式。
3. A nano program control unit and a nano program control unit are provided, and upon receiving a nano program activation request from the micro program control unit, outputting a micro program stop command to the micro program control unit, and at the same time, the nano program. In a multi-level programming method having a nano program execution control circuit that outputs a nano program execution permission to the control unit, and receives the nano program end signal from the nano program and cancels the micro program stop command and the nano program execution permission, The nano program counter stores nano end instructions with an address abnormality flag at an unused area in the program memory of the nano program control unit and a boundary position of each nano program group, and the nano program counter uses the nano end with an address abnormality flag Outputs an address abnormality signal from the nano program control unit when it reaches the address of the decree, latches the address anomaly signal in the address abnormal control circuit,
An address error notification is output to the nanoprogram control unit to cancel the microprogram stop command and the nanoprogram execution permission to forcibly return to the microprogram process, and to notify the operating system of the microprogram process of the address error. The runaway of the nanoprogram is monitored by the nanoprogram monitoring circuit,
When the nanoprogram monitoring circuit detects a nanoprogram runaway, the state is latched and this is notified to the operating system, and when an address error or nanoprogram runaway occurs, the nanoprogram address before and after that will occur. Is held by the address holding circuit, and when the operating system of the microprogram processing can continue execution of the nanoprogram processing, a latch state release command is output to the address abnormality control circuit and the nanoprogram monitoring circuit to output the address abnormality control circuit. A multi-level programming method characterized in that the nano program activation request is locked by the output of the address abnormality control circuit and the nano program monitoring circuit until the latch state of the nano program monitoring circuit is released.
JP62098104A 1987-04-21 1987-04-21 Multi-level programming method Expired - Fee Related JPH0642207B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62098104A JPH0642207B2 (en) 1987-04-21 1987-04-21 Multi-level programming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62098104A JPH0642207B2 (en) 1987-04-21 1987-04-21 Multi-level programming method

Publications (2)

Publication Number Publication Date
JPS63263543A JPS63263543A (en) 1988-10-31
JPH0642207B2 true JPH0642207B2 (en) 1994-06-01

Family

ID=14211020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62098104A Expired - Fee Related JPH0642207B2 (en) 1987-04-21 1987-04-21 Multi-level programming method

Country Status (1)

Country Link
JP (1) JPH0642207B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5043879A (en) * 1989-01-12 1991-08-27 International Business Machines Corporation PLA microcode controller
US8645618B2 (en) * 2011-07-14 2014-02-04 Lsi Corporation Flexible flash commands

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5591034A (en) * 1978-12-29 1980-07-10 Fujitsu Ltd Fault detection system
JPS5846440A (en) * 1981-09-11 1983-03-17 Nec Corp Microprogram control system

Also Published As

Publication number Publication date
JPS63263543A (en) 1988-10-31

Similar Documents

Publication Publication Date Title
JP4759273B2 (en) Data processing apparatus and shared resource access control method
US5109381A (en) Apparatus and method for detecting errors in a pipeline data processor
US20030046614A1 (en) System and method for using embedded real-time analysis components
US20170293541A1 (en) Self-testing in a processor core
US4096564A (en) Data processing system with interrupt functions
JP2008513899A (en) Method for processing a computer program on a computer system
JPS61188626A (en) Microprocessor
JPH02294739A (en) Fault detecting system
JPH0642207B2 (en) Multi-level programming method
JP6838234B2 (en) Vehicle control device
JPH1153225A (en) Fault processor
US20220382581A1 (en) Method, arrangement, and computer program product for organizing the excitation of processing paths for testing a microelectric circuit
KR102358754B1 (en) Apparatus and method for controlling assertion of a trigger signal to a processing circuit
JP2550708B2 (en) Debug method
JP3185780B2 (en) System monitoring apparatus and method
JP2008077388A (en) Multiprocessor control system, method and program
JPH03110637A (en) Instruction trace system
JPS6118045A (en) Detecting system of program runaway
JPS5972506A (en) Sequence controller
JPS60171544A (en) Self-diagnosis device for abnormality of computer system
JPH0149975B2 (en)
JPH11272501A (en) Processing method for debugger and real time os
JPH05224998A (en) Fault detecting system for application task
JPH01183701A (en) Plant supervisory unit
JPH10340208A (en) Microprocessor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees