JP2000339872A - Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder - Google Patents

Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder

Info

Publication number
JP2000339872A
JP2000339872A JP11152097A JP15209799A JP2000339872A JP 2000339872 A JP2000339872 A JP 2000339872A JP 11152097 A JP11152097 A JP 11152097A JP 15209799 A JP15209799 A JP 15209799A JP 2000339872 A JP2000339872 A JP 2000339872A
Authority
JP
Japan
Prior art keywords
frame
decoding
circuit
decode
signal
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
JP11152097A
Other languages
Japanese (ja)
Inventor
Yukio Abe
幸男 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP11152097A priority Critical patent/JP2000339872A/en
Publication of JP2000339872A publication Critical patent/JP2000339872A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform the decode timing adjustment in 1-7 decoder without outputting the erroneous decoding result. SOLUTION: When a request giving signal is made to be '1' by a request signal fetch circuit 22, the synchronizing pattern is once only detected from the upper 4 bits of a 9 bits shift register circuit 23 by a synchronizing pattern detecting circuit 24 to transmit the synchronizing pattern detecting signal to a decode frame producing circuit 25. By the decode frame producing circuit 25, the decode frame is extended by the required number conforming to the synchronizing pattern detecting signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、磁気記録装置に関
する。特に、磁気記録装置でのデータの書き込みおよび
読み出しの際に用いられる、ランレングス制限符号変換
方式のデコードに関する。
[0001] The present invention relates to a magnetic recording apparatus. In particular, the present invention relates to a run-length limited code conversion decoding method used when writing and reading data in a magnetic recording device.

【0002】[0002]

【従来の技術】一般に、磁気記録装置にデータを書き込
む場合、ランレングス制限(RLL)符号に符号化して
記録している。従って、磁気記録装置に記録されたデー
タを読み出す場合、RLL符号からデータを復号(デコ
ード)しなければならないが、その際、デコードのタイ
ミング、即ち、デコードフレームの調整を行う必要があ
る。
2. Description of the Related Art Generally, when writing data to a magnetic recording apparatus, the data is encoded and recorded in a run-length limited (RLL) code. Therefore, when reading data recorded in the magnetic recording device, the data must be decoded (decoded) from the RLL code. At that time, it is necessary to adjust the decoding timing, that is, the decode frame.

【0003】RLL符号の一種である1−7符号のデコ
ーダを例に挙げて、従来のRLL符号の復号時における
デコードフレーム調整を説明する。まず、入力された1
−7コードデータの中にギャップパターン(GAP PATTER
N)と同期パターン(SYNC PATTERN)が連続して検出される
と、この1−7コードデータを復号する。但し、この際
のデコードフレームは調整されていない。次に、同期パ
ターンの復号結果に基づいてデコードフレームのタイミ
ングを調整する。その結果、調整後のデコードは正しい
タイミングで実行される。
[0003] Decoding frame adjustment at the time of decoding of a conventional RLL code will be described with reference to an example of a 1-7 code decoder which is a kind of RLL code. First, the input 1
-7 Gap pattern (GAP PATTER
When N) and the synchronization pattern (SYNC PATTERN) are detected successively, the 1-7 code data is decoded. However, the decoded frame at this time is not adjusted. Next, the timing of the decoded frame is adjusted based on the result of decoding the synchronization pattern. As a result, the adjusted decoding is executed at the correct timing.

【0004】図3の1−7デコード表を参照して、デコ
ードフレームのタイミング調整についてより具体的に説
明する。デコードフレームのタイミングを調整せずに同
期パターン(001001・・・001)をデコードし
た場合、同期パターンは(100)、(001)および
(010)のいずれかの連続としてデコードされる。図
3によれば、これらはそれぞれ(*001001)、
(**100**)及び(*1001**)に該当する
(*は任意の値)。よって、デコード後に出力されるN
RZ信号はそれぞれ(10)、(11)および(00)
となる。そこで、同期パターンをデコードして、そのN
RZ信号が何か判別すれば、デコードフレームの正しい
タイミングを知ることができる。
[0004] The timing adjustment of a decoded frame will be described more specifically with reference to a 1-7 decoding table shown in FIG. When the synchronization pattern (001001... 001) is decoded without adjusting the timing of the decode frame, the synchronization pattern is decoded as a continuous one of (100), (001) and (010). According to FIG. 3, these are (* 001001), respectively.
It corresponds to (** 100 **) and (* 1001 **) (* is an arbitrary value). Therefore, N output after decoding
The RZ signals are (10), (11) and (00), respectively.
Becomes Therefore, the synchronization pattern is decoded and its N
If the RZ signal is determined, the correct timing of the decoded frame can be known.

【0005】[0005]

【発明が解決しようとする課題】このように従来の技術
では、入力された1−7コードデータを、当初はタイミ
ングを調整しないで復号し、復号結果のパターンを判別
した後、パターンに応じてデコードのタイミングを調整
していた。このため、従来の1−7コードデータの復号
には、タイミングの調整が完了するまでの間、必ずしも
正しい復号結果を出力しないという問題があった。
As described above, in the prior art, the input 1-7 code data is decoded without adjusting the timing at first, and the pattern of the decoding result is determined. The timing of decoding was adjusted. For this reason, the conventional decoding of 1-7 code data has a problem that a correct decoding result is not always output until the timing adjustment is completed.

【0006】このような問題に鑑み、本発明が解決しよ
うとする課題は、デコード開始直後から正しい復号結果
を得ることが可能なデコードフレーム調整方法、デコー
ドフレーム調整回路およびこの回路を備える磁気記録装
置を提供することである。
In view of such a problem, the problem to be solved by the present invention is to provide a decoding frame adjustment method, a decoding frame adjustment circuit, and a magnetic recording apparatus having this circuit, which can obtain a correct decoding result immediately after the start of decoding. It is to provide.

【0007】[0007]

【課題を解決するための手段】このような課題を解決す
るため、本発明は以下のようなデコードフレーム調整方
法、デコードフレーム調整回路および磁気記録装置を提
供する。
In order to solve such a problem, the present invention provides a decoding frame adjustment method, a decoding frame adjustment circuit, and a magnetic recording apparatus as described below.

【0008】本発明が提供するデコードフレーム調整方
法は、ランレングス制限符号変換方式に基づいて符号化
された符号化データをデコードする際にデコードフレー
ムを調整する方法において、符号化データの中から特定
のビットパターンを検出するビットパターン検出段階
と、検出したタイミングを基準として、デコードフレー
ムを調整するデコードフレーム調整段階とを含むことを
特徴とするデコードフレーム調整方法である。
A decoding frame adjustment method provided by the present invention is a method for adjusting a decoding frame when decoding encoded data encoded based on a run-length limited code conversion method. And a decoding frame adjustment step of adjusting a decoding frame based on the detected timing.

【0009】従来の方法では、デコードを開始した直後
の結果に誤りである可能性があったが、本発明のデコー
ドフレーム調整方法では、デコード前のデータのビット
パターンによってデコードフレームの調整を済ませてし
まうので、デコード結果が誤りである可能性を排除する
ことができる。
In the conventional method, there is a possibility that the result immediately after the start of decoding may be incorrect. However, in the decoding frame adjustment method of the present invention, the decoding frame is adjusted by the bit pattern of the data before decoding. Therefore, it is possible to eliminate the possibility that the decoding result is erroneous.

【0010】ビットパターン検出段階では、例えば、符
号化データがギャップパターンから同期パターンに移行
する際のビットパターンを検出する。具体例を挙げる
と、ギャップパターン(010101…01)から同期
パターン(001001…001)に移行する過程にお
いて、ギャップパターンの最後の1ビットと同期パター
ンの最初の3ビットから(1001)というビットパタ
ーンが得られるので、これを検出してデコードタイミン
グを正しく調整することができる。この例では4ビット
のビットパターンを検出したが、より長いビットパター
ンを用いれば、よりノイズ等の影響を受けにくくするこ
とができる。また、デコードフレーム調整段階では、例
えば、検出したタイミングを基準とするデコードフレー
ムを生成する。
In the bit pattern detection step, for example, a bit pattern when the encoded data shifts from the gap pattern to the synchronization pattern is detected. As a specific example, in the process of shifting from the gap pattern (010101... 01) to the synchronization pattern (001001... 001), the bit pattern of (1001) from the last one bit of the gap pattern and the first three bits of the synchronization pattern is changed. As a result, it is possible to detect this and correctly adjust the decoding timing. In this example, a 4-bit bit pattern is detected. However, if a longer bit pattern is used, the influence of noise or the like can be reduced. In the decoding frame adjustment stage, for example, a decoding frame based on the detected timing is generated.

【0011】本発明で用いるランレングス制限変換方式
としては、例えば、1−7符号変換方式を挙げることが
できる。
The run-length limited conversion system used in the present invention includes, for example, a 1-7 code conversion system.

【0012】また、本発明が提供するデコードフレーム
調整回路は、ランレングス制限符号変換方式に基づいて
符号化された符号化データのデコードに用いるデコード
フレームを調整する回路において、符号化データの中か
ら特定のビットパターンを検出するビットパターン検出
手段と、ビットパターン検出手段が前記ビットパターン
を検出したタイミングを基準として、デコードフレーム
を調整するデコードフレーム調整手段とを備えることを
特徴とするデコードフレーム調整回路である。
A decode frame adjustment circuit provided by the present invention is a circuit for adjusting a decode frame used for decoding encoded data encoded based on a run-length limited code conversion method, wherein A decode frame adjustment circuit comprising: a bit pattern detection unit that detects a specific bit pattern; and a decode frame adjustment unit that adjusts a decode frame based on the timing at which the bit pattern detection unit detects the bit pattern. It is.

【0013】ビットパターン検出手段は、例えば、符号
化データがギャップパターンから同期パターンに移行す
る際のビットパターンを検出する。また、デコードフレ
ーム調整手段は、ビットパターン検出手段がビットパタ
ーンを検出したタイミングを基準としたデコードフレー
ムを生成する。
The bit pattern detecting means detects, for example, a bit pattern when coded data shifts from a gap pattern to a synchronous pattern. Further, the decode frame adjusting means generates a decode frame based on the timing at which the bit pattern detecting means detects the bit pattern.

【0014】本発明のデコードフレーム調整回路につい
て、より具体的な構成例を挙げると、上述のような構成
に加えて、外部から供給される外部クロックを分周して
内部クロックを生成する手段と、内部クロックに合わせ
て、外部からデコードの開始を要求する信号を取り込ん
で出力する手段と、外部から入力される符号化データを
格納する手段と、内部クロックからイネーブル信号を生
成する手段と、デコードフレームのタイミングに合わせ
て、外部のデコーダの出力を取り込んで出力する第1の
取り込み手段と、イネーブル信号のタイミングに合わせ
て第1の取り込み手段の出力を取り込んで出力する手段
とを更に備える。
A more specific configuration example of the decode frame adjustment circuit of the present invention is, in addition to the configuration described above, means for dividing an external clock supplied from the outside and generating an internal clock. Means for fetching and outputting a signal for requesting start of decoding from the outside in accordance with the internal clock, means for storing encoded data input from the outside, means for generating an enable signal from the internal clock, and decoding The apparatus further includes first capturing means for capturing and outputting the output of the external decoder in synchronization with the frame timing, and means for capturing and outputting the output of the first capturing means in accordance with the timing of the enable signal.

【0015】更に、本発明は、上述のデコードフレーム
調整回路を備えることを特徴とする磁気記録装置を提供
する。
Further, the present invention provides a magnetic recording apparatus comprising the above-described decode frame adjusting circuit.

【0016】[0016]

【発明の実施の形態】本発明の第1の実施の形態である
デコードフレーム調整回路10について、図面を参照し
て詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A decode frame adjusting circuit 10 according to a first embodiment of the present invention will be described in detail with reference to the drawings.

【0017】1.デコードフレーム調整回路10の構成 最初に、デコードフレーム調整回路10の構成の概要を
説明する。
1. Configuration of Decode Frame Adjustment Circuit 10 First, an outline of the configuration of the decode frame adjustment circuit 10 will be described.

【0018】図1を参照すると、デコードフレーム調整
回路10は、NRZ用クロック生成回路21、リクエス
ト信号取り込み回路22、9ビットシフトレジスタ回路
23、同期パターン検出回路24,デコードフレーム生
成回路25、1次NRZ取り込み回路26、NRZイネ
ーブル生成回路27及び2次NRZ取り込み回路28か
ら構成される。これらの回路はすべて1−7クロック入
力線13から入力されるクロック信号(以下、共通クロ
ックと呼ぶ)に同期して動作する。また、1−7コード
データ入力線12から入力される1−7コードデータお
よびリクエスト信号入力線11から入力されるリクエス
ト信号は、共通クロックに同期して入力される。
Referring to FIG. 1, a decode frame adjustment circuit 10 includes an NRZ clock generation circuit 21, a request signal fetch circuit 22, a 9-bit shift register circuit 23, a synchronization pattern detection circuit 24, a decode frame generation circuit 25, and a primary An NRZ capture circuit 26, an NRZ enable generation circuit 27, and a secondary NRZ capture circuit 28 are provided. These circuits all operate in synchronization with a clock signal (hereinafter, referred to as a common clock) input from a 1-7 clock input line 13. The 1-7 code data input from the 1-7 code data input line 12 and the request signal input from the request signal input line 11 are input in synchronization with a common clock.

【0019】デコードフレーム調整回路10に接続され
る1−7デコーダ31は、9ビットシフトレジスタ回路
23から送られる7ビットの1−7コードデータを、非
同期で2ビットのNRZ信号にデコードし、1次NRZ
取り込み回路26に送る。
A 1-7 decoder 31 connected to the decode frame adjustment circuit 10 asynchronously decodes 7-bit 1-7 code data sent from the 9-bit shift register circuit 23 into a 2-bit NRZ signal. Next NRZ
It is sent to the capture circuit 26.

【0020】次に、デコードフレーム調整回路10を構
成する各回路について説明する。
Next, each circuit constituting the decode frame adjustment circuit 10 will be described.

【0021】NRZ用クロック生成回路21は、共通ク
ロックを3分周した信号(以下、この信号をNRZクロ
ックパルスと呼ぶ)を出力する。NRZクロックパルス
はリクエスト信号取り込み回路22、デコードフレーム
生成回路25、NRZイネーブル生成回路27の3つの
回路に出力される。更に、NRZクロックパルスは、反
転素子を通してHALF出力線41から外部に出力され
る。その出力は、OUT_NRZ出力線42から外部に
出力されるNRZデータのクロックとして使用される。
The NRZ clock generation circuit 21 outputs a signal obtained by dividing the common clock by three (hereinafter, this signal is referred to as an NRZ clock pulse). The NRZ clock pulse is output to three circuits: a request signal capturing circuit 22, a decode frame generating circuit 25, and an NRZ enable generating circuit 27. Further, the NRZ clock pulse is output from the HALF output line 41 to the outside through the inversion element. The output is used as a clock for NRZ data output from the OUT_NRZ output line 42 to the outside.

【0022】リクエスト信号取り込み回路22は、NR
Zクロックパルスを、入力リクエスト信号の取り込みタ
イミング信号として用いる。つまり、リクエスト信号取
り込み回路22は、NRZクロックパルスが’1’の時
に、外部からリクエスト信号入力線11に入力されるリ
クエスト信号を取り込み、リクエスト通知信号を出力す
る。リクエスト通知信号は、デコードフレーム生成回路
25、同期パターン検出回路24に出力されて、デコー
ドフレーム調整シーケンスの開始信号となる。
The request signal fetching circuit 22 calculates the NR
The Z clock pulse is used as a timing signal for capturing an input request signal. That is, when the NRZ clock pulse is “1”, the request signal capturing circuit 22 captures a request signal externally input to the request signal input line 11 and outputs a request notification signal. The request notification signal is output to the decode frame generation circuit 25 and the synchronization pattern detection circuit 24, and serves as a start signal of a decode frame adjustment sequence.

【0023】9ビットシフトレジスタ回路23は、9ビ
ットシフトレジスタを有し、外部から1−7コードデー
タ入力線12に入力される1−7コードデータを、順番
に9個取り込む。この9ビットシフトレジスタの上位4
ビットは、同期パターン検出回路24に出力されて同期
パターンの検出に使用される。他方、下位7ビットは、
1−7デコーダ31に出力され、NRZ信号の生成に使
用される。
The 9-bit shift register circuit 23 has a 9-bit shift register, and takes in 9 pieces of 1-7 code data input from the outside to the 1-7 code data input line 12 in order. Top 4 of this 9-bit shift register
The bits are output to the synchronization pattern detection circuit 24 and used for detecting a synchronization pattern. On the other hand, the lower 7 bits are
The signal is output to the 1-7 decoder 31 and used for generating an NRZ signal.

【0024】同期パターン検出回路24は、リクエスト
通知信号が’1’である時、1度だけ9ビットシフトレ
ジスタ回路23の上位4ビットの出力が’1001’で
あることを検出し、同期パターン検出信号をデコードフ
レーム生成回路25に送る。デコードフレーム生成回路
25は、NRZクロックパルスを、デコードフレーム生
成タイミング信号として利用する。
When the request notification signal is "1", the synchronization pattern detection circuit 24 detects once that the output of the upper 4 bits of the 9-bit shift register circuit 23 is "1001", and detects the synchronization pattern. The signal is sent to the decode frame generation circuit 25. The decode frame generation circuit 25 uses the NRZ clock pulse as a decode frame generation timing signal.

【0025】デコードフレーム生成回路25は、リクエ
スト通知信号が’0’であるときは、NRZクロックパ
ルスを1回D型フリップフロップ(以下、DFFと呼
ぶ)に取り込んだ信号をデコードフレームとして 1次
NRZ取り込み回路26に送る。また、リクエスト通知
信号が’1’であるときは内部で共通クロックを3分周
した信号の生成を開始し(以下、この信号を生成フレー
ムと呼ぶ)、 デコードフレームとして 1次NRZ取り
込み回路26に送る。また、同期パターン検出回路24
から同期パターン検出信号が送られてきたときには、そ
こで生成フレーム信号を必要数分伸ばし、正しいデコー
ドフレームのタイミングに合わせる。NRZイネーブル
生成回路27は、NRZクロックパルスを、イネーブル
生成タイミング信号として利用する。
When the request notification signal is "0", the decode frame generation circuit 25 takes the signal obtained by taking the NRZ clock pulse once into a D-type flip-flop (hereinafter, referred to as DFF) as a decode frame and outputs the signal as a primary NRZ signal. It is sent to the capture circuit 26. When the request notification signal is “1”, generation of a signal obtained by internally dividing the common clock by 3 is started (hereinafter, this signal is referred to as a generated frame), and the primary NRZ capture circuit 26 decodes the signal as a decoded frame. send. In addition, the synchronization pattern detection circuit 24
, The generated frame signal is extended by the required number there to match the timing of the correct decoded frame. The NRZ enable generation circuit 27 uses the NRZ clock pulse as an enable generation timing signal.

【0026】NRZイネーブル生成回路27は、NRZ
クロックパルスを1回DFFに取り込んだ信号(以下、
NRZイネーブル信号と呼ぶ)を出力し、NRZイネー
ブル信号は2次NRZ取り込み回路28に出力され、N
RZ信号取り込みタイミングとして使用される。
The NRZ enable generation circuit 27 generates the NRZ
A signal in which a clock pulse is captured once by a DFF (hereinafter, referred to as a DFF)
NRZ enable signal), and the NRZ enable signal is output to the secondary NRZ capture circuit 28.
It is used as an RZ signal fetch timing.

【0027】1次NRZ取り込み回路26は、デコード
フレーム生成回路25から送られるデコードフレームの
タイミングに合わせて1−7デコーダ31が出力するN
RZ信号を取り込み、2次NRZ取り込み回路27に取
り込んだNRZ信号を送る。
The primary NRZ fetch circuit 26 outputs the N output from the 1-7 decoder 31 in synchronization with the timing of the decode frame sent from the decode frame generation circuit 25.
The RZ signal is taken in, and the NRZ signal taken into the secondary NRZ taking circuit 27 is sent.

【0028】2次NRZ取り込み回路28は、NRZイ
ネーブル生成回路27から送られるNRZイネーブル信
号のタイミングに合わせて、1次NRZ取り込み回路2
6の出力するNRZ信号を取り込む。また、取り込んだ
NRZ信号は、出力OUT_NRZ41に出力され、出
力OUT_NRZ41からNRZデータとして外部に出
力される。
The secondary NRZ capture circuit 28 is adapted to match the timing of the NRZ enable signal sent from the NRZ enable generation circuit 27 with the primary NRZ capture circuit 2.
6 is taken in. Further, the fetched NRZ signal is output to the output OUT_NRZ41, and is output from the output OUT_NRZ41 to the outside as NRZ data.

【0029】2.デコードフレーム調整回路10の動作 次に、デコードフレーム調整回路10の動作について、
図2および図3を参照して説明する。
2. Operation of Decode Frame Adjustment Circuit 10 Next, the operation of the decode frame adjustment circuit 10 will be described.
This will be described with reference to FIGS.

【0030】通常、1−7コードデータには、実際に書
き込もうとするデータの前に、ギャップパターンと同期
パターンが続く。本発明では、同期パターンの出現を検
知してデコードタイミングの調整を行う。
Normally, a 1-7 code data is followed by a gap pattern and a synchronization pattern before data to be actually written. In the present invention, decoding timing is adjusted by detecting the appearance of a synchronization pattern.

【0031】図3の1−7デコード表を参照すると、1
−7コードデータは、入力順にX2、X3、X4のデー
タパターンを中心として、NRZのZ0およびZ1に変
換されている。つまり、1−7デコードでは、1−7コ
ードデータ3個につき1回の割合でNRZ信号(Z0,
Z1)が決定されることがわかる。
Referring to the 1-7 decoding table of FIG.
The −7 code data is converted into NRZ Z0 and Z1 with the data pattern of X2, X3, and X4 as the center in the input order. That is, in the 1-7 decoding, the NRZ signal (Z0, Z0,
It can be seen that Z1) is determined.

【0032】ここで、ギャップパターン(…01010
10101010101)及び同期パターン(0010
01001001)の1−7コードデータを、3個ずつ
に区切って考えてみる。仮に区切り型が正しいとすれ
ば、次のように区切られる。
Here, the gap pattern (... 01010)
10101010101) and the synchronization pattern (0010
Let us consider the 1-7 code data of “01001001) divided into three. If the delimiter type is correct, it will be delimited as follows:

【0033】‘101 010 101 010 10
1’、‘001 001 001 001’ これをNRZ信号に変換すると次のようになる。
'101 010 101 010 10
1 ',' 001 001 001 001 'Converting this to an NRZ signal yields the following.

【0034】’10 00 10 00 10’、’0
0 00 00 00’ しかし、常にこのように正しく区切られるとは限らな
い。正しい区切り方の他に、2通りの誤った区切りが発
生しうる。
'10 00 10 00 10 ',' 0
0 00 00 00 'However, it is not always the case that the division is made correctly. In addition to the correct division, two incorrect divisions can occur.

【0035】第一に、次のように区切る場合がある。First, there are cases where the division is made as follows.

【0036】’010 101 010 101 01
、 0 010 010 010 010’ これをNRZ信号に変換すると次のようになる。
'010 101 010 101 01
, 0 010 010 010 010 ′ When this is converted into an NRZ signal, the following is obtained.

【0037】’00 10 00 10 00 10
10 10 10’ 第二に、次のように区切る場合がある。
'00 10 00 10 00 10
10 10 10 'Second, there are cases where the sections are divided as follows.

【0038】’010 101 010 101 01
0 1, 00 100 100 100’ これをNRZ信号に変換すると次のようになる。
'010 101 010 101 01
0 1, 00 100 100 100 'When converted into an NRZ signal, the following is obtained.

【0039】’00 10 00 10 00 11
11 11 11’ つまり、同期パターンは’001’の連続として区切
り’00’とNRZ信号に変換するのが正しい。これに
対して’010’と区切って’10’と変換する場合
や、’100’と区切って’11’と変換する場合は、
デコードタイミングが誤っているのでデコードタイミン
グを調整する必要がある。
'00 10 00 10 00 11
11 11 11 'In other words, it is correct to convert the synchronization pattern into a' 00 'and an NRZ signal as a continuation of' 001 '. On the other hand, when converting to '10' by separating from '010', or when converting to '11' by separating from '100',
Since the decode timing is incorrect, it is necessary to adjust the decode timing.

【0040】図2は、ギャップパターン及び同期パター
ンが連続して入力されたときにおける、1−7デコーダ
31の出力と、デコードフレーム調整のタイミングを示
している。信号は、上から順に、1−7コードデータ入
力線12から入力された1−7コードデータ、9ビット
シフトレジスタ回路23のシフトレジスタの内容、1−
7デコーダ31が出力するNRZ信号、リクエスト信号
入力線11の入力リクエスト信号を表している。その次
には、正しいタイミングで1−7コードデータが入力さ
れたときのデコードフレーム調整シーケンス(CASE
0)の各信号のタイミングが示されている。更にその
下には、誤ったタイミングで1−7コードデータが入力
されたときのデコードフレーム調整シーケンス(CAS
E 1)、(CASE 2)の各信号のタイミングが示
されている。
FIG. 2 shows the output of the 1-7 decoder 31 and the timing of the decode frame adjustment when the gap pattern and the synchronization pattern are continuously input. The signals are, in order from the top, 1-7 code data input from the 1-7 code data input line 12, the contents of the shift register of the 9-bit shift register circuit 23,
7 shows an NRZ signal output from the decoder 31 and an input request signal of the request signal input line 11. Next, a decode frame adjustment sequence (CASE) when 1-7 code data is input at the correct timing
The timing of each signal of 0) is shown. Below this, there is a decode frame adjustment sequence (CAS) when 1-7 code data is input at an incorrect timing.
The timing of each signal of E1) and (CASE 2) is shown.

【0041】図2の(CASE 0)、(CASE
1)、(CASE 2)における各信号の動作タイミン
グについて上から順に述べる。
(CASE 0) and (CASE 0) in FIG.
The operation timing of each signal in 1) and (CASE 2) will be described in order from the top.

【0042】NRZ用クロック生成回路21は、共通ク
ロックを3分周したNRZクロックを生成する。NRZ
クロックは反転素子を通し、NRZデータのクロックと
してHALF出力線41から外部に出力される。
The NRZ clock generation circuit 21 generates an NRZ clock obtained by dividing the common clock by three. NRZ
The clock is output from the HALF output line 41 to the outside as a clock of the NRZ data through the inversion element.

【0043】NRZイネーブル生成回路27は、NRZ
クロックを1回DFFに取り込んだNRZイネーブル信
号を生成する。
The NRZ enable generation circuit 27 generates the NRZ
An NRZ enable signal in which the clock is taken into the DFF once is generated.

【0044】リクエスト信号取り込み回路22は、NR
Zクロックが’1’のタイミングでリクエスト信号入力
線11の入力リクエスト信号を取り込み、リクエスト通
知信号を生成する。
The request signal fetch circuit 22 calculates the NR
At the timing when the Z clock is “1”, the input request signal of the request signal input line 11 is taken in, and a request notification signal is generated.

【0045】入力リクエスト信号が’1’になり、リク
エスト通知信号が’1’であることを受け取ったデコー
ドフレーム生成回路25は、内部で生成フレームを作り
始め(このとき生成フレームは、入力リクエスト信号
が’1’になってから、共通クロック3個目で’1’に
なるタイミングである。)、デコードフレームとしてN
RZクロックを1回DFFで取り込んだ信号から生成フ
レームへと切り替え、出力する。
When the input request signal becomes "1" and the decode frame generating circuit 25 receives that the request notification signal is "1", the decode frame generating circuit 25 internally starts generating a generated frame (at this time, the generated frame is Becomes "1" at the third common clock after "1" becomes "1".)
The RZ clock is switched from a signal fetched once by the DFF to a generated frame and output.

【0046】同期パターン検出回路24は、リクエスト
通知信号が’1’になってから1度だけ9ビットシフト
レジスタ回路23の上位4ビットが’1001’である
ことを検出し、同期パターン検出信号を1パルスだけ’
1’にする。
The synchronization pattern detection circuit 24 detects that the upper 4 bits of the 9-bit shift register circuit 23 are "1001" only once after the request notification signal becomes "1", and outputs the synchronization pattern detection signal. Only one pulse '
1 '.

【0047】同期パターン検出信号が’1’になった事
を受け取ったデコードフレーム生成回路25は、そこか
ら共通クロックで3個目に生成フレームが’1’になる
ように生成フレームを伸ばす(CASE 0では0個、
CASE 1では1個、CASE 2では2個伸ば
す)。
The decode frame generation circuit 25, which has received the fact that the synchronization pattern detection signal has become "1", extends the generated frame so that the third generated frame becomes "1" with the common clock (CASE). 0 means 0,
(CASE 1 extends one, CASE 2 extends two).

【0048】1次NRZ取り込み回路26は、デコード
フレームが’1’のタイミングで1−7デコーダ31の
出力するNRZ信号を取り込み、1次NRZ信号を出力
する。
The primary NRZ capture circuit 26 captures the NRZ signal output from the 1-7 decoder 31 at the timing when the decode frame is "1", and outputs the primary NRZ signal.

【0049】2次NRZ取り込み回路28は、NRZイ
ネーブル信号が’1’のタイミングで1次NRZ取り込
み回路26が出力するNRZ信号を取り込み、2次NR
Z信号を出力する。2次NRZ信号はNRZデータとし
てOUT_NRZ出力線42から外部に出力される。
The secondary NRZ capture circuit 28 captures the NRZ signal output from the primary NRZ capture circuit 26 at the timing when the NRZ enable signal is "1".
Outputs the Z signal. The secondary NRZ signal is output to the outside from the OUT_NRZ output line 42 as NRZ data.

【0050】デコードフレーム生成回路25は、入力リ
クエスト信号が’0’になり、リクエスト通知信号が’
0’になったことを受け取ると生成フレームを生成する
事を止め、デコードフレームを生成フレームからNRZ
クロックを1回DFFで取り込んだ信号へと切り替え
る。
In the decode frame generation circuit 25, the input request signal becomes “0” and the request notification signal becomes “0”.
When receiving that it has become 0 ', generation of the generated frame is stopped, and the decoded frame is converted from the generated frame to NRZ.
The clock is switched once to the signal captured by the DFF.

【0051】3.第2の実施の形態 続いて、本発明の第2の実施の形態について説明する。3. Second Embodiment Next, a second embodiment of the present invention will be described.

【0052】第1の実施の形態では、9ビットシフトレ
ジスタ回路23、即ち、9段のシフトレジスタを使用し
ていた。これに対して、第2の実施の形態では、9ビッ
トシフトレジスタ回路23の代わりに、より段数の多い
シフトレジスタを使用する。その他の点では第1の実施
の形態と同様である。こうすることにより、誤デコード
フレーム調整動作を防止することが出来る。
In the first embodiment, a 9-bit shift register circuit 23, that is, a 9-stage shift register is used. On the other hand, in the second embodiment, a shift register having a larger number of stages is used instead of the 9-bit shift register circuit 23. The other points are the same as in the first embodiment. By doing so, it is possible to prevent an erroneous decoding frame adjustment operation.

【0053】例えば、9ビットシフトレジスタ回路23
を11ビットシフトレジスタ回路へと段数を増加し、同
期パターン検出回路24を11ビットシフトレジスタの
上位6ビットの’001001’を検出するようにすれ
ば、よりノイズ等の原因によるデータ化けに起因する誤
デコードフレーム調整に強い回路になる。
For example, a 9-bit shift register circuit 23
If the number of stages is increased to an 11-bit shift register circuit, and the synchronous pattern detection circuit 24 detects the upper 6 bits “001001” of the 11-bit shift register, data is more garbled due to noise or the like. It becomes a circuit that is strong against misdecode frame adjustment.

【0054】[0054]

【発明の効果】本発明によれば、デコードをする以前の
符号化データ(第1の実施の形態における1−7コード
データ)によりデコードフレーム調整を行う。このため
誤ったデコード結果が出力されないという効果を有す
る。
According to the present invention, the decoding frame is adjusted using the encoded data (1-7 code data in the first embodiment) before decoding. Therefore, there is an effect that an erroneous decoding result is not output.

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

【図1】本発明の第1の実施の形態のブロック図であ
る。
FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】本発明の動作を説明するためのタイムチャート
である。
FIG. 2 is a time chart for explaining the operation of the present invention.

【図3】1−7デコーダのデコード表である。FIG. 3 is a decoding table of a 1-7 decoder.

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

21 NRZ用クロック生成回路 22 リクエスト信号取り込み回路 23 9ビットシフトレジスタ回路 24 同期パターン検出回路 25 デコードフレーム生成回路 26 1次NRZ用取り込み回路 27 NRZイネーブル生成回路 28 2次NRZ取り込み回路 31 1−7デコーダ Reference Signs List 21 NRZ clock generation circuit 22 Request signal capture circuit 23 9-bit shift register circuit 24 Synchronous pattern detection circuit 25 Decode frame generation circuit 26 Primary NRZ capture circuit 27 NRZ enable generation circuit 28 Secondary NRZ capture circuit 31 1-7 decoder

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 ランレングス制限符号変換方式に基づい
て符号化された符号化データをデコードする際にデコー
ドフレームを調整する方法において、 前記符号化データの中から特定のビットパターンを検出
するビットパターン検出段階と、 前記検出したタイミングを基準として、デコードフレー
ムを調整するデコードフレーム調整段階とを含むことを
特徴とするデコードフレーム調整方法。
1. A method for adjusting a decoded frame when decoding encoded data encoded based on a run-length limited code conversion method, comprising: detecting a specific bit pattern from the encoded data; A decoding frame adjusting method, comprising: a detecting step; and a decoding frame adjusting step of adjusting a decoded frame based on the detected timing.
【請求項2】 請求項1に記載のデコードフレーム調整
方法において、前記ビットパターン検出段階は、符号化
データがギャップパターンから同期パターンに移行する
際のビットパターンを検出することを特徴とするデコー
ドフレーム調整方法。
2. The decoding frame adjusting method according to claim 1, wherein said bit pattern detecting step detects a bit pattern when coded data shifts from a gap pattern to a synchronization pattern. Adjustment method.
【請求項3】 請求項1および2のいずれかに記載のデ
コードフレーム調整方法において、前記デコードフレー
ム調整段階は、前記検出したタイミングを基準とするデ
コードフレームを生成する段階であることを特徴とする
デコードフレーム調整方法。
3. The decoding frame adjustment method according to claim 1, wherein the decoding frame adjustment step is a step of generating a decoding frame based on the detected timing. Decoding frame adjustment method.
【請求項4】 請求項1ないし3のいずれかに記載のデ
コードフレーム調整方法において、前記ランレングス制
限変換方式は、1−7符号変換方式であることを特徴と
するデコードフレーム調整方法。
4. The decoding frame adjustment method according to claim 1, wherein said run-length limited conversion method is a 1-7 code conversion method.
【請求項5】 ランレングス制限符号変換方式に基づい
て符号化された符号化データのデコードに用いるデコー
ドフレームを調整する回路において、 前記符号化データの中から特定のビットパターンを検出
するビットパターン検出手段と、 前記ビットパターン検出手段が前記ビットパターンを検
出したタイミングを基準として、デコードフレームを調
整するデコードフレーム調整手段とを備えることを特徴
とするデコードフレーム調整回路。
5. A circuit for adjusting a decode frame used for decoding coded data coded based on a run-length limited code conversion method, comprising: detecting a specific bit pattern from the coded data. Means for adjusting a decode frame with reference to a timing at which the bit pattern detection means detects the bit pattern.
【請求項6】 請求項5に記載のデコードフレーム調整
回路において、前記ビットパターン検出手段は、符号化
データがギャップパターンから同期パターンに移行する
際のビットパターンを検出することを特徴とするデコー
ドフレーム調整回路。
6. The decoding frame adjusting circuit according to claim 5, wherein said bit pattern detecting means detects a bit pattern when the coded data shifts from a gap pattern to a synchronization pattern. Adjustment circuit.
【請求項7】 請求項5および6のいずれかに記載のデ
コードフレーム調整回路において、前記デコードフレー
ム調整手段は、前記ビットパターン検出手段が前記ビッ
トパターンを検出したタイミングを基準としたデコード
フレームを生成することを特徴とするデコードフレーム
調整回路。
7. The decode frame adjustment circuit according to claim 5, wherein said decode frame adjustment means generates a decode frame based on a timing at which said bit pattern detection means detects said bit pattern. A decode frame adjustment circuit.
【請求項8】 請求項5ないし7のいずれかに記載のデ
コードフレーム調整回路において、 外部から供給される外部クロックを分周して内部クロッ
クを生成する手段と、 前記内部クロックに合わせて、外部からデコードの開始
を要求する信号を取り込んで出力する手段と、 外部から入力される符号化データを格納する手段と、 内部クロックからイネーブル信号を生成する手段と前記
デコードフレームのタイミングに合わせて、外部のデコ
ーダの出力を取り込んで出力する第1の取り込み手段
と、 前記イネーブル信号のタイミングに合わせて前記第1の
取り込み手段の出力を取り込んで出力する手段とを更に
備えることを特徴とするデコードフレーム調整回路。
8. The decoding frame adjusting circuit according to claim 5, wherein: a means for dividing an external clock supplied from the outside to generate an internal clock; Means for receiving and outputting a signal for requesting the start of decoding from the CPU, means for storing encoded data input from the outside, means for generating an enable signal from an internal clock, and external means in accordance with the timing of the decode frame. Decoding frame adjustment, further comprising: first capturing means for capturing and outputting the output of the decoder, and means for capturing and outputting the output of the first capturing means in accordance with the timing of the enable signal. circuit.
【請求項9】 請求項5ないし8のいずれかに記載のデ
コードフレーム調整回路を備えることを特徴とする磁気
記録装置。
9. A magnetic recording apparatus comprising the decode frame adjusting circuit according to claim 5.
JP11152097A 1999-05-31 1999-05-31 Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder Pending JP2000339872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11152097A JP2000339872A (en) 1999-05-31 1999-05-31 Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11152097A JP2000339872A (en) 1999-05-31 1999-05-31 Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder

Publications (1)

Publication Number Publication Date
JP2000339872A true JP2000339872A (en) 2000-12-08

Family

ID=15532993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11152097A Pending JP2000339872A (en) 1999-05-31 1999-05-31 Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder

Country Status (1)

Country Link
JP (1) JP2000339872A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001020603A1 (en) * 1999-09-10 2001-03-22 Matsushita Electric Industrial Co., Ltd. Optical disk and optical disk apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001020603A1 (en) * 1999-09-10 2001-03-22 Matsushita Electric Industrial Co., Ltd. Optical disk and optical disk apparatus
US6549498B1 (en) 1999-09-10 2003-04-15 Matsushita Electric Industrial Co., Ltd. Optical disk and optical disk apparatus

Similar Documents

Publication Publication Date Title
JPS6313425A (en) Information data decoder
JP2000339872A (en) Decode frame adjusting method, decode frame adjusting circuit and magnetic recorder
US6445420B1 (en) Apparatus for detecting data in a vertical blanking period of a radio frequency broadcasting signal
JP3895088B2 (en) Information reproduction apparatus, reproduction information synchronization detection circuit, reproduction information synchronization detection method, communication information synchronization detection circuit, and communication information synchronization detection method
US6895542B2 (en) Data recovery circuit and method and data receiving system using the same
JPH0590970A (en) Cmi encoder circuit
JPH04326219A (en) Pointer processing circuit
JP2757360B2 (en) 1-7 code conversion circuit
JP2611722B2 (en) Error flag output circuit
JP2576526B2 (en) I / O signal monitoring circuit
JP3945190B2 (en) Time stamp generation circuit
JPH05191297A (en) Serial/parallel conversion circuit
JP2698287B2 (en) Receiver circuit for asynchronous communication
JPH1028146A (en) Code error correcting device
JPS631217A (en) Decoding device
JP2000188591A (en) Received data error detection circuit
KR0172459B1 (en) Method and device for reproducing clock signal
JPH0661990A (en) Pseudo synchronization preventing method for high efficient voice transmission
JPH03120961A (en) Digital video signal processing unit
JPH05167647A (en) Speed converter having fault detection function
JPH0531973B2 (en)
JPH05166303A (en) Data input device
JPS6350979A (en) Digital data transmitter
JPH04346517A (en) Counting device
JPH0729360A (en) Digital data recording and reproducing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040512

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040915