JPH03104057A - Floppy disk control circuit - Google Patents

Floppy disk control circuit

Info

Publication number
JPH03104057A
JPH03104057A JP24076389A JP24076389A JPH03104057A JP H03104057 A JPH03104057 A JP H03104057A JP 24076389 A JP24076389 A JP 24076389A JP 24076389 A JP24076389 A JP 24076389A JP H03104057 A JPH03104057 A JP H03104057A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
system clock
clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP24076389A
Other languages
Japanese (ja)
Inventor
Masataka Sasaki
佐々木 正敬
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP24076389A priority Critical patent/JPH03104057A/en
Publication of JPH03104057A publication Critical patent/JPH03104057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To automatically and instantaneously switch a system clock when the same drive is accessed after the second access by storing the signal of a counter circuit in a RAM when the synchronization of a phase synchronizing circuit can be obtained. CONSTITUTION:By using an index signal (b) from a floppy disk drive FDD, count signals (h) and (i) from a two-bit counter circuit 5 are changed and stored in a RAM 6. The signals are inputted through a selecting circuit 8 to a decode circuit 9 and a clock select signal (l) is outputted. According to a signal (e), a clock select circuit 10 switches the system clock of a floppy disk control circuit FDC. When lock is already completed, stored contents h1 and i1 of the RAM 6 are inputted through the circuit 8 to the circuit 9 and the system clock of the FDC can be automatically and instantaneously switched.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、位相同期回路出方と読み取り動作信号により
フロッピーディスクコントローラ(以下、FDCという
)のシステムクロックの切り換え制御を行うフロッピー
ディスク制御回路に関する.(従来の技術) 近年、フロッピーディスクドライブ(以下、FDDとい
う)は、5.25インチ,3.5インチあるいは倍密度
記憶方式,高密度記録方式などさまざまな種類のドライ
ブが混在している.これに伴い、パーソナルコンピュー
タに内蔵してぃるFDD以外に,サイズや記録密度の異
なるFDDを外部に接続した場合、パーソナルコンピュ
ータ内部のFDDとはデータ転送が異なっているため、
FDCはデータの読み取り書き込み動作を行うことがで
きなくなる.従ってこのような場合には、データ転送速
度に適合したFDCのシステムクロックを、FDDから
のインデックス信号が入力するごとに自動的に選択し切
り換えることによってデータの読み取り書き込み動作を
行う方法であった.(発明が解決しようとする課題) しかしながら,上記従来の方法では,複数のFDDに対
して読み出し書き込み動作を行う場合,各FDDのデー
タ転送速度に適合したFDCのシステムクロックを、ア
クセスするFDDが変わるごとに最初から順番に選択し
切り換えるという手順をふまなければならないという問
題点があった。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a floppy disk control circuit that controls switching of the system clock of a floppy disk controller (hereinafter referred to as FDC) using a phase synchronized circuit output and a read operation signal. .. (Prior Art) In recent years, floppy disk drives (hereinafter referred to as FDDs) have come in a variety of types, including 5.25-inch, 3.5-inch, double-density storage, and high-density storage. Along with this, if you connect an external FDD with a different size or recording density in addition to the FDD built into the personal computer, the data transfer will be different from the FDD inside the personal computer.
The FDC will no longer be able to read or write data. Therefore, in such cases, data read/write operations were performed by automatically selecting and switching the FDC system clock that matched the data transfer rate each time an index signal from the FDD was input. (Problem to be Solved by the Invention) However, in the conventional method described above, when reading and writing operations are performed on multiple FDDs, the system clock of the FDC that is compatible with the data transfer speed of each FDD is changed from one FDD to another. There was a problem in that each user had to go through a process of selecting and switching in order from the beginning.

本発明は上記従来の問題点を解決するものであり、−度
FDDのデータ転送速度に適合したFDCのシステムク
ロックを選択したドライブに対して次回からのアクセス
の際には.FDCのシステムクロックを最初から順番に
切り換える必要がなく,瞬時にシステムを切り換えるこ
とができるフロッピーディスク制御回路を提供すること
を目的とするものである。
The present invention solves the above-mentioned conventional problems, and the next time access is made to a drive that has selected an FDC system clock that is compatible with the data transfer rate of the FDD. The object of the present invention is to provide a floppy disk control circuit that can instantly switch the system without having to switch the FDC system clock sequentially from the beginning.

(課題を解決するための手段) 本発明は上記目的を達成するために、フロッピーディス
ク制御回路は、複数のFDDのデータ転送速度に適合し
たFDCシステムクロック情報をランダムアクセスメモ
リ(RAM)に記憶することにより、システムクロック
を瞬時に切り換える構或を有しているものである。
(Means for Solving the Problems) In order to achieve the above object, the present invention includes a floppy disk control circuit that stores FDC system clock information suitable for the data transfer speeds of a plurality of FDDs in a random access memory (RAM). This allows the system clock to be switched instantaneously.

(作 用) したがって、上記構成により,データ転送速度の異なる
複数のFDDのデータを同一のFDCによって読み出し
書き込み動作を行うことができる。
(Function) Therefore, with the above configuration, it is possible to read and write data from a plurality of FDDs having different data transfer speeds using the same FDC.

(実施例) 第1図は本発明の一実施例におけるプロッピーディスク
制御回路のブロック構或を示すものであり、第2図及び
第3図は、第1図における主要入出力信号の一例のタイ
ムチャートを示すものである。第1図において、1は位
相同期回路であって、位相同期回路用システムクロック
Oと読み取りデータaを入力しこれと同期したサンプリ
ングクロックbを発生する。2は位相同期検出回路であ
って、読み取りデータa及びサンプリングクロックbを
入力し両信号の同期がとれたことを検出してロック信号
Cを出力する。3はフリップフロップ回路(F/F)で
あって、ロック信号CでF/Fを?ットしリセット信号
R2でF/Fをリセットする。4はANDゲートでフリ
ッププロップ3の出力と読み取り動作信号eとフロッピ
ーディスクが工回転するごとに出力されるインデックス
信号fを入力する.5はANDゲート4の出力でカウン
トしリセット信号R2でリセットされ、カウント信号h
,iを出力する2ビットカウンタ回路、6はRAMであ
って、FDCからのドライブセレクト信号j,kによっ
て選択したレジスタに対して,読み出し書き込み制御信
号d1がロー(L)の時にはカウント信号h,iとフリ
ップフロップ回路3の出力dを記憶し,d■がハイ(H
)になると記憶内容hllllを出力する。7はリセッ
ト信号R1が11 H I+若しくはドライブセレクト
信号Jtk両信号が変化するたびにリセット信号R2を
出力するリセット回路、8はRAM出力dユがIIL”
の時はカウント信号h,iを、d1が“H”の時にはR
AM出力hllllを選択しh2tx.とじて出力する
選択回路、9は選択回路8の出力をデコードしクロック
セレクト信号αを出力するデコード?路、10はクロッ
クセレクト回路であって、クロックセレクト信号党によ
りクロツク源からのフロッピーディスク制御回路用シス
テムクロックmまたはnを選択し位相同期回路用システ
ムクロックOを出力する。1lは位相同期回路用システ
ムクロックOを入力し、1 / n分周させることによ
ってFDCのシステムクロックpを生成する分周回路で
ある。
(Embodiment) FIG. 1 shows a block structure of a proppy disk control circuit in an embodiment of the present invention, and FIGS. 2 and 3 show an example of main input/output signals in FIG. This shows a time chart. In FIG. 1, reference numeral 1 denotes a phase-locked circuit, which inputs a phase-locked circuit system clock O and read data a, and generates a sampling clock b synchronized therewith. Reference numeral 2 denotes a phase synchronization detection circuit which inputs read data a and sampling clock b, detects that both signals are synchronized, and outputs a lock signal C. 3 is a flip-flop circuit (F/F), and the F/F is activated by lock signal C? and reset the F/F with the reset signal R2. 4 is an AND gate which inputs the output of flip-flop 3, the read operation signal e, and the index signal f that is output every time the floppy disk rotates. 5 is counted by the output of AND gate 4, reset by reset signal R2, and count signal h
, i, 6 is a RAM, and when the read/write control signal d1 is low (L), the count signals h, i and the output d of the flip-flop circuit 3, and d■ is high (H
), the memory content hllll is output. 7 is a reset circuit that outputs a reset signal R2 every time the reset signal R1 changes to 11H I+ or the drive select signal Jtk, and 8 is the RAM output dU
When d1 is "H", count signals h and i are set, and when d1 is "H", R is set.
Select AM output hllll and h2tx. A selection circuit 9 decodes the output of the selection circuit 8 and outputs a clock selection signal α. A clock select circuit 10 selects a system clock m or n for a floppy disk control circuit from a clock source according to a clock select signal and outputs a system clock O for a phase synchronized circuit. 1l is a frequency dividing circuit which inputs the phase synchronized circuit system clock O and generates the FDC system clock p by dividing the frequency by 1/n.

なお、位相同期検出回路2は、フロッピーディスクのシ
ンクバイトにおいてサンプリングクロックbと読み取り
データaとがl:2の関係を20発程度サンプリングさ
れたときロックしたとみなす公知の回路であり、ロック
信号Cはロック時には“H”を、非ロック時には“L″
を出力する。また、RAM6はリセット信号R4が“H
′″になると全て“L”にリセットし、出力d■は記憶
した内容d1を常に出力するものとする。
The phase synchronization detection circuit 2 is a known circuit that considers that the sampling clock b and the read data a are locked when the relationship of l:2 is sampled approximately 20 times in the sync byte of the floppy disk, and the lock signal C is is “H” when locked, “L” when unlocked
Output. In addition, the reset signal R4 is “H” in the RAM6.
'', all are reset to "L", and the output d■ always outputs the stored content d1.

次に、上記実施例の動作について説明する。上記実施例
において、リセット信号がR1がII H I+により
F/F3の出力dを“L”に、また2ピットカウンタ回
路5とRAM6をリセットする。続いて読み取り動作信
号eがriH”となると,ロック信号Cが“L ”の間
はインデックス信号fの立ち上がりエッジに同期してA
NDゲート4の出力gは“H ”となり、カウンタ回路
5はカウントを開始しカウント回路の出力のカウント信
号h,iは変化し始める。この時FDCからのドライブ
セレクト信号JykによってRAM6ではトライブに対
応したレジスタを選択するが、読み出し書き込み制御信
号d1がIt L 71の間カウンタ回路5のカウント
信号h,iとF/F3の出力dを記憶し,選択回路8で
は読み出し書き込み制御信号d1が“L Hの間カウン
ト信号h,iを出力する.デコード回路9ではこのカウ
ント信号h,iを用いてクロックセレクト信号αを出力
し、クロツクセレクト回路10ではクロックセレクト信
号αによってフロッピーディスク制御回路のシステムク
ロックmまたはnを選択して位相同期回路のシステムク
ロックOを変化させ、分周回路11ではシステムクロッ
クOに分周させてFDCのシステムクロツク?を生成し
出力する。その後、位相同期検出回路2は位相同期回路
1の同期がとれたことを検出すると、ロック信号Cがt
iH”になりF/F3の出力dも“H”になるためイン
デックス信号fが入力してもANDゲート4の出力gは
一定の値となる。また、RAM6ではF/F3の出力d
が“H”になるとF/F出力dが゛H″になったことを
記憶すると共に、読み出し書き込み制御信号d■も“H
 Itを出力する.従って、RAM6では位相同期回路
1の同期がとれた時の記憶内容h■l 11を出力し,
選択回路8ではRAMの記憶内容hlliよを出力する
ため,位相同期回路のシステムクロック○とFDCのシ
ステムクロックpは同期がとれた時のシステムクロック
を選択し保持する。
Next, the operation of the above embodiment will be explained. In the above embodiment, the reset signal R1 sets the output d of the F/F3 to "L" and resets the 2-pit counter circuit 5 and the RAM 6 due to II H I+. Next, when the read operation signal e becomes "riH", while the lock signal C is "L", A is synchronized with the rising edge of the index signal f.
The output g of the ND gate 4 becomes "H", the counter circuit 5 starts counting, and the count signals h and i output from the counter circuit begin to change. At this time, the drive select signal Jyk from the FDC selects the register corresponding to the drive in the RAM 6, but while the read/write control signal d1 is It L 71, the count signals h, i of the counter circuit 5 and the output d of the F/F3 are The selection circuit 8 outputs count signals h, i while the read/write control signal d1 is "LH".The decode circuit 9 uses these count signals h, i to output a clock select signal α, The select circuit 10 selects the system clock m or n of the floppy disk control circuit using the clock select signal α, and changes the system clock O of the phase synchronized circuit. After that, when the phase synchronization detection circuit 2 detects that the phase synchronization circuit 1 is synchronized, the lock signal C becomes t.
iH" and the output d of F/F3 also becomes "H", so even if the index signal f is input, the output g of the AND gate 4 becomes a constant value. In addition, in the RAM 6, the output d of F/F3 becomes "H".
When becomes “H”, it is remembered that the F/F output d has become “H”, and the read/write control signal d also becomes “H”.
Output It. Therefore, the RAM 6 outputs the memory content h■l 11 when the phase synchronization circuit 1 is synchronized,
Since the selection circuit 8 outputs the memory contents of the RAM, the system clock ○ of the phase synchronized circuit and the system clock p of the FDC select and hold the system clock when they are synchronized.

このように、リセット後最初に選択したドライブに対し
ては上記のような動作によりFDCのシステムクロック
を選択する。
In this way, the system clock of the FDC is selected for the first drive selected after reset by the above-described operation.

次に,一度選択したドライブに対して位相同期回路1の
同期がとられている場合には、読み出し書込み制御信号
d■は“H”になっているため同?がとれた時に記憶し
たカウント信号h,iを出力し,選択回路8ではRAM
の記憶内容h,,i■を出力するので、位相同期回路の
システムクロックOとFDCのシステムクロックpを瞬
時に選択保持する. 第2図はリセット後最初に選択したドライブに対してク
ロックセレクト信号aが“L”の区間はフロッピーディ
スク制御回路システムクロックmが選択され、″H”の
区間ではシステムクロツクnが選択されてロックした状
態の例であり、分周回路は1/2分周している例を示し
ている。
Next, if the phase synchronization circuit 1 is synchronized with the selected drive, the read/write control signal d■ is "H", so is it the same? When the count is removed, the stored count signals h and i are output, and the selection circuit 8 stores them in the RAM.
Since the memory contents h,,i■ are outputted, the system clock O of the phase-locked circuit and the system clock p of the FDC are instantly selected and held. Figure 2 shows that for the first drive selected after reset, the floppy disk control circuit system clock m is selected during the period when the clock select signal a is "L", and the system clock n is selected during the period when the clock select signal a is "H". This is an example of a locked state, and the frequency dividing circuit is dividing the frequency by 1/2.

第3図はすでにロックが完了しているドライブを選択し
た場合の例で,クロックセレクト信号aが“H”の区間
でシステムクロックがnに切り換わる場合の例を示して
いる。
FIG. 3 shows an example in which a drive that has already been locked is selected, and shows an example in which the system clock is switched to n while the clock select signal a is "H".

上記のように本実施例によれば、FDDからのインデッ
クス信号fを用いて2ビットカウンタ回路5からのカウ
ント信号h,iを変化させ、該カウント信号h,iをR
AM6で記憶すると共に選択回路8を経てデコード回路
9へ入力デコードし、?ロックセレクト信号党によって
FDCのシステムクロックを複数個切り換えたり、すで
にロックが完了している場合にはRAM6の記憶内容h
1,i■を選択回路8を介してデコード回路9へ入力し
、FCCのシステムクロックを切り換えることができる
ため、データ転送速度の異なるFDDを複数台接続した
場合でも同一のFDCでデータの読み出し書き込みを行
うことが可能になる。
As described above, according to this embodiment, the index signal f from the FDD is used to change the count signals h, i from the 2-bit counter circuit 5, and the count signals h, i are changed to R.
It is stored in AM6 and input to the decoding circuit 9 via the selection circuit 8 and decoded. The memory contents of RAM 6 can be changed by switching multiple FDC system clocks depending on the lock select signal, or if locking has already been completed.
1, i■ can be input to the decoding circuit 9 via the selection circuit 8 to switch the FCC system clock, so even if multiple FDDs with different data transfer speeds are connected, data can be read and written using the same FDC. It becomes possible to do this.

(発明の効果) 本発明は上記実施例から明らかなように、特に位相同期
回路の同期がとれた時のカウンタ回路のカウント信号を
RAMに記憶することで同一ドライブに対し2回目以降
アクセスする場合,FDCのシステムクロックを自動で
瞬時に切り換えることができるフロッピーディスク制御
回路を実現できるという効果を有する。
(Effects of the Invention) As is clear from the above embodiments, the present invention stores in RAM the count signal of the counter circuit when the phase synchronization circuit is synchronized, especially when accessing the same drive for the second time or later. This has the effect of realizing a floppy disk control circuit that can automatically and instantaneously switch the FDC system clock.

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

第1図は本発明の一実施例におけるフロッピーディスク
制御回路のブロック図、第2図及び第3図は第1図にお
ける主要な入出力信号の一例を示すタイムチャートであ
る。 1 ・・・位相同期回路, 2 ・・・位相同期検出回
路、 3 ・・・フリップフロップ回路、4 ・・・A
NDゲート、 5・・・カウンタ回路、 6 ・・・ 
RAM、 7 ・・・ リセット回路、 8 ・・・選
択回路, 9 ・・・デコード回路、lO・・・クロッ
クセレクト回路,11・・・分周回路、 a ・・・読
み取りデータ、b ・・・サンプリングクロック、 C
 ・・・ロック信号、 d ・・・ F/F出力、 e
 ・・・読み取り動作信号, f ・・・インデックス
信号、 g・・・ANDゲート出力, h,i ・・・
カウント信号、 dエ・・・読み出し書き込み制御信号
, hユ,11・・・RAM記憶内容、 h2,i.・
・・選択回路出力、Jek ・・・ ドライブセレクト
信号, Q・・・クロックセレクト信号.m,n  ・
・・フロッピーディスク制御回路用システムクロック,
 O・・・位相同期回路用システムクロック, p ・
・・ FDC用システムクロック、 ?■,
FIG. 1 is a block diagram of a floppy disk control circuit according to an embodiment of the present invention, and FIGS. 2 and 3 are time charts showing an example of main input/output signals in FIG. 1. 1...Phase synchronization circuit, 2...Phase synchronization detection circuit, 3...Flip-flop circuit, 4...A
ND gate, 5... counter circuit, 6...
RAM, 7... Reset circuit, 8... Selection circuit, 9... Decode circuit, lO... Clock select circuit, 11... Frequency divider circuit, a... Read data, b... sampling clock, C
... Lock signal, d ... F/F output, e
... Read operation signal, f ... Index signal, g ... AND gate output, h, i ...
count signal, d...read/write control signal, hyu,11...RAM storage content, h2,i.・
... Selection circuit output, Jek ... Drive select signal, Q ... Clock select signal. m, n ・
...System clock for floppy disk control circuit,
O...System clock for phase synchronized circuit, p ・
... System clock for FDC? ■,

Claims (1)

【特許請求の範囲】[Claims]  読み取りデータに同期してサンプリングクロックを発
生する位相同期回路と、前記サンプリングクロックと読
み取りデータとを入力し同期がとれたことを検出する位
相同期検出回路と、前記位相同期検出回路出力と読み取
り動作信号を入力とするカウンタ回路と、ドライブセレ
クト信号と前記位相同期検出回路出力により前記カウン
タ回路の出力信号を記憶または出力するランダムアクセ
スメモリ(RAM)と、前記カウンタ回路の出力信号と
前記RAMの出力の選択を行う選択回路と、前記選択回
路の出力を入力とするデコード回路と、前記デコード回
路の出力により位相同期回路用システムクロックを少く
とも2段階に切り換え制御を行うクロックセレクト回路
と、前記クロックセレクト回路の出力の分周を行う分周
回路とを備えたことを特徴とするフロッピーディスク制
御回路。
A phase synchronization circuit that generates a sampling clock in synchronization with read data, a phase synchronization detection circuit that inputs the sampling clock and read data and detects that synchronization is established, and an output of the phase synchronization detection circuit and a read operation signal. a random access memory (RAM) that stores or outputs the output signal of the counter circuit according to the drive select signal and the output of the phase synchronization detection circuit; a selection circuit that makes a selection; a decoding circuit that receives the output of the selection circuit as an input; a clock selection circuit that controls switching of a system clock for a phase-locked circuit into at least two stages based on the output of the decoding circuit; A floppy disk control circuit comprising: a frequency dividing circuit that divides the frequency of the output of the circuit.
JP24076389A 1989-09-19 1989-09-19 Floppy disk control circuit Pending JPH03104057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24076389A JPH03104057A (en) 1989-09-19 1989-09-19 Floppy disk control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24076389A JPH03104057A (en) 1989-09-19 1989-09-19 Floppy disk control circuit

Publications (1)

Publication Number Publication Date
JPH03104057A true JPH03104057A (en) 1991-05-01

Family

ID=17064351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24076389A Pending JPH03104057A (en) 1989-09-19 1989-09-19 Floppy disk control circuit

Country Status (1)

Country Link
JP (1) JPH03104057A (en)

Similar Documents

Publication Publication Date Title
US4210959A (en) Controller for magnetic disc, recorder, or the like
US7415404B2 (en) Method and apparatus for generating a sequence of clock signals
US7310396B1 (en) Asynchronous FIFO buffer for synchronizing data transfers between clock domains
JP2610397B2 (en) Disc reproducing apparatus, signal processing circuit, reproducing speed detecting circuit, and reproducing method
JPH07117878B2 (en) Information read rate control method and apparatus
JPS6038740B2 (en) data processing equipment
JPS59198507A (en) Programmable time code generation circuit
US4853781A (en) Video format signal processing system
JPH03104057A (en) Floppy disk control circuit
JPH0877691A (en) Disc reproducer and signal processing circuit
US5291588A (en) Control system and method for multiple rate disk drive data transfer with a single oscillator
US5646906A (en) Method & Apparatus for real-time processing of moving picture signals using flash memories
JP3185207B2 (en) Data processing system
JP3108727B2 (en) Address signal recording method
KR100263636B1 (en) Device and method for fast-controlling dynamic random access memory
KR100194044B1 (en) Interface device and method for memory access
JPH0243645A (en) Storage device
JPH0319173A (en) Floppy disk control circuit
JPH0775319B2 (en) Sync detection circuit with majority decision function
JP2792120B2 (en) Digital phase control circuit
JPS62234476A (en) Reproducing device for digital video signal
JPS61251930A (en) Processing circuit of digital data
JPS6151665A (en) M/t data reading device
JPS61278233A (en) Data transmission and detecting system
JPS6020361A (en) Floppy disk device