JPH0353320A - Program control system - Google Patents

Program control system

Info

Publication number
JPH0353320A
JPH0353320A JP18751089A JP18751089A JPH0353320A JP H0353320 A JPH0353320 A JP H0353320A JP 18751089 A JP18751089 A JP 18751089A JP 18751089 A JP18751089 A JP 18751089A JP H0353320 A JPH0353320 A JP H0353320A
Authority
JP
Japan
Prior art keywords
ram
nanoinstruction
rom
decoder
bug
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
JP18751089A
Other languages
Japanese (ja)
Inventor
Hiromi Oishi
博見 大石
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 JP18751089A priority Critical patent/JPH0353320A/en
Publication of JPH0353320A publication Critical patent/JPH0353320A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To form an LSI and at the same time to prevent the rework at occurrence of a bug by using a ROM part and a RAM part to form a decoder which converts a microinstruction into a nanoinstruction. CONSTITUTION:The high order part of a decoder 14 consists of a ROM 14a with the lower order part consisting of a RAM 14b. The nanoinstructions are successively stored in both ROM 14a and RAM 14b from the ROM 14a. Then the decoder 14 receives an access with a 2nd field 12 defined as an address. If a bug occurred in a microprogram is equal to a nanoinstruction corresponding to the ROM 14a, this nanoinstruction is corrected and written into the RAM 14b. While the RAM 14b is corrected if the bug is equal to a nanoinstruction corresponding to the RAM 14b. As a result, an LSI is formed and also the occurrence of a bug can be dealt with.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラムで制却される情報処理装置
に関し,特に水平型の2レベルマイクロプログラム制御
に用いられるデコーダに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device controlled by a microprogram, and particularly to a decoder used for horizontal two-level microprogram control.

〔従来の技術〕[Conventional technology]

一般K,2レ、ベルマイクロプログラム制御方式では,
マイクロ命令が複数のフィールドの配列で構成され,こ
のマイクロ命令はマイクロ命令レジスタ2口に格納され
る。そして,マイクロ命令レジスタ20の各フィールド
でデコーダをアクセスし,デコーダからナノ命令を読み
出し,このナノ命令によって情報処理装置のハドウェア
( HW )’(制御している。
In the general K, 2-level, Bell microprogram control system,
A microinstruction consists of an array of multiple fields, and this microinstruction is stored in two microinstruction registers. Then, each field of the microinstruction register 20 accesses the decoder, reads nanoinstructions from the decoder, and controls the hardware (HW)' of the information processing device using these nanoinstructions.

飼えば,マイクロ命令レジスタ20には図示のように第
1,第2,第3,第4のフィールド21,22.23及
び24(他のフィールドは示さず)等が格納され,第3
フィールド26でデコーダ25がアクセスされて,ナノ
命令パターンが読み出される。
When stored, the microinstruction register 20 stores the first, second, third, and fourth fields 21, 22, 23, and 24 (other fields are not shown), etc., as shown in the figure.
The decoder 25 is accessed in field 26 to read out the nanoinstruction pattern.

ところで,従来この種のデコーダとしてはROM又はR
AMが用いられて月9,これらROM又はRAMに予め
ナノ命令パターンが書き込まれている。
By the way, conventional decoders of this type are ROM or R
When AM is used, nanoinstruction patterns are written in advance in these ROMs or RAMs.

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

デコーダとして,ROM’i用いた場合,例えば,マイ
クロプログラムにバグがあると(バグが検出されると)
,バグに対応するナノ命令パターンの修正ができず,そ
の結果,ROMの再作成となってしまう。
When using ROM'i as a decoder, for example, if there is a bug in the microprogram (if a bug is detected)
, the nano-instruction pattern corresponding to the bug cannot be corrected, and as a result, the ROM has to be recreated.

一方,デコーダとしてRAMを用いた場合には,マイク
ロプログラム以外でRAMにナノ命令パターンを書き込
む必要があり,そのためのハードウェアが必要となる。
On the other hand, when a RAM is used as a decoder, it is necessary to write nanoinstruction patterns into the RAM using something other than a microprogram, and hardware for this is required.

また,一般的にRAMの場合,ROMに比べての集積度
が低(,LSI等にインプリメントする場合,多くのハ
ードウェア量を必要としてしまう。その結果,RAMの
容量を大きくできないという問題点がある。
Additionally, in the case of RAM, the degree of integration is generally lower than that of ROM (and when implemented in LSI, etc., a large amount of hardware is required. As a result, there is a problem that the capacity of RAM cannot be increased. be.

本発明の目的はLSI化に適し,しかもバグの発生に対
処できるマイクロプログラム制御方式を提供することに
ある。
An object of the present invention is to provide a microprogram control method that is suitable for LSI implementation and that can deal with the occurrence of bugs.

p1下余白 〔問題点を解決するための手段〕 本発明によれば,水平型マイクロ命令によって制御され
る情報処理装置に用いられ,該マイクロ命令をインタプ
リー卜するナノ命令パターンが格納された記憶部を備え
,該記憶部はROM部とRAM部とを備えておシ,前記
マイクロ命令の所定のフィールドで前記記憶部をアクセ
スして前記ナノ命令パターンを読み出し,該ナノ命令パ
ターンで制御するようにしたことを特徴とするマイクロ
プログラム制御方式が得られる。
p1 Lower Margin [Means for Solving the Problem] According to the present invention, a storage unit that is used in an information processing device controlled by horizontal microinstructions and stores nanoinstruction patterns that interpret the microinstructions. The storage unit includes a ROM unit and a RAM unit, and the storage unit is accessed in a predetermined field of the microinstruction to read out the nanoinstruction pattern and control is performed using the nanoinstruction pattern. A microprogram control system is obtained which is characterized by the following.

〔実施例〕〔Example〕

次に,本発明について実施例によって説明する。 Next, the present invention will be explained with reference to examples.

第1図を参照して,マイクロ命令レジスタ11には,1
ワードの水平型マイクロ命令が保持され,このマイクロ
命令は複数個の第1のフィールド11,第2のフィール
ド12及び第3の7ィールド15・・・・・・に分割さ
れている。
Referring to FIG. 1, the microinstruction register 11 contains 1
A horizontal micro-instruction of words is held, and this micro-instruction is divided into a plurality of first fields 11, second fields 12, third seven fields 15, . . . .

そして,図示のように例えば,第2のフィールド12に
対応してマイクロ命令レジスタ11にはデコーダ14が
接続されている。デコーダ14は上位部がROM14a
で構成され,下位部がRAM14bで構成されている。
As shown in the figure, for example, a decoder 14 is connected to the microinstruction register 11 corresponding to the second field 12. The upper part of the decoder 14 is a ROM 14a
The lower part is composed of a RAM 14b.

これらRoM14a及びRAM14bにはROM 14
aから順次ナノ命令が格納されており,第2のフィール
ド12をアドレスとしてデコーダ14がアクセスされる
These RoM14a and RAM14b have ROM14
Nanoinstructions are stored sequentially starting from a, and the decoder 14 is accessed using the second field 12 as an address.

ここでは,第1のフィールド11及び第5のフィールド
15はそれぞれハードウエア(例えば,他のデコーダ図
示せず)によってデコードされ,マイクロコマンドとし
て出力され,これによってハードウェアが制御される。
Here, the first field 11 and the fifth field 15 are each decoded by hardware (for example, another decoder not shown) and output as microcommands, thereby controlling the hardware.

一方,第2のフィールド12はデコーダ14をアドレス
し,これによってデコーダ14から該当するナノ命令が
読み出され,ハードウェアが制御される。
On the other hand, the second field 12 addresses the decoder 14, whereby the corresponding nanoinstruction is read out from the decoder 14 and the hardware is controlled.

ところで,マイクロプログラムにバグが発生した場合に
それがROM14aに対応するナノ命令であれば,この
ナノ命令を修正して,RAM14bに書き込む。一方,
RAM 14bに対応するナノ命令であれば,RAM 
14bを修正すればよい。
By the way, if a bug occurs in the microprogram and it is a nanoinstruction corresponding to the ROM 14a, this nanoinstruction is corrected and written to the RAM 14b. on the other hand,
If it is a nanoinstruction corresponding to RAM 14b, RAM
14b should be modified.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では,マイクロ命令をナノ命
令に変換するデコーダをROM部分とRAM部分で構成
しているからLSI化に向き,かつ,バグ発生時にはR
OM部分のナノ命令をRAM部に修正して書き込むこと
ができ,つま#)RAM部を修正することができ,リヮ
ークを防ぐことができる効果がある。
As explained above, in the present invention, the decoder that converts micro-instructions into nano-instructions is composed of a ROM part and a RAM part, so it is suitable for LSI implementation, and if a bug occurs, it can be
Nanoinstructions in the OM part can be modified and written to the RAM part, and the RAM part can be modified, which has the effect of preventing leaks.

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

第1図は本発明の一実施例を示す図,第2図は従来例を
示す図である。 10・・・マイクロ命令レジスタ,11〜15・・・フ
ィールド,14・・・デコーダ。 lう−ぐ,、
FIG. 1 is a diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing a conventional example. 10...Microinstruction register, 11-15...Field, 14...Decoder. l...

Claims (1)

【特許請求の範囲】[Claims] 1、水平型マイクロ命令によって制御される情報処理装
置に用いられ、該マイクロ命令をインタブリードするナ
ノ命令パターンが格納された記憶部を備え、該記憶部は
ROM部とRAM部とを備えており、前記マイクロ命令
の所定のフィールドで前記記憶部をアクセスして前記ナ
ノ命令パターンを読み出し、該ナノ命令パターンで制御
するようにしたことを特徴とするマイクロプログラム制
御方式。
1. Used in an information processing device controlled by horizontal micro-instructions, comprising a storage section storing nanoinstruction patterns that interlead the micro-instructions, and the storage section includes a ROM section and a RAM section. . A microprogram control system, characterized in that the storage unit is accessed in a predetermined field of the microinstruction to read out the nanoinstruction pattern, and control is performed using the nanoinstruction pattern.
JP18751089A 1989-07-21 1989-07-21 Program control system Pending JPH0353320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18751089A JPH0353320A (en) 1989-07-21 1989-07-21 Program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18751089A JPH0353320A (en) 1989-07-21 1989-07-21 Program control system

Publications (1)

Publication Number Publication Date
JPH0353320A true JPH0353320A (en) 1991-03-07

Family

ID=16207329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18751089A Pending JPH0353320A (en) 1989-07-21 1989-07-21 Program control system

Country Status (1)

Country Link
JP (1) JPH0353320A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5201547A (en) * 1991-04-10 1993-04-13 Toyota Jidosha Kabushiki Kaisha Rear under body structure
JP2021140744A (en) * 2019-04-04 2021-09-16 中科寒武紀科技股▲分▼有限公司Cambricon Technologies Corporation Limited Data processing method, apparatus, and related product
US11687339B2 (en) 2019-04-19 2023-06-27 Cambricon Technologies Corporation Limited Data processing method and apparatus, and related product
US11836491B2 (en) 2019-04-04 2023-12-05 Cambricon Technologies Corporation Limited Data processing method and apparatus, and related product for increased efficiency of tensor processing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5201547A (en) * 1991-04-10 1993-04-13 Toyota Jidosha Kabushiki Kaisha Rear under body structure
JP2021140744A (en) * 2019-04-04 2021-09-16 中科寒武紀科技股▲分▼有限公司Cambricon Technologies Corporation Limited Data processing method, apparatus, and related product
US11836491B2 (en) 2019-04-04 2023-12-05 Cambricon Technologies Corporation Limited Data processing method and apparatus, and related product for increased efficiency of tensor processing
US11687339B2 (en) 2019-04-19 2023-06-27 Cambricon Technologies Corporation Limited Data processing method and apparatus, and related product

Similar Documents

Publication Publication Date Title
JPH0353320A (en) Program control system
JPS59197946A (en) Memory device
JP2504151B2 (en) Data processing device
JP2743947B2 (en) Micro program control method
JPS5998249A (en) Digital information processing device
JPH04181320A (en) Microprogram control system
JPS607295B2 (en) data processing equipment
JPS60221829A (en) Data processor
JPS59186048A (en) Microprogram control system
JPS60132249A (en) Data processor
JPS6398035A (en) Microprogram controller
JPH03208140A (en) Input/output log recording system
JPH03118648A (en) Effective application method of memory area for cpu control
JPH02165349A (en) Address tracing circuit
JPH0198022A (en) Program loading system for programmable device
JPS5914050A (en) Memory controlling system
JPH0264828A (en) Address trace circuit
JPH0196733A (en) Control memory
JPS62133533A (en) Switching system for os in electronic computer system
JPS60178543A (en) Interruption control system
JPS6247744A (en) Microprogram controller
JPS6091474A (en) Exclusive control system for plural processors
JPS60215247A (en) Arithmetic processor
JPH04128880A (en) Multiwindow display device
JPH04140852A (en) Diagnostic system for information processor