JP3576858B2 - Clock transfer method - Google Patents
Clock transfer method Download PDFInfo
- Publication number
- JP3576858B2 JP3576858B2 JP7144899A JP7144899A JP3576858B2 JP 3576858 B2 JP3576858 B2 JP 3576858B2 JP 7144899 A JP7144899 A JP 7144899A JP 7144899 A JP7144899 A JP 7144899A JP 3576858 B2 JP3576858 B2 JP 3576858B2
- Authority
- JP
- Japan
- Prior art keywords
- pulse
- unit
- read
- read pulse
- clock
- 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
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Description
【0001】
【発明の属する技術分野】
本発明はクロック乗せ替え方式、特に電源投入直後等の不安定さを阻止するクロック乗せ替え方式に関する。
【0002】
【従来の技術】
デジタルデバイス、例えば、デュアルポートメモリ等にあっては、動作基準としてのクロックが必須である。伝送装置等で使用するエラスチックストアで使用するクロック、フレーム乗せ替え回路は、例えば特開平9−74401号公報に開示されている。
【0003】
VCO(電圧制御発振器)を用いる従来のクロック乗せ替え方式を図3に示す。このクロック乗せ替え方式は、メモリ10、比較部11、VCO12及び読み出しパルス生成部13で構成される。メモリ10は、デュアルポート型メモリであり、書き込み入力パルスにより入力データをメモリに書き込むと共に、読み出しパルスによりメモリ10に書き込まれたデータを出力ポートからデータ出力として出力する。比較部11及びVCO12に書き込み入力パルスが入力される。VCO12は、これに基づいて出力パルスを読み出しパルス生成部13にフレームパルスと共に入力する。読み出しパルス生成部13は、上述した読み出しパルスとしてメモリ10に入力されると共に、比較部11にも入力される。比較部11は、書き込み入力パルスと読み出しパルスを比較して、比較出力を読み出しパルス生成部13に出力する。
【0004】
次に、図3に示すクロック乗せ替え方式の動作を説明する。メモリ10の読み出しパルスは、電源投入と同時に動作するVCO12から出力されるクロック信号と、メモリ10へのデータ入力に同期したフレームパルス信号を用いて、読み出しパルス生成部13にて生成される。この読み出しパルス生成部13は、書き込み入力パルスの周期nに対して、n/2位置に読み出しパルスを発生させる。この読み出しパルスにて、メモリ10に書き込んだデータを読み出すことで、クロックの乗せ替えを実現していた。
【0005】
読み出しパルス生成部13からの読み出しパルスは、書き込みパルスとパルスが重ならなければ、どの位置でも乗せ替えが可能であるが、上述のように書き込みパルスの周期nに対して読み出しパルスの位置をn/2に初期設定することで、前後方にパルスがずれても乗せ替えが可能なように保護を設けていた。また、比較部11にて書き込み、読み出しのパルス位置を比較し、パルスが重なった場合には、比較部11がリセット信号を読み出しパルス生成部13に出力する。これにより、読み出しパルス生成部13をリセットし、読み出しパルスを再設定していた。
【0006】
【発明が解決しようとする課題】
上述した従来技術では、VCO12は電源投入直後や電源が不安定(ノイズが発生した場合等)及び書き込みパルスが不安定であった場合に、読み出しパルスが初期設定通りにならない。そこで、書き込みパルスに対してどの位置に読み出しパルスがあるか分からず、最悪の場合、データを読み出すことができない危険がある。また、読み出しパルスが不安定な状態から仮に安定したとしても、パルスがどの位置にあるか定かでないので、前後方保護がどちらかに偏ってしまうという問題があった。
【0007】
本発明の目的は、読み出しパルスを制御することにより、常に前後方に十分な保護を持つ安定した読み出しパルスでデータを読み出すことが可能なクロック乗せ替え方式を提供することである。
【0008】
本発明の別の目的は、データエラーが発生する前に、読み出しパルスを制御し、データエラーの発生が回避可能なクロック乗せ替え方式を提供することである。
【0009】
【課題を解決するための手段】
前述の課題を解決するため、本発明によるクロック乗せ替え方式は、次のような特徴的な構成を採用している。
【0010】
(1)メモリへの書き込み入力パルスを受け出力クロックを生成するVCOと読み出しパルスを生成する読み出しパルス生成部とを有するクロック乗せ替え方式において、
前記書き込み入力パルスを所定時間シフトするシフト部と、前記読み出しパルス生成部の生成パルスの不安定判定部と、前記書き込みシフトパルス及び前記読み出しパルス生成部からの生成パルスを比較する比較部とを有する読み出しパルス制御部を設け、
前記不安定期間中、前記シフト部の書き込みシフトパルスを前記メモリの読み出しパルスとするクロック乗せ替え方式。
【0011】
(2)前記書き込み入力パルス及び前記読み出しパルス制御部の出力パルスを遅延させる遅延部を有する上記(1)のクロック乗せ替え方式。
【0012】
(3)前記読み出しパルス制御部は、前記比較部での一致回数を確認する保護部を有する上記(1)のクロック乗せ替え方式。
【0015】
【発明の実施の形態】
以下、本発明によるクロック乗せ替え方式の好適実施形態例を添付図1及び図2を参照して詳細に説明する。
【0016】
図1は、本発明によるクロック乗せ替え方式の好適実施形態例の構成図であり、図2はその動作説明用タイミングチャートである。尚、従来技術と対応する構成要素乃至ブロックには、同様の参照符号を使用することとする。
【0017】
先ず、図1を参照して、本発明によるクロック乗せ替え方式の構成を説明する。このクロック乗せ替え方式は、デュアルポート型メモリ10、VCO12及び読み出しパルス生成部13に加えて、メモリ10の書き込み側に遅延部15、メモリ10の読み出し側に遅延部16及び読み出しパルス制御部20を設けたことを特徴とする。読み出しパルス制御部20は、シフト部21、比較部22、保護部23、判定部24及びセレクタ25を有する。
【0018】
シフト部21には、書き込み入力パルスが入力され、その出力は、セレクタ25及び比較部22に入力される。比較部22は、シフト部21の出力と読み出しパルス生成部13の出力を比較し、比較結果が保護部23からの出力と共に判定部24に入力される。セレクタ25には、上述したシフト部21の出力と共に保護部23からの出力信号が入力され、判定部24の出力により、いずれかを選択して遅延部16に入力される。
【0019】
尚、読み出しパルス生成部13には、上述したVCO12の出力パルスと共に、データ入力に同期しているフレームパルスが入力されること、従来技術と同様である。
【0020】
以下、図2のタイミングチャートを参照して、図1のクロック乗せ替え方式の動作を説明する。図2中、(a)は遅延部15、VCO12及びシフト部21に入力される書き込み入力パルスを示す。(b)は、遅延部15により遅延されてメモリ10に入力される書き込みパルスである。(c)は、シフト部21でシフトされた書き込みシフトパルスである。(d)は、VCO12から読み出しパルス生成部13に入力されるVCO出力クロックである。(e)は、読み出しパルス生成部13から出力される生成パルスである。(f)は、読み出しパルス制御部20から出力される制御部出力パルスである。(g)は、遅延部16にて遅延され、メモリ10に入力される読み出しパルスである。また、(h)は、比較部22から出力される比較信号である。
【0021】
先ず、読み出しパルス(図2の(g)参照)が生成されるまでの動作を、電源投入(オン)時を一例に説明する。電源が投入されると、VCO12が出力クロック(図2の(d)参照)を発生する。これに基づいて、読み出しパルス生成部13から設定された周期の生成パルス(図2の(e)参照)を発生させる。しかし、VCO12は、安定した出力クロックを出力するには時間がかかる為に電源投入直後には不安定な出力クロックを出力する。その結果、読み出しパルス生成部13からの生成パルス(e)も同期が安定せず、図示の如く不安定なパルスとなる。従って、メモリ10からデータを読み出すのは困難となる。
【0022】
そこで、生成パルス(e)が安定する迄は、書き込み入力パルス(a)を読み出しパルス生成部13で設定している位置、周期にシフト部21でシフトさせた書き込みシフトパルス(c)を読み出しパルス制御部20からの制御部出力パルス(f)として、セレクタ25で選択する。この書き込みシフトパルス(c)は、データ入力に同期した安定なパルスであるので、メモリ10がデータ読み出しできないという事態は生じないことに注目されたい。
【0023】
次に、生成パルス(e)が安定したか否かは、比較部22にて書き込みシフトパルス(c)と生成パルス(e)とを比較して判定する。更に、書き込みシフトパルス(c)と生成パルス(e)との偶然の一致を避ける為に、保護部23にてn回(n=1〜∞)連続して一致を確認し、判定部24にて比較部22と保護部23の条件が一致した時点で生成パルス(e)が安定したと判断する。このVCO12の出力クロック(d)の安定が確認されると、判定部24はセレクタ25に切り替え信号を出力し、保護部23からの判定パルスを制御部出力パルス(f)として遅延部16に出力する。
【0024】
しかし、このままでは、例えば正常に動作していた読み出しパルスが突然不安定となった場合に、判定部24の判定を待つ必要がある。そこで、データエラーが発生することが読み出しパルス制御の引き金となってしまう。この対策として、遅延部15、16を設け、予めメモリ10への書き込み及び読み出しを遅らせ、データエラーが発生(読み出し不可能)になる前に、読み出しパルスを制御することで、データエラーを回避する。
【0025】
以上、本発明によるクロック乗せ替え方式の好適実施形態例を説明した。しかし、本発明は斯かる特定例のみに限定されるべきではなく、本発明の要旨を逸脱することなく種々の変形変更が可能であることが理解できよう。
【0026】
【発明の効果】
上述の説明から理解される如く、本発明のクロック乗せ替え方式によると、読み出しパルスを制御することにより、常に前後方に十分な保護を持つ安定した読み出しパルスでメモリからデータを読み出すことが可能である。また、データエラーが発生してしまう前に読み出しパルスが制御されるので、データエラーが回避可能である。
【図面の簡単な説明】
【図1】本発明によるクロック乗せ替え方式の好適実施形態例のブロック図である。
【図2】図1のクロック乗せ替え方式の動作タイミングチャートである。
【図3】従来のクロック乗せ替え方式のブロック図である。
【符号の説明】
10 メモリ
12 VCO
13 読み出しパルス生成部
15、16 遅延部
20 読み出しパルス制御部
21 シフト部
22 比較部
23 保護部
24 判定部
25 セレクタ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a clock transfer method, and more particularly to a clock transfer method for preventing instability immediately after power-on or the like.
[0002]
[Prior art]
In a digital device such as a dual-port memory, a clock as an operation reference is essential. A clock and frame transfer circuit used in an elastic store used in a transmission device or the like is disclosed in, for example, Japanese Patent Application Laid-Open No. 9-74401.
[0003]
FIG. 3 shows a conventional clock switching method using a VCO (voltage controlled oscillator). This clock transfer method includes a
[0004]
Next, the operation of the clock transfer method shown in FIG. 3 will be described. The read pulse of the
[0005]
The read pulse from the read
[0006]
[Problems to be solved by the invention]
In the above-described related art, the read pulse does not become the initial setting immediately after the power is turned on or when the power is unstable (for example, when noise occurs) and the write pulse is unstable. Therefore, it is not known where the read pulse is located relative to the write pulse, and in the worst case, there is a risk that data cannot be read. Further, even if the read pulse is stabilized from an unstable state, it is not clear where the pulse is located, so that there is a problem that the front-rear protection is biased to one side.
[0007]
SUMMARY OF THE INVENTION It is an object of the present invention to provide a clock switching method capable of reading data with a stable read pulse having sufficient protection at all times by controlling the read pulse.
[0008]
Another object of the present invention is to provide a clock switching method that can control a read pulse before a data error occurs and can avoid the occurrence of a data error.
[0009]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the clock switching method according to the present invention employs the following characteristic configuration.
[0010]
(1) In a clock transfer method including a VCO that receives a write input pulse to a memory and generates an output clock and a read pulse generator that generates a read pulse,
A shift unit that shifts the write input pulse for a predetermined time; an instability determining unit for a generated pulse of the read pulse generating unit; and a comparing unit that compares the write shift pulse and a generated pulse from the read pulse generator. A read pulse control unit is provided,
A clock switching method in which the write shift pulse of the shift unit is used as a read pulse of the memory during the unstable period.
[0011]
(2) The clock transfer method according to (1), further including a delay unit for delaying the write input pulse and the output pulse of the read pulse control unit.
[0012]
(3) The clock switching method according to (1), wherein the read pulse control unit has a protection unit that checks the number of matches in the comparison unit.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a preferred embodiment of a clock switching method according to the present invention will be described in detail with reference to FIGS.
[0016]
FIG. 1 is a block diagram of a preferred embodiment of a clock re-switching method according to the present invention, and FIG. 2 is a timing chart for explaining its operation. Note that the same reference numerals are used for components or blocks corresponding to those in the related art.
[0017]
First, with reference to FIG. 1, the configuration of the clock switching system according to the present invention will be described. In this clock transfer method, in addition to the dual-
[0018]
A write input pulse is input to the
[0019]
Note that the output pulse of the
[0020]
1 will be described below with reference to the timing chart of FIG. 2A illustrates a write input pulse input to the
[0021]
First, an operation until a read pulse (see FIG. 2 (g)) is generated will be described by taking power supply on (ON) as an example. When the power is turned on, the
[0022]
Therefore, until the generated pulse (e) becomes stable, the write shift pulse (c) obtained by shifting the write input pulse (a) to the position and cycle set by the read
[0023]
Next, whether or not the generated pulse (e) is stable is determined by comparing the write shift pulse (c) with the generated pulse (e) in the comparing unit 22. Further, in order to avoid accidental coincidence between the write shift pulse (c) and the generated pulse (e), the
[0024]
However, in this state, it is necessary to wait for the determination by the
[0025]
The preferred embodiment of the clock transfer method according to the present invention has been described above. However, it should be understood that the present invention should not be limited to only such specific examples, and that various modifications can be made without departing from the spirit of the present invention.
[0026]
【The invention's effect】
As can be understood from the above description, according to the clock transfer method of the present invention, by controlling the read pulse, it is possible to always read data from the memory with a stable read pulse having sufficient protection in front and rear. is there. In addition, since the read pulse is controlled before a data error occurs, a data error can be avoided.
[Brief description of the drawings]
FIG. 1 is a block diagram of a preferred embodiment of a clock transfer method according to the present invention.
FIG. 2 is an operation timing chart of the clock transfer method of FIG. 1;
FIG. 3 is a block diagram of a conventional clock switching method.
[Explanation of symbols]
10
13
Claims (3)
前記書き込み入力パルスを所定時間シフトするシフト部と、前記読み出しパルス生成部の生成パルスの不安定判定部と、前記書き込みシフトパルス及び前記読み出しパルス生成部からの生成パルスを比較する比較部とを有する読み出しパルス制御部を設け、
前記不安定期間中、前記シフト部の書き込みシフトパルスを前記メモリの読み出しパルスとすることを特徴とするクロック乗せ替え方式。In a clock transfer method having a VCO that receives a write input pulse to a memory and generates an output clock and a read pulse generation unit that generates a read pulse,
A shift unit that shifts the write input pulse for a predetermined time; an instability determining unit for a generated pulse of the read pulse generating unit; and a comparing unit that compares the write shift pulse and a generated pulse from the read pulse generator. A read pulse control unit is provided,
A clock switching method, wherein a write shift pulse of the shift unit is used as a read pulse of the memory during the unstable period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7144899A JP3576858B2 (en) | 1999-03-17 | 1999-03-17 | Clock transfer method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7144899A JP3576858B2 (en) | 1999-03-17 | 1999-03-17 | Clock transfer method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000269942A JP2000269942A (en) | 2000-09-29 |
JP3576858B2 true JP3576858B2 (en) | 2004-10-13 |
Family
ID=13460860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7144899A Expired - Fee Related JP3576858B2 (en) | 1999-03-17 | 1999-03-17 | Clock transfer method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3576858B2 (en) |
-
1999
- 1999-03-17 JP JP7144899A patent/JP3576858B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000269942A (en) | 2000-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0237636B2 (en) | ||
JP3593104B2 (en) | Clock switching circuit | |
JP3576858B2 (en) | Clock transfer method | |
US5341403A (en) | Means to avoid data distortion in clock-synchronized signal sampling | |
JPH11168365A (en) | Skew correction device | |
JP2594742B2 (en) | Clock transfer circuit | |
KR19980050372A (en) | Clock generator for data transmission synchronization | |
JP3099803B2 (en) | Elastic store memory controller | |
JP2665188B2 (en) | Buffer circuit | |
US6356505B2 (en) | Internal regeneration of the address latch enable (ALE) signal of a protocol of management of a burst interleaved memory and related circuit | |
JP3260483B2 (en) | External control signal input circuit | |
JP2617575B2 (en) | Data rate conversion circuit | |
JP2001093279A (en) | Memory control signal processing device | |
JP2626476B2 (en) | Frame aligner | |
JP3554881B2 (en) | Protection method of clock transfer circuit | |
JP4374514B2 (en) | Waveform correction circuit | |
JP3312647B2 (en) | Flip-flop circuit with asynchronous set / reset | |
JPH04311120A (en) | Frame aligner circuit | |
JPH09139730A (en) | Elastic storage device | |
JPH0450657Y2 (en) | ||
JPH06188866A (en) | Data changing circuit | |
JPH08179925A (en) | Synchronization change-put circuit | |
JPH0366239A (en) | Slip control circuit for elastic storage | |
JPH07325128A (en) | Digital pattern generator | |
JPH08153033A (en) | Data transfer circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040217 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20040309 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040510 |
|
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: 20040615 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040708 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070716 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080716 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080716 Year of fee payment: 4 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080716 Year of fee payment: 4 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090716 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |