JPH03282959A - Multiprocessor system - Google Patents
Multiprocessor systemInfo
- Publication number
- JPH03282959A JPH03282959A JP2084606A JP8460690A JPH03282959A JP H03282959 A JPH03282959 A JP H03282959A JP 2084606 A JP2084606 A JP 2084606A JP 8460690 A JP8460690 A JP 8460690A JP H03282959 A JPH03282959 A JP H03282959A
- Authority
- JP
- Japan
- Prior art keywords
- timer
- processor
- current time
- signal
- timers
- 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
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の構成コ
(産業上の利用分野)
本発明は複数のプロセッサ・モジュールにおける個々の
タイマ管理を確実・正確に行い得るマルチプロセッサシ
ステムに関する。DETAILED DESCRIPTION OF THE INVENTION [Configuration of the Invention (Field of Industrial Application) The present invention relates to a multiprocessor system that can reliably and accurately manage individual timers in a plurality of processor modules.
(従来の技術)
従来の一般的なマルチプロセッサシステムは、例えば第
3図に示すように複数のプロセッサ・モジュールla、
lb、〜inをそれぞれシステムバス2に共通接続しζ
更にこのシステムバス2にタイマ・モジュール3と共有
メモリ4とを接続して構成される。(Prior Art) A conventional general multiprocessor system has a plurality of processor modules la, for example, as shown in FIG.
Commonly connect lb and ~in to system bus 2 and ζ
Furthermore, a timer module 3 and a shared memory 4 are connected to this system bus 2.
しかして前記タイマ・モジュール3は、そのタイマ信号
源3aにて所定のタイマ信号を計時して現在時刻を求め
ており、その現在時刻を前記各プロセッサ・モジュール
la、lb、〜inがシステムバス2を介してそれぞれ
アクセス可能なレジスタ3bに格納している。このよう
なタイマΦモジュール3により計時される現在時刻を知
りたいプロセッサ・モジュールla、 lb、〜1nは
、前記システムバス2を介して前記タイマ・モジュール
3のレジスタ3bをアクセスし、当該レジスタ3bに格
納されている現在時刻の情報を個々に読み出すことにな
る。The timer module 3 measures a predetermined timer signal using its timer signal source 3a to obtain the current time, and each of the processor modules la, lb, ~in uses the current time on the system bus 2. The data are stored in registers 3b that can be accessed through the respective registers 3b. The processor modules la, lb, ~1n that wish to know the current time measured by the timer Φ module 3 access the register 3b of the timer module 3 via the system bus 2, and write the information in the register 3b. The stored current time information will be read out individually.
ところが複数のプロセッサ・モジュールが同時に現在時
刻を必要とした場合、前記システムバス2に対して同時
にバスアクセス要求を発して前記レジスタ3bをアクセ
スしようとするので、当然のことながら競合が生じる。However, when a plurality of processor modules simultaneously require the current time, they issue bus access requests to the system bus 2 at the same time and attempt to access the register 3b, which naturally causes contention.
するとシステムバス2の使用権が選択的に設定されたプ
ロセッサ・モジュールだけか前記レジスタ3bから現在
時刻を読み出すことが可能となり、その他のプロセッサ
・モジュールはバス使用権が設定されるまで待たされる
ことになる。勿論、成るプロセッサ・モジュールがシス
テムバス2を介して共有メモリ4を使用している場合に
も、上記現在時刻を必要とするプロセッサ争モジュール
はバス使用権が付与されるまで待たされることになる。Then, only the processor module for which the right to use the system bus 2 has been selectively set can read the current time from the register 3b, and the other processor modules are forced to wait until the right to use the bus is set. Become. Of course, even if the processor modules are using the shared memory 4 via the system bus 2, the processor module that requires the current time will be forced to wait until it is granted the right to use the bus.
従ってこのような場合には、現在時刻を必要としている
にも拘らず、バス使用権が設定されるまでの期間に亘っ
てレジスタ3bをアクセスすることができないので、結
果的にリアルタイムに現在時刻を得ることができなくな
る。Therefore, in such a case, even though the current time is required, register 3b cannot be accessed until the right to use the bus is set, so as a result, the current time cannot be accessed in real time. you won't be able to get it.
このような不具合はシステムバス2の使用頻度が高い程
、頻繁に発生し、現在時刻をリアルタイムに求めること
が益々困難になる。Such problems occur more frequently as the system bus 2 is used more frequently, and it becomes increasingly difficult to obtain the current time in real time.
また上述した如く構成されたシステムでは、データアク
セスの効率を高め、各プロセッサ争モジュールla、l
b、〜1nからのシステムバス2へのアクセス頻度を少
なくする為に、前記各プロセッサ・モジュールla、l
b、〜Inとシステムバス2との間にそれぞれキャッシ
ュメモリを設けることも多くある。このようにして設け
られる各キャッシュメモリは、通常、そのデータの一貫
性が保たれるように制御される。In addition, in the system configured as described above, data access efficiency is improved and each processor module la, l
In order to reduce the frequency of access to the system bus 2 from the processor modules la, ln,
In many cases, cache memories are provided between each of the system bus 2 and the system bus 2. Each cache memory provided in this manner is normally controlled so that the consistency of its data is maintained.
ところがこの種のキャッシュメモリを備えたシステムに
おいて、前述したようにしてタイマ・モジュール3によ
り計時される現在時刻を各プロセッサ争モジュールla
、1b、〜1bがそれぞれアクセスすることを考えると
、タイマ・モジュール3が計時する現在時刻は時々刻々
変化しているので、各プロセッサ争モジュールla、
lb、〜lbのキャッシュメモリにそれぞれ取り込まれ
る現在時刻は、次の瞬間には無効になってしまう。従っ
て、次に現在時刻を参照する必要が生じた場合には、改
めて前記システムバス2を介してタイマ・モジュール3
のレジスタ3bをアクセスすることが必要となる。However, in a system equipped with this type of cache memory, the current time measured by the timer module 3 as described above is stored in each processor module la.
, 1b, to 1b respectively. Since the current time measured by the timer module 3 changes every moment, each processor module la,
The current times stored in the cache memories lb and .about.lb will become invalid at the next instant. Therefore, when it becomes necessary to refer to the current time next time, the timer module 3 is again accessed via the system bus 2.
It is necessary to access register 3b of .
つまり、タイマ・モジュール3によって計時される現在
時刻に関しては、上述したキャッシュメモリは同等有効
に作用することはなく、結局、キャッシュメモリを備え
ていても前述した不具合は同等解消されない。That is, regarding the current time measured by the timer module 3, the above-mentioned cache memory does not work equally effectively, and in the end, even if the cache memory is provided, the above-mentioned problems cannot be solved to the same extent.
このような不具合を解消するべく、例えば第4図に示す
ように個々のプロセッサ・モジュール1a、1b、〜i
nにそれぞれ前述したタイマ信号源3aとレジスタ3b
とを具備したタイマ部11を設け、各プロセッサ壷モジ
ュールla、 lb、〜1nのプロセッサ12がそれぞ
れ内部的に上記タイマ部11から現在時刻を得るように
したシステムが考えられている。このように構成された
システムによれば、各ブロセツサモジュールla、 l
b、〜1nのプロセッサ12は、それぞれのモジュール
内のタイマ部11を個々にアクセスすれば良いので、前
述したようなシステムバスの競合に起因する問題、つま
り現在時刻を求める為のアクセスに時間が掛かるような
不具合が生じることがない。In order to eliminate such problems, for example, as shown in FIG.
n respectively the timer signal source 3a and register 3b described above.
A system has been considered in which a timer unit 11 is provided, and each processor 12 of each processor module la, lb, to 1n internally obtains the current time from the timer unit 11. According to the system configured in this way, each processor module la, l
Since the processors 12 of B and 1n only have to access the timer section 11 in each module individually, the problem caused by the contention of the system bus as described above, that is, the time required for access to obtain the current time, is avoided. No problems like this will occur.
然し乍ら、各プロセッサ・モジュール1a、1b、〜I
nにそれぞれ設けられるタイマ部11の初期化は、各プ
ロセッサ・モジュールla、 lb、〜In毎に各別に
行われる。しかも各タイマ部11で計時される現在時刻
は、個々のタイマ信号をそれぞれ独立に計時して求めら
れる。この為、初期化設定のタイミング誤差や、各タイ
マ信号源の誤差に起因し、各プロセッサ・モジュールl
a、lb、〜Inのタイマ部11でそれぞれ計時される
現在時刻に誤差が生じ易い。However, each processor module 1a, 1b, ~I
Initialization of the timer section 11 provided in each of the processor modules la, lb, to In is performed separately for each processor module la, lb, to In. Moreover, the current time measured by each timer section 11 is obtained by independently measuring each timer signal. Therefore, due to timing errors in initialization settings and errors in each timer signal source, each processor module l
Errors are likely to occur in the current times measured by the timer units 11 of a, lb, and ~In.
従って複数のプロセッサ・モジュールla、 lb、〜
1nにおいて、そのプロセッサ12がそれぞれ同時にそ
のモジュール内のタイマ部11をアクセスしたとしても
、これらの各プロセッサ12が正確に同じ現在時刻を得
ると云う保証はない。故に、マルチプロセッサシステム
のデバッグや各種イベントの発生時刻を記録するべく上
述したタイマを利用するには問題がある。Therefore, a plurality of processor modules la, lb, ~
1n, even if each of the processors 12 accesses the timer unit 11 in the module at the same time, there is no guarantee that each of these processors 12 will obtain exactly the same current time. Therefore, there are problems when using the above-mentioned timer to debug a multiprocessor system or record the times at which various events occur.
(発明が解決しようとする課題)
このように従来のバス結合型のマルチプロセッサシステ
ムにおいては、複数のプロセッサ・モジュールがシステ
ムバスを介して接続されたタイマ・モジュールをアクセ
スして現在時刻の情報を得ようとしても、バス競合に起
因する遅れによって正確に現在時刻を読み取ることがで
きないことが往々にして生じると云う不具合があった。(Problem to be Solved by the Invention) As described above, in the conventional bus-coupled multiprocessor system, multiple processor modules access timer modules connected via the system bus to obtain current time information. However, there is a problem in that it is often impossible to accurately read the current time due to delays caused by bus contention.
しかもこのような不具合は、キャッシュメモリを用いて
も解消することができなかった。Moreover, such a problem could not be solved even by using a cache memory.
これに対して各プロセッサ・モジュールにそれぞれタイ
マ一部を設けた場合には、上述した不具合を解消できる
が、その反面、各タイマ一部によりそれぞれ計時される
現在時刻を正確に一致させることが困難であり、結局、
複数のプロセッサ・モジュール間でそれぞれ正確な現在
時刻を得ることができないと云う問題があった。On the other hand, if each processor module is provided with a portion of its timer, the above-mentioned problems can be resolved, but on the other hand, it is difficult to accurately match the current time measured by each portion of the timer. And in the end,
There is a problem in that it is not possible to obtain accurate current times among multiple processor modules.
本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、複数のプロセッサ・モジュール
においてそれぞれ正確に現在時刻を得ることのできる簡
易で実用性の高い構成のマルチプロセッサシステムを提
供することにある。The present invention has been made in consideration of these circumstances, and its purpose is to provide a multiprocessor system with a simple and highly practical configuration in which the current time can be accurately obtained from each of a plurality of processor modules. Our goal is to provide the following.
[発明の構成コ
(課題を解決するための手段)
本発明は、複数のプロセッサ・モジュールを相互に接続
して構成されるマルチプロセッサシステムに係り、
前記各プロセッサ・モジュールにそのプロセッサからア
クセス可能なタイマをそれぞれ設け、これらの各タイマ
を同一のタイマ初期化信号、例えばシステムリセット信
号を用いて同時に初期化すると共に、同一のタイマ信号
、例えばシステムクロック信号、またはこのシステムク
ロック信号を分周してなる信号を用いてそれぞれ駆動す
るようにしたことを特徴とするものである。[Structure of the Invention (Means for Solving the Problems) The present invention relates to a multiprocessor system configured by interconnecting a plurality of processor modules, wherein each of the processor modules is accessible from the processor. Each timer is provided, and each of these timers is simultaneously initialized using the same timer initialization signal, e.g., a system reset signal, and the same timer signal, e.g., a system clock signal, or by dividing the frequency of this system clock signal. This is characterized in that each of the two signals is driven using the following signals.
更に前記各タイマとは別に、システムの稼働時・非稼動
時に拘ることなく定常的に動作する基準タイマを設け、
前記各タイマを初期化する際、前記基準タイマにより計
時される現在時刻を前記各プロセッサ・モジュールから
それぞれアクセス可能なレジスタに退避させるようにし
たことを特徴とするものである。Furthermore, apart from each of the above-mentioned timers, a reference timer is provided that operates constantly regardless of whether the system is in operation or not.
The present invention is characterized in that when initializing each of the timers, the current time measured by the reference timer is saved in a register that can be accessed from each of the processor modules.
そしてレジスタに退避された時刻を、前記タイマが初期
化された後に計時している時刻に対する現在時刻の算出
に用いるようにしたことを特徴とするものである。The present invention is characterized in that the time saved in the register is used to calculate the current time with respect to the time measured after the timer is initialized.
(作 用)
このように構成されたシステムによれば、各プロセッサ
・モジュールにそれぞれ設けられたタイマを、そのシス
テム起動時にシステムリセット信号を用いて同時に初期
化し、その後、システムクロック信号を共通に用いて前
記各タイマをそれぞれ駆動するので、各プロセッサ・モ
ジュールに設けられた各タイマがそれぞれ計時する時刻
を常に相互に等しくすることができる。(Function) According to the system configured as described above, the timers provided in each processor module are simultaneously initialized using a system reset signal when the system is started, and thereafter, the system clock signal is commonly used. Since each of the timers is driven by each timer, the time measured by each timer provided in each processor module can always be made equal to each other.
従ってプロセッサ・モジュールのプロセッサが現在時刻
の参照を必要とするとき、システムバスを介することな
くそのプロセッサ・モジュール内のタイマから現在時刻
を直接読み込むことができるので、従来システムのよう
なバスアクセスの競合に起因するアクセス遅れが生じる
ことがない。Therefore, when a processor in a processor module needs to refer to the current time, it can read the current time directly from the timer in that processor module without going through the system bus, which eliminates bus access conflicts like in conventional systems. There will be no access delay due to this.
この結果、複数のプロセッサが同時に現在時刻を参照す
る必要がある場合でも、各プロセッサはそれぞれ同時に
現在時刻を得ることが可能となる。As a result, even if multiple processors need to refer to the current time at the same time, each processor can obtain the current time at the same time.
また上述した構成によれば、現在時刻のアクセスにシス
テムバスが使用されることがないのでシステムバスの使
用頻度が軽減され、バストラフィックの問題が軽減され
る。この結果、システム全体の性能低下を未然に防ぐこ
とが可能となる。Further, according to the above-described configuration, since the system bus is not used for accessing the current time, the frequency of use of the system bus is reduced, and the problem of bus traffic is alleviated. As a result, it becomes possible to prevent the performance of the entire system from deteriorating.
(実施例)
以下、図面を参照して本発明の一実施例に係るマルチプ
ロセッサシステムについて説明する。(Embodiment) A multiprocessor system according to an embodiment of the present invention will be described below with reference to the drawings.
第1図は第1の実施例システムの概略構成を示すブロッ
ク図で、la、 lb、〜1nはそれぞれシステムバス
2に接続されたプロセッサ・モジュール、4は上記シス
テムバス2に接続されて前記プロセッサ・モジュールl
a、lb、〜Inに共用される共有メモリである。FIG. 1 is a block diagram showing a schematic configuration of the system of the first embodiment, where la, lb, ~1n are processor modules connected to the system bus 2, and 4 is a processor module connected to the system bus 2.・Module l
This is a shared memory shared by a, lb, and ~In.
しかしてこのシステムが特徴としている点は、前記各プ
ロセッサ・モジュールla、Ib、〜1nに、そのプロ
セッサ12によりアクセスされるタイマ一部11をそれ
ぞれ設け、これらのタイマ一部11を前記各プロセッサ
・モジュール1a、1b、〜inに対して共通に設けら
れたタイマ信号発生器13からのタイマ信号、例えばシ
ステムクロック信号を用いて同時に駆動し、各タイマ一
部11にてそれぞれ計時される現在時刻をそれぞれレジ
スタ3bに格納するようにした点にある。また前記各プ
ロセッサ・モジュール1a、lb、〜1nにそれぞれ設
けられたタイマ部11を、システムに共通なタイマ初期
化信号、例えばシステムリセット信号を用いて一斉に初
期化するようにした点を特徴としている。However, the feature of this system is that each of the processor modules la, Ib, to 1n is provided with a timer part 11 that is accessed by the processor 12 thereof, and these timer parts 11 are The modules 1a, 1b, . The point is that each is stored in the register 3b. Further, the timer sections 11 provided in each of the processor modules 1a, lb, to 1n are initialized all at once using a timer initialization signal common to the system, for example, a system reset signal. There is.
即ち、タイマ信号発生器13は所定周期のタイマ信号(
例えばシステムクロック信号またはその分周信号)を発
生しており、各プロセッサ・モジュールla、 lb、
〜Inにそれぞれ設けられたタイマ部11は、システム
リセット信号等の初期化信号を受けてそれぞれ一斉に初
期化された後、上記タイマ信号をカウントする。このタ
イマ信号のカウントにより、各プロセッサ・モジュール
la、 lb、〜1nのタイマ部11におけるレジスタ
3bは、現在時刻を示す保持データを[1]ずつインク
リメントすることになる。That is, the timer signal generator 13 generates a timer signal (
For example, the system clock signal or its frequency divided signal) is generated for each processor module la, lb,
The timer sections 11 provided at the respective terminals 1 to 2 are initialized all at once in response to an initialization signal such as a system reset signal, and then count the timer signals. By counting this timer signal, the register 3b in the timer unit 11 of each processor module la, lb, to 1n increments the held data indicating the current time by [1].
尚、前記初期化信号は、システムの起動時に1回発せら
れるシステムリセット信号であっても良いし、成るプロ
セッサ・モジュールが所定のプログラムに従って発生す
るリセット信号であっても良い。The initialization signal may be a system reset signal that is issued once when the system is started, or may be a reset signal that is generated by a processor module according to a predetermined program.
かくしてこのように構成されたシステムによれば、各プ
ロセッサ・モジュールla、 lb、〜inにそれぞれ
設けられたタイマ部11は、共通のタイミングで一斉に
初期化された後、同一のタイマ信号を同時にカウントし
て現在時刻をそれぞれ求めるので、これらの各タイマ部
IIにそれぞれ得られる現在時刻は全て等しいものとな
る。しかも各プロセッサ12が現在時刻を必要とする場
合には、そのプロセッサ・モジュール内に設けられてい
るタイマ部11を他のプロセッサとは独立にアクセスす
れば良いので、リアルタイムに現在時刻を参照すること
が可能となる。According to the system configured in this manner, the timer sections 11 provided in each of the processor modules la, lb, ~in are initialized all at once at a common timing, and then simultaneously receive the same timer signal. Since the current time is determined by counting, the current times obtained by each of these timer sections II are all equal. Moreover, if each processor 12 needs the current time, it can access the timer unit 11 provided in that processor module independently from other processors, so the current time can be referenced in real time. becomes possible.
従ってデパックの目的的の為の各プロセッサ12の処理
内容の正確なタイムチャートを作成する等の用途に有効
に利用することが可能となる。Therefore, it is possible to effectively utilize it for purposes such as creating an accurate time chart of the processing contents of each processor 12 for the purpose of depacking.
またこのようなシステム構成によれば、現在時刻の参照
にシステムバス2をアクセスする必要がないので、複数
のプロセッサ12が同時に現在時刻を参照する必要があ
る場合でも、従来システムのようなバス競合が生じるこ
とがない。換言すれば他のプロセッサの干渉を受けるこ
となしに、それぞれ独立に現在時刻をアクセスすること
が可能となる。この結果、頻繁に現在時刻を参照するデ
ータベース管理を行うような場合であっても、各プロセ
ッサ12はリアルタイムに現在時刻を参照することが可
能となる。Furthermore, according to such a system configuration, there is no need to access the system bus 2 to reference the current time, so even if multiple processors 12 need to reference the current time at the same time, there is no bus contention as in conventional systems. never occurs. In other words, each processor can access the current time independently without interference from other processors. As a result, even when performing database management that frequently refers to the current time, each processor 12 can refer to the current time in real time.
またプロセッサ・モジュール1a、lb、〜1nとシス
テムバス2との間にキャッシュメモリがそれぞれ設けら
れる場合であっても、各プロセッサ12はキャッシュメ
モリの機能に左右されることなく、上述したようにそれ
ぞれリアルタイムに現在時刻を求めることができ、従来
システムでの不具合を効果的に解消することができる。Furthermore, even if a cache memory is provided between each of the processor modules 1a, lb, ~1n and the system bus 2, each processor 12 can operate as described above without depending on the function of the cache memory. The current time can be determined in real time, and problems with conventional systems can be effectively resolved.
ところで上述したシステムでは、各プロセッサ・モジュ
ールla、 lb、〜inにそれぞれ設けられたタイマ
部11は、システムリセット信号を受けた時点からの経
過時間をそれぞれ計時することになる。By the way, in the above-mentioned system, the timer sections 11 provided in each of the processor modules la, lb, -in respectively measure the elapsed time from the time when the system reset signal is received.
然し乍ら、システム仕様としては上述した経過時間では
なく、標準時としての現在時刻を求めたいことがしばし
ばある。However, as a system specification, it is often desired to obtain the current time as standard time rather than the elapsed time described above.
このような場合には、例えばそのシステムを第2図に示
すように構成すれば良い。In such a case, the system may be configured as shown in FIG. 2, for example.
この第2図に示すシステムは、前記システムバス2にバ
ックアップ電源にてバックアップされ、システム稼働時
および非稼働時に拘らず常に所定周期のタイマ信号を発
生し、且つこのタイマ信号を計時して現在時刻を得る基
準タイマ14を設けている点を特徴とする。しかしてこ
の基準タイマ14は、前記所定周期のタイマ信号を発生
するタイマ信号源3aを備えると共に、このタイマ信号
を定常的に計時して得られる現在時刻を格納する第1の
レジスタ3bと、前述したタイマ初期化信号(システム
リセット信号)を受けたとき、その時点の現在時刻を対
比格納する第2のレジスタ3cを備えて構成される。The system shown in FIG. 2 is backed up by a backup power supply to the system bus 2, always generates a timer signal of a predetermined period regardless of whether the system is in operation or not, and measures this timer signal to determine the current time. The present invention is characterized in that it is provided with a reference timer 14 for obtaining . The reference timer 14 includes a timer signal source 3a that generates the timer signal of the predetermined cycle, and a first register 3b that stores the current time obtained by regularly measuring the timer signal, and The second register 3c is configured to compare and store the current time when the timer initialization signal (system reset signal) is received.
尚、各プロセッサーモジニールla、1b、〜Inは、
この第3図では内部バスを介してタイマ部11とプロセ
ッサ12とを接続し、更にその内部バスにローカルメモ
リ15を接続した構成例について示しているが、基本的
には先の第1図に示した実施例システムと同様に構成さ
れる。In addition, each processor module la, 1b, ~In is,
Although FIG. 3 shows an example of a configuration in which the timer unit 11 and the processor 12 are connected via an internal bus, and the local memory 15 is further connected to the internal bus, basically the structure is similar to that shown in FIG. The system is configured similarly to the example system shown.
しかしてこのように構成されたシステムでは、各プロセ
ッサ・モジュールla、lb、〜1nにそれぞれ設けら
れたタイマ部11は、システムリセット信号を受けて一
斉に初期化された後、共通なタイマ信号をそれぞれ同時
に計時して各モジュールに共通な現在時刻を求める。こ
のような計時動作が行われる各タイマ部11に比較して
前記基準タイマ14は、前記各タイマ部11がそれぞれ
初期化されるとき、そのシステムリセット信号を受けて
前記レジスタ3bに得られている現在時刻Toを第2の
レジスタ3cに退避させ、これを保存するように構成さ
れている。この第2のレジスタ3cは前記各プロセッサ
・モジュールla、lb、〜inがシステムバス2を介
して適宜アクセス可能に設けられており、各プロセッサ
12は上記第2のレジスタ8cに退避保存されたシステ
ムリセット時の時刻Teを適宜参照読み出しし得るよう
になっている。However, in a system configured in this way, the timer units 11 provided in each processor module la, lb, ~1n are initialized all at once in response to a system reset signal, and then receive a common timer signal. The current time common to each module is determined by measuring the time of each module at the same time. Compared to each timer unit 11 that performs such a time measurement operation, the reference timer 14 receives a system reset signal obtained in the register 3b when each timer unit 11 is initialized. The current time To is saved in the second register 3c and is saved therein. This second register 3c is provided so that each processor module la, lb, ~in can access it as appropriate via the system bus 2, and each processor 12 has a system stored in the second register 8c. The time Te at the time of reset can be read out for reference as appropriate.
ここで前記各プロセッサ・モジュールla、 lb、〜
1nのタイマ部11が計時している現在時刻は、前述し
たシステムリセット信号により初期化された後のシステ
ム固有な時刻である。これに対して基準タイマ14が計
時している時刻は、システムの稼働・非稼働に拘らず定
常的に計時されているものであるから絶対的な時刻であ
ると云える。そして上述したシステムリセット信号によ
る初期化時点の時刻Tcは、基準タイマ部14のレジス
タ8cに保存されている。Here, each of the processor modules la, lb, ~
The current time measured by the timer section 11 of 1n is a system-specific time after being initialized by the system reset signal described above. On the other hand, the time measured by the reference timer 14 can be said to be an absolute time because it is constantly measured regardless of whether the system is in operation or not. The time Tc at the time of initialization by the system reset signal described above is stored in the register 8c of the reference timer section 14.
しかしてプロセッサ・モジュール1a、1b、〜1nが
絶対的な現在時刻を必要とするとき、そのプロセッサ1
2はシステムバス2を介して基準タイマ14をアクセス
し、前記レジスタ3cに退避されている初期化時の時刻
Tcを読み出す。そしてそのプロセッサ・モジュールの
タイマ部11で計時されている現在時刻Toを読み出し
、これらの時刻情報から絶対的な現在時刻を求めるもの
となっている。Therefore, when a processor module 1a, 1b, to 1n needs absolute current time, the processor 1
2 accesses the reference timer 14 via the system bus 2 and reads out the initialization time Tc saved in the register 3c. Then, the current time To measured by the timer section 11 of the processor module is read out, and the absolute current time is determined from this time information.
尚、絶対的な現在時刻は、上記各時刻To、Tcの単位
系が等しい場合には、[To +Te ]として算出さ
れる。Note that the absolute current time is calculated as [To + Te] when the unit systems of the above-mentioned times To and Tc are the same.
このようにして求められる絶対的な現在時刻は、各プロ
セッサ12がレジスタ3cをアクセスするタイミングが
異なっていても、その時間差分だけタイマ部11により
求められる現在時刻Toが進んでいることから、常に正
確に絶対的な現在時刻が求められることになる。The absolute current time obtained in this way is always advanced because the current time To obtained by the timer section 11 is advanced by the time difference even if the timing at which each processor 12 accesses the register 3c is different. Accurate and absolute current time is required.
尚、前記各プロセッサーモジニール1a、1b、〜In
のローカルメモリ15に現在時刻Toの情報を格納して
おけば、−々タイマ部11をアクセスする必要がなくな
るので、その分、絶対的な現在時刻を−早く求めること
が可能となる。In addition, each of the above-mentioned processor modules 1a, 1b, ~In
If information about the current time To is stored in the local memory 15 of the computer, there is no need to access the timer section 11, so that the absolute current time can be determined earlier.
かくしてこのように構成されたシステムによれば、先の
実施例の効果に加えて、常に正確に絶対的な現在時刻を
簡易に求めることが可能となる。According to the system configured in this way, in addition to the effects of the previous embodiment, it is possible to always accurately and easily obtain the absolute current time.
尚、本発明は上述した実施例に限定されるものではなく
、その要旨を逸脱しない範囲で種々変形して実施可能で
あることは勿論のことである。当然のことながら、各プ
ロセッサがそれぞれキャッシュメモリを備えたシステム
にも適用可能なことは云うまでもない。It should be noted that the present invention is not limited to the embodiments described above, and it goes without saying that various modifications can be made without departing from the spirit of the invention. Needless to say, the present invention is also applicable to a system in which each processor is provided with a cache memory.
[発明の効果]
以上説明したように本発明によれば、マルチプロセッサ
システムを構築する複数のプロセッサ・モジュールにそ
れぞれタイマを設け、これらの各タイマを共通なタイマ
初期化信号により一斉に初期化した後、同一のタイマ信
号を用いてそれぞれ同時に計時駆動するので、各タイマ
によりそれぞれ計時される時刻を正確に一致させること
が可能となる。そしてこれらの各タイマにより計時され
る時刻を各プロセッサ・モジュール毎にそれぞれ内部的
にアクセスさせて読み出すことが可能となるので、他の
プロセッサとの間での干渉を招くことなくリアルタイム
に現在時刻をそれぞれ求めることを可能とする等の実用
上多大なる効果が奏せられる。[Effects of the Invention] As explained above, according to the present invention, a timer is provided for each of the plurality of processor modules constructing a multiprocessor system, and each of these timers is initialized all at once by a common timer initialization signal. After that, the clocks are driven simultaneously using the same timer signal, so that it is possible to accurately match the times measured by each timer. Since the time measured by each of these timers can be accessed and read internally for each processor module, it is possible to read the current time in real time without causing interference with other processors. A great practical effect can be achieved, such as making it possible to obtain each of these.
第1図は本発明の一実施例に係るマルチプロセッサシス
テムの概略構成を示すブロック図、第2図は本発明の別
の実施例システムの概略構成を示すブロック図、第3図
および第4図はそれぞれ従来システムの問題点を説明す
る為の図である。
1a、1b、〜1n・・・プロセッサ・モジュール、2
・・・システムバス、3・・・タイマ・モジュール、3
a・・・タイマ信号源、3b・・・レジスタ、3c・・
・レジスタ、4・・・共有メモリ、11・・・タイマ部
、12・・・プロセッサ、13・・・タイマ信号発生器
、14・・・タイマ信号源、15・・・ローカルメモリ
。FIG. 1 is a block diagram showing a schematic configuration of a multiprocessor system according to one embodiment of the present invention, FIG. 2 is a block diagram showing a schematic configuration of a system according to another embodiment of the present invention, and FIGS. 3 and 4 are diagrams for explaining the problems of the conventional system. 1a, 1b, ~1n...processor module, 2
...System bus, 3...Timer module, 3
a...Timer signal source, 3b...Register, 3c...
- Register, 4... Shared memory, 11... Timer unit, 12... Processor, 13... Timer signal generator, 14... Timer signal source, 15... Local memory.
Claims (4)
構成されるマルチプロセッサシステムにおいて、 前記各プロセッサ・モジュールにそのプロセッサからア
クセス可能なタイマをそれぞれ設け、これらの各タイマ
を同一のタイマ初期化信号により同時に初期化すると共
に、同一のタイマ信号によりそれぞれ駆動してなること
を特徴とするマルチプロセッサシステム。(1) In a multiprocessor system configured by interconnecting a plurality of processor modules, each processor module is provided with a timer that can be accessed from the processor, and each of these timers is controlled by the same timer initialization signal. What is claimed is: 1. A multiprocessor system characterized in that the multiprocessor system is simultaneously initialized by the processors and driven by the same timer signal.
用いると共に、タイマ信号としてシステムクロック信号
、またはこのシステムクロック信号を分周してなる信号
を用いることを特徴とする請求項(1)に記載のマルチ
プロセッサシステム。(2) A system reset signal is used as the timer initialization signal, and a system clock signal or a signal obtained by frequency-dividing the system clock signal is used as the timer signal. processor system.
構成されるマルチプロセッサシステムにおいて、 前記各プロセッサ・モジュールにそのプロセッサからア
クセス可能なタイマをそれぞれ設けると共に、システム
の稼働時・非稼動時に拘ることなく定常的に動作する基
準タイマを設け、前記各タイマを同一のタイマ初期化信
号により同時に初期化すると共に、同一のタイマ信号に
よりそれぞれ駆動し、前記各タイマを前記タイマ初期化
信号を用いて同時に初期化する際、前記基準タイマによ
り計時される現在時刻を前記各プロセッサ・モジュール
からそれぞれアクセス可能なレジスタに退避させること
を特徴とするマルチプロセッサシステム。(3) In a multiprocessor system configured by interconnecting a plurality of processor modules, each processor module is provided with a timer that can be accessed from the processor, and the system is controlled when the system is in operation or not. A reference timer is provided that operates steadily without any noise, and each of the timers is simultaneously initialized by the same timer initialization signal, and each of the timers is driven by the same timer signal, and each of the timers is simultaneously activated by using the timer initialization signal. A multiprocessor system characterized in that, upon initialization, the current time measured by the reference timer is saved in a register that can be accessed from each of the processor modules.
ジュールにそれぞれ設けられたタイマが初期化された後
に計時している時刻に対する現在時刻の算出に用いられ
ることを特徴とする請求項(3)に記載のマルチプロセ
ッサシステム。(4) Claim (3) characterized in that the time saved in the register is used to calculate the current time with respect to the time measured after the timer provided in each processor module is initialized. The multiprocessor system described in .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2084606A JPH03282959A (en) | 1990-03-30 | 1990-03-30 | Multiprocessor system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2084606A JPH03282959A (en) | 1990-03-30 | 1990-03-30 | Multiprocessor system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03282959A true JPH03282959A (en) | 1991-12-13 |
Family
ID=13835349
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2084606A Pending JPH03282959A (en) | 1990-03-30 | 1990-03-30 | Multiprocessor system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03282959A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05165792A (en) * | 1991-12-16 | 1993-07-02 | Fujitsu Ltd | Timer synchronization method |
| WO2009147726A1 (en) * | 2008-06-03 | 2009-12-10 | 富士通株式会社 | Information processing unit, method for controlling information processing unit, and semiconductor device |
-
1990
- 1990-03-30 JP JP2084606A patent/JPH03282959A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05165792A (en) * | 1991-12-16 | 1993-07-02 | Fujitsu Ltd | Timer synchronization method |
| WO2009147726A1 (en) * | 2008-06-03 | 2009-12-10 | 富士通株式会社 | Information processing unit, method for controlling information processing unit, and semiconductor device |
| JP5035416B2 (en) * | 2008-06-03 | 2012-09-26 | 富士通株式会社 | Information processing apparatus, information processing apparatus control method, and semiconductor device |
| US8423812B2 (en) | 2008-06-03 | 2013-04-16 | Fujitsu Limited | Time correction in a semiconductor device using correction information provided by an adjacent semiconductor device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0495254B1 (en) | Emulation device for emulating a non-bond-out microcontroller amd microcontroller for use in such emulation device | |
| EP0892335B1 (en) | System and method for mapping processor clock values in a multiprocessor system | |
| US5875320A (en) | System and method for synchronizing plural processor clocks in a multiprocessor system | |
| US4591977A (en) | Plurality of processors where access to the common memory requires only a single clock interval | |
| US5715438A (en) | System and method for providing time base adjustment | |
| DE69900947D1 (en) | BACK-TRACKING OF MEMORY PAGE MODIFICATION IN A BRIDGE FOR A MULTIPROCESSOR SYSTEM | |
| JPH11134292A (en) | Memory control system using bus of pipeline system | |
| US4803708A (en) | Time-of-day coincidence system | |
| JPH03282959A (en) | Multiprocessor system | |
| US20030101365A1 (en) | Method, system and program products for generating sequence values that are unique across operating system images | |
| JPH0650496B2 (en) | Method and apparatus for improving the performance of a central processing unit | |
| US5548774A (en) | Microcomputer system providing time management enabling control and acquisition of data indicative of condition changes occurring at high speed | |
| Froehlich et al. | Achieving precise coordinated cluster time in a cluster environment | |
| JPH0455272B2 (en) | ||
| US4567571A (en) | Memory control for refreshing in a step mode | |
| US20010005870A1 (en) | External bus control system | |
| SU1490678A1 (en) | Two-port memory control unit | |
| SU1656548A1 (en) | Data output device | |
| KR100197410B1 (en) | Recognition signal generation circuit using counters of all electronic exchanges | |
| SU1661778A1 (en) | Device for interfacing two computers to common memory | |
| SU1621037A1 (en) | Device for controlling data exchange between computer and groups of users | |
| SU1566360A1 (en) | Device for interfacing two truncks | |
| SU1575190A1 (en) | Device for controlling dynamic memory | |
| SU1545219A1 (en) | Multichannel device for distribution of jobs between processors | |
| SU552604A1 (en) | Channel Coupler |