JPH04102161A - Data processor - Google Patents

Data processor

Info

Publication number
JPH04102161A
JPH04102161A JP21907490A JP21907490A JPH04102161A JP H04102161 A JPH04102161 A JP H04102161A JP 21907490 A JP21907490 A JP 21907490A JP 21907490 A JP21907490 A JP 21907490A JP H04102161 A JPH04102161 A JP H04102161A
Authority
JP
Japan
Prior art keywords
instruction
vector
command
selection circuit
svp
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
JP21907490A
Other languages
Japanese (ja)
Other versions
JP2968321B2 (en
Inventor
Shoji Nakatani
中谷 彰二
Takashi Mochiyama
貴司 持山
Yuji Kawazu
河津 裕治
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 JP21907490A priority Critical patent/JP2968321B2/en
Publication of JPH04102161A publication Critical patent/JPH04102161A/en
Application granted granted Critical
Publication of JP2968321B2 publication Critical patent/JP2968321B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE:To shorten a period for testing operations by providing a selecting circuit to select one of outputs from a CPU and an external device and a buffer register to store the output of the selecting circuit in a vector unit. CONSTITUTION:An instruction and an operand are transmitted from an SVP 4 to a selecting circuit 6, and an SVP command is transmitted to an SVP command control circuit 7 so as to decode a P command. When the input to the selecting circuit 6 is the instruction and the operand, a control signal is transmitted for instructing the output of them to an instruction buffer 8 and an operand buffer 9. When the instruction and the operand are completely stored in the instruction buffer 8 and the operand buffer 9, they are transmitted from the SVP 4 to the SVP command control circuit 7 according to a command for activation, and the activation of executing the vector instruction is instructed from the SVP command control circuit 7 to a vector instruction transmission control circuit 10 so as to execute vector arithmetic. Then, a vector instruction control part 11 controls the condition of executing the vector arithmetic. Thus, the period for testing operations can be shortened.

Description

【発明の詳細な説明】 〔概要〕 ベクトル処理機構を有するデータ処理装置に関し、 CPUの動作試験と並行してベクトルユニットの動作試
験を行なうことによってデータ処理装置全体の動作試M
期間を短縮することを目的とし、ベクトルユニットはC
PUおよび外部装置の出力の一方を選択する選択回路と
、この選択回路の出力を格納するバッファレジスタを具
備する。
[Detailed Description of the Invention] [Summary] Regarding a data processing device having a vector processing mechanism, the operation test of the entire data processing device can be performed by performing an operation test of the vector unit in parallel with an operation test of the CPU.
The purpose is to shorten the period, and the vector unit is C
It includes a selection circuit that selects one of the outputs of the PU and the external device, and a buffer register that stores the output of this selection circuit.

〔産業上の利用分野〕[Industrial application field]

本発明はデータ処理装置に関する。 The present invention relates to a data processing device.

[従来の技術] 最近のスーパーコンピュータと称されるデータ処理装置
においては、従来のCPUの他にあらたなプロセッサ、
例えばベクトルユニット等が設けられる。このようなス
ーパーコンピュータにおいては、CPUは命令の解読を
行ない、その命令がベクトル命令である場合には、その
命令をベクトルユニットに送出する。この時、そのベク
トル命令のオペランドがCPU内にある汎用レジスタあ
るいは浮動小数点レジスタ等のデータを必要とする場合
それも合わせてベクトルユニットに送出される。
[Prior Art] In recent data processing devices called supercomputers, in addition to the conventional CPU, new processors,
For example, a vector unit or the like is provided. In such a supercomputer, a CPU decodes an instruction and, if the instruction is a vector instruction, sends the instruction to the vector unit. At this time, if the operand of the vector instruction requires data in a general-purpose register or floating-point register within the CPU, that data is also sent to the vector unit.

従来、スーパーコンピュータの動作試験において、ベク
トルユニットの動作試験はCPUの動作試験完了後でな
ければできなかった。それは、CPUによる、ベクトル
命令等の命令フェッチ、命令のデコードおよびベクトル
ユニットへの命令の転送などが確実に実行されることに
よってはじめてベクトル命令の動作が可能となるためで
ある。
Conventionally, in supercomputer operation tests, the vector unit operation test could only be performed after the CPU operation test was completed. This is because the operation of the vector instruction becomes possible only when the CPU reliably executes instruction fetching, decoding of the instruction, transfer of the instruction to the vector unit, etc., such as the vector instruction.

従って、CPUが動作してからベクトルユニットの動作
試験を行なうため、スーパーコンピュータ全体の動作試
験には長い期間が必要であった。
Therefore, since the vector unit is tested after the CPU has started operating, it takes a long time to test the entire supercomputer.

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

本発明は上記従来技術の欠点を除去し、CPUと並行に
ベクトルユニットの動作試験を行なうことが可能で、従
ってベクトル処理機構を含むデータ処理システム全体の
全動作試験期間が短いデータ処理装置を提供することを
目的とする。
The present invention eliminates the drawbacks of the prior art described above and provides a data processing device that is capable of testing the operation of the vector unit in parallel with the CPU, and therefore shortens the total operation test period of the entire data processing system including the vector processing mechanism. The purpose is to

〔課題を解決するための手段〕[Means to solve the problem]

本発明によるデータ処理装置は、第1の種類の命令は自
己が処理し、第2の種類の命令は他へ転送する第1のプ
ロセサと、第1のプロセサから転送される第2の種類の
命令を処理する第2のプロセサと、第2のプロセサに第
2の種類の命令を供給する外部装置とを有し、第2のプ
ロセサは第1のプロセサおよび外部装置の出力のうち一
方を選択する選択回路と、選択回路の出力を格納するバ
ッファレジスタを具備するように構成される。
A data processing device according to the present invention includes a first processor that processes a first type of instruction itself and transfers a second type of instruction to another, and a second type of instruction that is transferred from the first processor. a second processor that processes instructions; and an external device that supplies the second type of instructions to the second processor, the second processor selecting one of the outputs of the first processor and the external device. and a buffer register that stores the output of the selection circuit.

本発明によるデータ処理装置においては更に、選択回路
の選択動作は外部装置からコマンドによって制御可能な
ように構成される。
The data processing device according to the present invention is further configured such that the selection operation of the selection circuit can be controlled by a command from an external device.

〔作用〕[Effect]

第2のプロセサの動作試験において、外部装置からテス
トモードに設定するためのコマンドが第2のプロセサに
送られる。第2のプロセサにお(箋では、選択回路は外
部装置の出力を選択するように切替えられる。外部装置
から動作試験用の第2の種類の命令が送出され、選択回
路を介してバッファレジスタに格納される。
In the operation test of the second processor, a command for setting the test mode is sent from the external device to the second processor. In the second processor, the selection circuit is switched to select the output of the external device. A second type of instruction for operation test is sent from the external device and sent to the buffer register via the selection circuit. Stored.

バッファレジスタに格納された命令に対して所定の処理
が行なわれる。
Predetermined processing is performed on the instructions stored in the buffer register.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明によるデータ処理装置の構成を示す。FIG. 1 shows the configuration of a data processing device according to the present invention.

第1図において、1は通常のCPUであって、メモリ2
に記憶されている命令およびデータを読み出し、命令を
デコードし、その命令の実行を制御する。点線で囲まれ
た部分3はベクトルユニ・ントを示す。ベクトルユニッ
ト3はCPtJlでデコードされた命令がペクト、ル演
算に関するものである場合、その命令(オペランドを含
む)をCPU1から供給されベクトル演算を実行するプ
ロセッサである。
In FIG. 1, 1 is a normal CPU, and memory 2
reads instructions and data stored in the computer, decodes the instructions, and controls execution of the instructions. A portion 3 surrounded by a dotted line indicates a vector unit. When the instruction decoded by CPtJl is related to a vector operation, the vector unit 3 is a processor that is supplied with the instruction (including operands) from the CPU 1 and executes the vector operation.

サービスプロセッサ(SVP)4は独立して操作される
外部装置であり、本発明においては、ベクトルユニット
の動作モードの選択およびテストモードの際のベクトル
命令の供給等を行なう。
A service processor (SVP) 4 is an independently operated external device, and in the present invention, selects the operating mode of the vector unit, supplies vector instructions during the test mode, and the like.

ベクトルユニット3は複数の選択回路6を有し、各選択
回路6にはcpuiおよび5VP4の出力が入力される
The vector unit 3 has a plurality of selection circuits 6, and the outputs of CPUI and 5VP4 are input to each selection circuit 6.

SVPコマンド制御回路7は5VP4からコマンドを与
えられ、これをデコードし、その結果に基づき各選択回
路6に対して制御信号を送る。各選択回路6はこの制御
信号によってCPUIおよび5VP4からの2つの入力
のうちの1つを選択し出力する。
The SVP command control circuit 7 receives a command from the 5VP 4, decodes it, and sends a control signal to each selection circuit 6 based on the result. Each selection circuit 6 selects and outputs one of the two inputs from the CPUI and 5VP4 according to this control signal.

各選択回路6の出力には、それぞれ、ベクトル命令を格
納するための命令バッファ8と、スカラオペランドを格
納するためのオペラントノ\・ンファ9が接続される。
An instruction buffer 8 for storing vector instructions and an operant buffer 9 for storing scalar operands are connected to the output of each selection circuit 6, respectively.

選択回路6は、5VP4の出力を選択した場合、5VP
4の出力データを命令ノ\ッファ8およびオペランドバ
ッファ9のうちのいずれに格納させるかを、SVPコマ
ンド制御回路7からの制御信号によって決定する。
When the selection circuit 6 selects the output of 5VP4, the selection circuit 6 selects the output of 5VP4.
The control signal from the SVP command control circuit 7 determines which of the instruction buffer 8 and operand buffer 9 the output data of No. 4 is to be stored in.

各命令バッファ8および各オペランドバッファ9の出力
は、ベクトル命令発信制御回路10に入力される。ベク
トル命令発信制御回路10は、SVPコマンド制御回路
7からの制御信号により、全ての命令バッファ8および
オペランドパ・ンファ9にそれぞれ命令およびオペラン
ドが格納され終わると5VP4よりSVPコマンド制御
回路7に対し命令バッファ8およびオペランドバッファ
9に格納されているベクトル命令を起動するためのコマ
ンドを与える。これによって、ベクトル命令の起動を行
なう。
The outputs of each instruction buffer 8 and each operand buffer 9 are input to a vector instruction transmission control circuit 10. The vector instruction generation control circuit 10 transmits an instruction to the SVP command control circuit 7 from the 5VP4 when instructions and operands have been stored in all instruction buffers 8 and operand buffers 9, respectively, in response to a control signal from the SVP command control circuit 7. A command is given to activate the vector instructions stored in buffer 8 and operand buffer 9. This activates the vector instruction.

命令およびオペランドはベクトル演算ユニット12の各
演算パイプラインに送られ処理される。
Instructions and operands are sent to each arithmetic pipeline of vector arithmetic unit 12 for processing.

ベクトル命令管理部11は演算処理を管理し、演算の終
了をSVPコマンド制御回路7を介して5VP4に伝え
る。
The vector instruction management unit 11 manages the arithmetic processing and notifies the 5VP 4 of the completion of the arithmetic operation via the SVP command control circuit 7.

なお、メモリアクセス制御ユニット5はベクトルユニッ
ト3がプロセサとして機能を果すためメモリ2に対する
アクセスを制御する。
Note that the memory access control unit 5 controls access to the memory 2 since the vector unit 3 functions as a processor.

以下、第1図に示す回路の動作について説明する。The operation of the circuit shown in FIG. 1 will be explained below.

ベクトルユニット3の動作試験において、まず5VP4
からSvPコマンド制御回路7に対してテストモードを
設定するためのSVPコマンドを送る。SVPコマンド
制御回路7はSVPコマンドをデコードし、テストモー
ドであることを知り、各選択回路6に対してCPUIお
よび5VP4の2つの出力のうち5VP4の出力を選択
させるための制御信号を送る。全選択回路6は、5VP
4からのテストデータの入力準備が整う。
In the operation test of vector unit 3, first 5VP4
sends an SVP command for setting the test mode to the SvP command control circuit 7. The SVP command control circuit 7 decodes the SVP command, learns that it is in the test mode, and sends a control signal to each selection circuit 6 to select the output of 5VP4 from the two outputs of CPUI and 5VP4. All selection circuit 6 is 5VP
Preparations for inputting the test data from step 4 are completed.

5VP4から命令およびオペランドが選択回路6へ送出
されると共に、命令かオペランドかを示すSVPコマン
ドがSVPコマンド制御回路7へ送られる。SVPコマ
ンド制御回路7はこのS■Pコマンドをデコードし、選
択回路6への入力が命令およびオペランドである場合に
、それぞれ、命令バッファ8およびオペランドバッファ
9へ出力するように指示する制御信号を送出する。この
ようにして、命令とオペランドがそれぞれ命令バッファ
8およびオペランドバッファ9に格納される。
An instruction and an operand are sent from the 5VP 4 to the selection circuit 6, and an SVP command indicating whether it is an instruction or an operand is sent to the SVP command control circuit 7. The SVP command control circuit 7 decodes this S P command, and when the input to the selection circuit 6 is an instruction and an operand, sends out a control signal instructing the output to the instruction buffer 8 and operand buffer 9, respectively. do. In this way, instructions and operands are stored in instruction buffer 8 and operand buffer 9, respectively.

命令バッファ8およびオペランドバッファ9への命令お
よびオペランドの格納が終了すると、5VP4からSV
Pコマンド制御回路7に対し、起動するためのコマンド
により送出され、SVPコマンド制御回路7からベクト
ル命令発信制御回路10ヘベクトル命令の実行の起動が
指示されて、ベクトル演算が行なわれる。
When instructions and operands have been stored in the instruction buffer 8 and operand buffer 9, the 5VP4 to SV
A command for activation is sent to the P command control circuit 7, and the SVP command control circuit 7 instructs the vector instruction generation control circuit 10 to activate the execution of the vector instruction, thereby performing a vector operation.

ベクトル命令管理部11はベクトル演算の実行状況を管
理し、命令バッファに格納されている全ての命令が実行
され終わったならば、SvPコマンド制御回路7を介し
て5VP4に命令実行の完了を伝達する。
The vector instruction management unit 11 manages the execution status of vector operations, and when all instructions stored in the instruction buffer have been executed, transmits the completion of instruction execution to the 5VP 4 via the SvP command control circuit 7. .

5VP4は新たな命令群の設定を行なう。5VP4 sets a new command group.

以上のベクトルユニット3の動作は、CPUIとは独立
に5VP4の操作によって制御される。
The above operations of the vector unit 3 are controlled by the operation of the 5VP4 independently of the CPUI.

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

本発明によれば、CPUの動作試験とは独立にベクトル
ユニットの内部動作試験が可能となるため、スーパーコ
ンピュータシステム全体の動作試験期間を短縮すること
が可能になり、製造から製品出荷までの試験工程を大幅
に短縮することが可能となる。
According to the present invention, since it is possible to test the internal operation of the vector unit independently of the operation test of the CPU, it is possible to shorten the operation test period of the entire supercomputer system, and it is possible to conduct tests from manufacturing to product shipment. It becomes possible to significantly shorten the process.

Claims (1)

【特許請求の範囲】 1、第1の種類の命令は自己が処理し、第2の種類の命
令は他へ転送する第1のプロセサと、前記第1のプロセ
サから転送された第2の 種類の命令を処理する第2のプロセサと、 前記第2のプロセサに第2の種類の命令を 供給する外部装置とを有し、 前記第2のプロセサは、前記第1のプロセ サの出力および前記外部装置の出力のうち一方を選択す
る選択回路手段と、 前記選択回路手段の出力を格納するバッフ ァレジスタ手段を具備することを特徴とするデータ処理
装置。 2、前記選択回路手段による選択動作を前記外部装置か
らコマンドによって制御可能にする手段を具備する請求
項1記載のデータ処理装置。 3、前記選択回路手段は少なくとも1つの選択回路を有
し、前記バッファレジスタ手段は各選択回路の出力にそ
れぞれ接続される少なくとも1つの命令用およびオペラ
ンド用バッファレジスタ対を有することを特徴とする請
求項2記載のデータ処理装置。 4、前記少なくとも1つの選択回路の各々の選択動作を
前記外部装置からのコマンドによって一斉に行なわせる
ように制御する手段と、各前記選択回路の出力を前記命
令用バッファレジスタおよび前記オペランド用バッファ
レジスタのいずれに格納するかを前記外部装置から制御
する手段を具備する請求項3記載のデータ処理装置。 5、前記バッファレジスタ手段に格納された命令群の処
理を前記外部装置からのコマンドによって起動する手段
を具備する請求項3記載のデータ処理装置。 6、前記バッファレジスタ手段に格納された命令群の処
理が完了したことを前記第2のプロセサから前記外部装
置に通知する手段を具備する請求項5記載のデータ処理
装置。
[Claims] 1. A first processor that processes a first type of instruction itself and transfers a second type of instruction to another; and a second type of instruction that is transferred from the first processor. and an external device that supplies a second type of instruction to the second processor, and the second processor processes the output of the first processor and the external device. A data processing device comprising: selection circuit means for selecting one of the outputs of the device; and buffer register means for storing the output of the selection circuit means. 2. The data processing apparatus according to claim 1, further comprising means for controlling the selection operation by the selection circuit means by a command from the external device. 3. The selection circuit means has at least one selection circuit, and the buffer register means has at least one instruction and operand buffer register pair each connected to an output of each selection circuit. Item 2. The data processing device according to item 2. 4. means for controlling the selection operations of each of the at least one selection circuit to be performed simultaneously by a command from the external device; and means for controlling the output of each selection circuit to the instruction buffer register and the operand buffer register. 4. The data processing apparatus according to claim 3, further comprising means for controlling from said external device which one of said data processing apparatuses to store data. 5. The data processing apparatus according to claim 3, further comprising means for starting processing of a group of instructions stored in said buffer register means in response to a command from said external device. 6. The data processing apparatus according to claim 5, further comprising means for notifying the external device from the second processor that processing of the instruction group stored in the buffer register means has been completed.
JP21907490A 1990-08-22 1990-08-22 Data processing device Expired - Fee Related JP2968321B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21907490A JP2968321B2 (en) 1990-08-22 1990-08-22 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21907490A JP2968321B2 (en) 1990-08-22 1990-08-22 Data processing device

Publications (2)

Publication Number Publication Date
JPH04102161A true JPH04102161A (en) 1992-04-03
JP2968321B2 JP2968321B2 (en) 1999-10-25

Family

ID=16729856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21907490A Expired - Fee Related JP2968321B2 (en) 1990-08-22 1990-08-22 Data processing device

Country Status (1)

Country Link
JP (1) JP2968321B2 (en)

Also Published As

Publication number Publication date
JP2968321B2 (en) 1999-10-25

Similar Documents

Publication Publication Date Title
JPH08305568A (en) Information processing unit
JPH0766329B2 (en) Information processing equipment
JPS62159268A (en) Multi-processor system
US7761744B2 (en) Debugging method
JPS60171558A (en) Data processing system
KR20100089351A (en) Computing apparatus and method for interrupt handling of reconfigurable array
JP2538053B2 (en) Control device
JPH0679270B2 (en) Digital device
JPH04102161A (en) Data processor
JP2000353091A (en) Instruction execution method in computer system and computer system
JPH09274567A (en) Execution control method for program and processor for the same
JPH0147818B2 (en)
KR101646768B1 (en) Interrupt handling apparatus and method for an equal-model processor and processor including the interrupt handling apparatus
KR950020233A (en) Fuzzy computer
KR200181133Y1 (en) Central processing unit
JPS6111856A (en) Operating method of digital control device
JPH09282165A (en) Information processor
JP2009134499A (en) Data processor, and control method for data processor
JPH053033B2 (en)
JPS6143347A (en) Simulation method of vector instruction
JPH0279122A (en) Floating point arithmetic mechanism
JPH0495135A (en) External transmission signal control system
JPS6220033A (en) Interruption control system
JPH05197743A (en) Vector processor
JPS63253434A (en) Signal processing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees