JPH0287239A - Microprogram processor - Google Patents

Microprogram processor

Info

Publication number
JPH0287239A
JPH0287239A JP63238235A JP23823588A JPH0287239A JP H0287239 A JPH0287239 A JP H0287239A JP 63238235 A JP63238235 A JP 63238235A JP 23823588 A JP23823588 A JP 23823588A JP H0287239 A JPH0287239 A JP H0287239A
Authority
JP
Japan
Prior art keywords
execution
micro
instruction
microprogram
register
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
JP63238235A
Other languages
Japanese (ja)
Inventor
Koichi Ito
幸一 伊藤
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63238235A priority Critical patent/JPH0287239A/en
Publication of JPH0287239A publication Critical patent/JPH0287239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent limitation from being given even in the case of address allocation on a control memory by stopping the processing of a micro-instruction word when execution permission information and the contents of an execution level display means show noncoincidence. CONSTITUTION:The micro-instruction word read by a next instruction address 5-a, which is outputted from a micro-instruction control part 5, is set to a micro- instruction register 2 and the execution permission information are set to a register 3 respectively. Here, the contents of a current level register 7 to hold the execution level of a micro-instruction and the contents of the register 3 receive a check by a comparing and deciding circuit 6. When it is decided in the comparing and deciding circuit 6 that the coupling of both contents is unfair, it is instructed by a signal line 6-1 to the micro-instruction control part 5 that the execution of the micro-instruction word is suppressed. Thus, any limitation is not given in the case of the address allocation on the control memory.

Description

【発明の詳細な説明】 1五立ヱ 本発明はマイクロプログラム処理装置に関し、特にマイ
クロプログラムが複数の実行レベルを有し、処理内容に
応じて予め定められた実行レベルに割込み処理を行うよ
う構成されたマイクロプログラム処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram processing device, and particularly to a microprogram processing device configured such that the microprogram has a plurality of execution levels and interrupt processing is performed at a predetermined execution level depending on the processing content. The present invention relates to a microprogram processing device.

良米亘韮 従来、マイクロプログラムの誤動作防止技術としては、
マイクロプログラムアドレスが一定の範囲内を超えたか
否かを判定する方法や、同一箇所をループしていること
を検出する方法などがある。
Traditionally, microprogram malfunction prevention technology includes:
There are methods for determining whether the microprogram address has exceeded a certain range, and methods for detecting that the same location is being looped.

上述した従来の方法のうち、前者はある処理を行なうべ
きファームウェアモジュールが一定のアドレス範囲に治
まっていなければならず、特に水平型マイクロ命令語を
有する装置においては、制御記憶内アドレス割付けの制
限となる。また、後者の方法では、ストール監視のため
の多くのハードウェアが必要となると言う欠点がある。
Of the conventional methods mentioned above, the former requires that the firmware module to perform a certain process fall within a certain address range, and this is especially true for devices with horizontal microinstructions, due to restrictions on address allocation in control memory. Become. Furthermore, the latter method has the disadvantage of requiring a large amount of hardware for stall monitoring.

主曹■とl似 そこで、本発明はこの様な従来のものの欠点を解決すべ
くなされたものであって、その目的とするところは、複
雑なハードウェアを必要とすることなくかつ制御記憶上
のアドレス割付けに際しても制限を与えることのないマ
イクロプログラム処理装置を提供することにある。
Therefore, the present invention was made to solve the drawbacks of the conventional ones, and its purpose is to eliminate the need for complicated hardware and to improve control memory. An object of the present invention is to provide a microprogram processing device that does not impose any restrictions on address assignment.

九肌立旦虞 本発明によれば、マイクロプログラムが複数の実行レベ
ルを有し、処理内容に応じて予め定められた実行レベル
に割込む処理を行うよう構成されたマイクロプログラム
処理装置であって、マイクロ命令語を格納する格納部の
池に、これ等マイクロ命令語が実行可能なマイクロプロ
グラム実行レベルを予め指示する実行許可情報をこれ等
マイクロ命令語対応に格納する格納部を有する制御記憶
と、現在のマイクロプログラム実行レベルを表示する実
行レベル表示手段と、実行すべく前記制御記憶から読出
されたマイクロ命令語に対応する前記実行許可情報と前
記実行レベル表示手段の内容とを比較する比較手段とを
含み、この比較結果が不一致を示した場合に、前記マイ
クロ命令語の処理を停止するようにしたことを特徴とす
るマイクロプログラム処理装置が得られる。
According to the present invention, there is provided a microprogram processing device in which a microprogram has a plurality of execution levels and is configured to perform a process of interrupting a predetermined execution level depending on the processing content. , a control memory having a storage section for storing execution permission information in advance for instructing the microprogram execution level at which these microinstructions can be executed in correspondence with the microinstruction words in a storage section for storing the microinstruction words; , execution level display means for displaying the current microprogram execution level, and comparison means for comparing the execution permission information corresponding to the microinstruction word read from the control memory to be executed with the contents of the execution level display means. There is obtained a microprogram processing device characterized in that the processing of the microinstruction word is stopped when the comparison result shows a mismatch.

Xハ] 以下、図面を用いて本発明の実施例について説明する。Xc] Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.

図において、1−1及び1−2は制御記憶であり、1−
2は通常のマイクロ命令語を格納し、1−1は本発明の
特徴である実行許可情報を格納する領域である。2は制
御記憶から読出されたマイクロ命令語を格納するマイク
ロ命令レジスタ、3は実行許可情報を格納する実行許可
レジスタ、4はマイクロ命令レジスタ2の制御記憶内の
アドレス聚格納するマイクロアドレスレジスタ、5はマ
イクロ命令制御部、6は本発明の特徴のひとつである比
較判定部、7は現在実行中のマイクロプログラムレベル
を示すカウントレベルレジスタ、8は割込まれたレベル
を記憶するプレピアスレベルレジスタである。カレント
レベルレジスタ7は4ビツトからなり、その内容とレベ
ルの対応を第3図に示す。
In the figure, 1-1 and 1-2 are control memories; 1-1 and 1-2 are control memories;
2 is an area for storing ordinary microinstructions, and 1-1 is an area for storing execution permission information, which is a feature of the present invention. 2 is a microinstruction register that stores the microinstruction word read from the control memory; 3 is an execution permission register that stores execution permission information; 4 is a microaddress register that stores the address in the control storage of the microinstruction register 2; 5 is a microinstruction control unit, 6 is a comparison/judgment unit which is one of the features of the present invention, 7 is a count level register indicating the level of the microprogram currently being executed, and 8 is a pre-pierce level register for storing the interrupt level. be. The current level register 7 consists of 4 bits, and the correspondence between its contents and levels is shown in FIG.

マイクロプログラム処理装置はレベル0からレベル4ま
での5段階の実行レベルを有するものとし、各処理内容
に応じ、予め定められた実行レベルに割込み処理を行な
う0例えば、実行レベル0は障害処理、実行レベル1は
データチエイニング、実行レベル2はコマンドチエイニ
ング等となっているものとする。従って、制御記憶内の
マイクロプログラムは各実行レベルに対応した固有の部
分と各レベルが共通に走行する部分(例えば、メモリア
クセス処理)とからなる、マイクロ命令制御部5はマイ
クロ命令の解読、実行、次命令の割出し、割込み処理等
を制御するものである。
The microprogram processing device has five execution levels from level 0 to level 4, and interrupt processing is performed at a predetermined execution level according to each processing content.For example, execution level 0 is failure processing, execution It is assumed that level 1 is data chaining, execution level 2 is command chaining, etc. Therefore, the microprogram in the control memory consists of a unique part corresponding to each execution level and a part common to each level (for example, memory access processing).The microinstruction control unit 5 decodes and executes microinstructions. , the next instruction is determined, interrupt processing, etc. are controlled.

次に本実施例における動作について説明する。Next, the operation in this embodiment will be explained.

制御記憶中のマイクロ命令語の格納は、外部の例えば図
示せぬサービスプロセッサ等により行なわれている。マ
イクロ命令制御部5から出力される次命令アドレス5−
aにより読出されたマイクロ命令語がマイクロ命令レジ
スタ2へ、実行許可情報がレジスタ3へ大々セットされ
る。ここで、マイクロ命令の実行レベルを保持するカレ
ントレベルレジスタ7の内容とレジスタ3の内容とが比
較判定回路6によりチエツクを受ける。
The microinstruction words in the control memory are stored by an external service processor (not shown) or the like. Next instruction address 5- output from microinstruction control unit 5
The microinstruction word read by a is set in the microinstruction register 2, and the execution permission information is set in the register 3. Here, the contents of the current level register 7, which holds the execution level of the microinstruction, and the contents of the register 3 are checked by the comparison/judgment circuit 6.

チエツクの論理は第2図に示す通りであり、例えばレジ
スt3の内容(3ビツトからなる)が“011”であれ
ば、実行レベル3での実行のみが許可される。ここでの
チエツクによりバスすると、マイクロ命令レジスタ2の
内容が正常に実行される。もし、比較判定回路6におい
て不正な組みあわせ(例えば、カレントベルレジスタ7
が“oioo”であり、レジスタ3の内容が011”で
ある様な場合)であると判定されたならば、信号線6−
1によりマイクロ命令制御部5に対しマイクロ命令語の
実行を抑止するように指示する。マイクロ命令制御部5
はマイクロ命令実行抑止信号(図示せず)を出力すると
共に図示せぬ制御部に対しクロック停止を指示する。
The check logic is as shown in FIG. 2. For example, if the contents of register t3 (consisting of 3 bits) are "011", only execution at execution level 3 is permitted. If the bus is checked here, the contents of the microinstruction register 2 will be executed normally. If there is an invalid combination in the comparison/judgment circuit 6 (for example, the current bell register 7
is "oioo" and the contents of register 3 are "011"), the signal line 6-
1 instructs the microinstruction control unit 5 to suppress execution of the microinstruction word. Microinstruction control unit 5
outputs a microinstruction execution inhibit signal (not shown) and instructs a control section (not shown) to stop the clock.

1肌立遵盟 以上説明した様に、本発明によれば、制御記憶にマイク
ロ命令語以外に実行許可情報を付加し、この実行許可情
報とマイクロプログラムの実行レベルとを照らし合わせ
ることにより、マイクロプログラムの誤動作を検出でき
、かつ制御記憶上のアドレス割付けに際しても同等制限
を与えない高信頼度のマイクロプログラム処理装置を提
供し得るという効果がある。
1. As explained above, according to the present invention, execution permission information is added to the control memory in addition to the microinstruction word, and by comparing this execution permission information with the execution level of the microprogram, This has the effect of providing a highly reliable microprogram processing device that can detect program malfunctions and that does not impose the same restrictions on address assignment on control storage.

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

第1図は本発明の実施例のブロック図、第2図は実行許
可情報と実行レベルとの関係を示す図、第3図はカレン
トベルレジスタフのデータと実行レベルとの関連を示す
図である。 主要部分の符号の説明 1−1・・・・・・実行許可情報格納部1−2・・・・
・・マイクロ命令語格納部5・・・・・・マイクロ命令
制御部 6・・・・・・比較判定部
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing the relationship between execution permission information and execution level, and FIG. 3 is a diagram showing the relationship between current bell register graph data and execution level. be. Explanation of symbols of main parts 1-1... Execution permission information storage section 1-2...
...Microinstruction word storage unit 5...Microinstruction control unit 6...Comparison judgment unit

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラムが複数の実行レベルを有し、
処理内容に応じて予め定められた実行レベルに割込む処
理を行うよう構成されたマイクロプログラム処理装置で
あって、マイクロ命令語を格納する格納部の他に、これ
等マイクロ命令語が実行可能なマイクロプログラム実行
レベルを予め指示する実行許可情報をこれ等マイクロ命
令語対応に格納する格納部を有する制御記憶と、現在の
マイクロプログラム実行レベルを表示する実行レベル表
示手段と、実行すべく前記制御記憶から読出されたマイ
クロ命令語に対応する前記実行許可情報と前記実行レベ
ル表示手段の内容とを比較する比較手段とを含み、この
比較結果が不一致を示した場合に、前記マイクロ命令語
の処理を停止するようにしたことを特徴とするマイクロ
プログラム処理装置。
(1) A microprogram has multiple execution levels,
A microprogram processing device configured to perform processing that interrupts a predetermined execution level depending on the processing content, and in addition to a storage section that stores microinstructions, there is also a storage section that can execute these microinstructions. a control memory having a storage section for storing execution permission information that instructs the microprogram execution level in advance in correspondence with these microinstruction words; an execution level display means for displaying the current microprogram execution level; a comparison means for comparing the execution permission information corresponding to the micro-instruction read from the micro-instruction with the contents of the execution level display means, and when the comparison result shows a mismatch, processing of the micro-instruction is performed. A microprogram processing device characterized by being configured to stop.
JP63238235A 1988-09-22 1988-09-22 Microprogram processor Pending JPH0287239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63238235A JPH0287239A (en) 1988-09-22 1988-09-22 Microprogram processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63238235A JPH0287239A (en) 1988-09-22 1988-09-22 Microprogram processor

Publications (1)

Publication Number Publication Date
JPH0287239A true JPH0287239A (en) 1990-03-28

Family

ID=17027156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63238235A Pending JPH0287239A (en) 1988-09-22 1988-09-22 Microprogram processor

Country Status (1)

Country Link
JP (1) JPH0287239A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5189920A (en) * 1991-03-21 1993-03-02 Electronics & Space Corp. Corner stability testing apparatus
JPH06250855A (en) * 1993-02-26 1994-09-09 Nippondenso Co Ltd Microcomputer
US6304957B1 (en) 1993-02-26 2001-10-16 Nippondenso Co., Ltd. Multitask processing unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5189920A (en) * 1991-03-21 1993-03-02 Electronics & Space Corp. Corner stability testing apparatus
JPH06250855A (en) * 1993-02-26 1994-09-09 Nippondenso Co Ltd Microcomputer
US6304957B1 (en) 1993-02-26 2001-10-16 Nippondenso Co., Ltd. Multitask processing unit

Similar Documents

Publication Publication Date Title
US5305460A (en) Data processor
US5555414A (en) Multiprocessing system including gating of host I/O and external enablement to guest enablement at polling intervals
US4926318A (en) Micro processor capable of being connected with a coprocessor
JP4893427B2 (en) Microcomputer system
JPH0287239A (en) Microprogram processor
US20050022073A1 (en) Microcomputer system
KR100239438B1 (en) Cpu having function for preventing malfuction
JPS5899841A (en) Address controlling system of partially mounted control memory
KR100238175B1 (en) Bus control logic apparatus
JPS6162142A (en) I/o controller
JPS6385831A (en) Control circuit for microprocessor
JPH04128961A (en) Multi-processor control system
JPH059815B2 (en)
JPH07219813A (en) Monitoring device for microprocessor
JPH03208132A (en) Single chip microcomputer
JPH01180656A (en) Memory protecting device
JPH0258648B2 (en)
JPS62144246A (en) Computer
JPH0581059A (en) Multiprocessor system
JPS6072040A (en) Monitoring system for executing time of program
JPS58169640A (en) Preventing circuit of runaway of microcomputer
JPH06236300A (en) Microcomputer
JPS6083149A (en) Computer
JPH09231191A (en) Microcomputer
JPS63141129A (en) Microprogram controller