JPS6334640A - Information processor - Google Patents

Information processor

Info

Publication number
JPS6334640A
JPS6334640A JP61177956A JP17795686A JPS6334640A JP S6334640 A JPS6334640 A JP S6334640A JP 61177956 A JP61177956 A JP 61177956A JP 17795686 A JP17795686 A JP 17795686A JP S6334640 A JPS6334640 A JP S6334640A
Authority
JP
Japan
Prior art keywords
instruction
trap
segment
register
decoder
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.)
Granted
Application number
JP61177956A
Other languages
Japanese (ja)
Other versions
JPH0769793B2 (en
Inventor
Tadao Kondo
忠雄 近藤
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 JP61177956A priority Critical patent/JPH0769793B2/en
Publication of JPS6334640A publication Critical patent/JPS6334640A/en
Publication of JPH0769793B2 publication Critical patent/JPH0769793B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the reproduction of an LSI even when a fault in design is generated, by trapping an instruction by a specific condition, and executing an instruction group in a specific area. CONSTITUTION:At the time of detecting a trapping condition at a decoder 4 by the instruction set at an instruction register 1, the content of an instruction counter 9 is saved in a prescribed memory area, and a new value is taken out from the prescribed area, then it is set at the instruction register 9. In the above state, a device progresses in a trap mode, and the trap segment descriptor of a segment register 3 is used as an instruction segment. And since the combination of the instructions that substitutes the combination of another basic instructions for an instruction function in which a trap is generated, is set in the trap segment in advance, the instruction function in which the trap is generated, can be processed by branching control to the segments.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、LSI化された情報処理装置における設計上
の障害の回避に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to avoiding design failures in LSI-based information processing devices.

(従来の技術〕 LSI化された情報処理装置においては、設計上の障害
が発生すると、その問題点ヶ解決するためにLSIの再
製作が必要である確率が高い。いっぽう、比較的ターン
アラウンドタイムが短いゲートアレイ方式であっても、
LSIの再製作はSS工技術に比べて長期間で要し、装
置の開発評価期間に与える影響は非常に太きい。
(Prior art) When a design failure occurs in an LSI-based information processing device, there is a high probability that the LSI will need to be remanufactured to resolve the problem.On the other hand, the turnaround time is relatively short. Even if the gate array method is short,
LSI remanufacturing takes a longer time than SS engineering technology, and the impact on the device development and evaluation period is extremely large.

(発明が解決しようとする問題点) 上述しt従来のLSI化された情報処理装置ではターン
アラウンドタイムが長いため、評価?円滑に進めるには
、再製作を必要とするLSIハードウェアの設計上の障
害を回避する手段が心変であると云う欠点がある。
(Problems to be Solved by the Invention) As mentioned above, conventional LSI-based information processing devices require a long turnaround time. In order to proceed smoothly, there is a disadvantage in that the means to avoid design failures in the LSI hardware that require remanufacturing are indispensable.

本発明の目的は、主メモリから取出した命令ケ解読する
デコータr有し、デコーダでは特定の命やコードに連続
して別の特定の命令コードが取出されtことヲ慌知し、
これらの特定の命令コード會任意にセットすることがで
きるようにして上記欠点?除去し、ターンアラウンドタ
イムを短編できるように構成した情報処理装置を提供す
ることにある。
An object of the present invention is to have a decoder that decodes instructions taken out from main memory, and the decoder recognizes that another specific instruction code is taken out following a specific instruction or code,
Can these specific instruction codes be set arbitrarily and the drawbacks mentioned above? An object of the present invention is to provide an information processing device configured to eliminate the problems and shorten the turnaround time.

(問題点ケ解決するための手段〕 不発明による情報処理装置は命令コードの条件検出手段
と命令コードセット手段とから成るデコーダを具備して
構成したものである。
(Means for Solving Problems) The information processing apparatus according to the invention is equipped with a decoder comprising instruction code condition detection means and instruction code setting means.

命令コードの条件検出手段は、特定の命令コードに連続
して別の特定の命令コードが取出されたことを検知する
ためのものである。
The instruction code condition detection means is for detecting that another specific instruction code is taken out following a specific instruction code.

命令コードセット手段は、ランダムアクセスメモリによ
り連続する特定の命令コードの対全任意にセットするた
めのものである。
The instruction code setting means is for arbitrarily setting all pairs of consecutive specific instruction codes using the random access memory.

(実 施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明による情報処理装置の一実施例の命令
制御部を示すブロック図である。第1図において、lは
命令レジスタ、2はインチフスレジスタ、3はセグメン
トレジスタ、4はデコーダ、5はアドレスアダ、6は仮
想アドレスレジスタ、7はTLB、8は制御回路、9は
命令カウンタ、10はカウンタ、11.12はそれぞれ
切替え回路である。
FIG. 1 is a block diagram showing an instruction control section of an embodiment of an information processing apparatus according to the present invention. In FIG. 1, l is an instruction register, 2 is an inch register, 3 is a segment register, 4 is a decoder, 5 is an address adder, 6 is a virtual address register, 7 is a TLB, 8 is a control circuit, 9 is an instruction counter, 10 is a counter, and 11 and 12 are switching circuits.

第1図において、命令レジスタlはキャッシュメモリ(
図示していない。)からの読出しデータ音セットするた
めの命令レジスタであり、インチフスレジスタ2は命令
レジスタ1にセットされた命令語の指定に従い、オペラ
ンドアドレス計算時のアドレス修飾に使用される。セグ
メントレジスタ3はセグメントディスクリブタが格納さ
れており、命令レジスタlにセットされた命令語の指定
に従い、仮想オペランドアドレスの計算に使用される。
In FIG. 1, instruction register l is cache memory (
Not shown. This is an instruction register for setting the read data sound from ), and the inch register 2 is used for address modification when calculating an operand address according to the designation of the instruction word set in the instruction register 1. The segment register 3 stores a segment descriptor, and is used to calculate a virtual operand address according to the instruction word set in the instruction register 1.

アドレスアダ5は命令レジスタ11インデクスレジスタ
2、ならびにセグメントレジスタ3の内容を入力し、仮
想アドレスを計算する。計算された仮想アドレスは仮想
アドレスレジスタ6にセットされ、TLB7により実ア
ドレスに変換されてキャッシュメモリに送出される。デ
コーダ4は命令レジスタ1にセットされた命令コード、
ならびにアドレス計算指定フィールドを解読し、トラッ
プ条件を検出する。
The address adder 5 inputs the contents of the instruction register 11, index register 2, and segment register 3, and calculates a virtual address. The calculated virtual address is set in the virtual address register 6, converted to a real address by the TLB 7, and sent to the cache memory. The decoder 4 receives the instruction code set in the instruction register 1,
and the address calculation specification field to detect trap conditions.

命令の取出しは命令カウンタ9の指定に従って行われ、
命令取出し要求が送出されるごとにカウンタ10ケ介し
て命令カウンタ9の内容は1づつ増分される。分岐命令
の実行時や初期設定時には、命令カウンタ9は演算処理
部(図示されていない。)より初期設定される。
Instructions are taken out according to the instructions of the instruction counter 9,
Each time an instruction fetch request is sent, the contents of the instruction counter 9 are incremented by 1 via the counters 10. When a branch instruction is executed or initialized, the instruction counter 9 is initialized by an arithmetic processing section (not shown).

命令レジスタ1にセットされた命令によりデコーダ4で
トラップ条件が検出されると、次の命令全指定するよう
補正した後に、あらかじめ定めらn友メモリ領域に命令
カウンタ9の内容をセーブし、あらかじめ定められた領
域から新しい値を取出して命令カウンタ9にセットする
When a trap condition is detected by the decoder 4 due to the instruction set in the instruction register 1, the contents of the instruction counter 9 are saved in a predetermined memory area after being corrected to specify all the next instructions. A new value is taken out from the specified area and set in the instruction counter 9.

この状態で情報処理装置はトラップモードに入り、セグ
メントレジスタ3のトラップセグメントディスクリブタ
が命令セグメントとして使用される。このディスクリブ
タは、トラップモード以外では使用されない。トラップ
セグメントには、初期設定時にトラップ?生じ次命令機
能を別の基本命令の組合せで代行するような命令の組合
せ七セットしておく。これによって、上記セグメントに
制mk分岐するごとにより、トラン12発生した命令機
能上処理する。
In this state, the information processing device enters the trap mode, and the trap segment descriptor of the segment register 3 is used as an instruction segment. This discriminator is not used except in trap mode. Does the trap segment have a trap during initial configuration? Seven command combinations are prepared in which the next command function is substituted by a combination of other basic commands. Thereby, each mk branch to the above segment causes the tran 12 to process the generated instruction functionally.

いっぽう、トラップセグメントでの命令実行時には、オ
ペランドとしてトラップされた命令の命令セグメントに
アクセスしなければならない場合がある。このため、上
記命令セグメントからオペランドを取出すロード命令が
追加されている。この命令は、オペランドセグメントデ
ィスクリブタとして、トラップケ発生し几命令セグメン
トディスクリブタを使用するものである。オペランドセ
グメントディスクリブタは、トラップモードでも任意に
アクセスすることができる。
On the other hand, when executing an instruction in a trap segment, it may be necessary to access the instruction segment of the trapped instruction as an operand. For this reason, a load instruction is added to extract an operand from the instruction segment. This instruction uses a trap-generated instruction segment discrettor as an operand segment discrettor. The operand segment descriptor can be accessed arbitrarily even in trap mode.

トラップセグメントの命令群の最後には、命令カウンタ
9の内容tセーブ領域から取出してセットするとともに
、トラップモードt″m除する几めの命令が用意されて
いる。
At the end of the trap segment command group, a refined command is prepared to take out the contents of the command counter 9 from the save area t and set it, as well as to set the trap mode t″m.

第2図は、第1図のデコーダ4を詳細に示すブロック図
である。第2図において、19は指定された条件tセッ
トするための条件設定回路、20はゲート論理回路、2
1はデコーダ、22は条件検出回路である。
FIG. 2 is a block diagram showing the decoder 4 of FIG. 1 in detail. In FIG. 2, 19 is a condition setting circuit for setting specified condition t, 20 is a gate logic circuit, and 2
1 is a decoder, and 22 is a condition detection circuit.

デコーダ4は命令レジスタ1にセットされ次命令コード
でアクセスされるゲート論理回路2()と、命令レジス
タ1にセットされたアドレス修飾ケ指定するフィールド
ケ解読するためのデコード回路21と、デコード回路2
1の出力全入力してトラップ条件?検出するための条件
検出回路22とから構成されている。ゲート論理回路2
0は命令コードに対応して複数ビットのエントリケ有し
、デコード回路21の出力と組会せてゲート論理口fI
?520の適当なビット?セットすれば、特定命令コー
ドに連続して別の特定の命令コードが取出される条件?
検出することができる。
The decoder 4 includes a gate logic circuit 2 () set in the instruction register 1 and accessed by the next instruction code, a decoding circuit 21 for decoding the field specifying the address modification set in the instruction register 1, and the decoding circuit 2
Trap condition by inputting all outputs of 1? and a condition detection circuit 22 for detection. Gate logic circuit 2
0 has a plurality of bits of entry corresponding to the instruction code, and in combination with the output of the decoding circuit 21, the gate logic port fI
? 520 random bit? If set, is the condition that another specific instruction code is retrieved consecutively to a specific instruction code?
can be detected.

第3図は、第2図の条件検出回路22]詳細に示すブロ
ック図である。第3図において、23はフリップフロッ
プ、24〜27はそれぞれNANDゲート、28はOR
ゲートである。信号線60〜64はそれぞれゲート論理
回路20の出力信号線であり、信号線71〜73はデコ
ード回路21の出力である。NANDゲート25〜27
は信号線62〜64を介して送出される特定の命令に対
応する出力信号と、信号線71〜73ケ介して送出され
るアドレス修飾条件とによりトラップ条件IJ出する。
FIG. 3 is a block diagram showing the condition detection circuit 22 in FIG. 2 in detail. In FIG. 3, 23 is a flip-flop, 24 to 27 are NAND gates, and 28 is an OR gate.
It is a gate. Signal lines 60 to 64 are output signal lines of gate logic circuit 20, and signal lines 71 to 73 are outputs of decoding circuit 21. NAND gates 25-27
outputs a trap condition IJ based on an output signal corresponding to a specific command sent via signal lines 62-64 and an address modification condition sent via signal lines 71-73.

フリップフロップ23は、直前に実行された命令に対応
するゲート論理回路20の出力によりセットされ、NA
NDゲート24により特定の命令の組会せ条件が検出さ
れる。NANDゲート25〜27は、同様な構成ケ有す
る。これらの検出されt各条件の論理和はORゲート2
8により求められ、信号線74を弁してプロセサに報告
される。
The flip-flop 23 is set by the output of the gate logic circuit 20 corresponding to the most recently executed instruction, and the NA
The ND gate 24 detects specific instruction combination conditions. NAND gates 25-27 have similar configurations. The logical sum of these detected conditions is OR gate 2.
8 and is reported to the processor via signal line 74.

ゲート論理回路20の内容はトラップ条件に応じて装装
置にt源投入時、あるいはリセット時に初期設定の一環
としてセットされる。
The contents of the gate logic circuit 20 are set as part of the initial setting when the device is turned on or reset, depending on the trap condition.

不実施例では、命令コード、アドレス修飾フィールド、
および命令の組合せによってトラップ条件を検出してい
るが、マスタモード/スレーブモードなどの条件が利用
できることは明らかである。
In non-implemented examples, the instruction code, address modification field,
Although trap conditions are detected by a combination of instructions and commands, it is clear that conditions such as master mode/slave mode can also be used.

本実施例では特定の命令と別の特定の命令とが連続した
場合には、主メモリの特定領域にある命令の実行を開始
するが、上記2番目の特定の命令の処理全第1番目の命
令の処理とは時間的に切離し、命令間の処理の干渉tな
くすには2番目の命令の取出し直しから再開し、問題の
解決ケ図る方法もある。
In this embodiment, when a specific instruction and another specific instruction are consecutive, execution of the instruction in a specific area of the main memory is started, but the processing of the second specific instruction is the same as the first one. There is also a method of solving the problem by separating the processing from the instruction in time and restarting from re-fetching the second instruction in order to eliminate processing interference between instructions.

(発明の効果) 以上説明したように本発明は、命令上特定の条件でトラ
ップして特定領域にある命令群上実行することにより、
設計上の障害全回避することができると云う効果がある
(Effects of the Invention) As explained above, the present invention traps instructions under specific conditions and executes them on a group of instructions in a specific area.
This has the effect that all design obstacles can be avoided.

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

第1図は、本発明による情報処理装置の一実施例ヶ示す
ブロック図である。 第2図および$3図は、第1図に示すデコーダの詳細?
示すブロック図である。 l・・・命令レジスタ 2・・・インデクスレジスタ3
・・・セグメントレジスタ  4・・・デコーダ5・・
・アドレスアダ 6・・・仮想アドレスレジスタ  7・・・TLB8・
・・制御回路  9・・・は令カウンタlO・・・カウ
ンタ 11.12・・・切替え回路 19・・・条件設定回路 20・・・ゲート論理回路 21・・・デコード回路 22・・・条件検出回路 23・・・フリップフロップ 24〜27・・・NANDゲート 28・・・ORゲート
FIG. 1 is a block diagram showing one embodiment of an information processing apparatus according to the present invention. Figures 2 and 3 show details of the decoder shown in Figure 1.
FIG. l...Instruction register 2...Index register 3
...Segment register 4...Decoder 5...
・Address adder 6...Virtual address register 7...TLB8・
...Control circuit 9... is an order counter lO...Counter 11.12...Switching circuit 19...Condition setting circuit 20...Gate logic circuit 21...Decoding circuit 22...Condition detection Circuit 23...Flip-flops 24-27...NAND gate 28...OR gate

Claims (1)

【特許請求の範囲】[Claims] 特定の命令コードに連続して別の特定の命令コードが取
出されたことを検知するための命令コードの条件検出手
段と、前記遅硬する特定の命令コードの対を指定された
ようにセットするための命令コードセット手段とから成
るデコーダを具備して構成したことを特徴とする情報処
理装置。
an instruction code condition detection means for detecting that another specific instruction code is taken out consecutively to a specific instruction code; and a pair of the slow specific instruction code is set as specified. 1. An information processing apparatus comprising: a decoder comprising an instruction code setting means for the information processing apparatus.
JP61177956A 1986-07-29 1986-07-29 Information processing equipment Expired - Lifetime JPH0769793B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61177956A JPH0769793B2 (en) 1986-07-29 1986-07-29 Information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61177956A JPH0769793B2 (en) 1986-07-29 1986-07-29 Information processing equipment

Publications (2)

Publication Number Publication Date
JPS6334640A true JPS6334640A (en) 1988-02-15
JPH0769793B2 JPH0769793B2 (en) 1995-07-31

Family

ID=16040021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61177956A Expired - Lifetime JPH0769793B2 (en) 1986-07-29 1986-07-29 Information processing equipment

Country Status (1)

Country Link
JP (1) JPH0769793B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535470A (en) * 1990-08-03 1993-02-12 Matsushita Electric Ind Co Ltd Instruction supply device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59108154A (en) * 1982-12-14 1984-06-22 Mitsubishi Electric Corp Monitoring device of program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59108154A (en) * 1982-12-14 1984-06-22 Mitsubishi Electric Corp Monitoring device of program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535470A (en) * 1990-08-03 1993-02-12 Matsushita Electric Ind Co Ltd Instruction supply device

Also Published As

Publication number Publication date
JPH0769793B2 (en) 1995-07-31

Similar Documents

Publication Publication Date Title
US4924382A (en) Debugging microprocessor capable of switching between emulation and monitor without accessing stack area
JPH0430053B2 (en)
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
JPS6334640A (en) Information processor
US5813039A (en) Guest execution control system, method and computer process for a virtual machine system
KR100525537B1 (en) Applied Program Bungle Detection Apparatus and Method by Interrupt
JPS6334643A (en) Information processor
JPH0646380B2 (en) Information processing equipment
JPS6334641A (en) Information processor
US6081886A (en) Holding mechanism for changing operation modes in a pipelined computer
JPS6334642A (en) Information processor
JPS59183434A (en) Prefetch control system of instruction
JPS6127778B2 (en)
JPS60142747A (en) Instruction execution control system
JPH0248733A (en) Information processor
JP3119859B2 (en) Computer system
JP2786215B2 (en) Restart processing control method
JPS59163653A (en) Debug device
JPH03209523A (en) Detection system for error of instruction data
JP3129873B2 (en) Microcomputer
JP2503210B2 (en) Micro program controller
JPS6083149A (en) Computer
JPH0258648B2 (en)
JPH06139084A (en) Information processor
JPH11167500A (en) Event circuit and debug system for emulator device