JP4797192B2 - Exclusive control sequencer - Google Patents

Exclusive control sequencer Download PDF

Info

Publication number
JP4797192B2
JP4797192B2 JP2001060443A JP2001060443A JP4797192B2 JP 4797192 B2 JP4797192 B2 JP 4797192B2 JP 2001060443 A JP2001060443 A JP 2001060443A JP 2001060443 A JP2001060443 A JP 2001060443A JP 4797192 B2 JP4797192 B2 JP 4797192B2
Authority
JP
Japan
Prior art keywords
synchronization
clocks
clock supply
clock
exclusive
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
JP2001060443A
Other languages
Japanese (ja)
Other versions
JP2002259202A (en
Inventor
功 山下
裕夫 青木
Original Assignee
ネッツエスアイ東洋株式会社
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 ネッツエスアイ東洋株式会社 filed Critical ネッツエスアイ東洋株式会社
Priority to JP2001060443A priority Critical patent/JP4797192B2/en
Publication of JP2002259202A publication Critical patent/JP2002259202A/en
Application granted granted Critical
Publication of JP4797192B2 publication Critical patent/JP4797192B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、異なる周波数のクロックで動作するアクセス制御回路を構成する各制御手段から同一バスラインへのアクセスを可能とする排他制御シーケンサに関する。
【0002】
【従来の技術】
図12は、伝送装置等に一般に用いられる、異なる周波数のクロックを供給するためのクロック供給構成を示している。このクロック供給構成では、PLL(phase-locked loop )制御によりクロックXにクロックYを従属させて異なる周波数のクロックXとクロックYとの同期をとっている。このようなクロック供給構成では、何らかの原因でクロックXとクロックYとの同期がはずれる障害が発生することがある。この場合、クロックXで動作する回路とクロックYで動作する回路が競合動作するおそれがある。その結果、異なる周波数で動作する回路同士の制御が衝突してそれらの回路から出力されるデータが破壊され、装置の誤作動を引き起こす原因となる。
【0003】
【発明が解決しようとする課題】
そこで、本発明は、上記のような従来技術が有する問題点に鑑みなされたものであり、その目的は、異なる周波数のクロックで動作する制御手段から同一バスラインへのアクセスを可能としながらも、一時的なクロック間の同期はずれが生じた場合でもデータの破壊を防止し、スムーズに正常動作に復旧させることが可能な排他制御シーケンサを提供することにある。
【0004】
【課題を解決するための手段】
上記目的を達成するため、本発明の排他制御シーケンサは、複数の制御手段からなるアクセス制御回路を備え、同一のバスラインで結ばれた前記複数の制御手段を複数の異なる周波数のクロックを用いて動作させるシーケンサであって、前記複数の異なる周波数のクロックを供給するためのクロック供給手段と、前記複数の異なる周波数のクロック間の同期はずれを検出する同期監視手段と、前記同期監視手段が前記複数の異なる周波数のクロック間の同期はずれを検出した場合に、前記複数の制御手段の何れかと前記バスラインとの排他的アクセスを制御する排他制御手段と、を含んで構成され、
前記クロック供給手段は、主クロック供給回路と、該主クロック供給回路の生成したクロックに従属して同期する周波数の異なるクロックを生成する従クロック供給回路とを少なくとも含み、
前記排他制御手段は、前記同期監視手段が前記主クロック供給回路から供給されるクロックと前記従クロック供給回路から供給されるクロックとの間の同期はずれを検出した場合に、前記バスラインとアクセス中の前記制御手段のうち、前記従クロック供給回路からクロックが供給されているものについて動作を停止させる
【0005】
本発明の排他制御シーケンサは、前記同期はずれが解消した場合は、前記アクセス制御回路の動作周期中の所定の時間から前記アクセス制御回路の動作を再開し、その後前記アクセス制御回路に通常の動作を継続させる
【0006】
さらに、本発明の排他制御シーケンサでは、前記複数の制御手段から送出されたデータを記憶する記憶手段と、この記憶手段に格納されたデータを所定の形式に変換するデータ変換手段とを備えていることが好ましい。
【0007】
本発明の排他制御シーケンサは、複数の制御手段からなるアクセス制御回路を備え、同一のバスラインで結ばれた前記複数の制御手段を複数の異なる周波数のクロックを用いて動作させるシーケンサであって、
前記複数の異なる周波数のクロックを供給するためのクロック供給手段と、前記複数の異なる周波数のクロック間の同期はずれを検出する同期監視手段と、前記同期監視手段が前記複数の異なる周波数のクロック間の同期はずれを検出した場合に、前記複数の制御手段の何れかと前記バスラインとの排他的アクセスを制御する排他制御手段と、前記複数の制御手段から送出されたデータを記憶する複数の記憶手段と、を含んで構成され、
前記クロック供給手段は、主クロック供給回路と、該主クロック供給回路の生成したクロックに従属して同期する周波数の異なるクロックを生成する従クロック供給回路とを少なくとも含み、
前記排他制御手段は、前記同期監視手段が前記主クロック供給回路から供給されるクロックと前記従クロック供給回路から供給されるクロックとの間の同期はずれを検出した場合に、前記バスラインとアクセス中の前記制御手段のうち、前記従クロック供給回路からクロックが供給されるものについて動作を停止し前記アクセス制御回路に接続されているファームウェアからの要求を前記複数の記憶手段の何れかに記憶させるようにした。
また、前記同期はずれが解消した場合は、前記アクセス制御回路の動作周期中の所定の時間から前記アクセス制御回路の動作を再開し、次の前記アクセス制御回路の動作周期で所定のリカバリー処理を行い、その後前記アクセス制御回路に通常の動作を継続させる
【0008】
また、本発明の排他制御シーケンサでは、前記複数の制御手段の何れかを用いて前記記憶手段の監視を行うようにしてもよい
【0009】
【発明の実施の形態】
以下、図示した一実施形態に基いて本発明を詳細に説明する。図1は、本発明の排他制御シーケンサの構成を示すブロック図である。本発明の排他制御シーケンサは、クロック供給パッケージ102、104と、アクセス制御回路106と、同期監視部108と、排他制御部110と、セレクタ112と、記憶素子114a、114b、114cと、データ変換部116と、を含み構成される。また、アクセス制御回路106は、アドレス制御部106A〜106E、データ制御部106a、106bおよび106dから構成されている。
【0010】
クロック供給パッケージ102はクロックXを供給する。クロック供給パッケージ104は、PLL制御によりクロック供給パッケージ102から供給されるクロックXに従属して同期するクロックYを供給する。
【0011】
次に、図2を参照して本発明の排他制御シーケンサの動作説明を行う。図2に示すように、本発明の排他制御シーケンサは時間0から時間Dまでを1周期として動作する。
【0012】
まず、時間0において、アクセス制御回路106は、図示しないファームウェアからの制御データをデータ制御部106aに取り込み、アドレス制御部106Aが指定する記憶素子114aまたは114bのアドレス領域に対してデータ制御部106aに取り込んだ制御データの書き込みを行う。または、アドレス制御部106Aが指定する記憶素子114aまたは114bのアドレス領域に格納されている制御データの読み出しを行う(図3の太線部参照)。この動作と平行して、前記ファームウェアからの指示によりアドレス制御部106Cが指定する記憶素子114aのアドレス領域に格納されている制御データをあらかじめ設定された周期で読み出し、このデータをアドレス制御部106Cが指定する記憶素子114cのアドレス領域に書き込む。(図4の太線部参照)。
【0013】
次に、時間1において、アクセス制御回路106は、前記ファームウェアからの指示により、アドレス制御部106Eが指定する記憶素子114cのアドレス領域に格納されている制御データの読み出しを行い、これをデータ変換部116へ送出する。(図5の太線部参照)。これに続いて、データ変換部116は、記憶素子114cから送られたデータを規定の制御データに変換し、これを前記ファームウェアの指示によりあらかじめ設定された周期で外部データ処理部へ送出する(図6の太線部参照)。
【0014】
次に、時間2において、データ変換部116は、外部データ処理部から送られた応答データをあらかじめ設定された周期で読み出し、これを規定の形式に変換する(図7の太線部参照)。これに続いて、アクセス制御回路106は、前記ファームウェアからの指示により、あらかじめ規定された周期でデータ変換部116から制御データの読み出しを行い、これをアドレス制御部106Eが指定する記憶素子114cのアドレス領域に書き込む(図8の太線部参照)。
【0015】
次に、時間3において、前記ファームウェアからの指示によりアドレス制御部106Cが指定する記憶素子114cのアドレス領域に格納されている制御データをあらかじめ設定された周期で読み出し、このデータをアドレス制御部106Cが指定する記憶素子114aのアドレス領域に書き込む(図9の太線部参照)。
【0016】
次に、時間4〜Dにおいて、アクセス制御回路106は、前記ファームウェアからの指示により、アドレス制御部106Bが指定する記憶素子114aのアドレス領域に格納されている制御データの読み出しを行い、これをデータ制御部106bにおいて所望の演算を実行した後アドレス制御部106Bが指定する記憶素子114bのアドレス領域に書き込む(図10の太線部参照)。
【0017】
一方、時間4〜Dにおいて、前記ファームウェアからの指示がない場合、本発明の排他制御シーケンスはアイドリング状態となる。そこで、このアイドリング時に、アドレス制御部106Dおよびデータ制御部106dを用いて記憶素子114a〜114cの監視を行う(図11の太線部参照)。この監視を行う方法としては、例えば、記憶素子に書き込むデータにパリティ演算やCRC演算の結果を付加し、記憶素子からのデータの読み出し時にかかる演算結果の正誤をチェックする方法がある。また、アクセス制御回路106中にテストデータを生成する手段を設け、これにより生成されるテストデータを監視対象の記憶素子に対し書き込み/読み出しする処理を行い、テストデータの正誤をチェックすることにより記憶素子の動作を監視する方法もある。
【0018】
本発明の排他制御シーケンサは、クロックXとクロックYとの同期がとれている場合には、前記ファームウェアからの指示により前述した動作が実行される。しかし、何らかの原因によりクロック間の同期がはずれた場合、クロックXで動作するアドレス制御部106Aおよびデータ制御部106aの動作と、クロックYで動作するアドレス制御部106B〜106E、データ制御部106b、106dの動作とが競合するおそれが生じる。この結果、アドレスバスα、βおよびデータバス上において各制御部からの制御が衝突して記憶素子114a〜114cに対して書き込みまたは読み出しを行うデータが破壊され、装置の誤作動を引き起こしかねない。
【0019】
そこで、このような不具合を解消するため、本発明の排他制御シーケンサでは、クロック間の同期がはずれた場合、同期監視部108がクロック間の同期はずれを検出し警告信号を排他制御部110へ送信する。この警告信号を受信した排他制御部110は、次のようなアクセス制御回路106の制御を行う。
【0020】
まず、図2に示した時間0においてクロック間の同期はずれが生じた場合、排他制御部110は直ちにアドレス制御部106Cの動作を停止する。このとき、前記ファームウェアからの制御データをアドレス制御部106Cが指定する記憶素子114cのアドレス領域に書き込んでおく。そして、クロック間の同期が復旧したときには、排他制御部110は、図2に示した時間3の動作からアクセス制御回路106の動作を再開する。ただし、時間Dまではアイドリング状態を続け、次の周期の時間0からアクセス制御回路110に通常の動作を継続させる。
【0021】
図2に示した時間1または2においてクロック間の同期はずれが生じた場合、排他制御部110は時間2の動作が完了し次第アドレス制御部106Eの動作を停止する。そして、クロック間の同期が復旧したときには、排他制御部110は、図2に示した時間3の動作からアクセス制御回路106の動作を再開し、通常の動作を継続させる。
【0022】
図2に示した時間3においてクロック間の同期はずれが生じた場合、排他制御部110は直ちにアドレス制御部106Cの動作を停止する。そして、クロック間の同期が復旧したときには、排他制御部110は、図2に示した時間3の動作からアクセス制御回路106の動作を再開し、通常の動作を継続させる。
【0023】
図2に示した時間4〜Dのアドレス制御部106Bの動作中にクロック間の同期はずれが生じた場合、排他制御部110は直ちにアドレス制御部106Bの動作を停止する。このとき、前記ファームウェアからの指示通りにデータ制御部106bにおいて所望の演算を実行した後、この結果をアドレス制御部106Bが指定する記憶素子114bのアドレス領域に書き込んでおく。そして、クロック間の同期が復旧したときには、排他制御部110は、図2に示した時間3の動作からアクセス制御回路106の動作を再開する。ただし、次の周期の時間3まではアイドリング状態を続け、時間4からアクセス制御回路110に通常の動作を継続させる。
【0024】
一方、図2に示した時間4〜Dのアドレス制御部106Dの動作中(記憶素子の監視動作実行中)にクロック間の同期はずれが生じた場合、排他制御部110は直ちにアドレス制御部106Dの動作を停止する。そして、クロック間の同期が復旧したときには、排他制御部110は、図2に示した時間3の動作からアクセス制御回路106の動作を再開し、通常の動作を継続させる。
【0025】
本発明の排他制御シーケンサでは、クロック間の同期はずれが生じた場合でも、上述した各手順に従って各制御部の競合を回避して各制御データの破壊を防止できる。また、クロック間の同期が回復した際にスムーズなシーケンサ動作の復旧が可能である。
【0026】
なお、本発明の排他制御シーケンサでは、クロック間の同期はずれが生じた際、クロックYで動作する各制御部の動作を停止させて各制御部の競合を回避している。このため、クロックXで動作するアドレス制御部106Aおよびデータ制御部1106aは動作を継続したままでも問題はない。
【0027】
以上説明したように、本発明の排他制御シーケンサによれば、クロック間の同期はずれが生じた場合であっても、アクセス制御回路を構成する各制御部間の競合を回避することができ、各制御データが破壊されるのを防止できる。そして、クロック同期の復旧後にも正常のシーケンサ動作をスムーズに再開することが可能である。
【0028】
以上、本発明の一実施形態を図面に沿って説明した。しかしながら本発明は前記実施形態に示した事項に限定されず、特許請求の範囲の記載に基づいてその変更、改良等が可能であることは明らかである。例えば、前記記憶素子の監視を司る各制御部を省略することは可能であるし、同じクロックで動作する各制御部を共通に構成することもできる。
【0029】
【発明の効果】
以上の如く本発明によれば、異なる周波数のクロックで動作する制御手段から同一バスラインへのアクセスを可能としながらも、一時的なクロック間の同期はずれが生じた場合でもデータの破壊を防止し、スムーズに正常動作に復旧させることが可能な排他制御シーケンサを提供することができる。
【図面の簡単な説明】
【図1】本発明の排他制御シーケンサの構成を示すブロック図である。
【図2】本発明の排他制御シーケンサの動作タイミングを説明するための図である。
【図3】本発明の排他制御シーケンサの動作を説明するための図である。
【図4】本発明の排他制御シーケンサの動作を説明するための図である。
【図5】本発明の排他制御シーケンサの動作を説明するための図である。
【図6】本発明の排他制御シーケンサの動作を説明するための図である。
【図7】本発明の排他制御シーケンサの動作を説明するための図である。
【図8】本発明の排他制御シーケンサの動作を説明するための図である。
【図9】本発明の排他制御シーケンサの動作を説明するための図である。
【図10】本発明の排他制御シーケンサの動作を説明するための図である。
【図11】本発明の排他制御シーケンサの動作を説明するための図である。
【図12】伝送装置等に一般に用いられる、異なる周波数のクロックを供給するためのクロック供給構成を示す図である。
【符号の説明】
102、104 クロック供給パッケージ
106 アクセス制御回路
106A〜106E アドレス制御部
106a、106b、106d データ制御部
108 同期監視部
110 排他制御部
112 セレクタ
114a〜114c 記憶素子
116 データ変換部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an exclusive control sequencer that enables access to the same bus line from each control means constituting an access control circuit that operates with clocks of different frequencies.
[0002]
[Prior art]
FIG. 12 shows a clock supply configuration for supplying clocks having different frequencies, which is generally used in a transmission apparatus or the like. In this clock supply configuration, the clock X is subordinate to the clock X by PLL (phase-locked loop) control to synchronize the clock X and the clock Y of different frequencies. In such a clock supply configuration, a failure in which the clock X and the clock Y are out of synchronization may occur for some reason. In this case, there is a possibility that a circuit operating with the clock X and a circuit operating with the clock Y may compete. As a result, control between circuits operating at different frequencies collides, and data output from these circuits is destroyed, causing malfunction of the device.
[0003]
[Problems to be solved by the invention]
Therefore, the present invention has been made in view of the problems of the prior art as described above, and its purpose is to enable access to the same bus line from control means operating with clocks of different frequencies. An object of the present invention is to provide an exclusive control sequencer that can prevent data destruction even when temporary synchronization between clocks is lost and can smoothly restore normal operation.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, an exclusive control sequencer of the present invention comprises an access control circuit comprising a plurality of control means, and the plurality of control means connected by the same bus line are used by using a plurality of clocks having different frequencies. A sequencer to be operated, the clock supply means for supplying the plurality of clocks having different frequencies, the synchronization monitoring means for detecting a loss of synchronization between the plurality of clocks having different frequencies, and the synchronization monitoring means comprising the plurality of synchronization monitors. And an exclusive control means for controlling exclusive access to any one of the plurality of control means and the bus line when detecting a loss of synchronization between clocks having different frequencies.
The clock supply means includes at least a main clock supply circuit and a slave clock supply circuit that generates clocks having different frequencies synchronized with the clock generated by the main clock supply circuit,
The exclusive control means is accessing the bus line when the synchronization monitoring means detects a loss of synchronization between the clock supplied from the main clock supply circuit and the clock supplied from the slave clock supply circuit. Among the control means, the operation is stopped for the one supplied with the clock from the slave clock supply circuit .
[0005]
The exclusive control sequencer of the present invention resumes the operation of the access control circuit from a predetermined time in the operation cycle of the access control circuit when the out-of-synchronization is resolved, and thereafter performs normal operation on the access control circuit. Let it continue .
[0006]
Furthermore, the exclusive control sequencer of the present invention comprises storage means for storing data sent from the plurality of control means, and data conversion means for converting the data stored in the storage means into a predetermined format. It is preferable.
[0007]
An exclusive control sequencer of the present invention is a sequencer comprising an access control circuit comprising a plurality of control means and operating the plurality of control means connected by the same bus line using a plurality of clocks having different frequencies,
A clock supply means for supplying a plurality of clocks of different frequencies; a synchronization monitoring means for detecting a loss of synchronization between the clocks of different frequencies; and the synchronization monitoring means between the clocks of the different frequencies. An exclusive control means for controlling exclusive access between any of the plurality of control means and the bus line when a loss of synchronization is detected, and a plurality of storage means for storing data sent from the plurality of control means; Comprising, and
The clock supply means includes at least a main clock supply circuit and a slave clock supply circuit that generates clocks having different frequencies synchronized with the clock generated by the main clock supply circuit,
The exclusive control means is accessing the bus line when the synchronization monitoring means detects a loss of synchronization between the clock supplied from the main clock supply circuit and the clock supplied from the slave clock supply circuit. Among the control means, the operation of the clock supplied from the slave clock supply circuit is stopped, and the request from the firmware connected to the access control circuit is stored in any of the plurality of storage means I made it.
In addition, when the synchronization loss is resolved, the operation of the access control circuit is restarted from a predetermined time during the operation cycle of the access control circuit, and a predetermined recovery process is performed in the next operation cycle of the access control circuit. Thereafter, the access control circuit continues normal operation .
[0008]
In the exclusive control sequencer of the present invention, the storage unit may be monitored using any of the plurality of control units .
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail based on the illustrated embodiment. FIG. 1 is a block diagram showing the configuration of the exclusive control sequencer of the present invention. The exclusive control sequencer of the present invention includes a clock supply package 102, 104, an access control circuit 106, a synchronization monitoring unit 108, an exclusive control unit 110, a selector 112, storage elements 114a, 114b, 114c, and a data conversion unit. 116. The access control circuit 106 includes address control units 106A to 106E and data control units 106a, 106b, and 106d.
[0010]
The clock supply package 102 supplies the clock X. The clock supply package 104 supplies a clock Y synchronized with the clock X supplied from the clock supply package 102 by PLL control.
[0011]
Next, the operation of the exclusive control sequencer of the present invention will be described with reference to FIG. As shown in FIG. 2, the exclusive control sequencer of the present invention operates from time 0 to time D as one cycle.
[0012]
First, at time 0, the access control circuit 106 takes control data from firmware (not shown) into the data control unit 106a, and sends it to the data control unit 106a with respect to the address area of the storage element 114a or 114b specified by the address control unit 106A. Write the captured control data. Alternatively, the control data stored in the address area of the storage element 114a or 114b designated by the address control unit 106A is read (see the bold line portion in FIG. 3). In parallel with this operation, the control data stored in the address area of the storage element 114a designated by the address control unit 106C in accordance with an instruction from the firmware is read at a preset period, and this data is read by the address control unit 106C. Write to the address area of the storage element 114c to be designated. (Refer to the thick line part in FIG. 4).
[0013]
Next, at time 1, the access control circuit 106 reads out the control data stored in the address area of the storage element 114c designated by the address control unit 106E according to an instruction from the firmware, and uses this data as the data conversion unit. 116. (Refer to the thick line part in FIG. 5). Following this, the data conversion unit 116 converts the data sent from the storage element 114c into prescribed control data, and sends this to the external data processing unit in a cycle set in advance by an instruction from the firmware (see FIG. (See thick line part 6).
[0014]
Next, at time 2, the data conversion unit 116 reads the response data sent from the external data processing unit at a preset cycle and converts it into a prescribed format (see the bold line portion in FIG. 7). Following this, the access control circuit 106 reads the control data from the data conversion unit 116 at a predetermined cycle in accordance with an instruction from the firmware, and this is the address of the storage element 114c designated by the address control unit 106E. Write to the area (see thick line in FIG. 8).
[0015]
Next, at time 3, the control data stored in the address area of the storage element 114c designated by the address control unit 106C in accordance with an instruction from the firmware is read at a preset period, and this data is read by the address control unit 106C. Write to the address area of the memory element 114a to be designated (see the bold line portion in FIG. 9).
[0016]
Next, in time 4 to D, the access control circuit 106 reads out the control data stored in the address area of the storage element 114a designated by the address control unit 106B in accordance with an instruction from the firmware, After executing a desired calculation in the control unit 106b, the data is written in the address area of the storage element 114b designated by the address control unit 106B (see the bold line portion in FIG. 10).
[0017]
On the other hand, when there is no instruction from the firmware during time 4 to D, the exclusive control sequence of the present invention is in an idling state. Therefore, at the time of idling, the storage elements 114a to 114c are monitored using the address control unit 106D and the data control unit 106d (see the bold line portion in FIG. 11). As a method for performing this monitoring, for example, there is a method in which the result of parity calculation or CRC calculation is added to data to be written in the storage element, and the correctness of the calculation result when data is read from the storage element is checked. In addition, a means for generating test data is provided in the access control circuit 106, and processing for writing / reading the test data generated thereby to / from the storage element to be monitored is performed, and the test data is stored by checking the correctness of the test data There is also a method for monitoring the operation of the element.
[0018]
In the exclusive control sequencer of the present invention, when the clock X and the clock Y are synchronized, the above-described operation is executed according to an instruction from the firmware. However, when synchronization between clocks is lost due to some cause, the operations of the address control unit 106A and the data control unit 106a that operate with the clock X, the address control units 106B to 106E that operate with the clock Y, and the data control units 106b and 106d. There is a risk of conflict with the operation. As a result, on the address buses [alpha] and [beta] and the data bus, control from each control unit collides, and data to be written to or read from the storage elements 114a to 114c is destroyed, which may cause malfunction of the apparatus.
[0019]
Therefore, in order to solve such a problem, in the exclusive control sequencer of the present invention, when the synchronization between clocks is lost, the synchronization monitoring unit 108 detects the loss of synchronization between clocks and transmits a warning signal to the exclusive control unit 110. To do. Upon receiving this warning signal, the exclusive control unit 110 controls the access control circuit 106 as follows.
[0020]
First, when synchronization between clocks is lost at time 0 shown in FIG. 2, the exclusive control unit 110 immediately stops the operation of the address control unit 106C. At this time, the control data from the firmware is written in the address area of the storage element 114c designated by the address control unit 106C. When the synchronization between the clocks is restored, the exclusive control unit 110 resumes the operation of the access control circuit 106 from the operation at time 3 shown in FIG. However, the idling state is continued until time D, and the access control circuit 110 continues normal operation from time 0 of the next cycle.
[0021]
When the clocks are out of synchronization at time 1 or 2 shown in FIG. 2, the exclusive control unit 110 stops the operation of the address control unit 106E as soon as the operation at time 2 is completed. When the synchronization between the clocks is restored, the exclusive control unit 110 resumes the operation of the access control circuit 106 from the operation at time 3 shown in FIG. 2 and continues the normal operation.
[0022]
When the synchronization between clocks is lost at time 3 shown in FIG. 2, the exclusive control unit 110 immediately stops the operation of the address control unit 106C. When the synchronization between the clocks is restored, the exclusive control unit 110 resumes the operation of the access control circuit 106 from the operation at time 3 shown in FIG. 2 and continues the normal operation.
[0023]
When the synchronization between clocks is lost during the operation of the address control unit 106B of time 4 to D shown in FIG. 2, the exclusive control unit 110 immediately stops the operation of the address control unit 106B. At this time, after executing a desired calculation in the data control unit 106b as instructed from the firmware, the result is written in the address area of the storage element 114b designated by the address control unit 106B. When the synchronization between the clocks is restored, the exclusive control unit 110 resumes the operation of the access control circuit 106 from the operation at time 3 shown in FIG. However, the idling state is continued until time 3 of the next cycle, and the access control circuit 110 is allowed to continue normal operation from time 4.
[0024]
On the other hand, when the synchronization between the clocks is lost during the operation of the address control unit 106D of time 4 to D shown in FIG. 2 (during the monitoring operation of the storage element), the exclusive control unit 110 immediately sets the address control unit 106D. Stop operation. When the synchronization between the clocks is restored, the exclusive control unit 110 resumes the operation of the access control circuit 106 from the operation at time 3 shown in FIG. 2 and continues the normal operation.
[0025]
In the exclusive control sequencer of the present invention, even when the synchronization between clocks is lost, it is possible to avoid contention of each control unit and prevent destruction of each control data according to each procedure described above. In addition, when the synchronization between the clocks is restored, the sequencer operation can be smoothly restored.
[0026]
In the exclusive control sequencer of the present invention, when the synchronization between clocks is lost, the operation of each control unit operating with the clock Y is stopped to avoid contention among the control units. For this reason, there is no problem even if the address control unit 106A and the data control unit 1106a operating with the clock X continue to operate.
[0027]
As described above, according to the exclusive control sequencer of the present invention, it is possible to avoid contention between the control units constituting the access control circuit even when the synchronization between the clocks is lost. Control data can be prevented from being destroyed. It is possible to resume normal sequencer operation smoothly even after the clock synchronization is restored.
[0028]
The embodiment of the present invention has been described with reference to the drawings. However, the present invention is not limited to the matters shown in the above-described embodiments, and it is obvious that changes, improvements, and the like can be made based on the description of the scope of claims. For example, it is possible to omit each control unit that manages the monitoring of the storage element, and it is also possible to commonly configure each control unit that operates with the same clock.
[0029]
【The invention's effect】
As described above, according to the present invention, it is possible to access the same bus line from a control means that operates with clocks of different frequencies, but also prevents data destruction even when temporary synchronization between clocks is lost. Therefore, it is possible to provide an exclusive control sequencer that can be smoothly restored to normal operation.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an exclusive control sequencer of the present invention.
FIG. 2 is a diagram for explaining the operation timing of the exclusive control sequencer of the present invention.
FIG. 3 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 4 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 5 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 6 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 7 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 8 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 9 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 10 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 11 is a diagram for explaining the operation of the exclusive control sequencer of the present invention.
FIG. 12 is a diagram illustrating a clock supply configuration for supplying clocks having different frequencies, which is generally used in a transmission apparatus or the like.
[Explanation of symbols]
102, 104 Clock supply package 106 Access control circuit 106A-106E Address control unit 106a, 106b, 106d Data control unit 108 Synchronization monitoring unit 110 Exclusive control unit 112 Selector 114a-114c Storage element 116 Data conversion unit

Claims (6)

複数の制御手段からなるアクセス制御回路を備え、同一のバスラインで結ばれた前記複数の制御手段を複数の異なる周波数のクロックを用いて動作させるシーケンサであって、
前記複数の異なる周波数のクロックを供給するためのクロック供給手段と、
前記複数の異なる周波数のクロック間の同期はずれを検出する同期監視手段と、
前記同期監視手段が前記複数の異なる周波数のクロック間の同期はずれを検出した場合に、前記複数の制御手段の何れかと前記バスラインとの排他的アクセスを制御する排他制御手段と、を含んで構成され、
前記クロック供給手段は、主クロック供給回路と、該主クロック供給回路の生成したクロックに従属して同期する周波数の異なるクロックを生成する従クロック供給回路とを少なくとも含み、
前記排他制御手段は、前記同期監視手段が前記主クロック供給回路から供給されるクロックと前記従クロック供給回路から供給されるクロックとの間の同期はずれを検出した場合に、前記バスラインとアクセス中の前記制御手段のうち、前記従クロック供給回路からクロックが供給されているものについて動作を停止させるようにしたことを特徴とする排他制御シーケンサ。
A sequencer comprising an access control circuit comprising a plurality of control means, and operating the plurality of control means connected by the same bus line using a plurality of clocks having different frequencies,
Clock supply means for supplying a plurality of clocks of different frequencies;
Synchronization monitoring means for detecting a loss of synchronization between the clocks of different frequencies;
And an exclusive control means for controlling exclusive access between any of the plurality of control means and the bus line when the synchronization monitoring means detects a loss of synchronization between the clocks having different frequencies. And
The clock supply means includes at least a main clock supply circuit and a slave clock supply circuit that generates clocks having different frequencies synchronized with the clock generated by the main clock supply circuit,
The exclusive control means is accessing the bus line when the synchronization monitoring means detects a loss of synchronization between the clock supplied from the main clock supply circuit and the clock supplied from the slave clock supply circuit. The exclusive control sequencer characterized in that the operation of the control means of which the clock is supplied from the slave clock supply circuit is stopped .
前記同期はずれが解消した場合は、前記アクセス制御回路の動作周期中の所定の時間から前記アクセス制御回路の動作を再開し、その後前記アクセス制御回路に通常の動作を継続させるようにしたことを特徴とする請求項1に記載の排他制御シーケンサ。 When the out-of-synchronization is resolved, the operation of the access control circuit is resumed from a predetermined time during the operation cycle of the access control circuit, and then the normal operation is continued in the access control circuit. The exclusive control sequencer according to claim 1. 前記複数の制御手段から送出されたデータを記憶する複数の記憶手段と、この記憶手段に格納されたデータを所定の形式に変換するデータ変換手段と、を備えたことを特徴とする請求項1又は2の何れかに記載の排他制御シーケンサ。 2. A plurality of storage means for storing data sent from the plurality of control means, and a data conversion means for converting the data stored in the storage means into a predetermined format. Or the exclusive control sequencer in any one of 2. 複数の制御手段からなるアクセス制御回路を備え、同一のバスラインで結ばれた前記複数の制御手段を複数の異なる周波数のクロックを用いて動作させるシーケンサであって、
前記複数の異なる周波数のクロックを供給するためのクロック供給手段と、
前記複数の異なる周波数のクロック間の同期はずれを検出する同期監視手段と、
前記同期監視手段が前記複数の異なる周波数のクロック間の同期はずれを検出した場合に、前記複数の制御手段の何れかと前記バスラインとの排他的アクセスを制御する排他制御手段と、
前記複数の制御手段から送出されたデータを記憶する複数の記憶手段と、を含んで構成され、
前記クロック供給手段は、主クロック供給回路と、該主クロック供給回路の生成したクロックに従属して同期する周波数の異なるクロックを生成する従クロック供給回路とを少なくとも含み、
前記排他制御手段は、前記同期監視手段が前記主クロック供給回路から供給されるクロックと前記従クロック供給回路から供給されるクロックとの間の同期はずれを検出した場合に、前記バスラインとアクセス中の前記制御手段のうち、前記従クロック供給回路からクロックが供給されるものについて動作を停止し前記アクセス制御回路に接続されているファームウェアからの要求を前記複数の記憶手段の何れかに記憶させるようにしたことを特徴とする排他制御シーケンサ。
A sequencer comprising an access control circuit comprising a plurality of control means, and operating the plurality of control means connected by the same bus line using a plurality of clocks having different frequencies,
Clock supply means for supplying a plurality of clocks of different frequencies;
Synchronization monitoring means for detecting a loss of synchronization between the clocks of different frequencies;
An exclusive control means for controlling exclusive access between any of the plurality of control means and the bus line when the synchronization monitoring means detects a loss of synchronization between the clocks of different frequencies;
A plurality of storage means for storing data sent from the plurality of control means,
The clock supply means includes at least a main clock supply circuit and a slave clock supply circuit that generates clocks having different frequencies synchronized with the clock generated by the main clock supply circuit,
The exclusive control means is accessing the bus line when the synchronization monitoring means detects a loss of synchronization between the clock supplied from the main clock supply circuit and the clock supplied from the slave clock supply circuit. out of the control means, Ru requests from firmware clock from the sub-clock supply circuit is connected to the access control circuit stops the operation for that supplied and stored in one of said plurality of storage means An exclusive control sequencer characterized by the above .
前記同期はずれが解消した場合は、前記アクセス制御回路の動作周期中の所定の時間から前記アクセス制御回路の動作を再開し、次の前記アクセス制御回路の動作周期で所定のリカバリー処理を行い、その後前記アクセス制御回路に通常の動作を継続させるようにしたことを特徴とする請求項4に記載の排他制御シーケンサ。 When the out-of-synchronization is resolved, the operation of the access control circuit is restarted from a predetermined time in the operation cycle of the access control circuit, and a predetermined recovery process is performed in the next operation cycle of the access control circuit. 5. The exclusive control sequencer according to claim 4, wherein the access control circuit continues normal operation . 前記複数の制御手段の何れかを用いて前記記憶手段の監視を行うようにしたことを特徴とする請求項3乃至5の何れかに記載の排他制御シーケンサ。 6. The exclusive control sequencer according to claim 3, wherein the storage unit is monitored using any of the plurality of control units .
JP2001060443A 2001-03-05 2001-03-05 Exclusive control sequencer Expired - Fee Related JP4797192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001060443A JP4797192B2 (en) 2001-03-05 2001-03-05 Exclusive control sequencer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001060443A JP4797192B2 (en) 2001-03-05 2001-03-05 Exclusive control sequencer

Publications (2)

Publication Number Publication Date
JP2002259202A JP2002259202A (en) 2002-09-13
JP4797192B2 true JP4797192B2 (en) 2011-10-19

Family

ID=18919860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001060443A Expired - Fee Related JP4797192B2 (en) 2001-03-05 2001-03-05 Exclusive control sequencer

Country Status (1)

Country Link
JP (1) JP4797192B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5730053A (en) * 1980-07-31 1982-02-18 Fujitsu Ltd Memory parity check system
JP2557077B2 (en) * 1987-12-21 1996-11-27 エイ・ティ・アンド・ティ グローバル インフォメーション ソルーションズ インターナショナル インコーポレイテッド Synchronous access type character display system
JPH04257983A (en) * 1991-02-13 1992-09-14 Toshiba Corp Picture controller
JPH10275463A (en) * 1997-04-01 1998-10-13 Kofu Nippon Denki Kk Refreshing system

Also Published As

Publication number Publication date
JP2002259202A (en) 2002-09-13

Similar Documents

Publication Publication Date Title
JP3982353B2 (en) Fault tolerant computer apparatus, resynchronization method and resynchronization program
US5185877A (en) Protocol for transfer of DMA data
RU2020572C1 (en) Computer system
US7500139B2 (en) Securing time for identifying cause of asynchronism in fault-tolerant computer
EP1672506A2 (en) A fault tolerant computer system and a synchronization method for the same
JP4797192B2 (en) Exclusive control sequencer
JP3774826B2 (en) Information processing device
US10769038B2 (en) Counter circuitry and methods including a master counter providing initialization data and fault detection data and wherein a threshold count difference of a fault detection count is dependent upon the fault detection data
JP3356635B2 (en) Computer system for vehicle control
JP2005165807A (en) Operation comparison system in processor multiplexing system
JPH1063586A (en) Information processor
JP3191282B2 (en) Failure information data collection method
JPH05216855A (en) Multi-cpu control system
JP2645880B2 (en) System clock duplication method
JPH11134209A (en) Fault tolerant controler
CN117632526A (en) Multi-task double-system synchronization method, device, electronic equipment and medium
SU1686455A1 (en) Multiprocessor system
JPH03198136A (en) Check system for dma transfer data
JPS6242637A (en) Parallel frame buffer circuit
JPH03100736A (en) Patrol diagnostic device
SU1686454A1 (en) Multiprocessor system
JP2002287856A (en) Processor mounting device and delay reset signal generating method
JPH076098A (en) Method for controlling re-execution in the case of memory error
JP2020052550A (en) CPU unit, CPU unit control method, information processing program, and recording medium
JP2002215602A (en) Self-synchronizing transfer control circuit and data driving information processor having same

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050719

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110425

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: 20110614

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110713

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4797192

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees