JPS6334641A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPS6334641A JPS6334641A JP61177957A JP17795786A JPS6334641A JP S6334641 A JPS6334641 A JP S6334641A JP 61177957 A JP61177957 A JP 61177957A JP 17795786 A JP17795786 A JP 17795786A JP S6334641 A JPS6334641 A JP S6334641A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- register
- decoder
- ram
- word
- 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
Links
Landscapes
- Executing Machine-Instructions (AREA)
- Debugging And Monitoring (AREA)
Abstract
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の再
製作が必要である確率が高い。いっぽう、比較的ターン
アラウンドタイムが短いゲートアレイ1式であっても、
LSIの再製作はSSI技術に比べて長期間?要し、装
置の開発評価期間に与える影響は非常に大きい。(Prior Art) What is the problem 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 issue. On the other hand, even with a single gate array that has a relatively short turnaround time,
Does LSI remanufacturing take a longer time than SSI technology? In short, the impact on the development and evaluation period of the device is extremely large.
(発明が叫決しようとする問題点)
上述した従来のLSI化され几情報処理装置ではターン
アラウンドタイムが長い几め、評価を円滑に進めるには
、再製作ケ必要とするLSIハードウェアの設計上の障
害ケ回避する手段が必要であると云う欠点がある。(Problems to be solved by the invention) The conventional LSI information processing device mentioned above has a long turnaround time, and in order to smoothly proceed with evaluation, it is necessary to design LSI hardware that requires remanufacturing. The drawback is that means are needed to avoid the above obstacles.
本発明の目的は、命@語の命令コードおよびアドレス修
飾制御情報から特定条件全検出してから、これ?可変状
態でセットしておき、特定条件が検出されると、あらか
じめ定められた主メモリ領域の命令?上記可変状態に応
じて実行し、特定条件?検出した命令の機能を代行する
ことによって上記欠点?除去し、ターンアラウンドタイ
ムケ短縮できるように構成し友情報処埋装aを提供する
ことにある。The purpose of the present invention is to detect all specific conditions from the command code and address modification control information of the command word, and then detect this? Is it set in a variable state, and when a specific condition is detected, an instruction is sent to a predetermined main memory area? Execute according to the above variable state and specific conditions? Can the above disadvantages be overcome by delegating the function of the detected instruction? It is an object of the present invention to provide a friend information processing system a configured to eliminate the problems and shorten the turnaround time.
(間1点全解決する之めの手段)
本発明による情報処理装置は条件検出手段と、RAM手
段と、実行手段と全具備して構成したものである。(Means for solving all problems) The information processing apparatus according to the present invention is configured to include all of a condition detection means, a RAM means, and an execution means.
条件検出手段は、命令語の命令コードおよびアドレス修
飾制御情報から特定条件を検出するためのものである。The condition detection means is for detecting a specific condition from the instruction code of the instruction word and the address modification control information.
LL A M手段は、特定条件上可変状態でセットする
ためのものである。The LLAM means is for setting in a variable state under specific conditions.
実行手段は、特定条件が条件検出手段により検出される
と、あらかじめ定められた王メモリ領域の命令を上記可
変状態に応じて実行し、特定条件全検出した命令の機能
を代行するためのものである。The execution means is for, when a specific condition is detected by the condition detection means, executing an instruction in a predetermined king memory area in accordance with the variable state, and acting on behalf of the instruction for which all the specific conditions are detected. be.
(実 施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.
第1図は、本発明による情報処理装置の一実施例の命令
制御部χ示すブロック図である。第1図において、1は
命令レジスタ、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, 1 is an instruction register, 2 is an index 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, respectively.
第1図において、命令レジスタlはキャッシュメモリ(
図示していない)からの読出しデータをセットするため
の命令レジスタであり、インデクスレジスタ2は命令レ
ジスタ1にセットされた命令語の指定に従い、オペラン
ドアドレス計算時のアドレス修飾に使用される。セグメ
ントレジスタ3はセグメントディスクリブタが格納され
てお9、命令レジスタ1にセットされた命令語の指定に
従い、仮想オペランドアドレスの計算に使用される。ア
ドレスアダ5は命令レジスタ11インデクスレジスタ2
、ならびにセグメントレジスタ3の内容を入力し、仮想
アドレスを計算する。計算された仮想アドレスは仮想ア
ドレスレジスタ6にセットされ、TLB7により実アド
レスに変換されてキャッシュメモリに送出される。デコ
ーダ4は命令レジスタlにセットされた命令コード、な
らびにアドレス計算指定フィールド全解読し、トラップ
条件全検出する。In FIG. 1, instruction register l is cache memory (
This is an instruction register for setting read data from (not shown), and the index register 2 is used for address modification during operand address calculation according to the designation of the instruction word set in the instruction register 1. The segment register 3 stores a segment descriptor 9, which is used to calculate a virtual operand address according to the designation of the instruction word set in the instruction register 1. Address adder 5 is instruction register 11 index register 2
, and the contents of the segment register 3, and calculate the 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 decodes the instruction code set in the instruction register 1 and all address calculation designation fields, and detects all trap conditions.
命令の取出しは命令カウンタ9の指定に従って行われ、
命令取出し要求が送出されるごとにカウンタl〇七介し
て命令カウンタ9の内容はlづつ増分される。分岐命令
の実行時や初期設定時には、命令カウンタ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 l via the counter l07. When a branch instruction is executed or initialized, the instruction counter 9 is initialized by an arithmetic processing section (not shown).
命令レジスタlにセットされた命令によりデコーダ4で
トラップ条件が検出されると、次の命令全指定するよう
補正した後に、あらかじめ定められたメモリ領域に命令
カウンタ9の内容全セーブし、あらがしめ定められた領
域から新しい値を取出して命令カウンタ9にセットする
。When a trap condition is detected by the decoder 4 due to the instruction set in the instruction register 1, it is corrected to specify all the next instructions, and then all the contents of the instruction counter 9 are saved in a predetermined memory area and the error is confirmed. A new value is taken out from the specified area and set in the instruction counter 9.
この状態で情報処理装置はトラップモードに入り、セグ
メントレジスタ3のトラップセグメントディスクリブタ
が命令セグメントとして使用される。このディスクリブ
タは、トラップモード以外では使用されない。トラップ
セグメントには、初期設定時にトラップ全土じ几命令機
能金別の基本命令の組合せで代行するような命令の組合
せ?セットしておく。これによって、上記セグメントに
制a+分岐することにより、トラップを発生しt命令機
能を処理する。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. Is there a combination of commands that are substituted for the trap segment by a combination of basic commands for each trap function at the time of initial setting? Set it. This causes the a+ branch to the above segment to generate a trap and process the t instruction function.
いっぽう、トラップセグメントでの命令実行時には、オ
ペランドとしてトラップされた命令の命令セグメントに
アクセスしなければならない場合がある。このため、上
記命令セグメントからオペランドを取出すロード命令が
追加され℃いる。この命令は、オペランドセグメントデ
ィスクリブタとして、トラップを発生し之命令セグメン
トディスクリブタを使用するものである。オペランドセ
グメントディスクリブタは、トラップモードでも任意に
アクセスすることができる。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 generates a trap and uses the instruction segment descriptor as an operand segment descriptor. The operand segment descriptor can be accessed arbitrarily even in trap mode.
トラップセグメントの命令群の最後には、命令カウンタ
9の内容tセーブ領域から取出してセットするとともに
、トラップモードに’4除するための命令が用意されて
いる。At the end of the trap segment instruction group, there is provided an instruction for fetching and setting the contents of the instruction counter 9 from the save area and for dividing by 4 in the trap mode.
第2図は、第1図のデコーダ4を詳細に示すブロック図
である。@2図において、20はランダムアクセスメモ
リ(以後、RAMと称丁ム)、21はデコーダ、22は
条件検出回路である。FIG. 2 is a block diagram showing the decoder 4 of FIG. 1 in detail. @2 In Figure 2, 20 is a random access memory (hereinafter referred to as RAM), 21 is a decoder, and 22 is a condition detection circuit.
デコーダ4はは令レジスタ1にセットされた命令コード
でアクセスされるRAM20と、命令レジスタ1にセッ
トされたアドレス修飾を指定するフィールド?解読する
tめのデコード回路21と、デコード回路21の出カケ
入力してトラップ条件全検出するための条件検出回路2
2とから構成されている。RAM20は命令フードに対
応して複数ビットのエントリを有し、デコード回路21
の出力と組合せてRAM20の適当なビットケセットす
れば、任意のアドレス修飾指定と命令コードとの組合せ
により条件全恢出することができる。The decoder 4 includes a RAM 20 that is accessed by the instruction code set in the instruction register 1, and a field that specifies the address modification set in the instruction register 1. A t-th decoding circuit 21 for decoding, and a condition detection circuit 2 for inputting the output of the decoding circuit 21 and detecting all trap conditions.
It is composed of 2. The RAM 20 has multiple bit entries corresponding to the instruction food, and the decoding circuit 21
By setting appropriate bits in the RAM 20 in combination with the output of , all conditions can be calculated by combining any address modification designation and instruction code.
第3図は、第2図の条件検出回路22&−詳細に示すブ
ロック図である。第3図において、23はフリップフロ
ッグ、24〜27はそれぞれNANDゲート、28はO
Rゲートである。信−号線60〜64はそれぞれRAM
20の出力信号線であり、信号線71〜73はデコード
回路21の出力である。NANDゲート25〜27は信
号線62〜64を介して送出される特定の命令に対応す
る出力借号と、信号線71〜73ケ介して送出されるア
ドレス修飾条件とによシトラップ条件音検出する。FIG. 3 is a block diagram showing details of the condition detection circuit 22 &- in FIG. 2. In FIG. 3, 23 is a flip-frog, 24 to 27 are NAND gates, and 28 is an O
This is the R gate. Signal lines 60 to 64 are each RAM
20 output signal lines, and signal lines 71 to 73 are outputs of the decoding circuit 21. NAND gates 25-27 detect trap condition sounds based on output borrowing codes corresponding to specific commands sent via signal lines 62-64 and address modification conditions sent via signal lines 71-73. .
クリップフロップ23は、直前に実行された命令に対応
するRAM20の出力によリセットされ、NANDゲー
ト24により特定の命令の組@せ条件が検出される。N
ANDゲート25〜27は、同様な構成會有する。これ
らの検出された各条件の論理和はORゲート28に、l
ニジ求められ、信号線74′に弁してプロセサに報告さ
れる。The clip-flop 23 is reset by the output of the RAM 20 corresponding to the most recently executed instruction, and the NAND gate 24 detects the combination condition of a specific instruction. N
AND gates 25-27 have a similar configuration. The logical sum of each of these detected conditions is sent to the OR gate 28.
is determined and reported to the processor on signal line 74'.
)LAM20の内容はトラップ条件に応じて装置に電源
投入時、あるいはリセット時に初期設定の一環としてセ
ットされる。) The contents of LAM 20 are set as part of initialization when the device is powered on or reset, depending on the trap conditions.
本実施例では、命令コード、アドレス修飾フィールド、
および命令の組合せによってトラップ条件全検出してい
るが、マスタモード/スレーブモードなどの条件が利用
できることは明らかである。In this embodiment, the instruction code, address modification field,
Although all trap conditions are detected by combinations of and instructions, it is clear that conditions such as master mode/slave mode can be used.
(発明の効果)
以上説明したように本発明は、命令全特定の条件でトラ
ップして特定領域にある命令群上実行することによジ、
設計上の障害を回避することができると云う効果がある
。(Effects of the Invention) As explained above, the present invention traps all instructions under specific conditions and executes them on a group of instructions in a specific area.
This has the effect that design obstacles can be avoided.
第1図は、本発明による情報処理装置の一実施例7示す
ブロック図である。
第2因および第3図は、第1図に示すデコーダの詳細上
水すブロック図である。
1・・・命令レジスタ
2・・・インデクスレジスタ
3・・・セグメントレジスタ 4・・・デコーダ5・
・・アドレスアダ
6・・・仮想アドレスレジスタ 7・・・TLB8・
・・制御回路 9・・・命令カウンタ10・・・カウ
ンタ
11.12・・・切替え回路 20・・・RAM21
・・・デコード回、略 22・・・条件検出回路23
・・・フリップフロッグ
24〜27・・・NANDゲート
28・・・ORゲートFIG. 1 is a block diagram showing a seventh embodiment of an information processing apparatus according to the present invention. Figures 2 and 3 are detailed block diagrams of the decoder shown in Figure 1. 1...Instruction register 2...Index register 3...Segment register 4...Decoder 5...
...Address adder 6...Virtual address register 7...TLB8...
...Control circuit 9...Instruction counter 10...Counter 11.12...Switching circuit 20...RAM21
...Decoding time, abbreviation 22...Condition detection circuit 23
...Flip frogs 24-27...NAND gate 28...OR gate
Claims (1)
定条件を検出するための条件検出手段と、前記特定条件
を可変状態でセットするためのRAM手段と、前記特定
条件が前記条件検出手段により検出されると、あらかじ
め定められた主メモリ領域の命令を前記可変状態に応じ
て実行し、前記特定条件を検出した命令の機能を代行す
るための実行手段とを具備して構成したことを特徴とす
る情報処理装置。a condition detection means for detecting a specific condition from an instruction code of an instruction word and address modification control information; a RAM means for setting the specific condition in a variable state; and the specific condition is detected by the condition detection means. and an execution means for executing an instruction in a predetermined main memory area according to the variable state and acting on behalf of the function of the instruction that detected the specific condition. Processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61177957A JPS6334641A (en) | 1986-07-29 | 1986-07-29 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61177957A JPS6334641A (en) | 1986-07-29 | 1986-07-29 | Information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6334641A true JPS6334641A (en) | 1988-02-15 |
Family
ID=16040036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61177957A Pending JPS6334641A (en) | 1986-07-29 | 1986-07-29 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6334641A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4979650A (en) * | 1972-12-07 | 1974-08-01 | ||
JPS5295942A (en) * | 1976-02-06 | 1977-08-12 | Ibm | Computer system |
JPS56149645A (en) * | 1980-04-21 | 1981-11-19 | Nec Corp | Instruction word deciphering device of information processor |
JPS57157356A (en) * | 1981-03-25 | 1982-09-28 | Fujitsu Ltd | Instruction decorder error detector |
JPS60159948A (en) * | 1984-01-30 | 1985-08-21 | Nec Corp | Instruction exception processing system |
JPS60207935A (en) * | 1984-03-31 | 1985-10-19 | Toshiba Corp | Detecting system of illegal instruction |
-
1986
- 1986-07-29 JP JP61177957A patent/JPS6334641A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4979650A (en) * | 1972-12-07 | 1974-08-01 | ||
JPS5295942A (en) * | 1976-02-06 | 1977-08-12 | Ibm | Computer system |
JPS56149645A (en) * | 1980-04-21 | 1981-11-19 | Nec Corp | Instruction word deciphering device of information processor |
JPS57157356A (en) * | 1981-03-25 | 1982-09-28 | Fujitsu Ltd | Instruction decorder error detector |
JPS60159948A (en) * | 1984-01-30 | 1985-08-21 | Nec Corp | Instruction exception processing system |
JPS60207935A (en) * | 1984-03-31 | 1985-10-19 | Toshiba Corp | Detecting system of illegal instruction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4924382A (en) | Debugging microprocessor capable of switching between emulation and monitor without accessing stack area | |
JPS6334641A (en) | Information processor | |
KR940011040B1 (en) | Microcomputer | |
JPS6334643A (en) | Information processor | |
JPS6334640A (en) | Information processor | |
JPS6334642A (en) | Information processor | |
JPS60207935A (en) | Detecting system of illegal instruction | |
US5182754A (en) | Microprocessor having improved functional redundancy monitor mode arrangement | |
US6081886A (en) | Holding mechanism for changing operation modes in a pipelined computer | |
JPS63271553A (en) | Information processor | |
JPS61175733A (en) | Control system of branch estimation | |
JP3585940B2 (en) | calculator | |
JPH03209523A (en) | Detection system for error of instruction data | |
JP2786215B2 (en) | Restart processing control method | |
JPS6083149A (en) | Computer | |
JPS5955546A (en) | Firmware processing equipment | |
JPH04340137A (en) | Processor for program evaluation | |
JPS58172760A (en) | Error recovery system of control memory | |
JP2002268916A (en) | Method and device for verifying program | |
JPH0573356A (en) | Debug back-up method | |
JPH04142626A (en) | Stop control circuit for microprocessor | |
JPH06139084A (en) | Information processor | |
JPS59112321A (en) | Controlling method of central processing unit | |
JPS61198335A (en) | Branch forecasting control system | |
JPH02208743A (en) | Data processor |