JPH0275054A - Scan control method for multiprocessor systems - Google Patents
Scan control method for multiprocessor systemsInfo
- Publication number
- JPH0275054A JPH0275054A JP22728388A JP22728388A JPH0275054A JP H0275054 A JPH0275054 A JP H0275054A JP 22728388 A JP22728388 A JP 22728388A JP 22728388 A JP22728388 A JP 22728388A JP H0275054 A JPH0275054 A JP H0275054A
- Authority
- JP
- Japan
- Prior art keywords
- scan
- data
- register
- processors
- service processor
- 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
- 238000000034 method Methods 0.000 title claims abstract description 14
- 108700012361 REG2 Proteins 0.000 description 3
- 101150108637 REG2 gene Proteins 0.000 description 3
- 101100120298 Rattus norvegicus Flot1 gene Proteins 0.000 description 3
- 101100412403 Rattus norvegicus Reg3b gene Proteins 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 102100023882 Endoribonuclease ZC3H12A Human genes 0.000 description 2
- 101710112715 Endoribonuclease ZC3H12A Proteins 0.000 description 2
- 108700012364 REG1 Proteins 0.000 description 2
- QGVYYLZOAMMKAH-UHFFFAOYSA-N pegnivacogin Chemical compound COCCOC(=O)NCCCCC(NC(=O)OCCOC)C(=O)NCCCCCCOP(=O)(O)O QGVYYLZOAMMKAH-UHFFFAOYSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はスキャン制御方式に係り、特にマルチプロセッ
サシステムにおいて全プロセッサに対シ、。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a scan control method, particularly for all processors in a multiprocessor system.
て同時スキャンイン処理を行う場合に好適なマルチプロ
セッサシステムのスキャン制御方式に関する。The present invention relates to a scan control method for a multiprocessor system suitable for performing simultaneous scan-in processing.
複数のプロセッサとサービスプロセッサとそれらを相互
接続するスキャンバスを備えたマルチプロセッサシステ
ムにおける従来のスキャン制御方式を第2図により説明
する。第2図中、1oはサービスプロセッサ、11,1
2.13はプロセッサ、14はこれらを相互接続するス
キャンバスである。A conventional scan control method in a multiprocessor system including a plurality of processors, a service processor, and a scan canvas interconnecting them will be explained with reference to FIG. In Figure 2, 1o is a service processor, 11,1
2.13 is a processor, and 14 is a scan canvas that interconnects these.
いま、プロセッサ11のレジスタR1Σ()]、・・・
。Now, the register R1Σ()] of the processor 11,...
.
REGnをサービスプロセッサ1oによりスキャンする
場合、プロセッサ11のアドレスレジスタADR23に
選択したいレジスタRE G i、 (i =1.・
・・on)のアドレスをスキャンバスi4.lノシーバ
21を介してサービスプロセッサ10からセットする。When REGn is scanned by the service processor 1o, the register REG i, (i = 1.
...on) address on the scan canvas i4. It is set from the service processor 10 via the receiver 21.
アクセスがリードのときは、ADR23の内容をデコー
ダ24にてデコードし、そのデコード出力がクロック制
御回路25へ供給されて発生されるイネーブル信号によ
って、上記アドレスの指定するレジスタREGiのデー
タが出力される。このデータはデコーダ24からマルチ
プレクサ28へ与えられるマルチプレクサ信号によって
マルチプレクサ28を介して出力され、リードクロック
C’LKRによってリードデータレジスタRDG27に
セットされた後、ドライバ22、スキャンバス14を介
してサービスプロセッサ10へ送られる。又、アクセス
がライトのときには、アドレスに続いてデータがサービ
スプロセッサ10からスキャンバス14、レシーバ21
を介してライトクロックCLKWに応答してライトデー
タレジスタW D 26にセットされる。このセット完
了時刻に、レジスタADR23のアドレスがデコーダ2
3でデコードされ、そのデコード出力がタロツク制御回
路25へ供給されて発生されるイネーブル信号によって
レジスタWD26の出力データは該信号の指定するレジ
スタRE G jにセットされる。プロセッサ12.1
3のスキャン動作も同様である。When the access is a read, the contents of the ADR 23 are decoded by the decoder 24, and the decoded output is supplied to the clock control circuit 25, and the generated enable signal causes the data in the register REGi specified by the above address to be output. . This data is outputted via the multiplexer 28 by a multiplexer signal given from the decoder 24 to the multiplexer 28, set in the read data register RDG27 by the read clock C'LKR, and then sent to the service processor 10 via the driver 22 and scan canvas 14. sent to. Further, when the access is a write, data following the address is transferred from the service processor 10 to the scan canvas 14 and the receiver 21.
It is set in the write data register W D 26 in response to the write clock CLKW via the write clock CLKW. At this set completion time, the address of register ADR23 is changed to decoder 2.
3, and the decoded output is supplied to the tarlock control circuit 25 to generate an enable signal, and the output data of the register WD26 is set in the register RE G j specified by the signal. Processor 12.1
The scanning operation in step 3 is similar.
なお、これについては、例えば特開昭62−92065
号公報に詳述されている。Regarding this, for example, Japanese Patent Application Laid-Open No. 62-92065
Details are given in the publication.
上記従来方式によれば、複数台のプロセッサすべてに対
して同一レジスタに同一データをスキャンインする場合
、レジスタ長単位にスキャンインするケースは問題とな
らないが、レジスタの特定ビットに対して同時にスキャ
ンイン処理を行うことはできない。データをビット単位
に全プロセッサに対してスキャンするためには、第2図
に示すように、サービスプロセッサ10内で各プロセッ
サ11,12.13各々に対して該当するレジスタRE
Giのデータを読込み、サービスプロセッサ10上のメ
モリに該データを格納しくステップ111)−この格納
されたデータに対してビット処理(マスク動作)シ(ス
テップ112)、生成されたデータを各プロセッサの該
当するレジスタREGiに書込む動作(ステップ113
)が必要となり、プロセッサ数をm個とすると、全プロ
セッサのレジスタREGiのビットを制御する為には、
2m回のスキャンバスを介したスキャン動作となり、処
理時間が台数に対しては1倍、処理量に対しては2倍の
線型のオーダで増大していくこと\なる。According to the conventional method described above, when scanning in the same data to the same register for all multiple processors, there is no problem in the case of scanning in register length units, but when scanning in specific bits of the register at the same time. cannot be processed. In order to scan data bit by bit for all processors, as shown in FIG.
Gi data is read and stored in the memory on the service processor 10 (step 111) - the stored data is subjected to bit processing (mask operation) (step 112), and the generated data is transferred to each processor. Operation of writing to the corresponding register REGi (step 113
) is required, and if the number of processors is m, in order to control the bits of register REGi of all processors,
The scanning operation is performed through the scan canvas 2 m times, and the processing time increases linearly by a factor of 1 for the number of devices and 2 times for the amount of processing.
本発明の目的は、マルチプロセッサシステムにおいて、
サービスプロセッサから複数のプロセッサ内の同一レジ
スタへ同一データをビット対応にスキャンインする場合
、全プロセッサに対しての同時スキャンイン処理を可能
とするスキャン制御方式を提供することにある。An object of the present invention is to: In a multiprocessor system,
An object of the present invention is to provide a scan control method that enables simultaneous scan-in processing for all processors when scanning the same data from a service processor into the same register in a plurality of processors in bit correspondence.
上記目的を達成するため、本発明のスキャン制御方式で
は、サービスプロセッサがスキャンバス上にのせるスキ
ャン情報にマスク情報を付加すると共に、各プロセッサ
には、このマスク情報を保持するレジスタ、該マスク情
報をもとにビット単位にスキャンインを行う回路を設け
たことを特徴とする。In order to achieve the above object, in the scan control method of the present invention, the service processor adds mask information to the scan information placed on the scan canvas, and each processor has a register that holds this mask information, and a register that holds this mask information. The feature is that a circuit is provided that performs scan-in bit by bit based on .
サービスプロセッサから全プロセッサに対して同時スキ
ャンインを行う場合、サービスプロセッサはスキャンバ
ス上に同時スキャンイン指令、アドレス、ライトデータ
、マスクデータを送出する。When performing simultaneous scan-in from the service processor to all processors, the service processor sends a simultaneous scan-in command, address, write data, and mask data onto the scan canvas.
これを受けて各プロセッサでは、まず、アドレスで指定
されるレジスタから一旦データを読取り、リードデータ
レジスタへ格納し、その後、ライl−データ、リードデ
ータ、マスクデータによりビット単位のデータを生成し
、さらに該データに対するパリティを生成して、アドレ
スで指定されるレジスタへ書込む動作を行う。かくして
、ビット単位のスキャンインの場合でも全プロセッサに
対して同時スキャンイン処理が可能となり、処理時間は
、プロセッサの台数に影響されず、1台に対しての処理
時間のま−となる。In response to this, each processor first reads the data from the register specified by the address, stores it in the read data register, and then generates bit-by-bit data using the write data, read data, and mask data. Furthermore, it generates parity for the data and writes it into the register specified by the address. In this way, even in the case of bit-by-bit scan-in, simultaneous scan-in processing is possible for all processors, and the processing time is not affected by the number of processors, but is the average processing time for one processor.
以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例のブロック図を示す。FIG. 1 shows a block diagram of one embodiment of the invention.
第1図において、11〜13はマルチプロセッサシステ
ムを構成するプロセッサ、1.0はサービスプロセッサ
であり、サービスプロセッサ10とプロセッサ11〜1
3はスキャンバス】4にて接続されている。スキャンバ
ス1.4の制御はサービスプロセッサ10が司どる。In FIG. 1, 11 to 13 are processors constituting a multiprocessor system, 1.0 is a service processor, and service processor 10 and processors 11 to 1
3 is a scan canvas] 4. The service processor 10 controls the scan canvas 1.4.
プロセッサ11には複数のレジスタREGI。The processor 11 includes a plurality of registers REGI.
REG2.・・・、REGnがあって、これらレジスタ
にデータをスキャンインする場合、−旦、該当レジスタ
のデータを読出し、サービスプロセッサ10からスキャ
ンバス14.レシーバ21を介して送られたライトデー
タ(スキャンインデータ)。REG2. . Write data (scan-in data) sent via the receiver 21.
マスクデータと上記読出したリードデータでマスク回路
30にてマスク演算し、スキャンインを実行する。23
はアドレスレジスタADHであり。A mask operation is performed in the mask circuit 30 using the mask data and the read data read above, and scan-in is executed. 23
is address register ADH.
サービスプロセッサ10からのアクセスアドレスをスキ
ャンバス14、レシーバ21を介して受けとるいこのア
ドレスレジスタ23のアクセスアドレスはデコータ24
においてデコードされ、そのデコード出力をタロツク糾
御回M25へ供給することによって、−時にはレジスタ
REG 1 、 REG2.・・・、REGnのうちの
1つがデータセラ1へ可能に設定される。又、デコーダ
24のマルチプレクサ用出力がマルチプレクサ28へ供
給されて。The access address of this address register 23, which receives the access address from the service processor 10 via the scan canvas 14 and the receiver 21, is transferred to the decoder 24.
- sometimes registers REG1, REG2 . . . , one of REGn is set to be enabled for data cellar 1. Also, the multiplexer output of the decoder 24 is supplied to a multiplexer 28.
−時には、レジスタREGI、REG2.・・・、RE
Gnのうち1つの内容が選択される726はサービスプ
ロセッサ10からのライトデータを受けとるライトデー
タレジスタWD、27はマスクデータを受けとるマスク
データレジスタMSK、29はマルチプレクサ28で選
択された読出しデータを受けとるリードデータレジスタ
RDである。- sometimes registers REGI, REG2 . ..., RE
726 is a write data register WD which receives write data from the service processor 10, 27 is a mask data register MSK which receives mask data, and 29 is a read register which receives read data selected by the multiplexer 28. This is data register RD.
なお、第1図においては、スキャンアラ1〜処理部は省
略しである。In addition, in FIG. 1, the scan error 1 to the processing section are omitted.
以下にプロセッサ11におけるレジスタRE G1、R
EG2.・・・、REGnのスキャンイン動作を説明す
るが、プロセッサ12.13でも同様の動作が同時に行
われる。Below are the registers RE G1, R in the processor 11.
EG2. . . , REGn's scan-in operation will be described, but the processors 12 and 13 also perform similar operations at the same time.
サービスプロセッサ10は、全プロセッサに対してビッ
ト単位の同時スキャンイン指令を発行する為、スキャン
バス14上に、同時スキャンイン指令、レジスタアドレ
ス、ライトデータ、マスクデータを送出する(ステップ
101)、各プロセッサ11,12.13は、スキャン
バス14上に送出されたこれらの情報を取り込み、レジ
スタのスキャンイン動作を実行する。こ\では、プロセ
ッサ11についての動作を示す。In order to issue a bit-by-bit simultaneous scan-in command to all processors, the service processor 10 sends a simultaneous scan-in command, register address, write data, and mask data to the scan canvas 14 (step 101). The processors 11, 12, and 13 take in this information sent onto the scan canvas 14 and execute a register scan-in operation. Here, the operation of the processor 11 will be described.
サービスプロセッサ10からのスキャンバス14、レシ
ーバ21を介してのアクセスシトレスがアドレスレジス
タADR23にセットされ、そのアドレスがデコーダ2
4でデコードされ、そのデコード出力がクロック制御回
路25へ供給され、該クロック制御回路25からのイネ
ーブル信号によって、アクセスアドレスの指定するレジ
スタREGiのデータが出力される。このレジスタRE
Giのデータは、デコーダ24からマルチプレクサ28
へ与えられるマルチプレックス信号によってマルチプレ
クサ28で選択され、リードクロックCLKRによって
リードデータレジスタ29にセットされる。The access address from the service processor 10 via the scan canvas 14 and the receiver 21 is set in the address register ADR23, and the address is sent to the decoder 2.
4, the decoded output is supplied to the clock control circuit 25, and in response to an enable signal from the clock control circuit 25, the data of the register REGi designated by the access address is output. This register RE
Gi data is sent from the decoder 24 to the multiplexer 28
The data is selected by the multiplexer 28 according to the multiplex signal applied to the multiplexer 28, and set in the read data register 29 by the read clock CLKR.
サービスプロセッサ10がらは、スキャンバス14、レ
シーバ21を介して上記アクセスアドレスに続いてマス
クデータが送られ、マスクCL KMに応答してマスク
データレジスタMSK27にセットさtLル、その後さ
らにサービスプロセッサ10からスキャンバス14.レ
シーバ21を介して送られてきたライトデータが、ライ
トクロックCLKWに応答してライトデータレジスタW
D26にセットされる。The service processor 10 receives mask data following the access address via the scan canvas 14 and receiver 21, and sets it in the mask data register MSK27 in response to the mask CL KM. Scanvas 14. The write data sent via the receiver 21 is sent to the write data register W in response to the write clock CLKW.
Set to D26.
ライトデータレジスタWD26、マスクデータレジスタ
MSK27、リードデータレジスタVD29の各データ
が確定後、マスク回路3oにてマスク演算され、クロッ
ク制御回路25から該当するレジスタREGiに対して
発せられるイネーブル信号により、マスク演算された値
がアクセスアドレスの指定するR E G iにセット
される。After each data in the write data register WD26, mask data register MSK27, and read data register VD29 is determined, a mask operation is performed in the mask circuit 3o, and the mask operation is performed by an enable signal issued from the clock control circuit 25 to the corresponding register REGi. The value specified by the access address is set to REGi specified by the access address.
マスク回路30は、ライトデータレジスタWD26の出
力データをa、マスクデータレジスタMSK27の出力
データを1)、リードデータレジスタRD29の出力デ
ータをCとし、マスク回路30の出力データをdとする
と、d ” a−b + b ・Cで示される演算処理
を行う。これは、例えば、AND、OR回路を使用する
ことで容易に実現できる。The mask circuit 30 assumes that the output data of the write data register WD26 is a, the output data of the mask data register MSK27 is 1), the output data of the read data register RD29 is C, and the output data of the mask circuit 30 is d. An arithmetic operation represented by a−b+b·C is performed.This can be easily realized by using, for example, an AND or OR circuit.
このように、プロセッザ内にマスクデータレジスタMS
Kを設け、さらにMSKに対応するビット単位のスキャ
ンイン回路を設けることにより、ピッl−,01位の全
プロセッサに対しての同時スキャンインが可能となる。In this way, the mask data register MS is stored in the processor.
By providing K and further providing a bit-by-bit scan-in circuit corresponding to MSK, simultaneous scan-in can be performed for all processors at the pins 1- and 01.
以上説明したように1本発明によれば、わずかなハード
量の追加で、マルチプロセッサシステムにおけるピッl
−単位の全プロセッサに対しての同時スキャンイン処理
を実現できる。これにより全プロセッサに対してのビッ
ト単位のスキャンイン処理時間は、プロセッサの台数に
関係なく一台にか5る時間ですみ、また処理量の増加に
対しては、1倍の線型比率ですむ。As explained above, according to the present invention, with the addition of a small amount of hardware, it is possible to implement
- Simultaneous scan-in processing for all processors in a unit can be realized. As a result, the bit-by-bit scan-in processing time for all processors can be reduced to 5 times per processor regardless of the number of processors, and as the amount of processing increases, it can be done at a linear rate of 1. .
また、一般的にサービスプロセッサはプロセッサよ番)
処理スピードが遅く、またバス制御におでも手順がある
為、−台のプロセッサに対してのピッ1−単位のスキャ
ンイン処理に対しても、本発明方式により、従来より高
速に処理できる。Also, generally the service processor is the processor number)
Since the processing speed is slow and the bus control has a specific procedure, the method of the present invention can perform scan-in processing in units of 1 pin for -1 processors at a higher speed than the conventional method.
第1図は本発明によるスキャン制御方式の一実施例を示
すブロック図、第2図は従来方式の一例を示すブロック
図である。
10・・・サービスプロセッサ、 11〜13・・プ
ロセッサ、 14・・・スキャンバス、 21・・
・レシーバ、 RE G 1〜RE G n ・・・レ
ジスタ、23・・・アクセスアドレスレジスタ、 2
4・・・デコーダ、 25・・・クロック制御回路、
26・・・ライトデータレジスタ、 27・・・マス
クデータレジスタ、 28・・・マルチプレクサ、2
9・・・リードデータレジスタ、 30・・・マスク
回路。FIG. 1 is a block diagram showing an embodiment of a scan control method according to the present invention, and FIG. 2 is a block diagram showing an example of a conventional method. 10...Service processor, 11-13...Processor, 14...Scanvas, 21...
・Receiver, REG1~REGn...Register, 23...Access address register, 2
4... Decoder, 25... Clock control circuit,
26...Write data register, 27...Mask data register, 28...Multiplexer, 2
9... Read data register, 30... Mask circuit.
Claims (1)
数のプロセッサおよびサービスプロセッサを相互接続す
るバスを備えたマルチプロセッサシステムで、上記サー
ビスプロセッサから上記複数のプロセッサ内の同一レジ
スタへ同一データをビット対応にスキャンインする方式
において、 上記サービスプロセッサは、スキャン情報(スキャンア
ドレス、スキャンインデータ)にマスク情報を付加し、
上記バスを介して各プロセッサへ送出し、 上記各プロセッサでは、スキャンアドレスで指定される
レジスタのデータを読出し、このリードデータとサービ
スプロセッサからのスキャンインデータとに対し上記マ
スク情報をもとにマスク処理して当該レジスタにスキャ
ンインすることを特徴とするマルチプロセッサシステム
のスキャン制御方式。(1) In a multiprocessor system equipped with a plurality of processors, a service processor, and a bus that interconnects the plurality of processors and the service processor, the same data is scanned bitwise from the service processor to the same register in the plurality of processors. In the input method, the service processor adds mask information to scan information (scan address, scan-in data),
The data is sent to each processor via the above bus, and each processor reads the data in the register specified by the scan address, and masks this read data and the scan-in data from the service processor based on the mask information. A scan control method for a multiprocessor system characterized by processing and scanning into the corresponding register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22728388A JPH0275054A (en) | 1988-09-10 | 1988-09-10 | Scan control method for multiprocessor systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22728388A JPH0275054A (en) | 1988-09-10 | 1988-09-10 | Scan control method for multiprocessor systems |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0275054A true JPH0275054A (en) | 1990-03-14 |
Family
ID=16858385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22728388A Pending JPH0275054A (en) | 1988-09-10 | 1988-09-10 | Scan control method for multiprocessor systems |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0275054A (en) |
-
1988
- 1988-09-10 JP JP22728388A patent/JPH0275054A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2539199B2 (en) | Digital processor controller | |
EP0163148A2 (en) | Data processing system with overlapping between CPU register to register data transfers and data transfers to and from main storage | |
US5132973A (en) | Testable embedded RAM arrays for bus transaction buffering | |
JPH10161871A (en) | Processor | |
JPH0275054A (en) | Scan control method for multiprocessor systems | |
US4775933A (en) | Address generation system | |
JPH0444136A (en) | Memory access controller | |
JPH0233173B2 (en) | ||
JP2821176B2 (en) | Information processing device | |
JPH11126200A (en) | Vector processor | |
JP3317819B2 (en) | Control method for two-port access of single-port RAM | |
JPH0644193A (en) | I/o register access system | |
JPH05143718A (en) | Image processor | |
JPS60181859A (en) | Collective channel control method | |
JPS6086625A (en) | Data processing device | |
JPS63173141A (en) | Memory interface circuit | |
JPS6149695B2 (en) | ||
JPH02139652A (en) | Microcomputer | |
JPS62159272A (en) | Processor for vector instruction | |
JPH02204861A (en) | Vector data processor | |
JPH05241832A (en) | Information processor and information processing method | |
JPH0756758A (en) | Data processor | |
JPH02162458A (en) | Parallel processor | |
JPH01180635A (en) | Processor constituting system | |
JPH01158554A (en) | Data processing system providing dma device |