JPS61168175A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPS61168175A
JPS61168175A JP944385A JP944385A JPS61168175A JP S61168175 A JPS61168175 A JP S61168175A JP 944385 A JP944385 A JP 944385A JP 944385 A JP944385 A JP 944385A JP S61168175 A JPS61168175 A JP S61168175A
Authority
JP
Japan
Prior art keywords
signal
address mark
shift register
data
comparator
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.)
Granted
Application number
JP944385A
Other languages
Japanese (ja)
Other versions
JPH0453028B2 (en
Inventor
Toyoo Kiuchi
木内 豊雄
Yoshikuni Satou
佐藤 由邦
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 JP944385A priority Critical patent/JPS61168175A/en
Publication of JPS61168175A publication Critical patent/JPS61168175A/en
Publication of JPH0453028B2 publication Critical patent/JPH0453028B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To detect an address mark without using any timer by delaying a detection signal as to the end of a synchronizing area through a shift register and determining the timing of address mark detection. CONSTITUTION:A signal 11 read out of a disk is inputted to a 16-bit shift register (SR)1 with a clock signal 12 and the output data signal 13 obtained by delaying the signal 11 by 16 clock pulses is inputted to a 16-bit SR2. A 32-bit comparator 3 compares the contents of the SR1 with the synchronizing area data pattern of the output 15 of the SR2 and sends a synchronizing area end signal 16 to a 15-bit SR4 on transition from coincidence to dissidence; and the comparison permit signal 17 obtained by delaying the signal by 15 clock pulses is sent from an SR4 to a 16-bit comparator 5, which compares the contents of the SR1 with the data pattern of a specific address mark, so that the address mark detection signal DET18 is outputted when the comparison result indicates coincidence.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ディスクより読出されたデータ信号を入力し
、そのアドレスマークを検出するディスク制御装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a disk control device that inputs a data signal read from a disk and detects its address mark.

(従来の技術) まず、ディスク制御装置のアドレスマーク検出について
説明する。
(Prior Art) First, address mark detection in a disk control device will be described.

を比較する第1の比較器、ディスクより読出されたデー
タとアドレスマークのデータパターンとを比較する第2
の比較器及びタイマを備えていた。
A first comparator compares the data read from the disk and a second comparator compares the data read from the disk with the data pattern of the address mark.
It was equipped with a comparator and a timer.

まず、ディスクより読出されたデータに対して同期(S
 YN C)領域のデータパターンとの比較動作を第1
の比較器で行い、その比較結果が一致すると直ちにタイ
マをイネーブル状態にし、同時にディスクより読出され
たデータに対してアドレスマークのデータパターンとの
比較動作を第2の比較器で開始する。
First, the data read from the disk is synchronized (S
YN C) The first comparison operation with the data pattern of the area
As soon as the comparison results match, the timer is enabled, and at the same time, the second comparator starts comparing the data read from the disk with the data pattern of the address mark.

このタイマのカウント値が一定値以下の場合に、ディス
クより読出されたデータ上にアドレスマークのデータパ
ターンを検出すると、アドレスマーク検出信号をアクテ
ィブにし、アドレスマークのデータパターン検出前にタ
イマのカウント値が一定値を越えたならば、タイマカウ
ンタをリセットし、再度8YNC領域のデータパターン
検出動作を行う。以下同様の動作を繰返すことによりア
ドレスマーク検出を実行していた。
When the count value of this timer is below a certain value and an address mark data pattern is detected on the data read from the disk, the address mark detection signal is activated and the timer count value is detected before the address mark data pattern is detected. If exceeds a certain value, the timer counter is reset and the data pattern detection operation for the 8YNC area is performed again. Thereafter, address mark detection was executed by repeating similar operations.

したがってこの従来の回路では、アドレスマーク検出動
作を行うためにタイマを持つ必要があり、ハードウェア
量が犬きくなシ、またタイマのカウント上限値はディス
ク上の5YNC領域の長さ及びディスク上のデータを読
取るスピードに依存するため、固定化できないという欠
点があった。
Therefore, in this conventional circuit, it is necessary to have a timer to perform the address mark detection operation, and the amount of hardware is quite large.The upper limit of the count of the timer is determined by the length of the 5YNC area on the disk and Since it depends on the speed at which data is read, it has the disadvantage that it cannot be fixed.

(発明の目的) 本発明の目的は、このような欠点を除き、タイマを用い
ないでアドレスマーク検出を実現できるディスク制御装
置を提供することにある。
(Object of the Invention) An object of the present invention is to provide a disk control device that can eliminate the above drawbacks and realize address mark detection without using a timer.

(発明の構成) 本発明の構成とは、ディスクより読出されたデータ信号
およびこのデータ信号を読取るためのクロック信号を入
力するディスク制御装置において、前記データ信号を入
力する第1のシフトレジスタと、この第1のシフトレジ
スタの内容と所定同期領域のデータパターンとを比較し
この比較結果の一致から不一致への遷移を検出する第1
の比較器と、この第1の比較器の検出結果を示す信号を
入力して前記クロック信号の一定パルス数分遅延して出
力する第2のシフトレジスタを、前記第1のシフトレジ
スタの内容と所定アドレスマークのデータパターンとを
比較する第2の比較器とを備え前記第2の比較器の比較
結果を前記第2のシフトレジスタの出力信号により定ま
るタイミングで参照して出力し、前記データ信号の内容
が前記アドレスマークのデータパターンと一致するか否
かを判定することを特徴とする。
(Configuration of the Invention) The configuration of the present invention is that, in a disk control device that inputs a data signal read from a disk and a clock signal for reading this data signal, a first shift register that inputs the data signal; A first shift register that compares the contents of this first shift register with a data pattern in a predetermined synchronization area and detects a transition from a match to a mismatch in the comparison result.
a comparator, and a second shift register which inputs a signal indicating the detection result of the first comparator and outputs the signal after being delayed by a certain number of pulses of the clock signal, the contents of which are the same as those of the first shift register. a second comparator for comparing the data pattern of a predetermined address mark; the comparison result of the second comparator is referred to and output at a timing determined by the output signal of the second shift register; It is characterized in that it is determined whether the contents of the address mark match the data pattern of the address mark.

(実施例) 次に本発明の一実施例を図面を用いて詳細に説明する。(Example) Next, one embodiment of the present invention will be described in detail using the drawings.

第1図は本発明の一実施例のシステム構成を示すブロッ
ク図である。本実施例において、5YNC領域は4バイ
ト以上のAAH(Aは「10’1OJ)のデータパター
ンの領域で構成され、アドレスマークは2バイトの44
H89Hのデータパターンで構成されるとする。図中、
1,2は16ピツトシフトレジスタで、1クロツク毎に
その内容を1ビツトシフトする。3は32ビツトの比較
器で、入力データを1クロツク毎に4バイトのAAHと
比較し、一旦比較結果が一致するとその後は入力データ
を2クロツク毎に4バイトのAAHと比較する。4は1
クロツク毎にその内容を1ビツトシフトする。15ビツ
トシフトレジスタ、5は入力データを44 H89Hと
比較する。16ビツトの比較器である。また11はディ
スクより読出されデータパルスおよびクロックパルスに
よ多構成される。MFMデータ入力信号、12は信号1
1を読取るためのクロック入力信号、13はシフトレジ
スタ1の出力データ信号で信号11を16クロツク遅延
させた遅延信号、14.15はそれぞれシフトレジスタ
1,2の内容を出力する。16ビツト幅データバス、1
6は比較器3の出力で同期領域終端検出信号NAAHで
、比較器3の比較結果が一致から不一致へ遷移した直後
にトクロック幅のパルスを出力する。17はシフトレジ
スタ5の出力信号で、信号16を15クロツク遅延させ
た信号であシ、比較器5の比較動作許可信号STRであ
る。18はアドレスマーク検出信号DETで比較器5の
比較結果が一致したときアクティブになる信号である。
FIG. 1 is a block diagram showing the system configuration of an embodiment of the present invention. In this embodiment, the 5YNC area consists of a data pattern area of 4 bytes or more of AAH (A is "10'1OJ"), and the address mark is 2 bytes of 44
It is assumed that the data pattern is composed of H89H data pattern. In the figure,
1 and 2 are 16-pit shift registers, and their contents are shifted by 1 bit every clock. 3 is a 32-bit comparator that compares the input data with the 4-byte AAH every 1 clock, and once the comparison results match, thereafter compares the input data with the 4-byte AAH every 2 clocks. 4 is 1
Its contents are shifted one bit every clock. 15-bit shift register, 5 compares input data with 44H89H. It is a 16-bit comparator. Further, numeral 11 is read from the disk and consists of data pulses and clock pulses. MFM data input signal, 12 is signal 1
1 is a clock input signal for reading 1, 13 is an output data signal of shift register 1 and is a delayed signal obtained by delaying signal 11 by 16 clocks, and 14 and 15 output the contents of shift registers 1 and 2, respectively. 16-bit wide data bus, 1
Reference numeral 6 is an output of the comparator 3, which is a synchronization region end detection signal NAAH, which outputs a pulse with a clock width of 1.0 clock immediately after the comparison result of the comparator 3 changes from match to non-match. Reference numeral 17 is an output signal of the shift register 5, which is a signal obtained by delaying the signal 16 by 15 clocks, and is a comparison operation permission signal STR of the comparator 5. Reference numeral 18 denotes an address mark detection signal DET which becomes active when the comparison result of the comparator 5 matches.

次に本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

第2図は第1図の信号11,12.16のタイムチャー
トの一例であり、クロック入力信号12(CLK)、シ
フトレジスタ1の入力信号11 (SR1)、比較器3
の出力信号16 (NAAH)のタイミングを示してい
るなお、波形の下に示した数字はシフトレジスタのビッ
ト単位のデータを示している。この図に示すとおシ、比
較器3はディスクより読出されたMFM (Modif
ied FM)データ入力信号1104バイトを1クロ
ツク毎にチンクし、4バイトすべてがAAHのデータパ
ターンであるか否かを検出する。一旦、4バイトの連続
したAAHのデータパターンを検出すると、その後は2
クロツク毎に比較動作を行う。
FIG. 2 is an example of a time chart of signals 11, 12, and 16 in FIG. 1, including clock input signal 12 (CLK), input signal 11 (SR1) of shift register 1,
The numbers shown below the waveforms indicate the bit-by-bit data of the shift register. As shown in this figure, the comparator 3 is the MFM (Modif) read from the disk.
ied FM) The 1104-byte data input signal is ticked every clock, and it is detected whether all 4 bytes are the AAH data pattern. Once a 4-byte continuous AAH data pattern is detected, 2
A comparison operation is performed every clock.

すなわち、シフトレジスタ1の内容の4バイトすべてが
AAHのデータパターンである状態から4バイト中1バ
イトがA A Hのデータパターンでない状態に遷移し
たことを検出すると、比較器3は1クロック幅のパルス
16を出力する。
In other words, when detecting a transition from a state in which all four bytes of the contents of shift register 1 are AAH data patterns to a state in which one byte out of the four bytes is not an AAH data pattern, comparator 3 Output pulse 16.

第3図はディスクより読出されたMFMデータ入力信号
11が、AAHAAHAAHAAH44H89Hのデー
タパターンを含む場合のタイムチャートである。図中s
 #x 3はシフトレジスタユの入力信号、5TR17
は比較器5の比較動作許可信号、DET18はアドレス
マーク検出信号を示す。
FIG. 3 is a time chart when the MFM data input signal 11 read from the disk includes a data pattern of AAHAAHAAHAAH44H89H. s in the figure
#x 3 is the input signal of the shift register unit, 5TR17
indicates a comparison operation permission signal of the comparator 5, and DET18 indicates an address mark detection signal.

また、Aはシフトレジスタ1の内容が8YNC領域のデ
ータパターンである領域、Bはシフトレジスタ1の内容
がアドレスマーク44H89Hのデータパターンである
領域、Cはシフトレジスタ1の内容がアドレスマーク以
後のデータのデータノくターンである領域を図のように
、パルス出力信号16はシフトレジスタ5によって15
クロツク遅延され、比較器5に比較動作許可信号として
入力される。この時、シフトレジスタ1の内容は44H
89Hであるから、比較器5の比較結果が一致し、アド
レスマーク検出信号18がアクティブになる。
Furthermore, A is an area where the contents of shift register 1 are the data pattern of the 8YNC area, B is an area where the contents of shift register 1 are the data pattern of address mark 44H89H, and C is an area where the contents of shift register 1 are the data after the address mark. As shown in the figure, the pulse output signal 16 is transferred to 15 by the shift register 5.
The signal is delayed by the clock and input to the comparator 5 as a comparison operation permission signal. At this time, the contents of shift register 1 are 44H.
89H, the comparison result of the comparator 5 matches, and the address mark detection signal 18 becomes active.

ディスクより読出されたMFM入力信号11が4バイト
以上のAAHデータパターンを含まない場合は比較器3
がパルス信号を出力せず、比較器5の比較動作が行なわ
れないだめアドレスマーク検出信号18がアクティブに
なることはない。
If the MFM input signal 11 read from the disk does not contain an AAH data pattern of 4 bytes or more, the comparator 3
The address mark detection signal 18 will not become active unless the comparator 5 outputs a pulse signal and the comparison operation of the comparator 5 is performed.

まだ、MFM入力信号11として、4バイト以のA A
 Hデータパターンの直後に44H89H以外のデータ
パターンを入力した場合は、比較器5の比較動作許可信
号17はアクティブになるが、アドレスマーク検出信号
18はアクティブになることはない。
Still, as MFM input signal 11, A A of 4 bytes or more
If a data pattern other than 44H89H is input immediately after the H data pattern, the comparison operation permission signal 17 of the comparator 5 becomes active, but the address mark detection signal 18 never becomes active.

以上説明したとおシ、本実施例によれば、タイマを用い
ることなくアドレスマーク検出動作を行うことができ、
またディスク上の5YNC領域の長さに依存することな
く、8YNC領域直後に位置するアドレスマークを検出
するタイミングを定めることができる。
As described above, according to this embodiment, the address mark detection operation can be performed without using a timer.
Furthermore, the timing for detecting the address mark located immediately after the 8YNC area can be determined without depending on the length of the 5YNC area on the disk.

なお、本実施例においては、16ビツトシフトレジスタ
、15ビツトシフトレジスタ、入力データパターンA 
AHA AHA AHA A H支まシと比較する32
ビツト比較器、入力データをデータノくターン44H8
9Hと比較する16ビツト比較器、16ビツト幅のデー
タバスとして説明しだが、これらの構成は、5YNC領
域のデータパターン、5YNC領域検出に必要なビット
数、アドレスマークノテータパターン、アドレスマーク
のビット数により適切に設定することが可能である。
In this embodiment, a 16-bit shift register, a 15-bit shift register, and an input data pattern A are used.
AHA AHA AHA AH Compare with H support 32
Bit comparator, input data to data no turn 44H8
9H and a 16-bit wide data bus, these configurations include the data pattern of the 5YNC area, the number of bits required to detect the 5YNC area, the address mark notator pattern, and the bits of the address mark. It is possible to set it appropriately depending on the number.

(発明の効果) 以上説明したように、本発明のディスク制御装置におい
ては、5YNC領域の終端を検出した信号をシフトレジ
スタを用いて遅延してアドレスマーク検出のタイミング
を定めるため、タイマを用いることなくアドレスマーク
検出タイミングを管理することができる。例えば本実施
例の15ピツトシフトレジスタ(4)に対して従来は5
12ビツトのタイマを必要とし、このため本発明ではノ
1−ドウエア量が従来に比べ少なくて済む。また、ディ
スク上の5YNC領域の長さ、又はディスク上のデータ
を読取るスピードに依存することなくアドレスマークを
検出することができる。さらに、5YNC例域のデータ
パターン直後のデータのみを対象としてアドレスマーク
検出動作を行うことができるため、従来の回路に比べて
アドレスマーク以外のデータをアドレスマークとして誤
って検出する確率を減少させることができる。
(Effects of the Invention) As explained above, in the disk control device of the present invention, a timer is used to determine the address mark detection timing by delaying the signal that detects the end of the 5YNC area using a shift register. Address mark detection timing can be managed without any problem. For example, compared to the 15-pit shift register (4) of this embodiment, the conventional
Since a 12-bit timer is required, the present invention requires less hardware than the prior art. Further, the address mark can be detected without depending on the length of the 5YNC area on the disk or the speed at which data on the disk is read. Furthermore, since the address mark detection operation can be performed only on the data immediately after the data pattern in the 5YNC example area, the probability of erroneously detecting data other than the address mark as an address mark is reduced compared to conventional circuits. I can do it.

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

第1図は本発明の一実施例のシステム構成を示すブロッ
ク図、第2図、第3図は第1図の動作を示すタイムチャ
ートである。図において1.Za4=10− ・・・・・・シフトレジスタ、45・・・・・・比較器
、11・・・・・・データ入力信号、12・・・・・・
クロック入力信号、13・・・・・・1ビット幅データ
バス、14.15・・・・・・16ビツト幅データバス
、16・・・・・・5YNC領域終端検出信号、17・
・・・・・比較器6の比較動作許可信号、18・・・・
・・アドレスマーク検出信号、である。
FIG. 1 is a block diagram showing the system configuration of an embodiment of the present invention, and FIGS. 2 and 3 are time charts showing the operation of FIG. 1. In the figure 1. Za4=10-...Shift register, 45...Comparator, 11...Data input signal, 12...
Clock input signal, 13...1-bit width data bus, 14.15...16-bit width data bus, 16...5YNC area end detection signal, 17.
...Comparison operation permission signal of comparator 6, 18...
...Address mark detection signal.

Claims (1)

【特許請求の範囲】[Claims] ディスクより読出されたデータ信号およびこのデータ信
号を読取るためのクロック信号を入力するディスク制御
装置において、前記データ信号を入力する第1のシフト
レジスタと、この第1のシフトレジスタの内容と所定同
期領域のデータパターンとを比較しこの比較結果の一致
から不一致への遷移を検出する第1の比較器と、この第
1の比較器の検出結果を示す信号を入力して前記クロッ
ク信号の一定パルス数分遅延して出力する第2のシフト
レジスタと、前記第1のシフトレジスタの内容と所定ア
ドレスマークのデータパターンとを比較する第2の比較
器とを備え、前記第2の比較器の比較結果を前記第2の
シフトレジスタの出力信号により定まるタイミングで参
照して出力し、前記データ信号の内容が前記アドレスマ
ークのデータパターンと一致するか否かを判定すること
を特徴とするディスク制御装置。
A disk control device that inputs a data signal read from a disk and a clock signal for reading this data signal, a first shift register that inputs the data signal, and a predetermined synchronization area with the contents of the first shift register. a first comparator that compares the data pattern with the data pattern and detects a transition from match to mismatch in the comparison result; a second shift register that outputs the output with a delay of 10 minutes, and a second comparator that compares the contents of the first shift register with a data pattern of a predetermined address mark, the comparison result of the second comparator A disk control device characterized in that the data signal is referred to and outputted at a timing determined by an output signal of the second shift register, and it is determined whether the contents of the data signal match the data pattern of the address mark.
JP944385A 1985-01-22 1985-01-22 Disk controller Granted JPS61168175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP944385A JPS61168175A (en) 1985-01-22 1985-01-22 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP944385A JPS61168175A (en) 1985-01-22 1985-01-22 Disk controller

Publications (2)

Publication Number Publication Date
JPS61168175A true JPS61168175A (en) 1986-07-29
JPH0453028B2 JPH0453028B2 (en) 1992-08-25

Family

ID=11720438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP944385A Granted JPS61168175A (en) 1985-01-22 1985-01-22 Disk controller

Country Status (1)

Country Link
JP (1) JPS61168175A (en)

Also Published As

Publication number Publication date
JPH0453028B2 (en) 1992-08-25

Similar Documents

Publication Publication Date Title
JPS61168175A (en) Disk controller
JPH06162669A (en) Synchronous code extraction circuit
JPH0284812A (en) Duty factor discrimination circuit
JPH0431211B2 (en)
JPS61201516A (en) Pattern detection circuit
US6470459B1 (en) Half-word synchronization method for internal clock
JPH03192855A (en) Synchronizing data reception circuit
JPH03295075A (en) Floppy disk controller
JPH05151140A (en) Microcomputer
JP2619939B2 (en) Synchronous pattern detection circuit
KR100207481B1 (en) Detecting time adjustment equipment to detect data during desire period
JP2998284B2 (en) Bit collation circuit
JPS62229335A (en) Address comparator
JPH04106637A (en) Stall detection circuit
JPS5936812A (en) Monitoring unit
JPH0568136B2 (en)
JPS62118658A (en) Serial-parallel conversion circuit
JPS6226949A (en) Packet signal receiver
JPH04260910A (en) Clock stopping circuit for central processing unit
JP2004072430A (en) Rai detector
JPS6211333A (en) Preamble detecting circuit
JPH01251222A (en) Sector address counter
JPH06326619A (en) Error flag output circuit
JPS5830651B2 (en) Data detection method
JPH01245737A (en) Serial data transfer circuit