JP3709355B2 - Clock synchronization system and method - Google Patents

Clock synchronization system and method Download PDF

Info

Publication number
JP3709355B2
JP3709355B2 JP2001187430A JP2001187430A JP3709355B2 JP 3709355 B2 JP3709355 B2 JP 3709355B2 JP 2001187430 A JP2001187430 A JP 2001187430A JP 2001187430 A JP2001187430 A JP 2001187430A JP 3709355 B2 JP3709355 B2 JP 3709355B2
Authority
JP
Japan
Prior art keywords
clock
board
data
predetermined
generated
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.)
Expired - Fee Related
Application number
JP2001187430A
Other languages
Japanese (ja)
Other versions
JP2003006178A (en
Inventor
佳晃 渡辺
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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2001187430A priority Critical patent/JP3709355B2/en
Publication of JP2003006178A publication Critical patent/JP2003006178A/en
Application granted granted Critical
Publication of JP3709355B2 publication Critical patent/JP3709355B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明が属する技術分野】
本発明は、カード上のLSIのクロックを各カードのLSI相互間で同期化させる技術に関し、特にマルチプロセッサシステムで用いられるカードに搭載されるLSIのクロックを、各カードのLSI相互間で同期化させる技術に関する。
【0002】
【従来技術】
複数のプロセッサカードから構成されるマルチプロセッサシステムでは、各プロセッサカードのLSIを同期動作させるために、同一のクロックを外部から各LSIに供給していた。そのため、現在のクロックの周波数が変更されると、変更後のクロックをLSIに供給しなければならない。そこで、各LSIには、現在のクロックを入力するピンとは別に、変更後のクロックを入力するためのピンを予め設けていた。
【0003】
【発明が解決しようとする課題】
しかしながら、上記のようにクロックの周波数が変更されることを予測してLSIにピンを設けるとなると、LSIのピン数が増加してしまう問題があった。
【0004】
そこで、本発明が解決しようとする課題は、各カードのLSIに余分なピンを設けなくても、各LSIで使用されているクロックの周波数を任意に変更でき、各カードにおけるLSIのクロックを各LSIの相互間で同期させることのできる技術を提供することにある。
【0005】
【課題を解決するための手段】
前記課題は、第1の基板と第2の基板とを有し、第1の基板上の回路におけるクロックの位相と、第2の基板上の回路におけるクロックの位相とを同期させるシステムであって、
第1の基板は、
外部から入力される外部クロックの周期をn倍周期にしたクロックを生成する第1のクロック生成手段と、
前記第1のクロック生成手段で生成したクロックに従って、所定のデータを送信する送信手段とを有し、
第2の基板は、
外部から入力される外部クロックの周期をn倍周期にしたクロックを生成する第2のクロック生成手段と、
前記第2のクロック生成手段で生成したクロックに従って、データを受信する受信手段と、
前記送信手段が所定のデータを送信してから所定の時間内に前記受信手段が前記所定のデータを受信できない場合、前記受信手段が前記所定の時間内に所定のデータを受信するよう、前記第2のクロック生成手段で生成したクロックの立ち上がりを外部クロックの一周期分ずつ遅延させる遅延手段とを有することを特徴とするクロック同期化システムによって解決される。
【0006】
特に、前記第1の基板の送信手段は、
前記第1のクロック生成手段で生成したクロックに従ってカウントを開始するカウンタを有し、
前記カウンタのカウント値が所定の値になると、前記所定のデータを送信するよう構成されていることを特徴とする。
【0007】
また、前記第2の基板の受信手段は、
前記第2のクロック生成手段で生成したクロックに従ってカウントを開始するカウンタを有し、
前記カウンタのカウント値が所定の値になると、データを受信するよう構成されていることを特徴とする。
【0009】
前記課題は、基板上の回路におけるクロックの位相を各基板の相互間で同期させるクロック同期化システムで用いられる基板であって、
外部から入力される外部クロックの周期をn倍周期にしたクロックを生成するクロック生成手段と、
前記クロック生成手段で生成したクロックに従って、所定のデータを送・受信する送・受信手段と、
前記所定のデータが送信されてから所定の時間内に前記送・受信手段が前記所定のデータを受信できない場合、前記受信手段が前記所定の時間内に所定のデータを受信するよう、前記クロック生成手段で生成したクロックの立ち上がりを、前記外部クロックの一周期分ずつ遅延させる遅延手段と
を有する基板によって解決される。
【0010】
特に、前記送・受信手段は、
前記クロック生成手段で生成したクロックに従ってカウントを開始するカウンタを有し、
前記カウンタのカウント値が所定の値になると、前記所定のデータを送・受信するよう構成されていることを特徴とする。
【0012】
前記課題は、プロセッサを搭載した複数の基板で構成されるマルチプロセッサシステムの前記各基板にて、基板上の回路におけるクロックの位相を各基板の相互間で同期させるクロック同期化方法であって、
各基板が、外部から入力される外部クロックの周期をn倍周期にしたクロックを生成するステップと、
前記複数の基板のうち所定の基板を基準となる基板とし、前記基準となる基板が、自己の生成したクロックに従って、所定のデータを送信するステップと、
前記基準となる基板以外の基板が、前記所定のデータが送信されてから所定の時間に前記所定のデータを受信できない場合、自己の生成したクロックの立ち上がりを前記外部クロックの一周期分ずつ遅延させ、前記所定の時間内に所定のデータを受信させるステップと
を有することを特徴とするクロック同期化方法によって解決される。
【0013】
【発明の実施の形態】
本発明の実施の形態について説明する。
【0014】
図1は本発明の実施の形態を説明するためのブロック図である。図2は本発明の実施の形態を説明するためのタイムチャートである。図3は診断制御部のブロック図である。図4は各CPUカードが生成するデファイナ信号を説明するためのタイムチャートである。図5はセル間制御部のフェーズカウンタのブロック図である。図6はセル間制御部が生成するデファイナ信号を説明するためのタイムチャートである。図7は本発明の実施の形態の動作を説明するためのフローチャートである。図8は本発明の実施の形態の動作を説明するためのフローチャートである。図9〜11は本発明の実施の形態の動作を説明するためのタイムチャートである。
【0015】
マルチプロセッサシステムは、図1に示すが如く、複数のプロセッサ及びメインメモリを搭載するCPUカード1〜4と、これらCPUカード1〜4間を接続するケーブル100とから構成されている。
【0016】
尚、本発明のマルチプロセッサシステムでは、ケーブル100の転送レート(最小遅延2クロック、最大遅延4クロック)が満されている場合、図2に示すが如く、CPUカードから送信されるデータは4クロック(後述するセル間制御部の内部のクロック)後に他のCPUカードで受信される。そして、CPUカード間で確実にデータの送・受信ができるように、送信側のCPUカードは送信したデータを2クロック分ホールドする。一方、ケーブル100の転送レートが満されていない場合、CPUカードから送信されるデータは、不定のデータとして他のカードで受信される。
【0017】
CPUカード1〜4は、CPU11〜26と、CPUカード1〜4の診断制御及び立上げ動作を行なう診断制御部111〜114と、CPUカード1〜4間のデータの送・受信を制御するセル間制御部121〜124と、CPU11〜26の調停制御及びキャッシュのコヒーレンシ制御を行なうプロセッサ制御部131〜134とから構成されている。
【0018】
続いて、診断制御部111〜114の構成について詳細に説明する。
【0019】
診断制御部111〜114は、各CPUカード1〜4の相互間で同期したクロック(以下、このクロックをシステムクロックという)で動作し、図3に示すが如く、デファイナ切換えレジスタ1111〜1141と、デファイナ生成カウンタ1112〜1142とを有する。
【0020】
尚、システムクロックの周波数は、セル間制御部121〜124における内部クロックの1/3の周波数である。
【0021】
デファイナ切換えレジスタ1111〜1141は、レジスタの値を任意に変更でき、デファイナ生成カウンタ1112〜1142が生成するデファイナ信号の生成タイミングを変更する。ここで、デファイナ信号とは、CPUカードにおけるLSI(例えば、診断制御部、セル間制御部)内部のクロックの周期をn倍周期にしたクロックをいう。
【0022】
デファイナ生成カウンタ1112〜1142は、システムクロックに従ってカウント値をインクリメントする。
【0023】
そして、デファイナ生成カウンタ1112〜1142は、カウント値がある一定の値に達したとき、システムクロックに同期し、システムクロックの周期をn倍周期にしたデファイナ信号を生成する。例えば、CPUカードの枚数(セル数)が4枚で、デファイナ切換えレジスタ1111に”0”が設定されている場合、図4に示すように、デファイナ生成カウンタ1112はセル数と同数の値をカウント(0,1,2,3)し、このデファイナ生成カウンタ1112のカウント値とデファイナ切換えレジスタ1111に設定されている値(0)とが一致したとき、”Hi”になるデファイナ信号を生成する。このようにして診断制御部111〜114は、システムクロックの周期を4倍周期にしたデファイナ信号を生成する。
【0024】
そして、診断制御部111〜114は、生成したデファイナ信号をセル間制御部121〜124に送信する。
【0025】
尚、診断制御部111〜114のデファイナ信号は、デファイナ生成カウンタ1112〜1142により生成されることから、デファイナ生成カウンタ1112〜1142のカウント値が一致していない場合、診断制御部111〜114のデファイナ信号は診断制御部111〜114の相互間で同期しない。
【0026】
更に、診断制御部111〜114は、自己の生成したデファイナ信号を診断制御部111〜114の相互間で同期させるため、所定のタイミングで送信されるデータを受信し、この受信したデータからデファイナ信号の位相が診断制御部111〜114の相互間で同期しているか否かを判断する。
そして、デファイナ信号の位相が診断制御部111〜114の相互間で同期している場合、診断制御部111〜114はデファイナ切換えレジスタ1111〜1141の値を維持し、デファイナ信号の同期動作を終了する。
【0027】
一方、デファイナ信号の位相が診断制御部111〜114の相互間で同期していない場合、診断制御部111〜114はデファイナ切換えレジスタ1111〜1141の値を所定の回数更新したか否かを判断する。
【0028】
そして、デファイナ切換えレジスタ1111〜1141の値を所定の回数更新した場合、診断制御部111〜114は、自己の生成したデファイナ信号の位相を診断制御部111〜114の相互間で同期させることができないと判断し、デファイナ信号の同期動作を終了する。
【0029】
一方、デファイナ切換えレジスタ1111〜1141の値を所定の回数更新していない場合、診断制御部111〜114は、デファイナ切換えレジスタ1111〜1141の値を更新してデファイナ信号の位相(デファイナ信号の立ち上がり)をシステムクロックの1周期分ずらし、更にデファイナ切換えレジスタ1111〜1141の値を1回更新したことを記憶する。
【0030】
尚、本発明の実施の形態では、CPUカード1〜4間でデータの送・受信が4クロック(システムクロック)内で行なわれることから、診断制御部111〜114は、最大でもデファイナ切換えレジスタ1111〜1141の値を3回更新することで、自己のデファイナ信号の位相をCPU1〜4の相互間で同期させることができる。
【0031】
次に、セル間制御部121〜124の構成について詳細に説明する。
【0032】
セル間制御部121〜124は、自己の内部クロックの周期をk倍周期にしたデファイナ信号を生成するためのフェーズカウンタ1211〜1241を有する。
【0033】
尚、CPUカード1〜4間では、セル間制御部121〜124の相互間でデファイナ信号の位相が同期している場合のみ、通常のデータの送・受信が行なわれる。
【0034】
フェーズカウンタ1211〜1241は、図5に示すように、デファイナ生成カウンタ1112〜1142からの桁上がりでインクリメントされるカウンタ1212〜1242と、クロック比(1:k)に対応し、内部クロックでインクリメントされるカウンタ1213〜1243とから構成され、これらのカウンタは診断制御部111〜114からのデファイナ信号を微分した信号でリセットされる。例えば、デファイナ生成カウンタ1112のカウント値が”0,1,2,3”とカウントされ、セル間制御部121のクロック比が1:2である場合、まずカウンタ1212及びカウンタ1213は、カウンタは診断制御部111〜114からのデファイナ信号を微分した信号でカウント値がリセットされて”0”になる。そして、カウンタ1212のカウント値は、まずデファイナ生成カウンタ1112のカウント値が”1”のとき、”1”となり、次にデファイナ生成カウンタ1112のカウント値が”2”のとき、”2”となり、更にデファイナ生成カウンタ1112のカウント値が”3”のとき、”3”となる。一方、カウンタ1213のカウント値は、セル間制御部111の内部クロックに同期してカウントされ、”0,1,2”となる。ここで、カウンタ1212のカウント値とカウンタ1213のカウント値との関係は、セル間制御部111の内部クロックがシステムクロックの3倍の周波数であることから、まずカウンタ1212のカウント値が0の間に、カウンタ1213のカウント値が”0,1,2”となり、次にカウンタ1212のカウント値が1の間に、カウント1213のカウント値が”0,1,2”となり、更にカウンタ1212のカウント値が2の間に、カウント1213のカウント値が”0,1,2”となり、最後にカウンタ1212のカウント値が3の間に、カウント1213のカウント値が”0,1,2”となるような関係にある。そして、カウンタ1212及びカウンタ1213でカウントした値が結合され、フェーズカウンタ1211のカウント値”00,01,02,10,11,12,20,21,22,30,31,32”として出力される。
【0035】
更に、セル間制御部121〜124は、フェーズカウンタ1211〜1214の任意の値をサンプリングしてデファイナ信号を生成する。例えば、セル間制御部121〜124の内部クロックの周期を2倍周期にしたデファイナ信号を生成する場合、図6に示すように、フェーズカウンタ1112〜1142の値が、”00、02、11、20、22、31”のとき、”Hi”となるデファイナ信号を生成する。
【0036】
このように、セル間制御部121〜124で生成するデファイナ信号は、診断制御部111〜114で生成したデファイナ信号に従って生成されるため、診断制御部111〜114で生成したデファイナ信号が診断制御部111〜111の相互間で同期すれば、セル間制御部121〜124で生成するデファイナ信号もセル間制御部121〜124の相互間で同期することになる。
【0037】
更に、セル間制御部121〜124は、診断制御部111〜114で生成したデファイナ信号を診断制御部111〜114の相互間で同期させるため、所定のタイミングでデータ”1”をセットし、このセットしたデータを送信する。
【0038】
また、セル間制御部121〜124は、所定のタイミングでデータを受信し、このデータを次の所定のタイミングまでホールドする。例えば、図7に示すように、CPUカード1からデータを送信し、この送信したデータをCPUカード2が受信するとした場合、CPUカード1のセル間制御部121は、フェーズカウンタ1211の値が”30”(タイミング1及び13)のとき、データ”1”をI/Oバッファにセットし、フェーズカウンタ1211の値が”00”(タイミング4及び16)のとき、データ”0”をI/Oバッファにセットし、このセットしたデータを送信する。そして、CPUカード2のセル間制御部122は、フェーズカウンタ1221の値が”01”のとき、データを受信し、この受信したデータをフェーズカウンタ1221の値が更に”01”になるまでI/Oバッファにホールドさせる。更に、診断制御部112は、I/Oバッファのデータを参照してデータが”1”であるか否かを判断し、データが”1”でない場合、デファイナ切換えレジスタ1121の値を更新して自己のデファイナ信号の位相をシステムクロックの一周期分ずらす。
【0039】
続いて、上記構成における動作について説明する。
【0040】
まず、CPUカード1〜4の診断制御部111〜114は、自己のデファイナ信号の位相を診断制御部111〜114の相互間で同期させるため、CPUカード1から所定のタイミングでデータ”1”を送信する。
【0041】
CPUカード1から送信されたデータを、CPUカード2〜4のセル間制御部122〜124はI/Oバッファにホールドする。
【0042】
そして、データを診断制御部112〜114は、I/Oバッファでホールドしたデータを参照し、この参照したデータが”1”であるか否かを判断する(Step 101)。
【0043】
受信したデータが”1”である場合(YESの場合)、診断制御部111〜114の相互間でデファイナ信号の位相が同期していることを示すので、診断制御部112〜114はデファイナ信号の同期処理を終了する(Step 102)。
【0044】
一方、受信データが‘0’の場合(NOの場合)、診断制御部111〜114の相互間でデファイナ信号の位相が同期していなことを示すので、診断制御部112〜114はデファイナ切替えレジスタ1121〜1141の値を3回更新したか否かを判断する(Step 103)。
【0045】
デファイナ切替えレジスタ1121〜1141の値を3回更新している場合(YESの場合)、診断制御部111〜114の相互間でデファイナ信号の位相を同期させることができないことを示すので、診断制御部112〜114はデファイナ信号の同期処理を終了する(Step 104)。
【0046】
一方、デファイナ切替えレジスタ1121〜1141の値を3回更新していない場合(NOの場合)、診断制御部112〜114はデファイナ切替えレジスタ1111〜1141の値を更新してデファイナ信号の位相を一周期ずらす(Step 105)。
【0047】
そして、デファイナ信号の位相を一周期ずらした後、診断制御部112〜114は、デファイナ切替えレジスタ1121〜1141の値を1回変更したことを記憶し(Step 106)、引き続き、Step 101〜Step 106を繰り返す。
【0048】
次に、デファイナ信号の同期処理を具体的に説明するため、診断制御部111のデファイナ信号の位相と、診断制御部112のデファイナ信号の位相とを同期させる場合について説明する。
【0049】
尚、以下の説明では、図9に示が如く、診断制御部111のデファイナ信号の位相と診断制御部112のデファイナ信号の位相との位相差が、システムクロックの3周期分あるものとして説明する。
【0050】
まず、図9に示すが如く、CPUカード1のセル間制御部121は、フェーズカウンタ1211のカウント値が”00,30”(タイミング1,4,13,16)のとき、”Hi”になるデファイナ信号を生成する。この生成したデファイナ信号をトリガーにしてセル間制御部121は、フェーズカウンタ1211のカウント値が”30”のとき、I/Oバッファにデータ”1”をセットし、フェーズカウンタ1211のカウント値が”00”のとき、I/Oバッファにデータ”0”をセットする。そして、セル間制御部121は、セットしたデータを送信する。
【0051】
一方、CPUカード2のセル間制御部122は、フェーズカウンタ1221のカウント値が”01”(タイミング8及び20)のとき、”Hi”になるデファイナ信号を生成する。この生成したデファイナ信号をトリガーにしてセル間制御部1221は、フェーズカウンタ1211の値が”01”のとき、CPUカード1から送信されるデータを受信し、受信したデータをI/Oバッファでホールドする。
【0052】
そして、CPUカード2の診断制御部112は、I/Oバッファでホールドしたデータを参照し、このデータが”1”であるか否かを判断する。
【0053】
更に、診断制御部112は、I/Oバッファでホールドされているデータが”0”であることから、デファイナ切換えレジスタ1121の値をインクリメントして、自己のデファイナ信号の位相をシステムクロックの1周期分ずらす。
【0054】
これにより診断制御部111のデファイナ信号の位相と診断制御部112のデファイナ信号の位相との位相差が、システムクロックの2周期分となる。
【0055】
引き続き、図10に示すが如く、セル間制御部122は、デファイナ信号をトリガーにして(フェーズカウンタ1221のカウント値が”01”のとき)データを受信し、この受信したデータをI/Oバッファでホールドする。
【0056】
そして、診断制御部112は、I/Oバッファでホールドしているデータを参照し、このデータが”1”であるか否かを判断する。
【0057】
更に、診断制御部112は、I/Oバッファでホールドされているデータが”0”であることから、デファイナ切換えレジスタ1121の値をインクリメントして、自己のデファイナ信号の位相をシステムクロックの1周期分ずらす。
【0058】
これにより診断制御部111のデファイナ信号の位相と診断制御部112のデファイナ信号の位相との位相差が、システムクロックの1周期分となる。
【0059】
再度、図11に示すが如く、セル間制御部122は、デファイナ信号をトリガーにして(フェーズカウンタ1221のカウント値が”01”のとき)データを受信し、この受信したデータをI/Oバッファでホールドする。
【0060】
そして、診断制御部112は、I/Oバッファでホールドしているデータを参照し、このデータが”1”であるか否かを判断する。
【0061】
更に、診断制御部112は、I/Oバッファでホールドされているデータが”0”であることから、デファイナ切換えレジスタ1121の値をインクリメントして、自己のデファイナ信号の位相をシステムクロックの1周期分ずらす。
【0062】
これにより診断制御部111のデファイナ信号の位相と診断制御部112のデファイナ信号の位相とが同期したことになる。
【0063】
最後に、診断制御部111,112の相互間でデファイナ信号の位相が同期したことを判断するため、セル間制御部122は、デファイナ信号をトリガーにして(フェーズカウンタ1221のカウント値が”01”のとき)データを受信し、この受信したデータをI/Oバッファでホールドする。
【0064】
そして、診断制御部112は、I/Oバッファでホールドしているデータを参照し、このデータが”1”であるか否かを判断する。
【0065】
更に、診断制御部112は、図7に示すように、I/Oバッファでホールドしたデータの値が”1”であることから、セル間制御部121のデファイナ信号の位相とセル間制御部122のデファイナ信号の位相とが同期したと判断し、デファイナ信号の同期処理を終了する。
【0066】
このように、CPUカード間で同期したn倍周期のクロック(1/n周波数のクロック)を外部から供給することなく、各CPUカードのLSIでn倍周期のクロック(デファイナ信号)を生成し、この生成したデファイナ信号の位相を各LSIの相互間で同期させることができる。
【0067】
また、セル間制御部121〜124のデファイナ信号は、内部クロックに基づいて生成されるため、デファイナ信号の周波数に変更があっても、変更後の周波数のデファイナ信号を生成することができる。
【0068】
尚、本発明の実施の形態では、デファイナ生成カウンタ1112〜1142及びフェーズカウンタ1211〜1241のカウント値をインクリメントする場合について説明したが、この場合に限るものではない。例えば、デファイナ生成カウンタ1112〜1142及びフェーズカウンタ1211〜1241のカウント値をデクリメントするようにしてもよい。
【0069】
【発明の効果】
本発明によれば、カードのLSIで生成したn倍周期のクロックの位相を、各LSIの相互間で同期させために既存のインタフェースを使用するため、LSIのピン数の削減をことができるという優れた効果を奏する。
【0070】
また、本発明によれば、LSIにおけるn倍周期のクロックを内部クロックに基づいて生成するため、将来的にクロックの周波数が変更されても、新たに変更後のクロックをLSIに供給する必要がないという優れた効果を奏する。
【図面の簡単な説明】
【図1】本発明の実施の形態を説明するためのブロック図である。
【図2】本発明の実施の形態を説明するためのタイムチャートである。
【図3】診断制御部のブロック図である。
【図4】各CPUカードが生成するデファイナ信号を説明するためのタイムチャートである。
【図5】セル間制御部のフェーズカウンタのブロック図である。
【図6】セル間制御部が生成するデファイナ信号を説明するためのタイムチャートである。
【図7】本発明の実施の形態の動作を説明するためのフローチャートである。
【図8】本発明の実施の形態の動作を説明するためのフローチャートである。
【図9】本発明の実施の形態の動作を説明するためのタイムチャートである。
【図10】本発明の実施の形態の動作を説明するためのタイムチャートである。
【図11】本発明の実施の形態の動作を説明するためのタイムチャートである。
【符号の説明】
1 CPUカード
111 診断制御部
1111 デファイナ切換えレジスタ
1112 デファイナ生成カウンタ
121 セル間制御部
1211 フェーズカウンタ
[0001]
[Technical field to which the invention belongs]
The present invention relates to a technology for synchronizing LSI clocks on a card between LSIs on each card, and in particular, synchronizes LSI clocks mounted on a card used in a multiprocessor system between LSIs on each card. It is related to the technology.
[0002]
[Prior art]
In a multiprocessor system composed of a plurality of processor cards, the same clock is supplied to the LSIs from the outside in order to synchronize the LSIs of the processor cards. Therefore, when the current clock frequency is changed, the changed clock must be supplied to the LSI. Therefore, in addition to a pin for inputting the current clock, each LSI is previously provided with a pin for inputting the changed clock.
[0003]
[Problems to be solved by the invention]
However, if it is predicted that the clock frequency will be changed as described above and pins are provided in the LSI, there is a problem that the number of pins of the LSI increases.
[0004]
Therefore, the problem to be solved by the present invention is that the frequency of the clock used in each LSI can be arbitrarily changed without providing an extra pin in the LSI of each card. An object of the present invention is to provide a technique capable of synchronizing LSIs.
[0005]
[Means for Solving the Problems]
The object is a system that includes a first substrate and a second substrate, and synchronizes a clock phase in a circuit on the first substrate with a clock phase in a circuit on the second substrate. ,
The first substrate is
First clock generation means for generating a clock in which the period of an external clock input from the outside is n-fold;
Transmission means for transmitting predetermined data in accordance with the clock generated by the first clock generation means,
The second substrate is
Second clock generating means for generating a clock in which the period of an external clock input from the outside is set to n times the period;
Receiving means for receiving data in accordance with the clock generated by the second clock generating means;
If the receiving means cannot receive the predetermined data within a predetermined time after the transmitting means transmits the predetermined data, the receiving means receives the predetermined data within the predetermined time. And a delay means for delaying the rising edge of the clock generated by the second clock generation means by one period of the external clock .
[0006]
In particular, the transmission means of the first substrate is
A counter that starts counting according to the clock generated by the first clock generation means;
When the count value of the counter reaches a predetermined value, the predetermined data is transmitted.
[0007]
The receiving means of the second substrate is
A counter that starts counting according to the clock generated by the second clock generation means;
Data is received when the count value of the counter reaches a predetermined value.
[0009]
The problem is a board used in a clock synchronization system that synchronizes the phase of a clock in a circuit on the board between the boards,
Clock generating means for generating a clock in which the period of an external clock input from the outside is n-fold;
Transmitting / receiving means for transmitting / receiving predetermined data in accordance with the clock generated by the clock generating means;
Generating the clock so that the receiving means receives the predetermined data within the predetermined time if the transmitting / receiving means cannot receive the predetermined data within a predetermined time after the predetermined data is transmitted; The clock rise generated by the means is solved by a substrate having delay means for delaying the external clock by one period .
[0010]
In particular, the transmission / reception means includes:
A counter that starts counting according to the clock generated by the clock generation means;
When the count value of the counter reaches a predetermined value, the predetermined data is transmitted / received.
[0012]
The problem is a clock synchronization method for synchronizing the phase of a clock in a circuit on a board between the boards in each board of a multiprocessor system including a plurality of boards on which a processor is mounted,
A step of generating a clock in which each substrate has a period of n times the external clock input from the outside;
A predetermined substrate among the plurality of substrates is set as a reference substrate, and the reference substrate transmits predetermined data in accordance with a clock generated by itself;
When a board other than the reference board cannot receive the predetermined data at a predetermined time after the predetermined data is transmitted, the rising edge of the clock generated by itself is delayed by one cycle of the external clock. And a step of receiving predetermined data within the predetermined time . This is solved by the clock synchronization method.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described.
[0014]
FIG. 1 is a block diagram for explaining an embodiment of the present invention. FIG. 2 is a time chart for explaining the embodiment of the present invention. FIG. 3 is a block diagram of the diagnosis control unit. FIG. 4 is a time chart for explaining a definator signal generated by each CPU card. FIG. 5 is a block diagram of the phase counter of the inter-cell control unit. FIG. 6 is a time chart for explaining a refiner signal generated by the inter-cell control unit. FIG. 7 is a flowchart for explaining the operation of the embodiment of the present invention. FIG. 8 is a flowchart for explaining the operation of the embodiment of the present invention. 9 to 11 are time charts for explaining the operation of the embodiment of the present invention.
[0015]
As shown in FIG. 1, the multiprocessor system includes CPU cards 1 to 4 on which a plurality of processors and a main memory are mounted, and a cable 100 that connects the CPU cards 1 to 4.
[0016]
In the multiprocessor system of the present invention, when the transfer rate (minimum delay 2 clocks, maximum delay 4 clocks) of the cable 100 is satisfied, the data transmitted from the CPU card is 4 clocks as shown in FIG. It is received by another CPU card after (clock inside the inter-cell control unit described later). The CPU card on the transmission side holds the transmitted data for two clocks so that the data can be reliably sent and received between the CPU cards. On the other hand, when the transfer rate of the cable 100 is not satisfied, the data transmitted from the CPU card is received by another card as indefinite data.
[0017]
The CPU cards 1 to 4 are CPUs 11 to 26, diagnostic control units 111 to 114 that perform diagnostic control and startup operations for the CPU cards 1 to 4, and cells that control data transmission and reception between the CPU cards 1 to 4. The control units 121 to 124 include processor control units 131 to 134 that perform arbitration control of the CPUs 11 to 26 and cache coherency control.
[0018]
Next, the configuration of the diagnosis control units 111 to 114 will be described in detail.
[0019]
The diagnosis control units 111 to 114 operate with a clock synchronized between the CPU cards 1 to 4 (hereinafter, this clock is referred to as a system clock), and as shown in FIG. And definer generation counters 1112 to 1142.
[0020]
The frequency of the system clock is 1/3 of the internal clock in the inter-cell controllers 121-124.
[0021]
The definer switching registers 1111 to 1141 can arbitrarily change the register values, and change the generation timing of the definer signal generated by the definer generation counters 1112 to 1142. Here, the definator signal refers to a clock in which the period of the clock inside the LSI (for example, diagnostic control unit, inter-cell control unit) in the CPU card is set to n times.
[0022]
The refiner generation counters 1112 to 1142 increment the count value according to the system clock.
[0023]
Then, when the count value reaches a certain value, the definer generation counters 1112 to 1142 generate a refiner signal that is synchronized with the system clock and has a system clock cycle of n times. For example, if the number of CPU cards (number of cells) is four and the definator switching register 1111 is set to “0”, the definer generation counter 1112 counts the same number of cells as shown in FIG. (0, 1, 2, 3), and when the count value of the definer generation counter 1112 coincides with the value (0) set in the definer switching register 1111, a definer signal that becomes “Hi” is generated. In this way, the diagnosis control units 111 to 114 generate a refiner signal in which the system clock period is four times as long.
[0024]
Then, the diagnosis control units 111 to 114 transmit the generated refiner signal to the inter-cell control units 121 to 124.
[0025]
Since the definator signals of the diagnosis control units 111 to 114 are generated by the definator generation counters 1112 to 1142, if the count values of the definator generation counters 1112 to 1142 do not match, the definer of the diagnosis control units 111 to 114 The signal is not synchronized between the diagnosis control units 111 to 114.
[0026]
Further, the diagnosis control units 111 to 114 receive data transmitted at a predetermined timing in order to synchronize the refiner signals generated by the diagnosis control units 111 to 114 with each other, and the definator signal is received from the received data. It is determined whether or not the phases are synchronized between the diagnosis control units 111 to 114.
When the phase of the definator signal is synchronized between the diagnosis control units 111 to 114, the diagnosis control units 111 to 114 maintain the values of the definer switching registers 1111 to 1141, and finish the synchronize operation of the definer signal. .
[0027]
On the other hand, when the phase of the definator signal is not synchronized between the diagnosis control units 111 to 114, the diagnosis control units 111 to 114 determine whether or not the values of the definator switching registers 1111 to 1141 have been updated a predetermined number of times. .
[0028]
When the values of the definator switching registers 1111 to 1141 are updated a predetermined number of times, the diagnosis control units 111 to 114 cannot synchronize the phases of the refiner signals generated by the diagnosis control units 111 to 114 with each other. And the synchronize operation of the definer signal is terminated.
[0029]
On the other hand, when the values of the definator switching registers 1111 to 1141 have not been updated a predetermined number of times, the diagnosis control units 111 to 114 update the values of the definer switching registers 1111 to 1141 and the phase of the definer signal (rise of the definer signal) Is shifted by one cycle of the system clock, and the fact that the values of the definer switching registers 1111 to 1141 are updated once is stored.
[0030]
In the embodiment of the present invention, data is transmitted and received between the CPU cards 1 to 4 within 4 clocks (system clocks). Therefore, the diagnosis control units 111 to 114 have the definer switching register 1111 at the maximum. By updating the value of ˜1141 three times, the phases of the own refiner signal can be synchronized among the CPUs 1 to 4.
[0031]
Next, the configuration of the inter-cell controllers 121 to 124 will be described in detail.
[0032]
The inter-cell controllers 121 to 124 include phase counters 1211 to 1241 for generating a refiner signal in which the cycle of its own internal clock is set to k times.
[0033]
It should be noted that normal data transmission / reception is performed between the CPU cards 1 to 4 only when the phase of the refiner signal is synchronized between the inter-cell controllers 121 to 124.
[0034]
As shown in FIG. 5, the phase counters 1211 to 1241 correspond to the counters 1212 to 1242 that are incremented by carry from the definer generation counters 1112 to 1142 and the clock ratio (1: k), and are incremented by the internal clock. Counters 1213 to 1243, and these counters are reset by a signal obtained by differentiating the refiner signals from the diagnosis control units 111 to 114. For example, when the count value of the definer generation counter 1112 is counted as “0, 1, 2, 3” and the clock ratio of the inter-cell control unit 121 is 1: 2, the counter 1212 and the counter 1213 are first diagnosed. The count value is reset to “0” with a signal obtained by differentiating the refiner signals from the control units 111 to 114. The count value of the counter 1212 is first “1” when the count value of the definator generation counter 1112 is “1”, and next becomes “2” when the count value of the definator generation counter 1112 is “2”. Further, when the count value of the definer generation counter 1112 is “3”, it becomes “3”. On the other hand, the count value of the counter 1213 is counted in synchronization with the internal clock of the inter-cell control unit 111 and becomes “0, 1, 2”. Here, the relationship between the count value of the counter 1212 and the count value of the counter 1213 is that the internal clock of the inter-cell control unit 111 has a frequency three times that of the system clock. In addition, the count value of the counter 1213 becomes “0, 1, 2”, and then the count value of the counter 1212 becomes “0, 1, 2” while the count value of the counter 1212 is “1”. While the value is 2, the count value of the count 1213 is “0, 1, 2”, and finally the count value of the counter 1212 is 3, while the count value of the count 1213 is “0, 1, 2”. There is such a relationship. Then, the values counted by the counter 1212 and the counter 1213 are combined and output as the count values “00, 01, 02, 10, 11, 12, 20, 21, 21, 22, 30, 31, 32” of the phase counter 1211. .
[0035]
Furthermore, the inter-cell controllers 121 to 124 sample arbitrary values of the phase counters 1211 to 1214 to generate a refiner signal. For example, when generating a refiner signal in which the cycle of the internal clock of the inter-cell controllers 121 to 124 is doubled, as shown in FIG. 6, the values of the phase counters 1112 to 1142 are “00, 02, 11, When 20, 22, 31 ", a refiner signal that becomes" Hi "is generated.
[0036]
Thus, the definer signal generated by the inter-cell controllers 121-124 is generated in accordance with the definer signal generated by the diagnostic controllers 111-114, so that the definer signal generated by the diagnostic controllers 111-114 is the diagnostic controller. If synchronization is performed between 111 to 111, the refiner signal generated by the inter-cell control units 121 to 124 is also synchronized between the inter-cell control units 121 to 124.
[0037]
Further, the inter-cell controllers 121 to 124 set data “1” at a predetermined timing in order to synchronize the refiner signals generated by the diagnostic controllers 111 to 114 between the diagnostic controllers 111 to 114. Send the set data.
[0038]
Further, the inter-cell controllers 121 to 124 receive data at a predetermined timing, and hold this data until the next predetermined timing. For example, as illustrated in FIG. 7, when data is transmitted from the CPU card 1 and the transmitted data is received by the CPU card 2, the inter-cell control unit 121 of the CPU card 1 indicates that the value of the phase counter 1211 is “ When “30” (timing 1 and 13), data “1” is set in the I / O buffer. When the value of the phase counter 1211 is “00” (timing 4 and 16), data “0” is set to I / O. Set in the buffer and send the set data. Then, the inter-cell control unit 122 of the CPU card 2 receives data when the value of the phase counter 1221 is “01”, and receives the received data until the value of the phase counter 1221 further becomes “01”. Hold in O buffer. Further, the diagnosis control unit 112 refers to the data in the I / O buffer to determine whether or not the data is “1”. If the data is not “1”, the diagnostic control unit 112 updates the value of the definer switching register 1121. Shifts the phase of its own refiner signal by one cycle of the system clock.
[0039]
Next, the operation in the above configuration will be described.
[0040]
First, the diagnosis control units 111 to 114 of the CPU cards 1 to 4 synchronize the phases of their own refiner signals between the diagnosis control units 111 to 114, so that data “1” is sent from the CPU card 1 at a predetermined timing. Send.
[0041]
The inter-cell controllers 122 to 124 of the CPU cards 2 to 4 hold the data transmitted from the CPU card 1 in the I / O buffer.
[0042]
Then, the diagnosis control units 112 to 114 for the data refer to the data held in the I / O buffer, and determine whether or not the referred data is “1” (Step 101).
[0043]
When the received data is “1” (in the case of YES), it indicates that the phase of the definator signal is synchronized between the diagnosis control units 111 to 114, so that the diagnosis control unit 112 to 114 The synchronization process is terminated (Step 102).
[0044]
On the other hand, when the received data is “0” (in the case of NO), it indicates that the phase of the definer signal is not synchronized between the diagnosis control units 111 to 114. It is determined whether or not the values of 1121 to 1141 have been updated three times (Step 103).
[0045]
When the value of the definator switching register 1121 to 1141 is updated three times (in the case of YES), it indicates that the phase of the definer signal cannot be synchronized between the diagnosis control units 111 to 114. 112-114 complete | finish the synchronizing process of a refiner signal (Step 104).
[0046]
On the other hand, when the values of the definator switching registers 1121 to 1141 have not been updated three times (in the case of NO), the diagnosis control units 112 to 114 update the values of the definer switching registers 1111 to 1141 and change the phase of the definer signal for one cycle. Shift (Step 105).
[0047]
Then, after shifting the phase of the definator signal by one cycle, the diagnosis control units 112 to 114 store that the values of the definator switching registers 1121 to 1141 have been changed once (Step 106), and then continue to Step 101 to Step 106. repeat.
[0048]
Next, in order to specifically describe the definer signal synchronization processing, a case where the phase of the definator signal of the diagnosis control unit 111 and the phase of the definer signal of the diagnosis control unit 112 are synchronized will be described.
[0049]
In the following description, as shown in FIG. 9, it is assumed that the phase difference between the phase of the definator signal of the diagnosis control unit 111 and the phase of the definer signal of the diagnosis control unit 112 is equivalent to three periods of the system clock. .
[0050]
First, as shown in FIG. 9, the inter-cell control unit 121 of the CPU card 1 becomes “Hi” when the count value of the phase counter 1211 is “00, 30” (timing 1, 4, 13, 16). Generate a refiner signal. Using this generated refiner signal as a trigger, the inter-cell control unit 121 sets the data “1” in the I / O buffer when the count value of the phase counter 1211 is “30”, and the count value of the phase counter 1211 is “ When “00”, data “0” is set in the I / O buffer. Then, the inter-cell control unit 121 transmits the set data.
[0051]
On the other hand, the inter-cell control unit 122 of the CPU card 2 generates a refiner signal that becomes “Hi” when the count value of the phase counter 1221 is “01” (timing 8 and 20). Using this generated refiner signal as a trigger, the inter-cell controller 1221 receives data transmitted from the CPU card 1 when the value of the phase counter 1211 is “01”, and holds the received data in the I / O buffer. To do.
[0052]
Then, the diagnosis control unit 112 of the CPU card 2 refers to the data held in the I / O buffer and determines whether or not this data is “1”.
[0053]
Further, since the data held in the I / O buffer is “0”, the diagnosis control unit 112 increments the value of the definator switching register 1121 and changes the phase of its own definator signal to one cycle of the system clock. Shift by minutes.
[0054]
As a result, the phase difference between the phase of the definator signal of the diagnosis control unit 111 and the phase of the definer signal of the diagnosis control unit 112 becomes two periods of the system clock.
[0055]
Subsequently, as shown in FIG. 10, the inter-cell control unit 122 receives data (when the count value of the phase counter 1221 is “01”) triggered by the definer signal, and receives the received data as an I / O buffer. Hold with.
[0056]
Then, the diagnosis control unit 112 refers to the data held in the I / O buffer, and determines whether or not this data is “1”.
[0057]
Further, since the data held in the I / O buffer is “0”, the diagnosis control unit 112 increments the value of the definator switching register 1121 and changes the phase of its own definator signal to one cycle of the system clock. Shift by minutes.
[0058]
As a result, the phase difference between the phase of the definator signal of the diagnosis control unit 111 and the phase of the definator signal of the diagnosis control unit 112 becomes one cycle of the system clock.
[0059]
Again, as shown in FIG. 11, the inter-cell control unit 122 receives data with the refiner signal as a trigger (when the count value of the phase counter 1221 is “01”), and receives the received data as an I / O buffer. Hold with.
[0060]
Then, the diagnosis control unit 112 refers to the data held in the I / O buffer, and determines whether or not this data is “1”.
[0061]
Further, since the data held in the I / O buffer is “0”, the diagnosis control unit 112 increments the value of the definator switching register 1121 and changes the phase of its own definator signal to one cycle of the system clock. Shift by minutes.
[0062]
Thereby, the phase of the definator signal of the diagnosis control unit 111 and the phase of the definer signal of the diagnosis control unit 112 are synchronized.
[0063]
Finally, in order to determine that the phase of the refiner signal is synchronized between the diagnosis control units 111 and 112, the inter-cell control unit 122 uses the definer signal as a trigger (the count value of the phase counter 1221 is “01”). Data) is received, and the received data is held in the I / O buffer.
[0064]
Then, the diagnosis control unit 112 refers to the data held in the I / O buffer, and determines whether or not this data is “1”.
[0065]
Further, as shown in FIG. 7, the diagnosis control unit 112 has the value of the data held in the I / O buffer as “1”, so the phase of the refiner signal of the inter-cell control unit 121 and the inter-cell control unit 122. It is determined that the phase of the refiner signal is synchronized, and the synchronization process of the refiner signal is terminated.
[0066]
In this way, an n-times cycle clock (definer signal) is generated by the LSI of each CPU card without supplying an n-cycle clock (1 / n frequency clock) synchronized between the CPU cards from the outside. The phase of the generated refiner signal can be synchronized between the LSIs.
[0067]
In addition, since the definer signals of the inter-cell controllers 121 to 124 are generated based on the internal clock, even if the definer signal frequency is changed, the definer signal having the changed frequency can be generated.
[0068]
In the embodiment of the present invention, the case where the count values of the definator generation counters 1112 to 1142 and the phase counters 1211 to 1241 are incremented has been described. However, the present invention is not limited to this case. For example, the count values of the refiner generation counters 1112 to 1142 and the phase counters 1211 to 1241 may be decremented.
[0069]
【The invention's effect】
According to the present invention, since the existing interface is used to synchronize the phase of the n-fold clock generated by the LSI of the card between the LSIs, the number of LSI pins can be reduced. Excellent effect.
[0070]
In addition, according to the present invention, an n-times clock in the LSI is generated based on the internal clock, so that it is necessary to supply a new clock to the LSI even if the clock frequency is changed in the future. There is an excellent effect that there is no.
[Brief description of the drawings]
FIG. 1 is a block diagram for explaining an embodiment of the present invention.
FIG. 2 is a time chart for explaining an embodiment of the present invention.
FIG. 3 is a block diagram of a diagnosis control unit.
FIG. 4 is a time chart for explaining a refiner signal generated by each CPU card.
FIG. 5 is a block diagram of a phase counter of the inter-cell control unit.
FIG. 6 is a time chart for explaining a refiner signal generated by an inter-cell control unit;
FIG. 7 is a flowchart for explaining the operation of the exemplary embodiment of the present invention.
FIG. 8 is a flowchart for explaining the operation of the exemplary embodiment of the present invention.
FIG. 9 is a time chart for explaining the operation of the exemplary embodiment of the present invention.
FIG. 10 is a time chart for explaining the operation of the exemplary embodiment of the present invention.
FIG. 11 is a time chart for explaining the operation of the exemplary embodiment of the present invention.
[Explanation of symbols]
1 CPU Card 111 Diagnosis Control Unit 1111 Definer Switching Register 1112 Definer Generation Counter 121 Inter-cell Control Unit 1211 Phase Counter

Claims (6)

第1の基板と第2の基板とを有し、第1の基板上の回路におけるクロックの位相と、第2の基板上の回路におけるクロックの位相とを同期させるシステムであって、
第1の基板は、
外部から入力される外部クロックの周期をn倍周期にしたクロックを生成する第1のクロック生成手段と、
前記第1のクロック生成手段で生成したクロックに従って、所定のデータを送信する送信手段とを有し、
第2の基板は、
外部から入力される外部クロックの周期をn倍周期にしたクロックを生成する第2のクロック生成手段と、
前記第2のクロック生成手段で生成したクロックに従って、データを受信する受信手段と、
前記送信手段が所定のデータを送信してから所定の時間内に前記受信手段が前記所定のデータを受信できない場合、前記受信手段が前記所定の時間内に所定のデータを受信するよう、前記第2のクロック生成手段で生成したクロックの立ち上がりを外部クロックの一周期分ずつ遅延させる遅延手段と
を有することを特徴とするクロック同期化システム。
A system having a first board and a second board, and synchronizing a clock phase in a circuit on the first board and a clock phase in a circuit on the second board,
The first substrate is
First clock generation means for generating a clock in which the period of an external clock input from the outside is n-fold;
Transmission means for transmitting predetermined data in accordance with the clock generated by the first clock generation means,
The second substrate is
Second clock generating means for generating a clock in which the period of an external clock input from the outside is set to n times the period;
Receiving means for receiving data in accordance with the clock generated by the second clock generating means;
When the receiving means cannot receive the predetermined data within a predetermined time after the transmitting means transmits the predetermined data, the receiving means receives the predetermined data within the predetermined time. And a delay means for delaying the rising edge of the clock generated by the two clock generation means by one period of the external clock .
前記第1の基板の送信手段は、
前記第1のクロック生成手段で生成したクロックに従ってカウントを開始するカウンタを有し、前記カウンタのカウント値が所定の値になると、前記所定のデータを送信するよう構成されていることを特徴とする請求項1に記載のクロック同期化システム。
The transmission means of the first substrate is
The counter has a counter that starts counting according to the clock generated by the first clock generation means, and is configured to transmit the predetermined data when the count value of the counter reaches a predetermined value. The clock synchronization system of claim 1.
前記第2の基板の受信手段は、前記第2のクロック生成手段で生成したクロックに従ってカウントを開始するカウンタを有し、前記カウンタのカウント値が所定の値になると、データを受信するよう構成されていることを特徴とする請求項1に記載のクロック同期化システム。  The receiving means of the second board has a counter that starts counting according to the clock generated by the second clock generating means, and is configured to receive data when the count value of the counter reaches a predetermined value. The clock synchronization system according to claim 1, wherein: 基板上の回路におけるクロックの位相を各基板の相互間で同期させるクロック同期化システムで用いられる基板であって、A board used in a clock synchronization system that synchronizes the phase of a clock in a circuit on a board between each board,
外部から入力される外部クロックの周期をn倍周期にしたクロックを生成するクロック生成手段と、  Clock generating means for generating a clock in which the period of an external clock input from the outside is set to n times;
前記クロック生成手段で生成したクロックに従って、所定のデータを送・受信する送・受信手段と、  Transmitting / receiving means for transmitting / receiving predetermined data in accordance with the clock generated by the clock generating means;
前記所定のデータが送信されてから所定の時間内に前記送・受信手段が前記所定のデータを受信できない場合、前記受信手段が前記所定の時間内に所定のデータを受信するよう、前記クロック生成手段で生成したクロックの立ち上がりを、前記外部クロックの一周期分ずつ遅延させる遅延手段とを有する基板。  Generating the clock so that the receiving means receives the predetermined data within the predetermined time if the transmitting / receiving means cannot receive the predetermined data within a predetermined time after the predetermined data is transmitted; And a delay means for delaying the rising edge of the clock generated by the means by one period of the external clock.
前記送・受信手段は、The transmission / reception means includes
前記クロック生成手段で生成したクロックに従ってカウントを開始するカウンタを有し、  A counter that starts counting according to the clock generated by the clock generation means;
前記カウンタのカウント値が所定の値になると、前記所定のデータを送・受信するよう構成されていることを特徴とする請求項4に記載の基板。  5. The substrate according to claim 4, wherein the predetermined data is transmitted / received when a count value of the counter reaches a predetermined value.
プロセッサを搭載した複数の基板で構成されるマルチプロセッサシステムの前記各基板にて、基板上の回路におけるクロックの位相を各基板の相互間で同期させるクロック同期化方法であって、A clock synchronization method for synchronizing the phase of a clock in a circuit on a board between each board in each board of a multiprocessor system composed of a plurality of boards equipped with a processor,
各基板が、外部から入力される外部クロックの周期をn倍周期にしたクロックを生成するステップと、  A step of generating a clock in which each board has a cycle of an external clock input from the outside, multiplied by n times;
前記複数の基板のうち所定の基板を基準となる基板とし、前記基準となる基板が、自己の生成したクロックに従って、所定のデータを送信するステップと、  A step of setting a predetermined substrate of the plurality of substrates as a reference substrate, and the reference substrate transmitting predetermined data in accordance with a clock generated by the device;
前記基準となる基板以外の基板が、前記所定のデータが送信されてから所定の時間に前  A board other than the reference board is sent a predetermined time after the predetermined data is transmitted. 記所定のデータを受信できない場合、自己の生成したクロックの立ち上がりを前記外部クロックの一周期分ずつ遅延させ、前記所定の時間内に所定のデータを受信させるステップとIf the predetermined data cannot be received, delaying the rising edge of the self-generated clock by one period of the external clock and receiving the predetermined data within the predetermined time;
を有することを特徴とするクロック同期化方法。A clock synchronization method comprising:
JP2001187430A 2001-06-21 2001-06-21 Clock synchronization system and method Expired - Fee Related JP3709355B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001187430A JP3709355B2 (en) 2001-06-21 2001-06-21 Clock synchronization system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001187430A JP3709355B2 (en) 2001-06-21 2001-06-21 Clock synchronization system and method

Publications (2)

Publication Number Publication Date
JP2003006178A JP2003006178A (en) 2003-01-10
JP3709355B2 true JP3709355B2 (en) 2005-10-26

Family

ID=19026719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001187430A Expired - Fee Related JP3709355B2 (en) 2001-06-21 2001-06-21 Clock synchronization system and method

Country Status (1)

Country Link
JP (1) JP3709355B2 (en)

Also Published As

Publication number Publication date
JP2003006178A (en) 2003-01-10

Similar Documents

Publication Publication Date Title
JP3856696B2 (en) Configurable synchronizer for double data rate synchronous dynamic random access memory
JP4384819B2 (en) Elastic interface device and method therefor
US8301932B2 (en) Synchronising between clock domains
US6654897B1 (en) Dynamic wave-pipelined interface apparatus and methods therefor
JP2002049605A (en) Time register control system
US20100322365A1 (en) System and method for synchronizing multi-clock domains
KR100681287B1 (en) System clock distributing apparatus and system clock distributing method
US5951669A (en) Method and apparatus for serialized interrupt transmission
US20120223749A1 (en) Clock synchronization circuit and semiconductor integrated circuit
US7185220B2 (en) Information exchange between locally synchronous circuits
US20100315134A1 (en) Systems and methods for multi-lane communication busses
US7436917B2 (en) Controller for clock synchronizer
US6640277B1 (en) Input staging logic for latching source synchronous data
JP3709355B2 (en) Clock synchronization system and method
WO2006056904A2 (en) Globally asynchronous locally synchronous systems
US6571346B1 (en) Elastic interface for master-slave communication
US6542999B1 (en) System for latching first and second data on opposite edges of a first clock and outputting both data in response to a second clock
JP2007188213A (en) Semiconductor integrated circuit device
JP3562416B2 (en) Inter-LSI data transfer system and source synchronous data transfer method used therefor
Kessels Register-communication between mutually asynchronous domains
JP7316083B2 (en) Information processing equipment
JP2004326222A (en) Data processing system
US6763080B1 (en) Synchronous signal processing system
JPH08329000A (en) Information processor
JP3791433B2 (en) System, control processing apparatus, and system control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050720

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050808

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080812

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100812

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees