JPS62119663A - Information processing unit - Google Patents

Information processing unit

Info

Publication number
JPS62119663A
JPS62119663A JP60260277A JP26027785A JPS62119663A JP S62119663 A JPS62119663 A JP S62119663A JP 60260277 A JP60260277 A JP 60260277A JP 26027785 A JP26027785 A JP 26027785A JP S62119663 A JPS62119663 A JP S62119663A
Authority
JP
Japan
Prior art keywords
processor
read
register
data
instruction
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
JP60260277A
Other languages
Japanese (ja)
Other versions
JPH0241781B2 (en
Inventor
Masayoshi Takei
武居 正善
Takeshi Murata
雄志 村田
Takahito Noda
野田 敬人
Yuji Kamisaka
神阪 裕士
Kenichi Abo
阿保 憲一
Kazuyasu Nonomura
野々村 一泰
Riyouichi Nishimachi
西町 良一
Yasutomo Sakurai
康智 桜井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60260277A priority Critical patent/JPS62119663A/en
Publication of JPS62119663A publication Critical patent/JPS62119663A/en
Publication of JPH0241781B2 publication Critical patent/JPH0241781B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To attain an analysis with high accuracy in applying debug or retrieval of a fault by designing the titled unit that the timewise relation when data read from a main storage device exists on a data bus and the timing when the data is stored in a register of a processor are equal to that at normal running when a SS read instruction is executed in the step mode. CONSTITUTION:In a system that a main storage device 6 and plural processors are constituted to use an information transfer bus 8 in common, and when a processor executes an instruction to read the content of the main storage device in the step mode, the information read from the main storage device is stored in the own register of a processor other than the processor executing the instruction reading the content of the main storage device and the said processor keeps transmission of the content of the register to the information transmission bus 8 except the time when the information transfer bus is used for other purposes. Thus, a large quantity of hardware exclusive for the step mode is not required to be provided to the main processor.

Description

【発明の詳細な説明】 [概 要] プロセッサが主記憶装置からデータを読み出ず命令を実
行した際には、通常該主記憶装置からデータが読み出さ
れるまでの間(リードサイクル)に、主記憶装置とは関
係なくプロセッサ独自で実行できる他の命令を先行して
行なっている。
[Detailed Description of the Invention] [Summary] When a processor executes an instruction without reading data from the main memory, the main memory is usually Other instructions that can be executed by the processor independently of the storage device are executed in advance.

従って、読み出されたデータが該プロセッサのレジスタ
等にセットされるのは、いくつかの命令実行の後になる
。このようなプロセッサをステップモードで使う場合に
は、主記憶装置から読み出されたデータがプロセッサに
セットされるタイミングと他の命令実行のタイミングと
が実際の場合と異なってしまう。そのため、従来、主記
憶装置から読み出したデータを一旦、あるレジスタに保
持しておいて、然るべきタイミングが来たとき、これを
所定のレジスタに格納するという制御が行なわれていた
が、この方法では、該当する後続の命令実行サイクル区
間と情報転送用バス上に読み出されたデータが存在する
時間帯との関係が実際の場合と異なるという問題点があ
った。本発明は主記憶装置と複数のプロセッサとが情報
転送用バスを共有する系において、プロセッサをステッ
プモードで動作せしめ主記憶装置からデータを読みIl
lず命令を実行するときに、情報転送用バス上のデータ
について実際の走行の場合どの相違の少ない状態の得ら
れるプロセッサの構成と制御について開示している。
Therefore, the read data is set in the registers of the processor after several instructions have been executed. When such a processor is used in step mode, the timing at which data read from the main memory is set in the processor and the timing at which other instructions are executed differ from the actual timing. For this reason, in the past, data read from main memory was temporarily held in a register, and when the appropriate timing came, it was stored in a predetermined register. However, there is a problem in that the relationship between the relevant subsequent instruction execution cycle section and the time period in which data read out on the information transfer bus exists is different from the actual case. In a system where a main memory device and a plurality of processors share an information transfer bus, the present invention operates the processors in step mode and reads data from the main memory device.
The present invention discloses the configuration and control of a processor that can obtain a state with few differences in actual running of data on an information transfer bus when executing an instruction.

[産業上の利用分野] 本発明は情報処理装置の制御に関するもので、特に主記
憶装置と複数のプロセッサとが情報転送用のバスを共有
するごとく構成されている系の、ステップモードにおけ
るプロセッサの“主記憶装置よりデータを読み出す命令
′”の実行に際する制御に係る。
[Industrial Field of Application] The present invention relates to the control of information processing devices, and in particular to the control of processors in step mode in systems configured such that a main storage device and a plurality of processors share a bus for information transfer. This relates to control when executing the "instruction to read data from the main memory".

[従来の技術] 情報処理装置における命令の実行は非常な高速度で連続
的に行なわれるものであって、通常、プログラムの途中
での処理内容やハードウェアの状態を見ることはできな
い。一方、プログラムのデバッグや、ハードウェアの障
害の探索などに際しては、プロセッサの命令実行に係る
各部(内部のレジスタや記憶装置の内容など)の状態を
実行する命令の変遷ごとに詳細に観察する必要をしばし
ば生ずる。
[Prior Art] Instructions in an information processing device are executed continuously at a very high speed, and it is usually not possible to see the processing contents or the state of the hardware in the middle of a program. On the other hand, when debugging a program or searching for hardware failures, it is necessary to closely observe the state of each part of the processor related to instruction execution (such as the contents of internal registers and storage devices) at each transition of the executed instruction. often occurs.

そのため、一般に情報処理装置では、通常の走行モード
の他にステップ動作を行なうモード(ステップモード)
を設定することができるようになっている。ステップモ
ードのとき、保守パネル等に設けられたボタンを押下す
ると、その都度−命令のみが実行され該命令に係る処理
が終了すると停止(ストップ状態)する。
Therefore, in general, information processing devices have a mode (step mode) in which step operation is performed in addition to the normal driving mode.
It is now possible to set. In the step mode, when a button provided on a maintenance panel or the like is pressed, only the - command is executed each time, and when the processing related to the command is completed, the process stops (stop state).

一方、通常の走行モードにおいて、プロセッサで扱う命
令の内、主記憶装置からデータを読み出す命令(以下S
Sリード命令ともいう)の場合には、該命令を実行する
プロセッサは、該当するデータが主記憶装置から読み出
されている間の比較的長い時間を無為に過ごして損失時
間を生ずることのないよう、この間に他の命令を先行的
に実行している。
On the other hand, in normal running mode, among the instructions handled by the processor, an instruction to read data from the main memory (hereinafter referred to as S
In the case of an S read instruction), the processor executing the instruction does not waste time by idly spending a relatively long time while the corresponding data is being read from the main memory. During this time, other instructions are executed in advance.

第2図は命令実行とリードサイクルの関係の例を示すタ
イムヂャーI・であって、1.〜1.はそれぞれ命令の
実行サイクルを示しており、2はリードサイクルを示し
ている。
FIG. 2 shows a timer I showing an example of the relationship between instruction execution and read cycles. ~1. 2 indicates an instruction execution cycle, and 2 indicates a read cycle.

第2図に示すようにSSリード命令11が実行されたと
き、リードチー夕がプロセッサのレジスタにセットされ
るのは、リードサイクル2の終了時点であって、図中の
参照符Aで示すタイミングになる。
As shown in FIG. 2, when the SS read instruction 11 is executed, the read command is set in the register of the processor at the end of read cycle 2, at the timing indicated by reference mark A in the figure. Become.

これを、ステップモードで動作させる場合を考えると、
そのタイムチャートは第3図のようになる。すなわち、
 SSリード命令31が実行されると、そのリードサイ
クル4で主記憶装置からデータが読み出され、参照符B
で示す時点でプロセッサのレジスタに格納される。先に
説明したように通常の走行モードの場合には、リードサ
イクルは5で示すようになり、参照符A′で示される命
令Bの終了時点に主記憶装置から読み出されたデータが
プロセッサのレジス夕に格納されるはずであるから、ス
テップモードの場合にデータの動きが実際の状況と異な
ることになる。
If we consider running this in step mode,
The time chart is shown in Figure 3. That is,
When the SS read instruction 31 is executed, data is read from the main memory in read cycle 4, and the data is read from the main memory with reference mark B.
It is stored in the processor register at the time indicated by . As explained earlier, in the normal running mode, the read cycle is as shown by 5, and the data read from the main memory at the end of instruction B, indicated by reference mark A', is read by the processor. Since it is supposed to be stored in the register, the movement of data in step mode will differ from the actual situation.

そのため、従来は専用の回路を設けて、ステップモード
のとき、SSリード命令によって主記憶装置から読み出
されたデータを、プロセッサ内で一旦他のレジスタに保
持し、然るべきタイミングのとき、本来このデータを格
納すべきレジスタに格納するという方法を採っていた。
Therefore, in the past, a dedicated circuit was provided to temporarily hold the data read from the main memory by the SS read instruction in the step mode in another register within the processor, and at the appropriate timing, the data read from the main memory The method used was to store it in the register where it should be stored.

[発明が解決しようとする問題点] 第4図は、上述した従来のステップモードにおけるSS
リード命令の制御用の回路を示す図で、6は主記憶装置
、71〜73はプロセッサ、8は情報転送用バス(以下
データバスともいう〉、9はレジスタ(REGI)、1
0はレジスタ (REG2)、11は選択回路を表して
いる。
[Problems to be Solved by the Invention] FIG. 4 shows the SS in the conventional step mode described above.
This is a diagram showing a circuit for controlling a read command, where 6 is a main memory, 71 to 73 are processors, 8 is an information transfer bus (hereinafter also referred to as a data bus), 9 is a register (REGI), and 1
0 represents a register (REG2), and 11 represents a selection circuit.

第4図において、通常は、プロセッサ7、によるSSリ
ード命令の実行に際して、主記憶装置6から読み出され
てデータバス8に乗せられたデータが、レジスタ9に格
納されると共に選択回路11を経てレジスタ10に格納
される。
In FIG. 4, normally when the processor 7 executes the SS read instruction, data read from the main memory 6 and placed on the data bus 8 is stored in the register 9 and passed through the selection circuit 11. It is stored in register 10.

一方、ステップモードのときは、データバス8上のデー
タがレジスタ9に格納され、レジスタ10には格納され
ない。そして然るべきタイミングのとき選択回路11を
通じてレジスタ9の内容がレジスタ10に格納される。
On the other hand, in the step mode, the data on the data bus 8 is stored in the register 9, but not in the register 10. Then, at an appropriate timing, the contents of register 9 are stored in register 10 through selection circuit 11.

このような従来の回路においては、SSリード命令のス
テップモードにおける実行に際し、プロセッサの該当す
るレジスタに主記憶装置から読み出されたデータが格納
されるタイミング関係は、実際の走行の場合と等しくな
るが、データバス」二にデータの存在する状況は、実際
の場合と大きく異なることになる。すなわち、通常の走
行状態でのデータバス」二のデータは、主記憶装置から
データが読み出されてから第3図に示すへ′点まで存在
するのに対し、ステップモードのときはB点までしか存
在しない。
In such a conventional circuit, when an SS read instruction is executed in step mode, the timing relationship in which data read from the main memory is stored in the corresponding register of the processor is the same as in actual running. However, the situation in which data exists on the data bus 2 is significantly different from the actual situation. In other words, in normal running conditions, the data on the data bus 2 exists from the time the data is read from the main memory until point B shown in Figure 3, whereas in step mode the data exists up to point B. only exists.

ステップ動作は、本来、プログラムのデバッグや障害の
探索等に利用されるものであるから、各部の相対的な関
係が実際の走行に際する条件と異なるのは非常に都合が
悪い。
Since step motion is originally used for program debugging, troubleshooting, etc., it is very inconvenient for the relative relationships of various parts to be different from the actual running conditions.

また、第4図に示すプロセッサ7コが主プロセツサであ
り、71.72が従プロセツサである構成の場合には主
プロセツサ内にデバッグ専用の機能を持たなければなら
ないという面からのハードウェア的な制約を受けるとい
う問題点があった。
In addition, in the case of the configuration in which the processors 7 shown in Fig. 4 are the main processors and the processors 71 and 72 are the slave processors, there is a hardware problem in that the main processor must have a dedicated function for debugging. The problem was that it was subject to restrictions.

本発明は、このような従来の問題点に鑑み、データバス
上のデータの状態が実際の走行状態と同様であって、主
プロセツサにステップモード専用の多量のハードウェア
を設ける必要のない制御方式の情報処理装置を提供する
ことを目的としている。
In view of these conventional problems, the present invention provides a control system in which the state of data on the data bus is similar to the actual running state, and there is no need to provide a large amount of hardware dedicated to the step mode in the main processor. The purpose is to provide an information processing device.

[問題点を解決するための手段] 本発明によれば上記目的は、前記特許請求の範囲に記載
のとおり、主記憶装置と複数のプロセッサとが情報転送
用バスを共有するごとく構成された系において、プロセ
ッサがステップモ゛ −ヤ −ドで主記憶装置の内容を読み出す命令を実行するとき
、主記憶装置から読み出した情報を該主記憶装置の内容
を読み出す命令を実行するプロセッサ以外のいずれかの
プロセッサが自己のレジスタに格納し、該プロセッサが
該レジスタの内容を情報転送用バスが他の目的で使用さ
れる時間を除いて該情報転送用バスに送出し続けること
を特徴とする情報処理装置により達成される。
[Means for Solving the Problems] According to the present invention, the above object is achieved by providing a system configured such that a main storage device and a plurality of processors share an information transfer bus. In step mode, when a processor executes an instruction to read the contents of the main memory, the information read from the main memory is transferred to any processor other than the processor executing the instruction to read the contents of the main memory. An information processing device characterized in that a processor stores the contents in its own register, and the processor continues to send the contents of the register to the information transfer bus except when the information transfer bus is used for other purposes. This is achieved by

[実施例] 第1図は本発明の1実施例のブロック図であって、6.
8は第4図と同様であり、9はインターフェースプロセ
ッサ、10は従プロセツサ、11は主プロセツサ、12
.13はレジスタで12がREG 1.13がREG2
.14は選択回路、15〜17はゲートを表している。
[Embodiment] FIG. 1 is a block diagram of one embodiment of the present invention, and includes 6.
8 is the same as in FIG. 4, 9 is an interface processor, 10 is a slave processor, 11 is a main processor, 12
.. 13 is a register, 12 is REG 1.13 is REG2
.. 14 represents a selection circuit, and 15 to 17 represent gates.

第1図において、通常の走行モードで主プロセツサ11
によってSSリード命令が実行されたとき、主記憶装置
6から読み出され、データバス8に乗せられたデータは
ゲート17を経てレジスタ13にセットされる。そして
、この間に他の命令が先行的に実行されている。
In FIG. 1, the main processor 11 is in the normal running mode.
When the SS read command is executed, the data read from the main memory 6 and placed on the data bus 8 is set in the register 13 via the gate 17. During this time, other instructions are being executed in advance.

その時間的関係は、前記第2図によって説明した従来の
場合と全く同様である。
The temporal relationship is exactly the same as the conventional case explained with reference to FIG. 2 above.

一方、ステップモードにおいて、主プロセツサ11によ
るSSリード命令の実行により主記憶装置6から読み出
されてデータバス8上に乗せられたデータは、従プロセ
ツサ10のゲート16を経てレジスタ12(REGI)
に格納される。該レジスタ12にデータが格納されるタ
イミングは第3図において参照符Bで示される時点であ
る。そして、レジスタ12に格納されたデータは選択回
路14およびゲート15を経てデータバス8に乗る。
On the other hand, in the step mode, data read from the main memory 6 and placed on the data bus 8 by the execution of the SS read instruction by the main processor 11 is transferred to the register 12 (REGI) via the gate 16 of the slave processor 10.
is stored in The timing at which data is stored in the register 12 is indicated by reference numeral B in FIG. Then, the data stored in the register 12 passes through the selection circuit 14 and the gate 15 and is transferred to the data bus 8.

主プロセツサ11は第3図において、参照符A′で示す
タイミングのとき、ゲート17を開いて、データバス8
に乗せられているデータをレジスタ13(REG2)に
格納する。
In FIG. 3, the main processor 11 opens the gate 17 and transfers the data bus 8 at the timing indicated by reference numeral A'.
The data stored in the register 13 (REG2) is stored in the register 13 (REG2).

従って、ステップモードで主プロセッサ11がSSリー
ド命令を実行したとき、通常の走行モードと同様な時間
的関係でレジスタ13にデータが格納され、また、その
間、主記憶装置6から読み出されたデータも通常の走行
モードの場合と同様にデータバス8」二に存在する。
Therefore, when the main processor 11 executes the SS read command in the step mode, data is stored in the register 13 in the same temporal relationship as in the normal running mode, and during that time, the data read from the main memory 6 is also present on the data bus 8'' as in the normal running mode.

[発明の効果] 以上説明したように本発明の情報処理装置によれば、S
Sリード命令をステップモードで実行したとき、主記憶
装置から読み出されたデータがデータバス」二に存在す
る時間的関係や該データがプロセッサのレジスタに格納
されるタイミングが通常の走行の場合と等しくなる。従
って、プログラムのデバッグや障害の探索に際して精度
の高い解析が行なえる利点がある。
[Effect of the invention] As explained above, according to the information processing device of the present invention, S
When an S read instruction is executed in step mode, the time relationship in which the data read from the main memory exists on the data bus and the timing at which the data is stored in the register of the processor differ from those in normal running. be equal. Therefore, there is an advantage that highly accurate analysis can be performed when debugging a program or searching for a failure.

また、主プロセツサに、デバッグのみしか用いられない
専用の相当員のハードウェアを持たなければならないと
いう不都合を解消できる利点もある。
It also has the advantage of eliminating the inconvenience of having to have a dedicated dedicated piece of hardware in the main processor that can only be used for debugging.

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

第1図は本発明の1実施例のブロック図、第2図は命令
実行とリードサイクルの関係の例を示すタイムチャート
、第3図はステップモードの場合の命令実行とリードサ
イクルの関係の例を示すタイムチャート、第4図は従来
のステップモードにおけるSSリード命令の制御用の回
路を示す図である。 11〜11.3.〜33・・・・・・命令、2.4.5
・・・・・・リードサイクル、6・・・・・・主記憶装
置、7.〜73・・・・・・プロセッサ、8・・:・・
・情報転送用バス、9.10.12.13・・・・・・
レジスタ、11.14・・・・・・選択回路、15〜1
7・・・・・・ゲート従来のステップ七−ド)こおける SSリードタトもの匍1名胆用く 第 4 回 )回路を示す固
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a time chart showing an example of the relationship between instruction execution and read cycles, and FIG. 3 is an example of the relationship between instruction execution and read cycles in step mode. FIG. 4 is a diagram showing a circuit for controlling the SS read command in the conventional step mode. 11-11.3. ~33... Instruction, 2.4.5
. . . Read cycle, 6 . . . Main memory, 7. ~73... Processor, 8...:...
・Information transfer bus, 9.10.12.13...
Register, 11.14... Selection circuit, 15-1
7...Gate Conventional Steps

Claims (1)

【特許請求の範囲】[Claims] 主記憶装置と複数のプロセッサとが情報転送用バスを共
有するごとく構成された系において、プロセッサがステ
ップモードで主記憶装置の内容を読み出す命令を実行す
るとき、主記憶装置から読み出した情報を該主記憶装置
の内容を読み出す命令を実行するプロセッサ以外のいず
れかのプロセッサが自己のレジスタに格納し、該プロセ
ッサが該レジスタの内容を情報転送用バスが他の目的で
使用される時間を除いて該情報転送用バスに送出し続け
ることを特徴とする情報処理装置。
In a system configured such that a main memory device and multiple processors share an information transfer bus, when a processor executes an instruction to read the contents of the main memory device in step mode, the information read from the main memory device is Any processor other than the processor that executes the instruction to read the contents of main memory stores the contents of the register in its own register, except when the information transfer bus is used for other purposes. An information processing device that continues to send data to the information transfer bus.
JP60260277A 1985-11-20 1985-11-20 Information processing unit Granted JPS62119663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60260277A JPS62119663A (en) 1985-11-20 1985-11-20 Information processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60260277A JPS62119663A (en) 1985-11-20 1985-11-20 Information processing unit

Publications (2)

Publication Number Publication Date
JPS62119663A true JPS62119663A (en) 1987-05-30
JPH0241781B2 JPH0241781B2 (en) 1990-09-19

Family

ID=17345815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60260277A Granted JPS62119663A (en) 1985-11-20 1985-11-20 Information processing unit

Country Status (1)

Country Link
JP (1) JPS62119663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04174034A (en) * 1990-11-02 1992-06-22 Nec Ic Microcomput Syst Ltd Step execution operation system of program development assisting device
JPH096645A (en) * 1995-06-23 1997-01-10 Nec Corp Multiprocessor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04174034A (en) * 1990-11-02 1992-06-22 Nec Ic Microcomput Syst Ltd Step execution operation system of program development assisting device
JPH096645A (en) * 1995-06-23 1997-01-10 Nec Corp Multiprocessor system

Also Published As

Publication number Publication date
JPH0241781B2 (en) 1990-09-19

Similar Documents

Publication Publication Date Title
US4780819A (en) Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory
JPH04257932A (en) Chip for emulation for digital signal processor
JPS62119663A (en) Information processing unit
US4862352A (en) Data processor having pulse width encoded status output signal
JPH06103104A (en) Remote debug method
JP2558902B2 (en) Semiconductor integrated circuit device
SU1339569A1 (en) Device for forming interruption signal in program debugging
SU1163326A1 (en) Device for generating diagnostic information about program run
JP2657947B2 (en) Data processing device
JPS60140440A (en) Central processing unit
JPS63292248A (en) Data processing system
JP2684966B2 (en) I / O processor debug device
JPH02264339A (en) Information processor
JPS62204365A (en) Information processing system
JPS62197834A (en) Microprogram controller
JPH04264632A (en) Execution tracing system for parallel arithmetic processing unit
JPH0149975B2 (en)
JPS62241041A (en) Information processor
JPS62239242A (en) Debugging device
JPH03252830A (en) Debugging mechanism for information processor
JPS62298841A (en) Firmware debugging system
JPS58213370A (en) Processor of microprogram control system
JPH01137340A (en) Microcomputer
JPH01295337A (en) Monitor routine control shift system
JPH02158846A (en) Data processor