JPH10242949A - Data frequency conversion method and device for executing the method - Google Patents

Data frequency conversion method and device for executing the method

Info

Publication number
JPH10242949A
JPH10242949A JP9045072A JP4507297A JPH10242949A JP H10242949 A JPH10242949 A JP H10242949A JP 9045072 A JP9045072 A JP 9045072A JP 4507297 A JP4507297 A JP 4507297A JP H10242949 A JPH10242949 A JP H10242949A
Authority
JP
Japan
Prior art keywords
data
counter
memory
clock
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9045072A
Other languages
Japanese (ja)
Inventor
Hiroshi Tajima
博 田島
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP9045072A priority Critical patent/JPH10242949A/en
Publication of JPH10242949A publication Critical patent/JPH10242949A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to accurately convert the frequency of data without being influenced by the dispersion of propagation delay time in hardware. SOLUTION: In the case of converting data DX synchronized with a certain reference clock into data DY synchronized with a different clock, the frequency of the data are accurately converted by using a gray code counter or the like capable of changing always only one bit out of bits constituting the counter in accordance with the count values of memory counters G, M without being influenced by the dispersion of propagation delay time in hardware.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ある基本クロック
に同期したデータを、それとは異なるクロックに同期す
るデータに変換する際、メモリカウンタに計数値の変化
に応じてカウンタを構成するビットが常に1ビットだけ
変化するグレイコードカウンタ等を用いることによっ
て、ハードウエアの伝搬遅延時間のばらつきを無くすよ
うにして、誤動作無く異なるクロック周波数に同期した
データに変換するようにした周波数変換方法及びこれを
実施した装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a method of converting data synchronized with a certain basic clock into data synchronized with a different clock, so that a bit constituting a counter is always stored in a memory counter in accordance with a change in a count value. By using a gray code counter or the like that changes by one bit, a variation in propagation delay time of hardware is eliminated, and a frequency conversion method for converting data to a clock synchronized with a different clock frequency without malfunction is implemented. Device.

【0002】[0002]

【発明が解決しようとする課題】ある基本クロックに同
期して送出されるデータを、それとは異なるクロックに
同期するデータに変換するために、通常、データを一時
的に保持する数バイトのメモリとデータのメモリへの書
き込みと読み出しを制御するためのメモリカウンタが使
用され、順番にメモリにデータを書き込んでいく。そし
て、書かれた順番に、読みだし側のクロックに同期させ
てデータを出力させて行くことにり、データの周波数変
換を行っている。
In order to convert data transmitted in synchronization with a certain basic clock to data synchronized with a different clock, a memory of several bytes for temporarily holding data is usually provided. A memory counter for controlling writing and reading of data to and from the memory is used, and data is written to the memory in order. Then, in the written order, the data is output in synchronization with the clock on the reading side, thereby performing the frequency conversion of the data.

【0003】このメモリカウンタには、バイナリカウン
タが用いている。しかしながら、バイナリカウンタで
は、ゲートの遅延時間のばらつき等により、カウンタの
値を比較する際、誤った比較結果が出力されてしまうこ
とがある。この誤った比較結果は、書き込みと読み出し
のクロックの比率によっては、最悪、誤動作を引き起こ
してしまう。従来、この誤動作等の現象を避けるため
に、ゲートの遅延時間を揃える各種の工夫をハードウエ
ア上で行なっていた。しかし、IC等に組み込む場合、
特にICが大規模になればなるほど、遅延時間を操作す
るのが難しくなってきている。
[0003] A binary counter is used as the memory counter. However, in a binary counter, an erroneous comparison result may be output when comparing the values of the counters due to variations in the delay time of the gate. This erroneous comparison result may cause a malfunction at worst depending on the ratio of the write and read clocks. Conventionally, in order to avoid such a phenomenon such as a malfunction, various devices for adjusting the gate delay time have been implemented on hardware. However, when incorporating into IC etc.,
In particular, the larger the IC, the more difficult it is to manipulate the delay time.

【0004】[0004]

【課題を解決するための手段】本発明は、ある基本クロ
ックに同期したデータを、それとは異なるクロックに同
期するデータに変換する際、メモリカウンタに計数値の
変化に応じてカウンタを構成するビットが常に1ビット
だけ変化するグレイコードカウンタ等を用いることによ
って、ハードウエアの伝搬遅延時間のばらつきの影響を
受けること無く、正確にデータの周波数を変換する方法
と、これを実施した装置を実現したものである。
According to the present invention, when data synchronized with a certain basic clock is converted into data synchronized with a different clock, a bit constituting a counter in accordance with a change in the count value is stored in a memory counter. By using a gray code counter or the like that always changes by one bit, a method of accurately converting the frequency of data without being affected by variations in hardware propagation delay time, and a device that implements this method have been realized. Things.

【0005】本発明のデータ周波数変換方法及びこれを
実施した装置は、周波数変換用のメモリにデータの書き
込みと読み出しを制御するメモリカウンタに、メモリカ
ウンタに計数値の変化に応じてカウンタを構成するビッ
トが常に1ビットだけ変化するグレイコードカウンタ等
を用いることによって、ハードウエアの伝搬遅延時間の
ばらつきによっても、本質的に誤動作が発生しないよう
にしたものである。
The data frequency conversion method of the present invention and a device implementing the data conversion method comprise a memory counter for controlling writing and reading of data to and from a frequency conversion memory, and a counter for the memory counter in accordance with a change in the count value. By using a gray code counter or the like in which the bit always changes by one bit, an erroneous operation is essentially prevented from occurring even if the propagation delay time of the hardware varies.

【0006】[0006]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

【実施例】図1は本発明を説明するための、テープにデ
ータの書き込みと読み出しを行う磁気記録装置の構成を
示す説明する図である。図1において、SCSIは磁気
記録装置のデータの入出力端子、DFC1,DFC2F
Cはそれぞれデータ周波数変換回路である。MEMOは
メモリ、TRECは磁気記録装置の記録再生系である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an explanatory view showing the configuration of a magnetic recording apparatus for writing and reading data to and from a tape for explaining the present invention. In FIG. 1, SCSI is a data input / output terminal of a magnetic recording device, DFC1, DFC2F.
C is a data frequency conversion circuit. MEMO is a memory, and TREC is a recording / reproducing system of a magnetic recording device.

【0007】図1に示すような、磁気記録装置において
は、SCSI等のインターフェイスを持つ装置外部から
SCSI等の規格の周波数で送られて来るデータを、装
置内のDRAM等のメモリMEMOに一時的に蓄えて、
これをテープ等の記録再生系TRECに磁気記録装置特
有のシステムクロックにより記録するようにしている。
又、SCSIコントロ一ラ等の外部とデータをやり取り
する部分は、そのシステムクロックとは別の、コントロ
ーラの規格周波数で動作させる必要がある。このため
に、装置の構成上、システムクロックの周波数が、コン
トローラの規格周波数と異なる場合、データの周波数を
変換する必要がある。
In a magnetic recording apparatus as shown in FIG. 1, data sent from a device having an interface such as SCSI at a standard frequency such as SCSI is temporarily stored in a memory MEMO such as DRAM in the device. Stored in
This is recorded on a recording / reproducing system TREC such as a tape by a system clock peculiar to a magnetic recording apparatus.
Further, a portion for exchanging data with the outside, such as a SCSI controller, needs to operate at a standard frequency of the controller which is different from the system clock. For this reason, when the system clock frequency is different from the standard frequency of the controller due to the configuration of the device, it is necessary to convert the data frequency.

【0008】また、データをメモリからテープ等に記録
する場合にも、磁気記録特性に合わせた周波数変換が必
要になってくる。さらに、その逆に、磁気記録装置のデ
ータをSCSI等のインターフェイスを介して他の機器
に送り出す場合のデータの流れの時も、同様のことが必
要になる。図2は本発明が適用される周波数変換回路の
具体的な構成を示す図である。図2において、DXはデ
ータXの入力端子、CLXはデータの基本クロックXの
入力端子、DYは周波数変換の行われたデータの出力端
子である。
Also, when data is recorded from a memory to a tape or the like, frequency conversion in accordance with magnetic recording characteristics is required. Further, conversely, the same applies to the flow of data when data from the magnetic recording device is sent to another device via an interface such as SCSI. FIG. 2 is a diagram showing a specific configuration of a frequency conversion circuit to which the present invention is applied. In FIG. 2, DX is an input terminal for data X, CLX is an input terminal for a basic clock X of data, and DY is an output terminal for data subjected to frequency conversion.

【0009】CLYは変換用の基本クロックYのの入力
端子、VLDはデータが有効か無効かを示すフラグ(v
alid信号)の出力端子である。G0,G1〜G7は
それぞれゲート回路、M0,M1〜M7はそれぞれ1ビ
ットのメモリで、D−Flip/Flopが使用されて
いる。DECはデコーダ回路、WRC書き込み側のメモ
リカウンタ、RDCは読みだし側のメモリカウンタであ
る。SELは切り替えスイッチ、CNPはコンパレー
タ、である。DF1,DF2はそれぞれD−Flip/
Flopである。
CLY is an input terminal of a basic clock Y for conversion, and VLD is a flag (v) indicating whether data is valid or invalid.
output signal). G0 and G1 to G7 are gate circuits, and M0 and M1 to M7 are 1-bit memories, each of which uses D-Flip / Flop. DEC is a decoder circuit, a memory counter on the WRC writing side, and RDC is a memory counter on the reading side. SEL is a changeover switch, and CNP is a comparator. DF1 and DF2 are D-Flip /
Flop.

【0010】データXの入力端子DXは、ゲート回路G
0,G1〜G7に接続されている。基本クロックXの入
力端子CLXは、メモリM0,M1〜M7に接続され、
又、書き込み側のメモリカウンタWRCに接続されてい
る。書き込み側のメモリカウンタWRCの出力端子はデ
コーダ回路DECを介してゲート回路G0,G1〜G7
に接続され、又D−Flip/FlopDF1を介して
コンパレータCNPに接続されている。ゲート回路G
0,G1〜G7の出力端子はそれぞれメモリM0,M1
〜M7に接続されている。メモリM0,M1〜M7の出
力端子はそれぞれ切り替えスイッチSELを介して周波
数変換の行われたデータの出力端子DYに接続されてい
る。
The input terminal DX for the data X is connected to the gate circuit G
0, G1 to G7. The input terminal CLX of the basic clock X is connected to the memories M0, M1 to M7,
Further, it is connected to a memory counter WRC on the writing side. The output terminals of the write-side memory counter WRC are connected to the gate circuits G0, G1 to G7 via the decoder circuit DEC.
, And to the comparator CNP via D-Flip / FlopDF1. Gate circuit G
0, G1 to G7 are output terminals of the memories M0, M1, respectively.
To M7. Output terminals of the memories M0 and M1 to M7 are connected to output terminals DY of data subjected to frequency conversion via the changeover switches SEL.

【0011】変換用の基本クロックYのの入力端子は読
みだし側のメモリカウンタRDCに接続され、又D−F
lip/FlopDF1を介してコンパレータCNP
に、又D−Flip/FlopDF2を介して、フラグ
(valid信号)の出力端子VLDに接続されてい
る。コンパレータCNPの出力端子は、読みだし側のメ
モリカウンタRDCに接続され、又D−Flip/Fl
opDF2を介して、フラグ(valid信号)の出力
端子VLDに接続されている。読みだし側のメモリカウ
ンタRDCの出力端子は、切り替えスイッチSEL及び
コンパレータCNPに接続されている。
An input terminal of a conversion basic clock Y is connected to a memory counter RDC on the read side, and DF
Comparator CNP via lip / FlopDF1
And a flag (valid signal) output terminal VLD via a D-Flip / FlopDF2. The output terminal of the comparator CNP is connected to a memory counter RDC on the read side, and D-Flip / Fl
It is connected to a flag (valid signal) output terminal VLD via opDF2. The output terminal of the memory counter RDC on the read side is connected to the changeover switch SEL and the comparator CNP.

【0012】図2に示すような周波数変換装置におい
て、データXの入力端子DXに加えられる、SCSI等
の基本クロックXHzに同期して送られてくるたデータ
を、磁気記録装置の基本クロックYHzに同期したデー
タに変換して、データの出力端子DYに出力する場合の
動作を、図3をの波形図使用して説明する。簡単のた
め、読み込みの磁気記録装置の基本クロック周波数YH
zは、書き込みの基本クロック周波数XHzよりも高
く、書き込み側からは、データが連続して来るものとす
る。
In a frequency conversion apparatus as shown in FIG. 2, data sent to a data X input terminal DX in synchronization with a basic clock XHz such as SCSI is converted to a basic clock YHz of a magnetic recording apparatus. The operation of converting the data into synchronized data and outputting the data to the data output terminal DY will be described with reference to the waveform diagram of FIG. For simplicity, the basic clock frequency YH of the read magnetic recording device
It is assumed that z is higher than the basic clock frequency XHz of writing, and data continuously comes from the writing side.

【0013】図3において、(a)は書き込み側のクロ
ックパルス(周波数、XHz)を、(b)は書き込み側
のデータを示す。(c)は読み込み側のクロックパルス
(周波数、YHz)を示す。(d)はデータが有効か無
効かを示すフラグ(valid信号)、(e)は読み込
み側のデータを示す。有効データを示すフラグ、val
idは、valid=1の時、データは有効であり、v
alid=0の時データは無効である。
In FIG. 3, (a) shows a clock pulse (frequency, XHz) on the writing side, and (b) shows data on the writing side. (C) shows a clock pulse (frequency, YHz) on the reading side. (D) shows a flag (valid signal) indicating whether data is valid or invalid, and (e) shows data on the reading side. Flag indicating valid data, val
id is valid when valid = 1, the data is valid, and v
When "alide = 0", the data is invalid.

【0014】図3の(a)に示すような、基本クロック
周波数X Hzに同期した図3の(b)に示すようなデ
ータを、図3の(c)に示すようなそれとは異なるクロ
ック周波数、YHzに同期する図3の(e)に示すよう
なデータに変換する。この場合、ハードウエアは、図2
に示すように、8バイトのメモリM0,M1〜M7に、
基本クロックXの入力端子CLXに加えられる書き込み
側のクロックパルスXにより順次ゲート回路G0,G1
〜G7を開いて順番にデータを書き込んでいく。その
時、書き込み側のメモリカウンタWRCは、書き込んだ
データの数だけ、進んでいく。
The data as shown in FIG. 3 (b) synchronized with the basic clock frequency X Hz as shown in FIG. 3 (a) is converted to a different clock frequency as shown in FIG. 3 (c). , YHz, is converted to data as shown in FIG. In this case, the hardware is
As shown in the figure, the 8-byte memories M0, M1 to M7 have
The gate circuits G0, G1 are sequentially turned on by the write-side clock pulse X applied to the input terminal CLX of the basic clock X.
Open G7 and write data in order. At this time, the write-side memory counter WRC advances by the number of written data.

【0015】メモリM0,M1〜M7書き込まれたデー
タは、変換用の基本クロックYのの入力端子CLYに加
えられる、図3の(c)に示すような読みだし側のクロ
ック周波数、YHzに同期して切り替えスイッチSEL
により、書かれた順番に、データを、データの出力端子
DYに読み出すことにより周波数の変換が行われる。こ
の場合、書き込みのクロック周波数XHzと読み出しの
クロックの周波数YHzが異なるので、単位時間にアク
セスできるデータ総量が異なるため、図3の(d)に示
すようなデータが有効か無効かを示すフラグ(vali
d信号)を、フラグ(valid信号)の出力端子VL
Dに出力することにより、出力データの有効性の表示を
行う。
The data written in the memories M0 and M1 to M7 are synchronized with the read-side clock frequency YHz as shown in FIG. 3C, which is applied to the input terminal CLY of the conversion basic clock Y. Switch SEL
Thus, the frequency conversion is performed by reading the data to the data output terminal DY in the written order. In this case, since the write clock frequency XHz is different from the read clock frequency YHz, the total amount of data that can be accessed in a unit time is different. Therefore, the flag (D) shown in FIG. vali
d signal) to the output terminal VL of the flag (valid signal).
By outputting to D, the validity of the output data is displayed.

【0016】動作の概要としては、次のようになる。デ
ータの書き込みは、まだデータが読み出されていない領
域の手前まで進むと、書き込みを止める(valid信
号を下げる)。又、データの読み出しは、データが書か
れたら進み、データの書かれていない領域の手前まで進
むと、そこで、読出しを止める(valid信号を下げ
る)。これらを双方で繰り返し行なうことで、データの
周波数変換を行なうが、その書き込みと読みだしを進め
たり止めたりするのは、書き込み側のメモリカウンタW
RCと読みだし側のメモリカウンタRDCの値をコンパ
レータCNPで比較することで行なう。
The outline of the operation is as follows. When the writing of data progresses to a position just before an area from which data has not been read, the writing is stopped (the valid signal is lowered). In addition, the reading of data proceeds when data is written, and when the data is advanced to an area where no data is written, the reading is stopped there (valid signal is lowered). The frequency conversion of the data is performed by repeating these operations on both sides, and the writing and reading are advanced or stopped by the memory counter W on the writing side.
This is performed by comparing the value of RC with the value of the memory counter RDC on the reading side by the comparator CNP.

【0017】図3の例においては、図3の(b)に示す
ようにクロック周波数X Hzに同期したデータは連続
しているが、クロックの周波数YHzの周波数の方が高
いので、図3の(e)に示すようにdata(y)は間
欠になる。図4は、図2の装置に使用されるメモリの動
作を説明するための図である。図4のメモリの容量は、
0〜7の8Byteであり、メモリに記憶されるデータ
は、1Byteずつ送られてくるものとする。
In the example of FIG. 3, although the data synchronized with the clock frequency X Hz is continuous as shown in FIG. 3B, the frequency of the clock frequency Y Hz is higher. As shown in (e), data (y) is intermittent. FIG. 4 is a diagram for explaining the operation of the memory used in the device of FIG. The memory capacity of FIG.
It is assumed that the number of bytes is 0 to 7 and that the data stored in the memory is sent in units of 1 byte.

【0018】wr‐ptはデータが書き込まれる位置、
rd_ptはデータが読み出される位置のメモリカウン
タの値を示す。書き込み側は、基本クロックXに同期し
て、順次メモリにデータを書き込んでいく。上記の場
合、データが7Byteまで送られて来ると、書き込み
側の現在位置を示すwr‐ptは、6まで進む。この
時、読みだし側は、6までデータを読み出すことが出来
る。
Wr-pt is a position where data is written,
rd_pt indicates the value of the memory counter at the position from which data is read. The writing side sequentially writes data to the memory in synchronization with the basic clock X. In the above case, when data is sent up to 7 bytes, wr-pt indicating the current position on the writing side advances to 6. At this time, the reading side can read up to 6 data.

【0019】従って、読みだし側は、基本クロックYに
同期して、メモリからデータを読み出していくが、rd
_ptが6まで来たら、次のデータがまだ来ていないか
ら読みだし動作を止めなければならない。このような動
作を繰り返すことによって、周波数の変換が行なわれ
る。ここで、読みだし動作を止めたり、進めたりという
動作は、書き込み側のメモリカウンタWRCの値である
wr_ptと、読みだし側のメモリカウンタRDCの値
であるrd_ptをコンパレータCNPで比較すること
で行なう。
Therefore, the reading side reads data from the memory in synchronization with the basic clock Y,
When _pt reaches 6, the read operation must be stopped because the next data has not yet arrived. By repeating such operations, frequency conversion is performed. Here, the operation of stopping or proceeding with the reading operation is performed by comparing wr_pt which is the value of the memory counter WRC on the writing side with rd_pt which is the value of the memory counter RDC on the reading side by the comparator CNP. .

【0020】図5は周波数変換の動作を説明するための
波形図である。図5において、(a)は書き込み側のク
ロック周波数XHzを、(b)は書き込み側のデータ
を、(c)は書き込みカウンタの値を示す。(d)読み
込み側のクロック周波数、YHzを示す。(e)は読み
込み側のクロック周波数Yの立ち上がりエッジでラッチ
された書き込みカウンタの値を示す。(f)は読み込み
カウンタの値を示す。(g)はデータが有効か無効かを
示すフラグ(valid信号)、(h)は読み込み側の
データを示す。
FIG. 5 is a waveform diagram for explaining the frequency conversion operation. 5A shows the write-side clock frequency XHz, FIG. 5B shows the write-side data, and FIG. 5C shows the value of the write counter. (D) The clock frequency on the reading side, YHz, is shown. (E) shows the value of the write counter latched at the rising edge of the clock frequency Y on the read side. (F) shows the value of the read counter. (G) indicates a flag (valid signal) indicating whether the data is valid or invalid, and (h) indicates data on the reading side.

【0021】図4の(a)に示すような書き込み側のク
ロック周波数Xの立ち上がりエッジで、図4の(b)に
示すようにデータはメモリに取り込まれる。この時の書
き込みカウンタの値wr_ptは、図5の(c)に示す
ようにカウントアップされて行く。
At the rising edge of the clock frequency X on the write side as shown in FIG. 4A, data is taken into the memory as shown in FIG. 4B. At this time, the value wr_pt of the write counter is counted up as shown in FIG.

【0022】書き込みと読み出しのカウンタの値、wr
_ptとrd_ptを比較するのは、次のように行なわ
れる。まず、図5の(d),(e),(f)に示すよう
に、読み込み側のクロックパルスYの立ち上がりエッジ
で、読み出しのカウンタの値rd_ptと比較される書
き込みカウンタの値wr_ptがラッチされ取り込まれ
る。ロックYの立ち上がりエッジでラッチされたwr_
ptをwr_pt(y)どする。
Write and read counter values, wr
The comparison between _pt and rd_pt is performed as follows. First, as shown in (d), (e), and (f) of FIG. 5, at the rising edge of the read-side clock pulse Y, the value wr_pt of the write counter that is compared with the value rd_pt of the read counter is latched. It is captured. Wr_ latched on the rising edge of lock Y
Let pt be wr_pt (y).

【0023】例えば、図5の(e),(f)のwr_p
tをwr_ptが3と6の場合のように、書き込みカウ
ンタの値wr_pt(y)と読み出しのカウンタの値r
d_ptが一致した場合には、次のデータは無効である
ので、図5の(g),(h)示すようにvalid信号
を下げて、読出しを止める。これは、読み出しが、書き
込み点まで追い付いてしまい、新たに読み出すデータが
無いからである。ところが、書き込みカウンタの値wr
_ptの変化点と、クロックYの立ち上がりが一致して
しまった場合、書き込みカウンタの値が判断出来なくな
り、正常な動作が行われない問題が生じる。
For example, wr_p in (e) and (f) of FIG.
t is the value of the write counter wr_pt (y) and the value of the read counter r, as in the case where wr_pt is 3 and 6.
When d_pt matches, the next data is invalid, so that the valid signal is lowered to stop reading as shown in (g) and (h) of FIG. This is because reading has caught up to the writing point and there is no new data to be read. However, the value wr of the write counter
If the change point of _pt coincides with the rising edge of the clock Y, the value of the write counter cannot be determined, which causes a problem that normal operation is not performed.

【0024】図6は、書き込みカウンタの値wr_pt
の変化点と、クロックYの立ち上がりが一致してしまっ
た場合の例を説明するための波形図である。図6の
(a)(b)は、書き込みカウンタの値wr_ptの2
と3,5と6,0と1の各変化点が、クロックYの立ち
上がりと一致してしまった場合の例を示している。この
ために図6の(c)に示すように、この時の書き込みカ
ウンタの値wr_ptが判断出来なくなり、正常な変換
動作が行われなくなる。
FIG. 6 shows the value wr_pt of the write counter.
FIG. 9 is a waveform chart for explaining an example of a case where the rising point of the clock Y coincides with the change point of the clock Y. FIGS. 6A and 6B show two values wr_pt of the write counter.
FIG. 3 shows an example in which each of the changing points 3, 5, 5, 6, 0, and 1 coincides with the rising edge of the clock Y. For this reason, as shown in FIG. 6C, the value wr_pt of the write counter at this time cannot be determined, and a normal conversion operation cannot be performed.

【0025】変換装置を正常に動作させるには、判断出
来ないカウンタの値の部分は、図6の(d)に示すよう
に、2or3,5or6,0or1のように、書き込み
カウンタの値wr_ptの変化の前か後のどちらかの値
にならなければならない。この場合、図6の(d)で、
例えば、カウンタの値が2or3等となっているのは、
クロックYの立ち上がりが丁度、書き込みカウンタの値
wr_ptの変化点にあるため、どっちになるかわから
ないためである。。
In order for the converter to operate normally, the part of the counter value that cannot be determined is, as shown in FIG. 6D, a change in the value wr_pt of the write counter, such as 2or3, 5or6, 0or1. Must be either before or after In this case, in FIG.
For example, the value of the counter is 2 or 3
This is because the rise of the clock Y is just at the change point of the value wr_pt of the write counter, so that it is not possible to know which one. .

【0026】書き込みカウンタの値wr_ptの値が、
変化の前か後のどちらかの値に特定される場合には、変
換の動作は正常に行われる。図7は、クロックYの立ち
上がりがちょうど書き込みカウンタの値wr_ptの変
化点にある場合に、wr_ptの値が、変化の前か後の
どちらかの値に特定される場合の動作を説明するための
波形図である。図7において、(a)〜(d)は、書き
込みカウンタの値wr_ptの値が、変化の前の場合の
例を示したものである。
When the value of the write counter wr_pt is
If the value is specified to be either before or after the change, the conversion operation is performed normally. FIG. 7 is a diagram for explaining the operation in the case where the value of wr_pt is specified to either the value before or after the change when the rising of the clock Y is exactly at the change point of the value wr_pt of the write counter. It is a waveform diagram. 7A to 7D show examples in which the value of the write counter value wr_pt is before the change.

【0027】この場合には、図7の(a)に示すよう
に、wr_pt(y)の値は2,5,0となる。この結
果、図7の(b)〜(d)に示すように、正常な変換動
作が行われる。この場合、変換データの読み出しは、図
7の(d)に示すようにデータのc,fの後で中断す
る。図7の、(e)〜(h)は、書き込みカウンタの値
wr_ptの値が、変化の後の場合の例を示したもので
ある。
In this case, as shown in FIG. 7A, the value of wr_pt (y) is 2, 5, 0. As a result, a normal conversion operation is performed as shown in (b) to (d) of FIG. In this case, the reading of the converted data is interrupted after the data c and f as shown in FIG. (E) to (h) of FIG. 7 show examples in which the value of the write counter value wr_pt has changed.

【0028】この場合には、図7の(e)に示すよう
に、wr_pt(y)の値は3,6,1となる。この結
果、図7の(f)〜(h)に示すように、正常な変換動
作が行われる。この場合、変換データの読み出しは、図
7の(h)に示すようにデータのd,gの後で中断す
る。上記のように、クロックYの立ち上がりが、書き込
みカウンタの値wr_ptの変化点にある場合にも、書
き込みカウンタの値wr_ptの値が、変化の前か後の
どちらかの値に特定される場合には、変換の動作は正常
に行われるが、この前提は、書き込み用のカウンタと読
みだし用のカウンタが正常に動作し、その計数値が連続
的に変化していくことが条件となる。
In this case, the value of wr_pt (y) is 3, 6, 1 as shown in FIG. As a result, a normal conversion operation is performed as shown in (f) to (h) of FIG. In this case, the reading of the converted data is interrupted after the data d and g as shown in FIG. As described above, even when the rising edge of the clock Y is at the changing point of the value wr_pt of the write counter, when the value of the value wr_pt of the write counter is specified as either the value before or after the change. , The conversion operation is performed normally, on the premise that the write counter and the read counter operate normally and their count values change continuously.

【0029】ところが、書き込みカウンタの値wr_p
tがバイナリカウンタである場合には、書き込みカウン
タの値の5→6の変化は、2bit変化することから、
次のような不具合が発生してしまう。図8は、バイナリ
カウンタの動作を説明する波形図である。最大計数値が
8のバイナリカウンタは3bit(b0,b1,b2)
により構成され、その計数値と各bit(b0,b1,
b2)の状態は、図8の(a)のようになり、書き込み
カウンタの値の5→6の変化は、2bitが同時に変化
する。
However, the value of the write counter wr_p
When t is a binary counter, the change of the value of the write counter from 5 to 6 changes by 2 bits,
The following problems occur. FIG. 8 is a waveform diagram illustrating the operation of the binary counter. A binary counter with a maximum count value of 8 is 3 bits (b0, b1, b2)
The count value and each bit (b0, b1,
The state of b2) is as shown in FIG. 8A, and the change of the value of the write counter from 5 to 6 changes simultaneously by 2 bits.

【0030】この場合の、各bit(b0,b1,b
2)の状態の波形を、図8の(b)、(c)に示す。図
8の(b)は各bitの変化が同時に起こる理想的な場
合を示している。この場合には、その計数値が5−6
と、連続的に変化していくので何等の問題も生じない。
しかしながら実際の回路に於いては、各bitの変化
に、延時間のばらつきが生じるのが普通である。このた
めに、書き込みカウンタの値の5−6の変化によって、
b0とblが、厳密には同時に変化するわけではなく、
多少差が生じることが普通である。
In this case, each bit (b0, b1, b
The waveforms in the state 2) are shown in FIGS. 8B and 8C. FIG. 8B shows an ideal case in which changes of each bit occur simultaneously. In this case, the count value is 5-6.
Therefore, there is no problem because it changes continuously.
However, in an actual circuit, the variation of each bit usually has a variation in the delay time. For this reason, the change of the value of the write counter by 5-6 causes
b0 and bl do not change strictly at the same time,
It is common for some differences to occur.

【0031】仮に、blの変化がb0より若干遅れたと
し、この場合の変化点を拡大すると、図8の(c)に示
すようになる。この場合の、b0とblの変化の間は、
b0=0,bl=0,b2=1であり、この計数値は4
を表示することになり、実際のその前後の計数値とは異
なった値を表示する誤動作を行うことになる。バイナリ
カウンタの上記の変化の間、即ち誤動作を行っている期
間に、クロックYの立ち上がりが来た場合の変換動作を
図9により説明する。
Assuming that the change of bl is slightly delayed from b0, the change point in this case is enlarged as shown in FIG. 8C. In this case, between the change of b0 and bl,
b0 = 0, bl = 0, b2 = 1, and the counted value is 4
Is displayed, and an erroneous operation of displaying a value different from the actual count value before and after that is performed. The conversion operation when the rising of the clock Y comes during the above-mentioned change of the binary counter, that is, during the period of the malfunction is described with reference to FIG.

【0032】図9の(a)、(b)に示すように、書き
込みカウンタの値wr_ptの5−6の変化点に、クロ
ックYの立ち上がりが一致した場合に、書き込みカウン
タの値wr_ptが上記の図8のような誤動作を起こし
た場合には、書き込みカウンタの値wr_pt(y)
は、図9の(c)のようになり、その計数値がその前後
の値とは異なった4に変化する。このため、比較すべき
書き込みカウンタの値wr_pt(y)の動きが、不連
続になる。
As shown in FIGS. 9A and 9B, when the rising edge of the clock Y coincides with the change point 5-6 of the value wr_pt of the write counter, the value wr_pt of the write counter When the malfunction as shown in FIG. 8 occurs, the value of the write counter wr_pt (y)
Is as shown in FIG. 9C, and the count value changes to 4 different from the values before and after the count value. Therefore, the movement of the value wr_pt (y) of the write counter to be compared becomes discontinuous.

【0033】このように書き込みカウンタの値wr_p
t(y)の動きが、不連続になった場合の変換動作を図
10により説明する。書き込みカウンタの値wr_pt
(y)の動きが、不連続になると、不要なところで、デ
ータの出力が止まったりする誤動作が発生する。即ち、
本来の動きは、図10の(a)〜(d)のようにならな
ければならないのに、誤動作が発生した場合のには、図
10の(e)〜(h)のようになり、図10の(e)の
ように、書き込みカウンタの値wr_pt(y)の値が
5−4に不連続に変化した後に、図10の(g)示すよ
うに、validが変わり、図10の(h)示すように
不必要な箇所でデータが出力が止まる現象が生じる。
As described above, the value wr_p of the write counter
The conversion operation when the movement of t (y) is discontinuous will be described with reference to FIG. Write counter value wr_pt
If the movement of (y) becomes discontinuous, an erroneous operation in which data output is stopped at an unnecessary place occurs. That is,
The original movements must be as shown in FIGS. 10A to 10D, but when a malfunction occurs, they become as shown in FIGS. 10E to 10H. After the value wr_pt (y) of the write counter changes discontinuously from 5 to 4 as shown in FIG. 10E, the valid changes as shown in FIG. As shown in), a phenomenon occurs in which data output stops at unnecessary places.

【0034】また、書き込みカウンタの値wr_ptと
rd_ptの比較結果を正確にモニターできない欠点も
生じる。特に、致命的に誤動作を引き起こすのは、図1
1に示すような、読み込みのクロックパルスXがジッタ
を持ったクロックなどで、クロックYの立ち上がりがク
ロックパルスXと一致した場合である。この場合には、
図11の(a)〜(c)のようになり、図11の
(a),(b)に示すように、クロックYの立ち上がり
エッジが、たまたま書き込みカウンタの値wr_ptの
変化点と一致してしまった場合、図11の(c)に示す
ように、ほとんど全ての書き込みカウンタの値wr_p
t(y)が不確かな値になるため、正しい制御ができな
くなる。
There is also a disadvantage that the result of comparison between the values wr_pt and rd_pt of the write counter cannot be accurately monitored. In particular, the cause of a fatal malfunction is shown in FIG.
As shown in FIG. 1, the read clock pulse X is a jittered clock or the like, and the rising of the clock Y coincides with the clock pulse X. In this case,
As shown in FIGS. 11A to 11C, as shown in FIGS. 11A and 11B, the rising edge of the clock Y happens to coincide with the change point of the value wr_pt of the write counter. If this happens, the value wr_p of almost all the write counters as shown in FIG.
Since t (y) has an uncertain value, correct control cannot be performed.

【0035】本発明は、上記のようなメモリカウンタの
ハードウエアの伝搬遅延時間のばらつきによる周波数変
換の誤動作を防止するために、書き込み側と読みだし側
の位置を示すカウンタに、グレイコードカウンタ等の計
数値の変化に応じてカウンタを構成するビットが常に1
ビットだけ変化するカウンタを用いることによって、、
誤動作を無くすデータ周波数変換方法とこれを実施した
装置を実現したものである。
According to the present invention, in order to prevent a malfunction of frequency conversion due to a variation in the propagation delay time of the hardware of the memory counter as described above, a gray code counter or the like is used for the counter indicating the position on the writing side and the reading side. The bits forming the counter are always 1 according to the change in the count value of
By using a counter that changes by bits,
A data frequency conversion method for eliminating a malfunction and a device implementing the method are realized.

【0036】図12は本発明に使用される、カウンタを
説明する図である。図12図の(a)はグレイコードカ
ウンタの例を示したものである。図12図の(a)に示
すように、最大計数値が8のグレイコードカウンタは、
バイナリコードカウンタと同様に3bit(b0,b
1,b2)により構成され、その計数値と各bit(b
0,b1,b2)の状態は図に示すようになっている。
計数値と各bit(b0,b1,b2)の変化の状態
は、どの計数値においても、各bitの状態は、1bi
tしか変化しないのがグレイコードカウンタの特徴であ
る。
FIG. 12 is a diagram for explaining a counter used in the present invention. FIG. 12A shows an example of a gray code counter. As shown in FIG. 12A, a gray code counter having a maximum count value of 8
As with the binary code counter, 3 bits (b0, b
1, b2), and the count value and each bit (b
The state of (0, b1, b2) is as shown in the figure.
The state of the change of the count value and each bit (b0, b1, b2) is 1 bit for any count value.
A feature of the Gray code counter is that only t changes.

【0037】例えば、書き込みカウンタの値wr_pt
の値が1?1の場合の、計数値の5−6への変化におけ
る、各bit(b0,b1,b2)の状態の波形を、図
12の(b)に示す。各bitの波形は図12の(b)
に示すようになり、計数値は、lllか101がありえ
るわけであるが、どちらにしても変化点の前後の値がラ
ッチされることになり、それ以外の値がラッチされるこ
とはない。従って、上記の不具合は、根本的に発生しな
いことになる。
For example, the value wr_pt of the write counter
FIG. 12B shows the waveform of the state of each bit (b0, b1, b2) when the count value changes from 5 to 1 in the case where the value of “1” is 1 to 1. The waveform of each bit is shown in FIG.
The count value can be either 11 or 101, but in any case, the values before and after the change point are latched, and the other values are not latched. Therefore, the above-mentioned problem does not occur fundamentally.

【0038】このように、バイナリカウンタと大きく違
うのは、どこのカウントアップ点でも、lbitしか状
態が変化しなので、この状態の変化するbitの変化の
時期が多少早かったり、又は遅くれて、クロックYによ
り取り込まれるメモリカウンタの値が、変化前の値が取
り込まれた場合と、変化後の値がとりこまれた場合に
は、その計数値は異なるがメモリカウンタの値は、連続
的に変化しているので、図7で説明したように、いずれ
の場合にも正常な変換動作が行われる。また、使用する
カウンタは、特にグレイコードカウンタである必要はな
い。要は、どのガウントアップ点でも1bitしか変化
しなければ、良いわけてある。
As described above, the major difference from the binary counter is that, at any count-up point, only 1 bit changes the state, and the bit changing state changes slightly earlier or later. When the value of the memory counter captured by the clock Y is the value before the change and when the value after the change is captured, the count value differs, but the value of the memory counter changes continuously. Therefore, as described with reference to FIG. 7, a normal conversion operation is performed in any case. The counter used does not need to be a gray code counter. The point is that it is good if only 1 bit changes at any count-up point.

【0039】例えば、ジョンソンカウンタと呼ばれるカ
ウンタを使用することも出来る。ジョンソンカウンタの
計数値と各bit(b0,b1,b2)の状態は、図1
2の(c)に示すようになっており、どの計数値におい
ても、グレイコードカウンタと同様に各bitの変化
は、1bitしか変化しない。このため、ジョンソンカ
ウンタでも、上記のグレイコードカウンタと同様に使用
することが可能である。
For example, a counter called a Johnson counter can be used. The count value of the Johnson counter and the state of each bit (b0, b1, b2) are shown in FIG.
As shown in FIG. 2 (c), each bit changes only 1 bit at any count value, similarly to the gray code counter. For this reason, the Johnson counter can be used in the same manner as the Gray code counter.

【0040】今までの説明の実施例では、書き込み測の
データが連続したデータで、読み出し測のデータは書き
込みより早い周波数の場合の例について説明を行った
が、書き込み測のデータと読み出し測のデータの周波数
の関係はこのような条件に限定されるものではない。当
然、書き込み側のデータがが間欠に来る場合でも、又書
き込み測より読みだし測の速度が遅かった場合でも、書
き込み測を止めたり進めたりする上で、上記の説明と同
様の手法を用いて、実現することが出来る。また、当
然、書き込み測、読みだし側両方が間欠で制御する必要
がある場合でも、本発明を適用することが可能である。
In the embodiments described so far, an example has been described in which the data of the write measurement is continuous data and the data of the read measurement has a frequency faster than that of the write. The relationship between data frequencies is not limited to such a condition. Naturally, even when the data on the writing side is intermittent, or when the reading measurement speed is slower than the writing measurement, the same method as described above can be used to stop or advance the writing measurement. , Can be realized. In addition, the present invention can be applied to the case where both the writing measurement and the reading side need to be controlled intermittently.

【0041】[0041]

【発明の効果】本発明によれば、ある基本クロックに同
期したデータを、それとは異なるクロックに同期するデ
ータに変換する際、周波数変換用のメモリにデータの書
き込みと読み出しを制御するメモリカウンタにメモリカ
ウンタに計数値の変化に応じてカウンタを構成するビッ
トが常に1ビットだけ変化するグレイコードカウンタ等
を用いることによって、ハードウエアの伝搬遅延時間の
ばらつきによっても、本質的に誤動作が発生しないよう
にして、正確にデータの周波数を変換することが出来
る。
According to the present invention, when data synchronized with a certain basic clock is converted into data synchronized with a different clock, a memory counter for controlling writing and reading of data to a memory for frequency conversion is used. By using a gray code counter or the like in which a bit constituting the counter always changes by one bit according to a change in the count value, a malfunction does not essentially occur even due to a variation in hardware propagation delay time. Thus, the frequency of the data can be accurately converted.

【0042】このために、本発明は周波数変換用のメモ
リにデータの書き込みと読み出しを制御するメモリカウ
ンタのハードウエアの伝搬遅延時間のばらつきによって
も、本質的に誤動作が発生しないデータ周波数変換方法
及びこれを実施した装置を実現出来るので、従来の装置
のように、障害を避けるためには、データ載せ替えのた
めのメモリの容量を増やしたり、受側の回路に余裕を持
たせる工夫が不要になり回路の構成が簡略化出来る。
For this reason, the present invention provides a data frequency conversion method and a data frequency conversion method in which a malfunction does not occur essentially due to a variation in hardware propagation delay time of a memory counter that controls writing and reading of data to and from a frequency conversion memory. Since it is possible to realize a device that implements this, unlike the conventional device, it is not necessary to increase the capacity of the memory for data transfer or to make the receiving side circuit have a margin to avoid failures. The circuit configuration can be simplified.

【0043】又、従来は、メモリカウンタのゲート遅延
時間を揃えたりするために、カウンタの比較回路の誤動
作の確率を抑えていたが、本発明により不安定要素を根
本的に無くしているので、その必要がなくなり、周波数
変回路をICに組み込む場合などにも、ハードウエアの
構成が容易にできるとともに、カウンタの比較結果の信
号を、正確に出力することが出来る。
Conventionally, the probability of a malfunction of the comparison circuit of the counter has been suppressed in order to equalize the gate delay time of the memory counter. However, the present invention essentially eliminates unstable elements. This eliminates the necessity, so that the hardware configuration can be simplified even when the frequency conversion circuit is incorporated in an IC, and the signal of the comparison result of the counter can be accurately output.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を説明するための、テープにデータの書
き込みと読み出しを行う磁気記録装置の構成を示す説明
する図である。
FIG. 1 is a diagram illustrating a configuration of a magnetic recording apparatus that writes and reads data on a tape for explaining the present invention.

【図2】本発明が適用される周波数変換回路の具体的な
構成を示す図である。
FIG. 2 is a diagram showing a specific configuration of a frequency conversion circuit to which the present invention is applied.

【図3】SCSI等の基本クロックX Hzに同期して
送られてくるたデータを、磁気記録装置の基本クロック
Y Hzに同期したデータに変換する場合の動作を説明
する波形図である。
FIG. 3 is a waveform diagram illustrating an operation when converting data transmitted in synchronization with a basic clock X Hz such as SCSI into data synchronized with a basic clock Y Hz of a magnetic recording apparatus.

【図4】図2の装置に使用されるメモリの動作を説明す
るための図である。
FIG. 4 is a diagram for explaining an operation of a memory used in the device of FIG. 2;

【図5】周波数変換の動作を説明するための波形図であ
る。
FIG. 5 is a waveform chart for explaining an operation of frequency conversion.

【図6】書き込みカウンタの値wr_ptの変化点と、
クロックYの立ち上がりが一致してしまった場合の例を
説明するための波形図である。
FIG. 6 shows a change point of a value wr_pt of a write counter,
FIG. 9 is a waveform chart for explaining an example in a case where the rising edges of the clock Y coincide with each other.

【図7】クロックYの立ち上がりがちょうど書き込みカ
ウンタの値wr_ptの変化点にある場合の動作を説明
するための波形図である。
FIG. 7 is a waveform chart for explaining an operation in a case where the rising edge of the clock Y is exactly at the changing point of the value wr_pt of the write counter.

【図8】バイナリカウンタの動作を説明する波形図であ
る。
FIG. 8 is a waveform chart illustrating the operation of a binary counter.

【図9】バイナリカウンタの変化の間に、クロックYの
立ち上がりが来た場合の動作を説明する図である。
FIG. 9 is a diagram for explaining an operation when a clock Y rises during a change of a binary counter.

【図10】書き込みカウンタの値が、不連続になった場
合の動作を説明するである。
FIG. 10 is a diagram illustrating an operation when the value of a write counter becomes discontinuous.

【図11】読み込みのクロックパルスがジッタを持って
いる場合に、クロックYの立ち上がりがクロックパルス
と一致した場合を説明する図である。
FIG. 11 is a diagram illustrating a case where the rising of the clock Y coincides with the clock pulse when the read clock pulse has jitter.

【図12】本発明に使用される、カウンタを説明する図
である。
FIG. 12 is a diagram illustrating a counter used in the present invention.

【符号の説明】[Explanation of symbols]

SCSI・・・磁気記録装置のデータの入出力端子,D
FC1・・・データ周波数変換回路,DFC2・・・デ
ータ周波数変換回路,MEMO・・・メモリ,TREC
・・・磁気記録装置の記録再生系,DX・・・データX
の入力端子,CLX・・・データの基本クロックXの入
力端子,DY・・・周波数変換の行われたデータの出力
端子,CLY・・・変換用の基本クロックYのの入力端
子,VLD・・・フラグ(valid信号)の出力端
子,WRC・・・書き込み側のメモリカウンタ,DEC
・・・デコーダ回路,CNP・・・コンパレータ,RD
C・・・読みだし側のメモリカウンタ,SEL・・・切
り替えスイッチ,DF1,DF2・・・D−Flip/
Flop,G0〜G7・・・ゲート回路,M0〜M7・
・・1ビットのメモリ
SCSI: Data input / output terminal of magnetic recording device, D
FC1: Data frequency conversion circuit, DFC2: Data frequency conversion circuit, MEMO: Memory, TREC
... Recording / reproducing system of magnetic recording device, DX ... Data X
, CLX... Input terminal of data basic clock X, DY... Output terminal of frequency-converted data, CLY... Input terminal of conversion basic clock Y, VLD. · Flag (valid signal) output terminal, WRC ··· Write-side memory counter, DEC
... Decoder circuit, CNP ... Comparator, RD
C: memory counter on reading side, SEL: switch, DF1, DF2 ... D-Flip /
Flop, G0 to G7: Gate circuit, M0 to M7
..1 bit memory

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】ある基本クロックに同期したデータを、そ
れとは異なるクロックに同期するデータに変換する際、
メモリカウンタに計数値の変化に応じてカウンタを構成
するビットが常に1ビットだけ変化するカウンタを用い
ることによって、ハードウエアの伝搬遅延時間のばらつ
きの影響を受けること無くして、誤動作を防止したデー
タ周波数変換方法。
When converting data synchronized with a certain basic clock into data synchronized with a different clock,
By using a counter in which the bit that constitutes the counter always changes by one bit in response to a change in the count value for the memory counter, the data frequency can be prevented from malfunctioning without being affected by variations in hardware propagation delay time. Conversion method.
【請求項2】ある基本クロックに同期したデータを、そ
れとは異なるクロックに同期するデータに変換する際、
メモリカウンタにグレイコードカウンタを用いることに
よって、ハードウエアの伝搬遅延時間のばらつきの影響
を受けること無くして、誤動作を防止したデータ周波数
変換方法。
2. When converting data synchronized with a certain basic clock to data synchronized with a different clock,
A data frequency conversion method in which a gray code counter is used as a memory counter to prevent malfunctions without being affected by variations in hardware propagation delay time.
【請求項3】ある基本クロックに同期したデータを、そ
れとは異なるクロックに同期するデータに変換する際、
メモリカウンタにジョンソンカウンタを用いることによ
って、ハードウエアの伝搬遅延時間のばらつきの影響を
受けること無くして、誤動作を防止したデータ周波数変
換方法。
3. When converting data synchronized with a certain basic clock into data synchronized with a different clock,
A data frequency conversion method in which a malfunction is prevented by using a Johnson counter as a memory counter without being affected by variations in hardware propagation delay time.
【請求項4】ある基本クロックに同期しでデータが読み
込まれるメモリ、該メモリのデータを基本クロックとは
異なるクロックに同期して読み出すデータ読み出すこと
により基本クロックとは異なるクロックのデータに変換
する手段、計数値の変化に応じてカウンタを構成するビ
ットが常に1ビットだけ変化するカウンタを用いたメモ
リカウンタを使用してメモリへのデータの書き込みと読
み出しを制御する制御手段とを具備し、ハードウエアの
伝搬遅延時間のばらつきの影響を受けること無くして、
誤動作を防止したデータ周波数変換装置。
4. A memory from which data is read in synchronization with a certain basic clock, and means for converting data into a clock different from the basic clock by reading out data from the memory in synchronization with a clock different from the basic clock Control means for controlling writing and reading of data to and from a memory using a memory counter using a counter in which a bit constituting the counter always changes by one bit in response to a change in the count value; Without being affected by the variation in propagation delay time
Data frequency converter that prevents malfunction.
【請求項5】ある基本クロックに同期しでデータが読み
込まれるメモリ、該メモリのデータを基本クロックとは
異なるクロックに同期して読み出すデータ読み出すこと
により基本クロックとは異なるクロックのデータに変換
する手段、グレイコードカウンタを用いメモリカウンタ
を使用してメモリへのデータの書き込みと読み出しを制
御する制御手段とを具備し、ハードウエアの伝搬遅延時
間のばらつきの影響を受けること無くして、誤動作を防
止したデータ周波数変換装置。
5. A memory from which data is read in synchronization with a certain basic clock, means for converting data into a clock different from the basic clock by reading data read out from the memory in synchronization with a clock different from the basic clock Control means for controlling the writing and reading of data to and from the memory using a gray code counter and a memory counter to prevent malfunctions without being affected by variations in hardware propagation delay time. Data frequency converter.
【請求項6】ある基本クロックに同期しでデータが読み
込まれるメモリ、該メモリのデータを基本クロックとは
異なるクロックに同期して読み出すデータ読み出すこと
により基本クロックとは異なるクロックのデータに変換
する手段、ジョンソンカウンタを用いメモリカウンタを
使用してメモリへのデータの書き込みと読み出しを制御
する制御手段とを具備し、ハードウエアの伝搬遅延時間
のばらつきの影響を受けること無くして、誤動作を防止
したデータ周波数変換装置。
6. A memory from which data is read in synchronization with a certain basic clock, and means for converting data into a clock different from the basic clock by reading data read out from the memory in synchronization with a clock different from the basic clock Control means for controlling writing and reading of data to and from a memory using a memory counter using a Johnson counter, and preventing data from malfunctioning without being affected by variations in hardware propagation delay time. Frequency converter.
JP9045072A 1997-02-28 1997-02-28 Data frequency conversion method and device for executing the method Pending JPH10242949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9045072A JPH10242949A (en) 1997-02-28 1997-02-28 Data frequency conversion method and device for executing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9045072A JPH10242949A (en) 1997-02-28 1997-02-28 Data frequency conversion method and device for executing the method

Publications (1)

Publication Number Publication Date
JPH10242949A true JPH10242949A (en) 1998-09-11

Family

ID=12709148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9045072A Pending JPH10242949A (en) 1997-02-28 1997-02-28 Data frequency conversion method and device for executing the method

Country Status (1)

Country Link
JP (1) JPH10242949A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009017153A (en) * 2007-07-04 2009-01-22 Oki Electric Ind Co Ltd Method and circuit of transferring count value
JP2009218885A (en) * 2008-03-11 2009-09-24 Nec Engineering Ltd Clock transfer circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009017153A (en) * 2007-07-04 2009-01-22 Oki Electric Ind Co Ltd Method and circuit of transferring count value
JP2009218885A (en) * 2008-03-11 2009-09-24 Nec Engineering Ltd Clock transfer circuit

Similar Documents

Publication Publication Date Title
US7353333B2 (en) Laser drivers that provide double buffering of serial transfers
EP0248478A1 (en) Sequential buffer device
JPH10242949A (en) Data frequency conversion method and device for executing the method
US7782682B2 (en) Semiconductor device with circuitry for efficient information exchange
US6189060B1 (en) Transmitting device, server device and transmitting method
JPH0454317B2 (en)
JPH1166701A (en) Magnetic recording device and record medium on which program for computer-controlling the device is recorded
US5557481A (en) NRZ to RLL encoder circuit in disk drive read/write channel
JPS6323581B2 (en)
JPH10340596A (en) Data storage device and semiconductor memory
JP2004087027A (en) Access circuit
CN114138171A (en) Electronic device and magnetic disk device
KR880001221B1 (en) Interface circuit
JP3042839B2 (en) Magnetic disk drive and data writing / reading method therefor
JP2616490B2 (en) Shared data storage method
JP2002073285A (en) Reproduction method of recorded data and recorder- reproducer
US20050281128A1 (en) Semiconductor memory apparatus and method for operating a semiconductor memory apparatus
KR940001053Y1 (en) Frame number detecting circuit for data backup device
KR0148182B1 (en) Quadruple bank memory control circuit
JPH10289160A (en) Write data guarantee method for semiconductor memory
KR950020123A (en) Ultra-capacity high speed digital data storage
JPH0732748U (en) Magnetic recording device
JPH117720A (en) Variable data delay device
JPH03180926A (en) Data output device
JPH09179693A (en) Disk device