Patent application title:

Long latency interface protocol

Publication number:

-

Publication date:
Application number:

14/059,522

Filed date:

2013-10-22

βœ… Patent granted

Patent number:

US 9,576,606 B1

Grant date:

2017-02-21

PCT filing:

-

PCT publication:

-

Examiner:

Khanh Dang

Adjusted expiration:

2034-06-18

Smart Summary: A new interface has been created to improve communication between storage components, like hard disk controllers and read/write channels. It uses special circuits to send and receive data blocks while managing signals that control when data is cleared from the system. This design allows for longer delays in data processing, which is important for modern technologies that require more time to handle information. The interface can support various formats and higher latencies, making it more flexible than older systems. Overall, it addresses the need for better performance in disk drive systems that handle complex data processing. πŸš€ TL;DR

Abstract:

A storage controller interface includes, on a disk controller side of the storage controller interface, a first transceiver circuit configured to transfer a first block of user data to a read channel during a write operation, and a gate transmit circuit configured to, subsequent to the first block of user data being transferred, assert a gate signal to flush the first block of user data from the read channel. The storage controller interface further includes, on a read channel side of the storage controller interface, a second transceiver circuit configured to receive the first block of user data, a gate receive circuit configured to receive the gate signal, and a write fault transceiver circuit configured to selectively assert a write fault signal if the gate transmit circuit does not assert the gate signal subsequent to the first block of user data being transferred to the read channel.

Inventors:

Assignee:

Applicant:

Interested in similar patents?

Get notified when new applications in this technology area are published.

Classification:

G11B20/14 »  CPC main

Signal processing not specific to the method of recording or reproducing; Circuits therefor; Digital recording or reproducing using self-clocking codes

G06F13/00 »  CPC further

Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

G06F13/14 »  CPC further

Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units Handling requests for interconnection or transfer

G11C29/00 »  CPC further

Checking stores for correct operation ; Subsequent repair ; Testing stores during standby or offline operation

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/470,930 (now U.S. Pat. No. 8,566,499), filed May 14, 2012, which is a continuation of U.S. patent application Ser. No. 12/876,715 (now U.S. Pat. No. 8,180,946) filed Sep. 7, 2010, which is a continuation of U.S. patent application Ser. No. 12/364,608 (now U.S. Pat. No. 7,793,028), filed Feb. 3, 2009, which is a continuation of U.S. patent application Ser. No. 11/973,633 (now U.S. Pat. No. 7,487,268), filed Oct. 9, 2007, which is a continuation of U.S. patent application Ser. No. 09/759,151 (now U.S. Pat. No. 7,281,065), filed Jan. 16, 2001, which application claims priority under 35 U.S.C. Β§119(e) from U.S. Provisional Application No. 60/225,748, filed Aug. 17, 2000; U.S. Provisional Application No. 60/236,180, filed Sep. 29, 2000; and U.S. Provisional Application No. 60/249,287, filed Nov. 17, 2000. The disclosures of the above applications are incorporated herein by reference in their entirety.

This application is related to U.S. Pat. No. 6,871,251, entitled β€œHigh Latency Interface Between Hardware Components,” issued Mar. 22, 2005, the contents of which are incorporated by reference herein.

FIELD

The present invention relates to a versatile, latency-independent interface between hardware components, such as between a read/write (R/W) channel or read channel (RDC) and a hard disk controller (HDC). Such an interface is flexible enough to support high read and write latencies of greater than one sector, a split sector format, and a second sector mark.

DESCRIPTION OF THE RELATED ART

As is shown in FIG. 1, a typical disk drive system includes a hard disk controller (HDC) 12 that interfaces with a R/W channel or RDC 14 which is in communication with a disk 16. Data transfer between HDC 12β€²β€³ and the R/W channel is synchronized by read gate (RGATE) and write gate (WGATE) control signals. In a read operation, R/W channel 14 processes an incoming analog signal from disk 16 and transfers the data to HDC 12. In a write operation, data is transferred from HDC 12β€²β€³ to the R/W channel to be written to the disk. Latency refers to the time or byte delay that data remains in the R/W channel. Some disk drive systems have latencies of about 20 bytes which, depending on the particular system, amounts to a time delay of between about 800 ns and 5 ms.

Technology such as iterative turbo coding, which is being introduced into modern disk drive systems, requires more processing before the data is available, which, in turn, requires R/W channels or RDCs with higher latencies. One problem is that the interface used in the shorter latency systems is not capable of supporting the higher latencies. Accordingly, a new interface is needed that supports higher latency R/W channel or RDC designs.

SUMMARY

According to a first aspect of the present invention, a latency-independent interface between first and second hardware components is provided comprising, a serial control data circuit that transmits a serial control data signal and a data circuit that transmits or receives data under the control of the serial data gate signal. The serial control data signal comprises information as to whether the data is one of split and non-split.

According to a second aspect of the present invention, a latency-independent interface between first and second hardware components, comprising a serial control data circuit that transmits a serial control data signal, a data circuit that transmits or receives data under the control of the serial control data signal, and a sync mark transceiver that transmits or receives sync mark information. During a write operation a first assertion by the first hardware component of the sync mark information indicates a start of sync mark insertion and a second assertion by the first hardware component of the sync mark information indicates a start of writing of padding data, and during a read operation by the second hardware component information that a sync mark was detected.

According to a third aspect of the present invention, a latency-independent interface between first and second hardware components, comprises a serial control data circuit that transmits a serial control data signal, a data circuit that transmits or receives data under the control of the serial data gate signal, and a ready transceiver that transmits or receives a ready signal. During a write operation the ready signal indicates the second hardware component is ready to receive data from the first hard component; and during a read operation the ready signal indicates the first hardware component is ready to receive data from the second hard.

According to a third aspect of the present invention, a method of transmitting and receiving signals between first and second hardware components comprises the steps of transmitting a serial control data signal, and transmitting or receiving data under the control of the serial control data signal. The serial control data signal comprises information as to whether the data is one of split and non-split.

According to a fourth aspect of the present invention, computer program for transmitting and receiving signals between first and second hardware components, comprises the steps of receiving a serial control data signal and transmitting or receiving data under the control of the serial control data signal. The serial control data signal comprises information as to whether the data is one of split and non-split.

Other objects and attainments together with a fuller understanding of the invention will become apparent and appreciated by referring to the following description and claims taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF DRAWINGS

In the drawings wherein like reference symbols refer to like parts.

FIG. 1 is a block diagram of a conventional RDC/HDC interface;

FIG. 2 is a block diagram of an interface between two hardware components, such as an HDC and an RDC or R/W channel, in accordance with a first embodiment of the invention;

FIG. 3 is a timing diagram of a read operation with a long instruction in accordance with the first embodiment of the present invention;

FIG. 4 is a timing diagram of a read operation with a Short Instruction in accordance with the first embodiment of the present invention;

FIG. 5 is a timing diagram of a write operation of an SCD serial transfer occurring right after a DATA_VALID assertion in accordance with the first embodiment of the present invention;

FIG. 6 is a timing diagram of a write operation for a single codeword per sector without split in accordance with the first embodiment of the present invention;

FIG. 7 is a timing diagram for a write operation for a single codeword per sector with split assertion in accordance with the first embodiment of the present invention;

FIG. 8 is a timing diagram for a write operation for multiple codewords per sector without split in accordance with the first embodiment of the present invention;

FIG. 9 is a timing diagram for a write operation for multiple codewords per sector with multiple splits in accordance with the first embodiment of the present invention;

FIG. 10 is a timing diagram for a read operation for a single codeword per sector without split in accordance with the first embodiment of the present invention;

FIG. 11 is a timing diagram for a read operation for a single codeword per sector with split in accordance with the first embodiment of the present invention;

FIG. 12 is a timing diagram for a read operation for multiple codewords per sector without split in accordance with the first embodiment of the present invention;

FIG. 13 is a timing diagram for a read operation for multiple codewords per sector with multiple splits. R/W channel 24 operates similarly as in the single codeword per sector with split case in accordance with the first embodiment of the present invention;

FIG. 14 is a block diagram of an interface between two hardware components, such as an HDC and an RDC or R/W channel, in accordance with a second embodiment of the invention;

FIG. 15 is a timing diagram for a single codeword per sector without a split for a write operation, in accordance with the second embodiment of the invention;

FIG. 16 is a timing diagram for single codeword per sector with split for a write operation, in accordance with the second embodiment of the invention;

FIG. 17 is a timing diagram for multiple codewords per sector without split for a write operation, in accordance with the second embodiment of the invention;

FIG. 18 is a timing diagram for multiple codewords per sector with multiple splits for a write operation, in accordance with the second embodiment of the invention;

FIG. 19 is a timing diagram for a single codeword per sector without split for a read operation, in accordance with the second embodiment of the invention;

FIG. 20 is a timing diagram for a single codeword per sector with split for a read operation, in accordance with the second embodiment of the invention;

FIG. 21 is a timing diagram for multiple codewords per sector without split for a read operation, in accordance with the second embodiment of the invention;

FIG. 22 is a timing diagram for multiple codewords per sector with multiple splits for a read operation, in accordance with the second embodiment of the invention;

FIG. 23 is a schematic diagram of a data format without a split, in accordance with the second embodiment of the invention;

FIG. 24 is a schematic diagram of a data format with a split, in accordance with the second embodiment of the invention;

FIG. 25 is a block diagram of an interface between two hardware components, such as an HDC and an RDC or R/W channel, in accordance with a third embodiment of the invention;

FIG. 26 is a timing diagram for a single codeword per sector without a split for a write operation, in accordance with the third embodiment of the invention;

FIG. 27 is a timing diagram for single codeword per sector with split for a write operation, in accordance with the third embodiment of the invention;

FIG. 28 is a timing diagram for multiple codewords per sector without split for a write operation, in accordance with the third embodiment of the invention;

FIG. 29 is a timing diagram for multiple codewords per sector with multiple splits for a write operation, in accordance with the third embodiment of the invention;

FIG. 30 is a timing diagram for multiple codewords per sector with multiple splits for a write operation, in accordance with the third embodiment of the invention;

FIG. 31 is a timing diagram for a single codeword per sector with split for a read operation, in accordance with the third embodiment of the invention;

FIG. 32 is a timing diagram for multiple codewords per sector without split for a read operation, in accordance with the third embodiment of the invention;

FIG. 33 is a timing diagram for multiple codewords per sector with multiple splits for a read operation, in accordance with the second embodiment of the invention;

FIG. 34 is a block diagram of an interface between two hardware components, such as an HDC and an RDC or R/W channel, in accordance with a fourth embodiment of the invention;

FIG. 35 is a timing diagram for a single codeword per sector for a write operation, in accordance with the fourth embodiment of the invention;

FIG. 36 is a timing diagram for multiple codewords per sector for a write operation, in accordance with the fourth embodiment of the invention;

FIG. 37 is a timing diagram for a single codeword per sector for a read operation, in accordance with the fourth embodiment of the invention; and

FIG. 38 is a timing diagram for multiple codewords per sector for a read operation, in accordance with the fourth embodiment of the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

First Embodiment

Referring to FIG. 2, a block diagram of an interface 20 between a first hardware component 22 and a second hardware component 24, in accordance with a first embodiment of the present invention, is illustrated. In a preferred embodiment, first hardware component 22 is a hard disk controller (HDC) and second hardware component 14 is a read/write (R/W) channel or read channel (R/W channel 24), although the invention is not so limited. Rather, interface 20 of the present invention may be employed in connection with other suitable functional hardware components between which data is transferred.

In accordance with the invention, interface 20 employs a new signaling protocol, which decouples the timing of the conventional read, and writes gate control signals by replacing them with a single RWGATE signal. Additionally, five more signals are added in the preferred embodiment. A description of these signals is described below. The interface supports the following features:

multiple sectors of read and write delay;

multiple codewords per sector;

multiple splits per sector;

multiple codeword sizes per sector;

expandable serial interface (SCD pinβ€”Serial Control Data); and

data recovery between 1st sync mark and 2nd sync mark.

In the illustrated embodiment, the interface 20 of the present invention employs a read clock signal (RCLK), sourced from R/W channel 24 and output during read operations, and a write clock signal (WCLK) sourced from HDC 22 and output during write operations. A R/W signal, sourced from HDC 22, is provided in which a β€œ1” indicates a read operation and a β€œ0” indicates write operation. Of course, as will be appreciated by one of ordinary skill in the art, other bit configurations may be utilized for the R/W signal. Alternatively, this signal may be replaced by programming an internal register. A BUF_FULL signal, source from the R/W channel 24 indicates an internal buffer from R/W channel 24 is almost full. More specifically, once the BUF_FULL signal goes high, only 8 more bytes of data can be transferred. During a write operation if BUF_FULL goes high, HDC 22 either asserts a RWGATE signal to flush out the data from the internal buffer or HDC 22 resets R/W channel 24. Otherwise R/W channel 24 will continue to wait.

During a read operation, BUF_FULL goes high only when HDC 22 is not ready for data transfer and RWGATE stays high. HDC 22 will then need to either assert a HDC_RDY signal or to reset R/W channel 24.

A DATA_VALID signal can be source from either HDC 22 or R/W channel 24. During a write operation, DATA_VALID is sourced from HDC 24 and indicates the 9-bit NRZ data bus is valid when it goes high. Therefore, R/W channel 24 can latch the NRZ data from the bus correctly at the rising edge of WCLK. During a read operation, Data_Valid is sourced from R/W channel 24 and indicates the 9-bit NRZ data bus is valid when it high. Therefore, HDC can latch the data from the bus correctly at the rising edge of RCLK.

A RDY signal comprises a RC_RDY during the write operation and a HDC_RDY, during the read operation. RC_RDY signal is source by R/W channel 24 goes high when R/W channel 24 is ready for HDC 22 to assert RWGATE. HDC_RDY signal is sourced by HDC 22 and goes high when HDC 22 is ready for R/W channel 24 to assert DATA_VALID. The RWGATE signal is source by HDC 22. When R/W is set for the read operation (or =1) RWGATE=RGATE, and when R/W is set for the write operation (or =0) RWGATE=WGATE.

The Serial Control Data Transfer utilizes the SCD pin to transfer important control information from HDC 22 to R/W channel 24 for both read and write operations. Each serial transfer contains one START bit followed by 10 bits of control data and one END bit. If the END bit goes low at the end of a transfer, it indicates the completion of the transfer. Otherwise, another 10 bits of control data and one END bit are expected. Therefore, HDC 22 can transfer for unlimited number of times 10-bit control data to the R/W channel 24 as long as every END bit is β€œ1”. This facility provides flexibility and allows for expandable and additional feature sets for any future development.

For a write operation, the START bit gated with DATA_VALID is used to indicate the beginning of a transfer. Similarly for a read operation, the START bit gated with RWGATE is used to indicate the beginning of a transfer. However, the data on SCD pin has slightly different definition during Read and Write operations. Detailed description of the SCD pin can be found in Table 1 below.

SCD Functional Description

TABLE 1
SCD Pin Function Descriptions
Bit Definition Description
Start Bit β€œ1” means start a transfer. Once started the R/W
channel 24 looks for End bit to stop.
Instruction Bit Only available in read operation.
β€œ1” means long instruction and β€œ0” means short
instruction.
Split Bit Only available in Write Operation.
β€œ1” means split and β€œ0” means non-split
Mode Bit[1:0] During Read Operation, it indicates sector types
as following:
00 = non-split
01 = first-split
10 = continue-split
11 = last-split
During Write Operation: Not used or Reserved
Reserve Bit[2:0] Reserved.
Counter[13:0] During Read Operation:
If Instruction Bit = 1, Counter[13:0] is the read
counter value which indicates the number of bytes
expected to be read during current RWGATE.
If Instruction Bit = 0, Counter[7:0] is the read
counter value which indicates the number of bytes
expected to be read during current RWGATE.
During Write Operation:
14-bit write counter value to indicate the total
number of bytes to write for one sector.
Codeword_Size[9:0] 10-bit codeword size used for the current sector.
In the presence of multiple codeword sizes,
Codeword_Size can be sent to the R/W channel
24 one by one.

Interface 20 also comprises an RCLK signal sourced by R/W channel 24 having a constant width of 8 times R/W channel 24 clock and an WCLK signal sourced by HDC 22 having the same clock frequency as RCLK but at a different phase.

A SM_ST or a SM_DET signal is also provided. During the write operation, SM_ST is asserted by HDC 22 twice for each RWGATE. The first assertion indicates the start of Sync Mark insertion. The second assertion indicates the start of Write padding data. Therefore, HDC 22 can freely control the lengths of Sync Field and Write padding data. At the same time, R/W channel 24 knows the number of data bytes written by counting the number of WCLK's between the two SM_ST assertions. Since iterative encoding adds 28 bytes per codeword, HDC 22 need to add 28 times the number of words per sector bytes into the total write padding length.

During the read operation, SM_DET is asserted by R/W channel 24 to indicate that the Sync Mark is found after RWGATE is asserted. The NRZ[8:0] signal is source by either HDC 22 or R/W channel 24. During the write operate NRX[8:0] is source by HDC 22 as an input to R/W channel 24. NRZ[8] is the parity bit and NRZ[7:0] is the user data including data permuted by ECC (error correcting code) and/or RLL (run length limited coding). HDC 22 functions to ensure user data is in 8-bit form. If the last user data in a string is less than 8 bits, HDC 22 pads the last string so that it is 8 bits. During the read operation NRZ[8:0] is sourced by R/W channel 24. NRZ[8] is a multi-purpose bit and NRZ[7:0] is the user data, which is read back.

Interface 20 may contain a RDONE or a WDONE signal. During the write operation, WDONE indicates one RWGATE write completion, and during the read operation, RDONE indicates one RWGATE read completion.

Each of HDC 22 and the R/W channel 24 include appropriate circuitry for transmitting and receiving the various signals, data and mode selection information between the two hardware components. For example, HDC 22 includes a R/W transmit circuit 60 that transmits the R/W signal to R/W receiver circuit 32 on R/W channel 24, a data valid transceiver circuit 64 that transmits the DATA_VALID signal to and receives the DATA_VALID signal from a data valid transceiver circuit 36 on R/W channel 24. A ready transceiver 66 is provided in HDC 22 to transmit HDC_RDY signal to and receive RC_RDY signal from a ready transceiver circuit 38 on R/W channel 24. HDC 22 also comprises a RWGATE transmit circuit 68 which transmits the RWGATE signal to RWGATE receive circuit 40 of R/W channel 24. HDC 22 also includes a write clock transmit circuit 74 to transmit the WCLK signal to write clock receive circuit 46 on R/W channel 24. HDC 22 comprises a SM transceiver 76, which transmits the SM_DET or SM_ST signal to and receives the SM_DET or SM_ST signal from the SM transceiver 48 on R/W channel 24. HDC 22 and R/W channel 24 comprise respective NRZ transceivers 78 and 50, respectively, for exchanging NRZ data and serial transceivers 82 and 54 respectively for exchanging serial data. R/W channel 24 comprises a buffer full transmit circuit 34 to transmit the BUF_FULL signal to a buffer full receive circuit 62 on HDC 22, a receive clock transmit circuit 44 to transmit RCLK signal to a receive clock receive circuit 72 on HDC 22. R/W channel 24 comprises done transmit circuit 52 to transmit the RDONE or WRITE done signal to done receive circuit 80.

Signal and data transmitting, receiving and transceiving circuits are generally known, and based on the teachings provided herein, one skilled in the art would be able to construct and implement transmitting and receiving circuits to carry out the specific signaling protocol described herein.

FIG. 3 is a timing diagram of a read operation with a long instruction in accordance with the first embodiment of the present invention. The SCD transfer occurs during the read operation right after RWGATE is asserted. As shown therein, in the SCD signal, the first or START bit, goes from low to high indicating the start of a transfer. The next bit is an Instruction Bit. In FIG. 3, it is set to β€œ1” to indicate a long instruction. The next 2 bits, Mode Bit[1:0], indicate sector type of this RWGATE. It can be non-split, first-split, continue-split or last-split sector. The next 3 bits are reserved. The last 4 bits for this 10-bit SCD data are the most significant bits (MSBits) of a 14-bit read counter. The least significant (LSBits) 10 bits are provided in the next 10-bit SCD data transfer.

At the end of the 10-bit SCD data transfer, an END bit is appended to indicate the continuation or termination of the transfer. In the example of FIG. 3, the END bit is set to β€œ1”, indicating that there will be a continuation of data transfer in the next SCD data. In the example illustrated herein, the LSBits 10 bits are provided in the next 10-bit SCD data.

The next 10-bit SCD data contains the LSBits of the read counter. In this example the End bit is set to β€œ1” to indicate another 10-bit SCD data transfer. The next (or third) 10-bit SCD data contains the codeword size information. The End bit is set to β€œ0” to indicate the end of the SCD data transfer.

FIG. 4 illustrates a timing diagram of a read operation with a Short Instruction in accordance with the first embodiment of the present invention. For this operation, the first bit, START Bit, goes from low to high indicating the start of a transfer. As shown therein, the first bit of the 10-bit SCD data is Instruction Bit which is set to β€œ0” indicating a short instruction. The next 2 bits, Mode Bit[1:0], indicate sector type of this RWGATE. It can be non-split, first-split, continue-split or last-split sector. The next 7 bits are the value of the 7-bit read counter. For a read operation expected to read the data less than 127 bytes it is advantageous to use the Short Instruction.

FIG. 5 illustrates a timing diagram of a write operation of an SCD serial transfer occurring right after a DATA_VALID assertion in accordance with the first embodiment of the present invention. In this write operation, the first bit (START Bit) goes from low to high indicating the start of a transfer. The first bit of the following 10-bit SCD data is Split Sector Bit, which is set to β€œ1” indicating a split sector. The next 5 bits are reserved. The last 4 bits for this 10-bit SCD data are the MSBits of a 14-bit write counter. At the end of the current 10-bit SCD data transfer, an END bit is set to β€œ1”, and is appended to indicate the continuation of the transfer. In this example, the least significant 10 bits of the 14 bit write counter are sent in the next 10-bit SCD data transfer. The End bit of β€œ1” is asserted to indicate another 10-bit SCD data transfer. The 10-bit SCD data is the codeword size information. For this 10-bit SCD data the End bit of β€œ0” is asserted to indicate the end of the SCD data transfer.

FIG. 6 is a timing diagram of a write operation for a single codeword per sector without split, in accordance with the first embodiment of the present invention. As shown therein, a write operation of 1 codeword per sector without split is performed. The sector control information is sent through the SCD pin at the beginning of the DATA_VALID signal. HDC 22 sends the sector type, total number of user data bytes and the codeword size information for this sector to R/W channel 24.

After R/W channel 24 finishes the iterative encoding, CH_RDY is asserted by R/W channel 24 to indicate that it is ready to transfer the encoded data. Then HDC 22 asserts RWGATE, and thereafter HDC 22 asserts the first SM_ST to indicate the start of Sync Mark and the second one to indicate the start of Write padding data operation. As a result of this interface, HDC 22 can freely control the lengths of the Sync Field and the Write padding data for each RWGATE asserted during a write operation.

FIG. 7 is a timing diagram for a write operation for a single codeword per sector with split assertion in accordance with the first embodiment of the present invention. In FIG. 7, a write operation of 1 codeword per sector with 1 split is performed. First, the entire codeword of user data is transferred to R/W channel 24. HDC 22 uses DATA_VALID to qualify the NRZ data bus. At the beginning of DATA_VALID assertion, HDC 22 transfers sector control data information to R/W channel 24 via SCD pin. In order to track the completion of one user data sector transfer, R/W channel 24 counts between each pair of SM_ST during each RWGATE and adds all the counts up to the expected number of bytes to be transferred.

FIG. 8 illustrates a timing diagram for a write operation for multiple codewords per sector without split, in accordance with the first embodiment of the present invention. The write operation shown in FIG. 8 is the same as the one codeword per sector case except CH_RDY is set to β€œ1” with a latency of 10 bytes per additional codeword. Once RWGATE is asserted by HDC 22 after CH_RDY goes high, R/W channel 24 must write out the data in a non-stop manner. As a result, R/W channel 24 requires a longer latency and larger buffer to handle the multiple codewords per sector case. In addition, HDC should continuously transfer data to R/W channel in order to avoid buffer underflow. If buffer underflow happens, the write operation may fail.

FIG. 9 illustrates a timing diagram for a write operation for multiple codewords per sector with multiple splits, in accordance with the first embodiment of the present invention. This write operation is the same as the write operation of the one codeword per sector with one split case except the first CH_RDY comes later due to the requirement of R/W channel 24 relating to buffer underflow.

FIG. 10 illustrates a timing diagram for a read operation for a single codeword per sector without split, in accordance with the first embodiment of the present invention. At the beginning of each RWGATE assertion, sector control information such as sector type, read counter value and codeword size are sent by HDC 22 via SCD pin. After R/W channel 24 finishes decoding and HDC_RDY is set to β€œ1”, R/W channel 24 starts to send the user data to HDC 22 via NRZ data bus along with DATA_VALID which is set to β€œ1”.

FIG. 11 illustrates a timing diagram for a read operation for a single codeword per sector with split in accordance with the first embodiment of the present invention. In FIG. 11, consecutive read operations of 1 codeword per sector with split are performed. At the beginning of each RWGATE assertion, sector control information such as sector type, read counter value and codeword size are sent by HDC 22 via SCD pin. After collecting the first-split and the last-split sectors, R/W channel 24 merges the two split sectors and then transfers the decoded data to HDC 22 via NRZ data bus.

FIG. 12 illustrates a timing diagram for a read operation for multiple codewords per sector without split, in accordance with the first embodiment of the present invention. HDC 22 uses SCD pin to send the sector control information to R/W channel 24. As soon as R/W channel 24 finishes decoding one codeword, R/W channel 24 asserts DATA_VALID and transfers the user data to HDC 22 via NRZ data bus. If HDC_RDY is not set to β€œ1” for a long period of time after RWGATE assertion, R/W channel 24 buffer may overflow.

FIG. 13 illustrates a timing diagram for a read operation for multiple codewords per sector with multiple splits. R/W channel 24 operates similarly as in the single codeword per sector with split case in accordance with the first embodiment of the present invention. HDC 22 sends the sector control data information via SCD pin at the beginning of each RWGATE. In this read operation, the first codeword is being split into the first two RWGATE's. After R/W channel 24 collects the first completed codeword and completes iterative decoding, it starts sending the decoded user data to HDC 22 along with DATA_VALID which is set to β€œ1” provided that HDC_RDY is set to β€œ1”. However, if the gap between the split sector is too far apart, R/W channel 24 buffer may underflow. If underflow happens, R/W channel 24 deasserts DATA_VALID although HDC_RDY is still set to β€œ1”. On the other hand, if HDC_RDY is set to β€œ0” and RWGATE is continuously asserted, R/W channel 24 may overflow and force BUF_FULL to β€œ1”.

Second Embodiment

FIG. 14 illustrates a second embodiment of the present invention. The second embodiment is similar to the first embodiment with the following differences, the second embodiment does not have the SCD signal and associated circuitry, the second embodiment has an additional one RCLK cycle drop on RWGATE during a read operation. Moreover, in the second embodiment there is an insertion of an SF_HEADER signal by HDC 22β€² before each user data stream or split data stream, and an insertion of an END_SECTOR signal by HDC 22β€² at the end of each data stream. In the second embodiment there is a restriction of codeword size modifications through a regular 3-bit serial interface. A more detailed discussion is provided hereinbelow.

Each of HDC 22β€² and the R/W channel 24β€² include appropriate circuitry for transmitting and receiving the various signals, data and mode selection information between the two hardware components. For example, HDC 22β€² includes a R/W transmit circuit 60β€² that transmits the R/W signal to R/W receiver circuit 32β€² on R/W channel 24β€², a data valid transceiver circuit 64β€² that transmits the DATA_VALID signal to and receives the DATA_VALID signal from a data valid transceiver circuit 36β€² on R/W channel 24β€². A ready transceiver 66β€² is provided in HDC 22β€² to transmit HDC_RDY signal to and receive RC_RDY signal from a ready transceiver circuit 38β€² on R/W channel 24β€². HDC 22β€² also comprises a RWGATE transmit circuit 68β€² which transmits the RWGATE signal to RWGATE receive circuit 40β€² of R/W channel 24β€². HDC 22β€² also includes a write clock transmit circuit 74β€² to transmit the WCLK signal to write clock receive circuit 46β€² on R/W channel 24β€². HDC 22β€² comprises a SM transceiver 76β€² which transmits the SM_DET or SM_ST signal to and receives the SM_DET or SM_ST signal from the SM transceiver 48β€² on R/W channel 24β€². HDC 22β€² and R/W channel 24β€² comprise respective NRZ transceivers 78 β€˜and 50’, respectively, for exchanging NRZ data and serial transceivers 82β€² and 54β€² respectively for exchanging serial data. R/W channel 24β€² comprises a buffer full transmit circuit 34β€² to transmit the BUF_FULL signal to a buffer full receive circuit 62β€² on HDC 22β€², a receive clock transmit circuit 44β€² to transmit RCLK signal to a receive clock receive circuit 72β€² on HDC 22β€².

As noted above. signal and data transmitting, receiving and tranceiving circuits are generally known, and based on the teachings provided herein, one skilled in the art would be able to construct and implement transmitting and receiving circuits to carry out the specific signaling protocol described herein.

The interface 20β€² of the second embodiment provides for multiple-sector read and write delays; one codeword size per drive (preferred but not limited to); multiple splits per sector; maximum one split per codeword; and data recovery between first sync mark and second sync mark. The second embodiment is similar to the first embodiment except that there is no SCD signal and more functionality is provided by the RWGATE signal. In terms of pin count, second embodiment requires one fewer pins than first embodiment. In comparison to the conventional interface between an HDC and an R/W channel, the second embodiment has additional 3 pins to make the data transfer operations occur stepwise as explained below.

During a write operation, HDC 22β€² transfers a block of user data to the R/W channel 24β€² through the 9-bit NRZ data bus for encoding before it asserts the RWGATE signal. HDC 22β€² waits for the R/W channel 24β€² to signal the end of the encoding process and then it asserts the RWGATE signal to flush out the data inside the R/W channel buffer.

During a read operation, HDC 22β€² asserts the RWGATE signal first to allow the R/W channel 24β€² to read data for iterative decoding. After the R/W channel 24β€² completes the decoding process and HDC_RDY is set to one, the R/W channel 24β€² transfers the user data to HDC 22β€²β€³ through the 9-bit NRZ data bus.

The four additional signals for this two-step process during the read and write operations are R/W_, BUF_FULL, DATA_VALID, and HDC_RDY/RC_RDY. A detailed description of these pins is listed in the Table 2 below.

Control Data Transfer
Signal Type Description
RW Input to R/W 0: = Write operation.
channel 24β€² 1: = Read operation.
Alternatively, this signal can be replaced
by internal register programming through
the regular 3-bit Serial Interface.
BUF_FULL Output from Indicates channel internal buffer is almost
R/W channel full. Once it goes high, only 8 more bytes
24β€² of data can be transferred.
During a write operation, if BUF_FULL
goes high, HDC 22β€² either asserts the
RWGATE to flush out the data inside the
R/W channel 24β€² buffer or resets the R/W
channel 24β€². Otherwise, the R/W channel
24β€² will continue to wait.
During a read operation, BUF_FULL goes
high only when HDC 22β€² is not ready for
data transfer and RWGATE stays high.
HDC 22β€² will either assert HDC_RDY
signal or reset the R/W channel 24β€².
DATA_VALID bi-directional During a write operation, DATA_VALID
is an input signal to R/W channel 24β€²
and DATA_VALID indicates the 9-bit
NRZ data bus is valid when
DATA_VALID goes high. Therefore,
R/W channel 24β€² can latch the data from
the bus correctly at the rising edge of
WCLK.
During a read operation, DATA_VALID
is an output signal and DATA_VALID
indicates the 9-bit NRZ data bus is valid
when it goes high. Therefore, HDC 22β€²
can latch the data from the bus correctly
at the rising edge of RCLK.
RC_RDY or bi-directional During a write operation, RC_RDY is an
HDC_RDY output from R/W channel 24β€². RC_RDY
goes high when the R/W channel 24β€² is
ready for HDC 22β€² to assert RWGATE.
During a read operation, HDC_RDY is an
input signal to R/W channel 24β€².
HDC_RDY goes high when HDC 22β€² is
ready for the R/W channel 24β€² to assert
DATA_VALID.
RWGATE Input to R/W RW = 0, RWGATE = WGATE
channel 24β€² RW = 1, RWGATE = RGATE
For a read operation, the codeword size is
previously programmed into a R/W
channel 24β€² internal control register
through the regular 3-bit serial interface.
HDC 22β€² asserts RWGATE as a normal
RGATE. HDC 22β€² starts counting RCLK
cycles when it detects the SM_DET.
When HDC 22β€²β€²β€² counter value is equal to
the number of expected read bytes
(written in HDC 22β€³ table), one RCLK
cycle is dropped on the RWGATE. The
number of RCLK cycles between the
SM_DET pulse and the one RCLK cycle
drop of RWGATE is used to determine
the read byte length expected from this
RWGATE. At this point, HDC 22β€²
sends the byte length to R/W channel 24β€².
RCLK Output from Constant width equal to 8 times the R/W
R/W channel channel 24β€² bit clock.
24β€²
WCLK Input to R/W Same clock frequency as RCLK but
channel 24β€² different phase.
SM_DET Output from During a read operation, SM_DET is
R/W channel asserted by the R/W channel 24β€² to
24β€² indicate that Sync Mark is found after
RWGATE is asserted.
NRZ[8:0] bi-directional During a write operation, NRZ [8:0] are
inputs to R/W channel 24β€².
NRZ [8] is the parity bit and NRZ [7:0] is
either the SF_HEADER or the
user data (including permuted ECC/RLL).
The number of 00hex in the
SF_HEADER determines the actual length
of the sync field written into the disk
after RWGATE is asserted. Sync Mark is
auto-inserted after the sync field during the
assertion of RWGATE for write
operation. The format of SF_HEADER is
{FF, FF, FF, FF, 00, 00, . . . , 00, 00, FF,
FF, FF, FF}. At the end of each data
stream per sector, HDC 22β€² inserts the
END_SECTOR pattern to indicate the end
of the data stream for this sector. The
format of the END_SECTOR is {EF, EF,
00, 00, 00, 00, EF, EF}. HDC 22β€² ensures
that the user data is in an 8-bit format. If
the last user data is less than 8 bits,
HDC 22β€² pads the data up to 8 bits.
During a read operation, NRZ [8:0] are
output from R/W channel 24β€². NRZ [8]
is a multi-purpose bit and NRZ [7:0] is
the read-back user data.

Since the second embodiment does not have the SCD signal, HDC 22β€² does not transfer various control information (codeword size, read/write length counter and split sector size) on the fly. Each time HDC 22β€² wants to use a different codeword size for each read and write operation, HDC 22β€² must set up the internal registers of R/W channel 24β€² apriori through the regular 3-bit serial interface. This would normally slow down read and write operations, however in order to avoid this problem, it is assumed the second embodiment will use one codeword size per drive application. The codeword size is provided at power up from HDC 22β€² to the registers of R/W channel 24β€² through the regular 3-bit serial interface. The following sections discuss read/write length counter and split sector size information during write and read operations.

Write Operation Control Data Transfer

Additionally referring to FIGS. 23 and 24, for a write operation, the DATA_VALID is used as a qualifying signal for the NRZ[8:0] bus. For each data stream, HDC 24β€² sends an SF_HEADER before each user data stream. In the case of a split inside the user data stream, HDC 24β€² also sends another SF_HEADER in front of each split. Each SF_HEADER consists of 4 bytes FF, followed by N bytes of 00 and then 4 bytes of FF where N has a value of 4 to 32. N is used to indicate the total number of sync fields written to the disk for each RWGATE. The number of bytes received between the SF_HEADER and the END_SECTOR is the total number of bytes expected to write to the disk for a given RWGATE (See FIG. 23). Each END_SECTOR is equal to {EF,EF,00,00,00,00,EF,EF}. R/W channel 24β€² has an internal parser 84β€² (see FIG. 14) for SF_HEADER, user data and the END_SECTOR. This enables the channel to extract write length counter and sector size information.

In the case of a split sector, write length counter and split sector size can be extracted if HDC 22β€²β€³ provides the data format, as shown in FIG. 24.

Read Operation Control Data Transfer

For a read operation, HDC 22β€² asserts RWGATE as a normal RGATE. HDC 22β€² starts counting RCLK cycles when R/W channel 24β€² detects the SM_DET. When HDC 22β€² counter value is equal to the number of expected read bytes (written in HDC 22β€² table), one RCLK cycle is dropped on the RWGATE. The number of RCLK cycles between the SM_DET pulse and the one RCLK cycle drop of RWGATE is used to determine the read byte length expected from this RWGATE. At this point, HDC 22β€² sends the byte length to the R/W channel 24β€², as explained in detail herein below.

FIG. 15 is a timing diagram of a write operation of a single codeword per sector without a split. The R/W channel 24β€² receives the sector control information from the data stream which is parsed internally, as discussed in above. When the DATA_VALID signal is asserted, the data stream on the NRZ bus is qualified. As mentioned previously, the codeword size information for this sector is obtained from the internal R/W channel registers, which were previously programmed, such as, during initialization or power up.

After R/W channel 24β€² finishes the iterative encoding, CH_RDY is asserted by R/W channel 24β€² to indicate readiness to transfer the encoded data. Then HDC 22β€² asserts RWGATE. The R/W channel 24β€² first sends out the Sync Field pattern and then the Sync Mark pattern. The length of the Sync Field pattern is obtained from internal registers after the data stream passes through parser 84β€². At the end of RWGATE drop, one to four bytes of Write pad data is sent to the preamp (not shown).

FIG. 16 is a timing diagram of a write operation of a single codeword per sector with 1 split. Firstly, the entire codeword of user data is transferred to R/W channel 24β€². HDC 22β€² uses DATA_VALID to qualify the NRZ data bus. After DATA_VALID assertion, R/W channel 24β€² obtains various sector control data through parser 84β€².

FIG. 17 is a timing diagram of a write operation having multiple codewords per sector without any splits. This write operation is the same as the write operation for a single codeword per sector case except CH_RDY is set to β€˜1’ having a latency of 10 bytes per additional codeword. Once RWGATE is asserted by HDC 22β€² after CH_RDY goes high, R/W channel 24β€² writes out the data continuously. Therefore, the R/W channel 24β€² has a longer latency and larger buffer to handle the multiple-codeword-per-sector case. In addition, HOC 22β€² continuously transfers data to the R/W channel 24β€² in order to avoid buffer underflow. If buffer underflow occurs, the write operation may fail.

FIG. 18 is a timing diagram of a write operation having multiple codewords per sector with multiple splits. This write operation is the same as the write operation for a single codeword per sector with one split case except the first CH_RDY comes later due to the R/W channel's buffer underflow requirement.

FIG. 18 is a timing diagram of a write operation having multiple codewords per sector with multiple splits. This write operation is the same as the write operation for a single codeword per sector with one split case except the first CH_RDY comes later due to the R/W channel's buffer underflow requirement.

After R/W channel 24β€² completes decoding and HDC_RDY is set to β€˜1’, R/W channel 24β€² starts to send the user data to HDC 22β€²β€³ via the NRZ data bus. DATA_VALID must also be asserted.

FIG. 20 is a timing diagram of consecutive operations of a single codeword per sector with a split. After collecting the first-split and the last-split sectors, R/W channel 24β€² merges the two split sectors and then transfers the decoded data to HDC 22β€² via the NRZ data bus.

FIG. 21 is a timing diagram of a read operation of multiple codewords per sector without a split. The codeword size was previously programmed into a R/W channel internal control register through the 3-bit serial interface. HDC 22β€² asserts RWGATE as a normal RGATE. HDC 22β€² starts counting RCLK cycles when HDC 22β€² detects the SM_DET. When HDC 22β€²β€³ counter value is equal to the number of expected read bytes (written in HDC 22β€²β€³ table), one RCLK cycle is dropped on the RWGATE. The number of RCLK cycles between the SM_DET pulse and the one RCLK cycle drop of RWGATE is used to determine the read byte length expected from this RWGATE. At this point, HDC 22β€² sends the byte length to R/W channel 24β€².

As soon as the R/W channel 24β€² completes decoding one codeword, R/W channel 24β€² asserts DATA_VALID and transfers the user data to HDC 22β€² via the NRZ data bus. If HDC_RDY is not set to β€˜1’ after a fixed time RWGATE is not asserted and the R/W channel buffer will continue to read the data from the media. Consequently, the R/W channel buffer may experience overflow.

FIG. 22 is a timing diagram of a read operation of multiple codewords per sector with multiple splits. In this read operation, the first codeword is divided into two RWGATEs. After R/W channel 24β€² collects the first completed codeword and completes iterative decoding, R/W channel 24β€². starts sending the decoded user data to HDC 22β€². The DATA_VALID is set to β€˜1’ and HDC_RDY is set to β€˜1’. However, if the gap between the split sector is too large, the R/W channel buffer may underflow. If underflow occurs, R/W channel 24β€² drops DATA_VALID even if HDC_RDY is still set to β€˜1’. On the other hand, if HDC_RDY is set to β€˜0’ and RWGATE is continuously asserted, R/W channel 24β€² may overflow and force BUF_FULL to β€˜1’.

Third Embodiment

FIG. 25 illustrates a third embodiment of the present invention. The third embodiment is similar to the first embodiment with the following differences, the third embodiment does not have the SCD signal and associated circuitry, the third embodiment does not have a CH_RDY/HDC_RDY pin and associated circuitry, the third embodiment has fault condition handling, the third embodiment has the option to use a register to set the sync field size. In the third embodiment RCLK is not required to equal 8 times the channel clock, the third embodiment provides for the use of the register to set the write padding data length. The third embodiment does not require the passing of the write length counter information, and third embodiment provides for indirect passing of the read length counter information by RWGATE and the third embodiment provides for restriction of codeword size modifications through a standard 3-bit serial interface. A more detailed discussion is provided hereinbelow.

Referring again to FIG. 25, each of HDC 22β€³ and the R/W channel 24β€³ includes appropriate circuitry for transmitting and receiving the various signals, data and mode selection information between the two hardware components. For example, HDC 22β€³ includes a R/W transmit circuit 60β€³ that transmits the R/W signal to R/W receiver circuit 32β€³ on R/W channel 24β€³, a data valid transceiver circuit 64β€³ that transmits the DATA_VALID signal to and receives the DATA_VALID signal from a data valid transceiver circuit 36β€³ on R/W channel 24β€³. A read reset transceiver 164 is provided in HDC 22β€³ to transmit the RD_RST signal to and receive the WRT_FAULT signal from a write fault transceiver circuit 138 on R/W channel 24β€². HDC 22β€³ also comprises a RWGATE transmit circuit 68β€³ which transmits the RWGATE signal to RWGATE receive circuit 40β€³ of R/W channel 24β€². HDC 22β€³ also includes a write clock transmit circuit 74β€³ to transmit the WCLK signal to write clock receive circuit 46β€³ on R/W channel 24β€³. HDC 22β€³ comprises a SM_DET transceiver 76β€³ which transmits the SM_DET signal to and receives the SF_ST signal from the SF_ST transceiver 48β€³ on R/W channel 24β€³. HDC 22β€³ and R/W channel 24β€³ comprise respective NRZ transceivers 78β€³ and 50β€³, respectively, for exchanging NRZ data and serial transceivers 82β€³ and 54β€³ respectively for exchanging serial data. R/W channel 24β€³ comprises a receive clock transmit circuit 44β€³ to transmit RCLK signal to a receive clock receive circuit 72β€³ on HDC 22β€².

As noted above. signal and data transmitting, receiving and transceiving circuits are generally known, and based on the teachings provided herein, one skilled in the art would be able to construct and implement transmitting and receiving circuits to carry out the specific signaling protocol described herein.

As noted above. signal and data transmitting, receiving and transceiving circuits are generally known, and based on the teachings provided herein, one skilled in the art would be able to construct and implement transmitting and receiving circuits to carry out the specific signaling protocol described herein.

During a write operation, HDC 22β€²β€³ first transfers a block of user data to the Read/Write Channel (R/W) through the 9-bit NRZ data bus for encoding. The 9-bit NRZ data is qualified with the DATA_VALID signal throughout the transfer. When the DATA_VALID signal is set to 1, the 9-bit NRZ data is considered to be valid data, ready for R/W CHANNEL 24β€²β€³ to latch into its working buffer. HDC 22β€²β€³ then waits for a fixed delay prior before asserting RWGATE (which can occur any time after the fixed delay) to flush out the encoded data inside R/W channel 24β€²β€³ buffer. The fixed delay, which is calculated from the assertion of the DATA_VALID signal, is required for R/W channel 24β€²β€³ to finish encoding one codeword.

During a read operation, HDC 22β€³ asserts RWGATE to allow R/W channel 24β€³ to read data for iterative decoding. As soon as one codeword is completely decoded, R/W channel 24β€³ transfers the decoded data through the 9-bit NRZ data bus to HDC 24β€³. The 9-bit NRZ data is qualified with the DATA_VALID signal throughout the transfer. When the DATA_VALID signal is set to 1, the 9-bit NRZ data is considered to be valid, ready for HDC 24β€³ to latch in.

The third embodiment comprises the following three signals for a two-step process during read and write operations:

R/W_;

DATA_VALID; and

WRT_FAULT/RD_RST

Since the RGATE and WGATE signals are combined into one RWGATE signal, only two pins are effectively added. A detailed description of these signals is provided in Table 3 below.

TABLE 3
Signal Type Description
RW Input to R/W 0: = Write operation.
channel 24β€³ 1: = Read operation.
This signal may be replaced by internal
register programming through the standard
3-bit serial interface.
DATA_VALID Bi-directional During a write operation, DATA_VALID
is an input signal and indicates that the
9-bit NRZ data bus is valid
when it goes high. Therefore, R/W
channel 24β€³ can latch the valid data from
the bus at the rising edge of WCLK.
During a read operation, DATA_VALID
is an output signal and indicates the 9-bit
NRZ data bus is valid when it
goes high. Therefore, HDC 22β€²β€²β€² can latch
the valid data from the bus at the rising
edge of RCLK.
WRT_FAULT Bi-directional During a write operation, WRT_FAULT
or is asserted from R/W channel 24β€²β€²β€² to
RD_RST HDC if there is an overflow on the
internal data buffer, in which case HDC
22β€²β€²β€² must redo the write operation for the
previous sector.
During a read operation, RD_RST is
asserted from HDC 22β€²β€²β€² to R/W channel
24β€²β€²β€² under the following conditions:
As soon as R/W channel 24β€²β€²β€² completes
decoding one codeword, it sends the user
data to HDC 22β€²β€²β€² without any
knowledge of HDC 22β€²β€²β€² status. If HDC
22β€²β€²β€² is not ready to accept the user data,
HDC 22β€²β€²β€² should issue an RD_RST
(minimum of five RCLK cycles) to R/W
channel 24β€²β€²β€² and redo the read operation.
If HDC 22β€²β€²β€² receives more or less data
than it expected, it issues an RD_RST
(minimum of five RCLK cycles) to
R/W channel 24β€²β€²β€² and redo the read
operation.
RWGATE Input to R/W RW = 0, RWGATE = WGATE
channel 24β€³ RW = 1, RWGATE = RGATE
For a read operation, the codeword size is
previously programmed into R/W channel
24β€²β€²β€² internal control register
through the standard 3-bit serial interface.
HDC 22β€³ asserts RWGATE as a normal
RGATE. HDC 22β€³ starts counting RCLK
cycles when it detects SM_DET. When
HDC 22β€²β€²β€² counter value is equal to the
number of expected read bytes (which is
stored in HDC 22β€²β€²β€² table), RWGATE
is deasserted. The number of RCLK
cycles between the SM_DET pulse and
the deassertion of RWGATE is used to
determine the read byte length expected
from this RWGATE. At this point, HDC
22β€²β€²β€² indirectly sends the byte length to
R/W channel 24β€³.
RCLK Output from Most of the time, this is equal to 8 x
R/W channel channel clock. During the assertion of
24β€³ RWGATE, a dynamic clock
insertion occurs after the sync mark is
found for a read operation. During a write
operation, a dynamic clock insertion
occurs after sending out the
sync mark pattern to the preamp.
WCLK Input to R/W Same clock frequency as RCLK, but
channel 24β€³ different phase.
SM_ST or Bi-directional During a write operation, if the
SM_DET USE_SM_ST bit is set to 1, SM_ST is
used to indicate the start of the
insertion of a sync mark. Otherwise, the
insertion of a sync mark is controlled by
an internal register.
During a read operation, SM_DET is
asserted by R/W channel 24β€³ to indicate
that a sync mark was found
after RWGATE was asserted.
NRZ[8:0] Bi-directional During a write operation, NRZ [8:0] are
used as inputs. NRZ [8] is the parity bit,
and NRZ [7:0] is the user
data (including permuted ECC/RLL).
HDC 22β€² is also responsible for ensuring
that the user data is in an 8-bit format.
If the last user data is less than 8 bits,
it should be padded up to 8 bits.
During a read operation, NRZ [8:0] are
used as outputs. NRZ [8] is a multi-
purpose bit, and NRZ [7:0] is the
user data.

Since the third embodiment does not utilize an SCD pin, as in the first embodiment, HDC 22β€³ does not transfer various control information (codeword size, read/write length counter, and split sector size) on the fly. Each time HDC 22β€³ wants to use a different codeword size for each read and write operation, HDC 22β€³ must set up R/W channel 24β€²β€³ internal registers ahead of time through the standard 3-bit serial interface.

In traditional arrangement read and write operations would normally slow down. However, in accordance with the third embodiment one codeword size per drive application is used to avoid this problem. The codeword size is provided at power-up from HDC 22β€³ to R/W channel 24β€³ registers through the standard 3-bit serial interface.

FAULT Condition

The third embodiment requires two steps for each read and write operation. During a write operation, a block of user data from HDC 22β€³ is transferred to R/W channel 24β€³ for encoding. HDC 22β€³ then asserts RWGATE to flush out the encoded data from R/W channel 24β€³. During a read operation, HDC 22β€³ asserts RWGATE to read in a block of encoded data into R/W channel 24β€³.

After R/W channel 24β€³ completes the iterative decoding process, the block of user data is transferred back to HDC 22β€³. In this mode R/W channel 24β€³ is in a slave mode relative to HDC 22β€³. If HDC 22β€³ fails to follow the proper two-step process for each read and write operation, a fault condition could occur in R/W channel 24β€³.

The following describes the fault handling for each read and write operation.

Write Fault Handling

One Codeword Per Sector

The two-step process for a write operation is as follows:

One codeword size of user data is transferred from HDC 22β€³ to R/W channel 24β€³ for encoding.

HDC 22β€³ asserts RWGATE to flush out encoded data from R/W channel 24β€³.

Under abnormal conditions, if HDC 22β€²β€³ transfers another single codeword size of user data prior to asserting RWGATE to flush out the previous encoded data, a fault condition occurs. R/W channel 24β€²β€³ either asserts the WRT_FAULT signal or replaces the current working buffer data with the new user data. The response of R/W channel 24β€³ depends on the register bit setting. If WRT_FAULT is asserted, HDC 22β€³ is responsible for resetting RC24β€³ through the standard 3-bit serial interface and the write operation performed again. If R/W channel 24β€³ replaces the new encoded data with the current encoded data, HDC 22β€³ can resume step 2 to flush out the encoded data inside RC24β€³ working buffer.

Multiple Codewords Per Sector

The two-step process for a write operation is as follows:

Transfer one codeword size of user data from HDC 22β€³ to R/W channel 24β€³ for encoding.

HDC 22β€³ asserts RWGATE to flush out encoded data from R/W channel 24β€³.

Under abnormal conditions, if HDC 22β€³ does not assert RWGATE for a prolonged period of time, an overflow occurs (because the working buffer is only a limited size). When an overflow occurs in the working buffer for a write operation, R/W channel 24β€³ asserts WRT_FAULT. If WRT_FAULT is asserted HDC 22β€³ is responsible for resetting R/W channel 24β€³ through the standard 3-bit serial interface and the write operation is performed again.

Read Fault Handling

One or Multiple Codewords Per Sector

The two-step process for a read operation is as follows:

HDC 22β€³ asserts RWGATE to read in a block of encoded data into R/W channel 24β€³.

User data block is transferred back to HDC 22β€³ after R/W channel 24β€³ completes iterative decoding process.

Since R/W channel 24β€³ has no knowledge of whether HDC 22β€³ is ready to accept decoded data, HDC 22β€³ asserts the RD_RST signal (for a minimum of five RCLK cycles) to reset R/W channel 24β€³ and retry the read operation sequence for the previous sector.

Single Codeword Per Sector Without Split

In FIG. 26, a write operation of one codeword per sector without a split is performed. When the DATA_VALID signal is asserted, the data stream on the NRZ bus is qualified. The codeword size information for this sector is obtained from internal R/W channel registers, which are programmed, for example, at the beginning of a power-up.

After R/W channel 24β€³ completes the iterative encoding (it waits for a fixed delay period), HDC 22β€³ asserts RWGATE. R/W channel 24β€³ first sends out the sync field pattern, then the sync mark pattern. The length of the sync field pattern is obtained from internal registers or by detecting the assertion of SM_ST. At the end of the RWGATE drop, one to four bytes of write pad data is sent to the preamp. The gap between two consecutive DATA_VALID signals are larger than the sum of the Sync Field Size (SF), the Sync Mark Size (SM) and the Padding Data Size (PM).

Single Codeword per Sector with Split

In FIG. 27, a write operation of one codeword per sector with one split is performed. First, the entire codeword of user data must be transferred to R/W channel 24β€³ for encoding. When the DATA_VALID signal is asserted, the data stream on the NRZ bus is qualified. The codeword size information for this sector is obtained from internal R/W channel registers, which are programmed at the beginning of a power-up.

After R/W channel 24β€³ completes the iterative encoding (it waits for a fixed delay period), HDC 22β€³ asserts RWGATE. R/W channel 24β€³ first sends out the sync field pattern, then the sync mark pattern. The length of the sync field pattern is obtained from internal registers or by detecting the assertion of SM_ST. At the end of the deassertion of RWGATE, one to four bytes of write pad data is sent to the preamp. Since RWGATE is asserted twice for one codeword, the gap between two consecutive DATA_VALID pulses must be larger than 2(SF+SM+PF).

Multiple Codewords Per Sector Without Split

FIG. 28 illustrates a write operation of multiple codewords per sector without splits being performed. Because a clock insertion is ongoing after a sync mark is inserted, there is no difference between one codeword per sector without split and multiple codewords per sector without split. The fixed delay is substantially identical for both cases.

Multiple Codewords Per Sector with Multiple Splits

In FIG. 29, a write operation of multiple codewords per sector with multiple splits is performed. It is similar to one codeword per sector with one split except that the minimum gap between two consecutive DATA_VALID pulses is equal to NUMBER_OF_SPLITΓ—(SF+SM+PM). The WRT_FAULT signal is asserted by R/W channel 24β€³ if the working buffer overflows, which can occur when the gap between successive RWGATEs exceeds the amount that R/W channel 24β€²β€³ buffer can accept.

Single Codeword Per Sector without Split

FIG. 30 shows consecutive read operations of a single codeword per sector without a split being performed. The codeword size was previously programmed into an internal R/W channel control register through the standard 3-bit serial interface. HDC 22β€³ asserts RWGATE as a normal RGATE. HDC 22β€³ starts counting RCLK cycles when it detects SM_DET. When HDC 22β€²β€³ counter value equals the number of expected read bytes (as stored in HDC 22β€²β€³ table), RWGATE is deasserted. The number of RCLK cycles between the SM_DET pulse and the deassertion of RWGATE is used to determine the read byte length expected from this RWGATE. At this point, HDC 22β€²β€³ indirectly sends the byte length to R/W channel 24β€³. After R/W channel 24β€³ completes decoding, R/W channel 24β€³ starts to send the user data to HDC 22β€³ via the NRZ data bus.

Single Codeword Per Sector with Split

In FIG. 31, consecutive read operations of one codeword per sector with a split are performed. After collecting the first- and last-split sectors, R/W channel 24β€³ merges the two split sectors and transfers the decoded data to HDC 22β€³ via the NRZ data bus.

Multiple Codewords Per Sector without Split

FIG. 32 illustrates a read operation of multiple codewords per sector without a split being performed. The codeword size was previously programmed into an internal R/W channel control register through the standard 3-bit serial interface. HDC 22β€³ asserts RWGATE as a normal RGATE. HDC 22β€³ starts counting RCLK cycles when it detects SM_DET. When HDC 22β€³ counter value equals the number of expected read bytes (as stored in HDC 22β€²β€³ table), RWGATE is then deasserted. The number of RCLK cycles between the SM_DET pulse and the deassertion of RWGATE is used to determine the read byte length expected from this RWGATE. At this point, HDC 22β€³ indirectly sends the byte length to R/W channel 24β€³. As soon as R/W channel 24β€³ completes decoding one codeword, it asserts DATA_VALID and transfers the user data to HDC 22β€²β€³ via the NRZ data bus.

Multiple Codewords Per Sector with Multiple Splits

In FIG. 33, a read operation with multiple codewords per sector with multiple splits is performed. In this case, the first codeword is divided into two RWGATEs. After R/W channel 24β€³ collects the first completed codeword and completes iterative decoding, it begins sending the decoded user data to HDC 22β€³ and the DATA_VALID must be set to 1.

Fourth Embodiment

FIG. 34 is illustrative of the fourth embodiment which is a subset of the first embodiment and provides for multiple-sector read and write delays, one codeword size per drive (preferred but not limited), multiple splits per sector, maximum one split per codeword, data recovery between first sync mark and second sync mark, fault handling, and synchronize read and write operation.

Referring again to FIG. 34, each of HDC 22β€²β€³ and the R/W channel 24β€²β€³ includes appropriate circuitry for transmitting and receiving the various signals, data and mode selection information between the two hardware components. For example, HDC 22β€²β€³ includes a R/W transmit circuit 60β€²β€³ that transmits the R/W signal to R/W receiver circuit 32β€²β€³ on R/W channel 24β€²β€³, a data valid transceiver circuit 64β€²β€³ that transmits the DATA_VALID signal to and receives the DATA_VALID signal from a data valid transceiver circuit 36β€²β€³ on R/W channel 24β€²β€³. A DATA_FAULT receiver 164β€²β€³ is provided in HDC 22β€²β€³ to receive the DATA_FAULT signal to from DATA_FAULT transmit circuit 138β€²β€³ on R/W channel 24β€²β€³. HDC 22β€²β€³ also comprises a RWGATE transmit circuit 68β€²β€³ which transmits the RWGATE signal to RWGATE receive circuit 40β€²β€³ of R/W channel 24β€²β€³. HDC 22β€²β€³ also includes a write clock transmit circuit 74β€²β€³ to transmit the WCLK signal to write clock receive circuit 46β€²β€³ on R/W channel 24β€²β€³. HDC 22β€²β€³ comprises a SM_DET receiver 76β€²β€³ which receives the SM_DET signal from the SM_DET transmitter 48β€²β€³ on R/W channel 24β€². HDC 22β€²β€³ and R/W channel 24β€²β€³ comprise respective NRZ transceivers 78β€²β€³ and 50β€², respectively, for exchanging NRZ data and serial transceivers 82β€²β€³ and 54β€²β€³ respectively for exchanging serial data. R/W channel 24β€²β€³ comprises a receive clock transmit circuit 44β€²β€³ to transmit RCLK signal to a receive clock receive circuit 72β€²β€³ on HDC 22β€²β€³. HDC 22β€²β€³ includes a data valid transceiver circuit 64β€²β€³ that transmits a parity signal to and receives the parity signal from a parity transceiver circuit 36β€²β€³ on R/W channel 24β€²β€³. R/W channel 24β€²β€³ comprises a EXT_WGATE transmitter 384β€²β€³ to generate the EXT_WGATE to control a preamplifier (not shown). When EXT_WGATE is asserted the preamplifier is set to write data onto the media, when deasserted data can be read from the media.

A detailed description of these signals is provided in Table 4 below.

TABLE 4
R/W channel 24β€²β€²β€² Signal Definition
Signal Type Description
R/W_ Input to R/W 0: = Write operation.
channel 24β€²β€²β€² 1: = Read operation.
Alternatively, this signal can be replaced
by internal register programming through
the standard 3-bit serial interface.
DATA_VALID Bi-directional During a write operation, DATA_VALID
is an input signal to R/W channel 24β€²β€²β€²
and it indicates the 8-bit
NRZ data bus is valid when it is asserted.
Therefore, R/W channel 24β€³ can latch the
data from the bus correctly at
the rising edge of WCLK. When
DATA_VALID is de-asserted, R/W
channel 24β€²β€²β€² can latch one more
data from the NRZ data bus correctly.
During a read operation, DATA_VALID
is an output signal from R/W channel
24β€²β€²β€² and it indicates the 8-bit
NRZ data bus is valid when it is asserted.
Therefore, HDC 22β€²β€²β€² can latch the data
from the bus correctly at
the rising edge of RCLK. When
DATA_VALID is de-asserted, HDC 22β€²β€²β€²
can latch one more data from the
NRZ data bus correctly.
DATA_FAULT Output from DATA_FAULT is an output signal from
R/W channel R/W channel 24β€²β€²β€² that is used to indicate
24β€²β€²β€² an abnormal transaction happen
between HDC 22β€²β€²β€² and R/W channel
24β€²β€²β€². When DATA_FAULT is asserted
by R/W channel 24β€²β€²β€², HDC 22β€²β€²β€² reads the
DATA_FAULT_REG through the 3-bit
regular serial register to find out what
cause the fault. After reading the
DATA_FAULT_REG, the
DATA_FAULT_REG will automatic
clear itself and the DATA_FAULT
is de-asserted.
List of fault conditions:
(1) R/W channel Encoder buffer overflow
(2) R/W channel Encoder buffer
underflow
(3) Boundary codeword check fail for
DATA_VALID during Write operation
(4) Boundary codeword check fail for
RWGATE during Write operation
(5) Boundary codeword check fail for
RWGATE during Read operation
(6) Boundary codeword check fail during
merger the split sector in Read operation
(7) Parity Error
RWGATE Input to R/W RWGATE is always synchronized with
channel 24β€²β€²β€² WCLK. The total number of WCLKs
elapsed during the assertion of
RWGATE is equal to total number of
bytes of data expected to be written or
read during this assertion of
RWGATE. During a write operation, the
RWGATE is asserted as a conventional
WGATE except the duration of
this assertion is only equal to the actual
data length in terms of WCLK. During
the read operation, the RWGATE is
asserted as a conventional RGATE
except the duration of this assertion is
only equal to the actual data length in
terms of WCLK.
RCLK Output from Most of the time, RCLK is either 8 x
R/W channel channel clock or 10 x channel clock (i.e.
24β€²β€²β€² 888888810).
During write operations, another level of
dynamic clock insertion occurs after
sending out the sync mark pattern
to the preamp.
During a read operation, another level of
dynamic clock insertion occurs after the
sync mark is found for a read
operation.
WCLK Input to R/W Same clock frequency as RCLK, but
channel 24β€²β€²β€² different phase.
SM_DET Bi-directional During a read operation, one SM_DET is
asserted by R/W channel 24β€²β€²β€² to indicate
that a sync mark 1 was found after
RWGATE was asserted.
During a read operation, two SM_DET is
asserted by R/W channel 24β€²β€²β€² to indicate
that a sync mark 2 was found after
RWGATE was asserted.
NRZ[7:0] Bi-directional During a write operation, NRZ [7:0] is
the user data (either including permuted
ECC/RLL or not) which is
synchronized with WCLK.
During a read operation, NRZ [7:0] are
used as outputs from R/W channel 24β€²β€²β€².
NRZ [8] is a multi-purpose bit, and
NRZ [7:0] is the user data and it
is synchronize with RCLK.
PARITY Bi-directional Parity is used as multiple function signal,
one of the functions is used as parity
which is generated from the
NRZ[7:0] bus. During a Write operation,
it is synchronized with WCLK. During a
Read operation, it is synchronized
with RCLK.
EXT_WGATE Output from During the Write operation,
R/W channel EXT_WGATE is generated from R/W
24β€²β€²β€² channel 24β€²β€²β€². Since the length of Sync
Filed, Sync Mark and the padding data is
pre-programmed., R/W channel 24β€²β€²β€²
generates the EXT_WGATE
from appropriately extending the
RWGATE.

In accordance with the fourth embodiment, read and write operations are performed in a synchronized manner as follows.

The following is the sequence of a write operation. Firstly, HDC 22β€²β€³ asserts the R/W_signal to 0. HDC 22β€²β€³ then waits for a first predetermined time, referred to as β€œFixed Delay 1”, and HDC 22β€²β€³ then asserts DATA_VALID to β€œ1”. User data is valid on the 8-bit NRZ bus, and is latched at the rising edge of WCLK by R/W channel 24β€²β€³. When HOC 22β€²β€³ de-asserts DATA_VALID; one additional user data is valid on the 8-bit NRZ bus, which is latched at the rising edge of WCLK by R/W channel 24β€²β€³. R/W channel 24β€²β€³ checks the codeword boundary. If the total size of user data received by R/W channel 24β€²β€³ is different from the pre-programmed codeword size, R/W channel 24β€²β€³ asserts DATA_FAULT. Once DATA_FAULT is asserted, it can be cleared by reading the DATA_FAULT_REG through the 3-bit serial interface. After HDC 22β€²β€³ de-asserts DATA_VALID, HDC 22β€²β€³ waits for a second predetermined time, referred to as β€œFixed Delay 2”. (i.e. a block of encoded data is stored in a working SRAM buffer of R/W channel 24β€²β€³)

HDC 22β€²β€³ positions the head over the desired track of the media. RWGATE is asserted by HDC 24β€²β€³, and R/W channel 24β€³ asserts the EXT_WGATE. R/W channel 24β€²β€³ counts the total number of WCLKs elapsed from this RWGATE to determine the total number of user data expected to be written onto the media for this write operation. In combination with the pre-programmed information of sync field (PLO), sync mark, code table and padding data, R/W channel 24β€²β€³ can exactly determine how to extend the EXT_WGATE. Right after the RWGATE is asserted, DATA_VALID is asserted by HDC 22β€²β€³. While R/W channel 24β€²β€³ latches the new user data at the rising edge of WLCK, R/W channel 24β€²β€³ provides the encoded data to the media.

After the completion of the EXT_WGATE, a new block of encoded data is stored into the buffer of R/W channel 24β€²β€³ and the previous stored encoded data has already been written into the media. For next write operation, HDC 22β€²β€³ only needs to position the head on the desired media and continue from there. If HDC 22β€²β€³ changes from a write operation to a read operation and back to a write operation, HDC needs to start from the beginning.

The following is the sequence of a read operation.

HDC 22β€²β€³ assets R/W_ to β€œ1”, and HDC 22β€²β€³ waits for β€œFixed Delay 1”. HDC 24β€²β€³ then positions the head over the desirable track. RWGATE is asserted from HDC 22β€²β€³, and R/W channel immediately asserts an internal RGATE. R/W channel 24β€²β€³ counts the total number WCLKs elapsed from this RWGATE to determine the total number of user data expected to read from the media for this read operation. RGATE is an extended version of RWGATE. In combination with the pre-programmed information of sync field, sync mark, code table and padding data, R/W channel 24β€²β€³ can determine how to extend the RGATE.

As soon as one codeword is completely decoded by R/W channel 24β€²β€³, DATA_VALID is asserted by R/W channel 24β€²β€³. The decoded data is sent to the 8-bit NRZ bus for HDC 22β€²β€³ to latch in at the rising edge of RCLK. After the de-assertion of DATA_VALID by R/W channel 24β€²β€³, HDC 22β€²β€³ latches one more decoded data on the 8-bit NRZ bus. Each time R/W channel 24β€²β€³ transfers only one codeword of data through the 8-bit NRZ bus. Therefore, HDC 22β€²β€³ checks the boundary condition every time it receives data from R/W channel 24β€². For another read operation, HDC 22β€²β€³ only needs to start from positioning the head step described above. Only when HDC 22β€²β€³ performs a read operation followed by a write operation and back to another read operation, HDC 22β€³ must start from the beginning.

Control Data Transfer

As compared to the first embodiment, the fourth embodiment does not have the SCD pin. As such, HDC 22β€²β€³ cannot transfer various control information (codeword size, read/write length counter, and split sector size) on the fly. In the fourth embodiment, each time HDC 22β€²β€³ wants to use a different codeword size for each read and write operation, HDC 22β€²β€³ must set up the R/W channel internal registers in advance through the standard 3-bit serial interface.

This would normally slow down read and write operations. However, it is preferred that the fourth embodiment use one codeword size per drive application to avoid any such degraded performance. The codeword size is preferably provided at power-up from HDC 22β€²β€³ to the R/W channel registers through the standard 3-bit serial interface.

FAULT Condition

The fourth embodiment requires two steps for each read and write operation. During a write operation, a block of user data from HDC 22β€²β€³ is transferred to R/W channel 24β€²β€³ for encoding, and HDC 22β€²β€³ then asserts RWGATE to flush out the encoded data from R/W channel 24β€²β€³. During a read operation, HDC 22β€²β€³ asserts RWGATE to read in a block of encoded data into R/W channel 24β€²β€³.

After R/W channel 24β€²β€³ completes the iterative decoding process, the block of user data is transferred back to HDC 22β€²β€³. R/W channel 24β€²β€³ is actually working in slave mode relative to HDC 22β€²β€³. If HDC 22β€²β€³ fails to follow the proper two-step process for each read and write operation, a fault condition could occur in R/W channel 24β€²β€³.

The following describes the fault handling for the read and write operations.

Write Fault Handling

One Codeword Per Sector

The two-step process for a write operation is as follows:

Transfer one codeword size of user data from HDC 22β€²β€³ to R/W channel 24β€²β€³ for encoding, and HDC 22β€²β€³ asserts RWGATE to flush out encoded data from R/W channel 24β€²β€³.

If HDC 22β€²β€³ transfers another single codeword size of user data without asserting RWGATE to flush out the previous encoded data it may cause the working buffer overflow, and R/W channel 24β€²β€³ asserts the DATA_FAULT signal.

If HDC 22β€²β€³ asserts the RWGATE without prior transferring any codewords to R/W channel 24β€²β€³ for encoding, it may cause a working buffer underflow. As a result, R/W channel 24β€²β€³ asserts the DATA_FAULT signal.

If DATA_FAULT is asserted, HDC 22β€²β€³ may read the DATA_FAULT_REG through the standard 3-bit serial interface to determine what is the cause of the DATA_FAULT. Once HDC 22β€²β€³ reads the DATA_FAULT_REG, the DATA_FAULT is automatically reset.

Multiple Codewords Per Sector

The two-step process for a write operation is as follows:

One codeword size of user data is transferred from HDC 22β€²β€³ to R/W channel 24β€²β€³ for encoding, and HDC 22β€³ asserts RWGATE to flush out encoded data from R/W channel 24β€²β€³. If HDC 22β€²β€³ does not assert RWGATE for a prolonged period, an overflow may occur (because the working buffer has only a limited size). When an overflow occurs in the working buffer for a write operation, R/W channel 24β€²β€³ asserts DATA_FAULT. If DATA_FAULT is asserted, HDC 22β€²β€³ may read the DATA_FAULT_REG through the standard 3-bit serial interface to determine the cause or the DATA_FAULT. Once HDC 22β€³β€² reads the DATA_FAULT_REG, the DATA_FAULT is automatically reset.

Boundary Condition Check

Each time when HDC 22β€² asserts the DATA_VALID signal, the length of DATA_VALID is equal to codeword size βˆ’1 byte. If R/W channel 24β€²β€³ does not latch the correct number of bytes, DATA_FAULT is asserted.

Additionally, if the length of RWGATE does not end in the codeword boundary for non-split case, DATA_FAULT is asserted. In the case of a split sector, if the two consecutive combinations of RWGATE does not meet the codeword boundary condition. DATA_FAULT is asserted.

If DATA_FAULT is asserted, HDC 22β€²β€³ may read the DATA_FAULT_REG through the standard 3-bit serial interface to determine the cause of the DATA_FAULT. Once HDC 22β€²β€³ reads the DATA_FAULT_REG, the DATA_FAULT is automatically reset.

Read Fault Handling

One or Multiple Codewords Per Sector

The two-step process for a read operation is as follows:

HDC 22β€²β€³ asserts RWGATE to read in a block of encoded data into R/W channel 24β€²β€³ and user data block is transferred to HDC 22β€²β€³ after R/W channel 24β€²β€³ completes iterative decoding process.

Each time R/W channel 24β€²β€³ sends the user data to HDC 22β€²β€³ in terms of one codeword size. HDC 22β€²β€³ checks the boundary condition for each transfer. If any error is found, HDC 22β€²β€³ can retry the read operation again or reset R/W channel 24β€²β€³ with the RWβ€” signal.

One or Multiple Codewords Per Sector with Split

During the merger of split sections of a read operation, R/W channel 24β€²β€³ counts the total amount of combined data. If the result is not met the boundary condition requirement, a DATA_FAULT signal is asserted.

If DATA_FAULT is asserted, HDC 22β€²β€³ may read the DATA_FAULT_REG through the standard 3-bit serial interface to determine the cause of the DATA_FAULT. Once HDC 22β€²β€³ reads the DATA_FAULT_REG, the DATA_FAULT is automatically reset.

Write Operation

Single Codeword Per Sector Write Operation

FIG. 35 is a timing diagram of a single codeword per sector write operation. A write operation of one codeword per sector is performed when R/Wβ€” is set to β€œ0” from β€œ1” by HDC 22β€²β€³ which is an indication to start a write operation. After waiting for a β€œfixed delay 1” as shown in FIG. 35, HDC 22β€²β€³ asserts the DATA_VALID and sends the user data β€œA” onto the 8-bit NRZ bus. R/W channel 24β€²β€³ latches each byte of user data β€œA” over the 8-bit NRZ bus at the rising edge of WCLK. The length of DATA_VALID should equal to (codeword size βˆ’1)*WCLK. After HDC 22β€²β€³ de-asserts DATA_VALID, R/W channel 24β€²β€³ can latch the last byte of valid data β€œA” from the 8-bit NRZ bus. Then a boundary codeword condition check is performed by R/W channel 24β€²β€³. If the total number of user data latched by R/W channel 24β€²β€³ is not equal to the pre-programmed codeword size, an error is found, and DATA_FAULT signal will be asserted by R/W channel 24β€²β€³. Otherwise, HDC 22β€²β€³ completes the transmission of the whole user data β€œA” to R/W channel 24β€²β€³ for encoding. The encoded data β€œA” is stored inside the working buffer of R/W channel 24β€²β€³.

After waiting for a β€œfixed delay 2”, HDC 22β€²β€³ positions the head over the desirable track. HDC 22β€²β€³ asserts the RWGATE to flush out the encoded data β€œA” inside the working buffer of R/W channel 24β€²β€³. Immediately following the assertion of RWGATE, HDC 22β€²β€³ asserts the DATA_VALID and transmits the user data β€œB” via the 8-bit NRZ bus. R/W channel 24β€²β€³ (1) latches each byte of user data β€œB” over the 8-bit NRZ bus at the rising edge of WCLK, (2) flushes out the encoded data β€œA” from its working buffer, and (3) asserts the EXT_WGATE concurrently. R/W channel 24β€²β€³ will automatically insert the PLO, Sync Mark and Padding data during the write operation for each sector. The length of the RWGATE only indicates the total number of data to be written into media for this Write operation. R/W channel 24β€²β€³ counts the total number of WCLKs elapsed for this RWGATE to determine how much data is written onto the media. Therefore, the length of EXT_WGATE must be longer than the DATA_VALID. Before finishing writing the encoded data β€œA” to the media, a new encoded data β€œB” is stored inside the working buffer. R/W channel performs the boundary codeword condition check for data β€œB”. Every time when HDC 22β€³ finishes transferring one codeword of data to R/W channel 24β€²β€³, a boundary codeword is performed from R/W channel 24β€²β€³.

When HDC 22β€²β€³ flushes out the encoded data inside R/W channel 24β€²β€³, it also sends the next user data for R/W channel 24β€²β€³ to be encoded. As long as HDC 22β€²β€³ follows this sequence, R/W channel 24β€²β€³ can perform back to back synchronized write operations.

In case HDC 22β€²β€³ switches from a write operation to a read operation, HDC 22β€²β€³ must flush out the pre-encoded data stored inside R/W channel 24β€²β€³ working buffer. When HDC 22β€²β€³ switches back from a read operation to a write operation, HDC 22β€²β€³ pre-sends one codeword data to R/W channel 24β€³ first before performing the synchronized write operation as describe above.

FIG. 35 is a timing diagram of a write operation with a split sector. In this example, the user data β€œC” is split into two portions, namely data β€œC1” and data β€œC2”. Since the whole user data β€œC” is already pre-send to R/W channel 24β€²β€³ for encoding. When HDC 22β€²β€³ asserts the RWGATE that has the length less than one codeword size, R/W channel 24β€²β€³ automatically switches to split sector mode. In the preferred embodiment R/W channel 24β€²β€³ permits only allow one split per codeword. The number of user data written for the β€œC1” is determine by the number of WCLKs elapsed under the current RWGATE, and it is used to flush out the encoded data β€œC1” portion. The number of user data written for the β€œC2” is determined by the number of WCLKs elapsed under the next RWGATE, and is used to flush out the encoded data β€œC2” portion. If the total length of these 2 RWGATEs is not equal to the codeword size, an error condition has occurred, and DATA_FAULT will be asserted by R/W channel 24β€²β€³.

Multiple Codewords Per Sector Write Operation

FIG. 36 illustrates a timing diagram of a write operation having multiple codewords. In such a write operation, R/Wβ€” is set to β€œ0” from β€œ1” by HDC 22β€²β€³ which indicates a start of the write operation. After waiting for a β€œfixed delay 1” as shown in FIG. 36, HDC 22β€²β€³ asserts the DATA_VALID and puts the valid user data β€œA1” onto the 8-bit NRZ bus. R/W channel 24β€²β€³ latches each byte of user data β€œA1” over the 8-bit NRZ bus at the rising edge of WCLK. The length of DATA_VALID is equal to (codeword size βˆ’1)*WCLK. After HDC 22β€²β€³ de-asserts the DATA_VALID, R/W channel 24β€²β€³ latches the last byte of valid data β€œA” from the 8-bit NRZ bus. Then a boundary codeword condition check is performed by R/W channel 24β€²β€³. If the total number of user data latched by R/W channel 24β€²β€³ is not equal to the pre-programmed codeword size, an error condition is determined, and a DATA_FAULT signal will be asserted. Otherwise, HDC 22β€²β€³ completes the transmission of the remaining data β€œA1” to R/W channel 24β€²β€³ for encoding. The encoded data β€œA1” is stored inside the working buffer of R/W channel 24β€²β€³.

After waiting for a β€œfixed delay 2”, HDC 22β€³ positions the head over the desirable track. HDC 22β€²β€³ asserts the RWGATE to flush out the encoded data β€œA1” inside the working buffer of R/W channel 24β€²β€³. Immediately following the assertion of RWGATE, HDC 24β€²β€³ asserts the DATA_VALID and moves the valid user data β€œA2” onto the 8-bit NRZ bus. R/W channel 24β€²β€³ (1) latches each byte of user data β€œA2” over the 8-bit NRZ bus at the rising edge of WCLK, (2) flushes out the encoded data β€œA1” from its working buffer, and (3) asserts the EXT_WGATE concurrently. R/W channel 24β€²β€³ will automatically insert the Sync Field (PLO), Sync Mark and Padding data during the Write operation for each sector. The length of the RWGATE indicates the total number of data to be written onto media for this write operation. R/W channel 24β€²β€³ counts the total number of WCLKs elapsed for this RWGATE to determine how much data is written onto the media. Therefore, the length of EXT_WGATE must be longer than the DATA_VALID. Before finishing writing the encoded data β€œA1” to the media, the next encoded data β€œA2” is stored inside the working buffer. R/W channel 24β€²β€³ performs the boundary codeword condition check for data β€œA2”. Since the RWGATE is still asserted by HDC 22β€²β€³ more than one codeword is being transmitted, and R/W channel 24β€²β€³ automatically switches to the multi-codeword mode. The encoded data β€œA2” will continue to flush out right after the encoded data β€œA1”. In FIG. 36, 4 codewords per sector is shown. Before finishing the writing of the encoded β€œA2” to the media, a new encoded data β€œA3” is stored inside the working buffer. The encoded data β€œA3” will continue to follow the encoded data β€œA2” to be written onto the media. Every time when HDC 22β€²β€³ finishes, one codeword of data is transferred to R/W channel 24β€²β€³. The process repeats until the last encode data β€œA4” is finally sent to the media. At this point, R/W channel 24β€²β€³ still has one encoded codeword data β€œB1” stored in its working buffer.

Since every time HDC 22β€²β€³ flushes out the encoded data inside R/W channel 24β€²β€³ the next user data for R/W channel 24β€²β€³ is also sent to be encoded. As long as HDC 22β€²β€³ follows this sequence, R/W channel 24β€²β€³ can perform back to back synchronized write operations for multiple codewords per sector. In case HDC 22β€²β€³ switches from a write operation to a read operations, HDC 22β€²β€³ preferably flushes out the pre-encoded data stored inside the working buffer R/W channel 24β€²β€³. When HDC 22β€²β€³ switches back from a read operation to a write operation, HDC 22β€²β€³ preferably pre-sends one codeword data to R/W channel 24β€²β€³ first before performing the synchronized write operation as described above.

FIG. 36 also illustrates a split sector. The user data β€œB1,B2,B3,B4” is split into data β€œB1,B2,B3/2” and data β€œB3/2,B4”. R/W channel 24β€²β€³ performs the write operation for data β€œB1”, β€œB2” similarly as above description. Since the whole user data β€œB3” is already pre-sent to R/W channel 24β€²β€³ for encoding, when HDC 22β€²β€³ asserts the RWGATE, which has the length less than 3 codeword size, R/W channel 24β€²β€³ auto-switches to split sector mode. In the preferred embodiment, R/W channel 24β€²β€³ only allows one split per codeword. The number of user data written for the β€œB1,B2,B3/2” is determined by the number of WCLKs elapsed under this RWGATE, and is used to flush out the encoded data corresponding to the β€œB1,B2,B3/2” portion. The number of user data written for the β€œB3/2,B4” is determined by the number of WCLKs elapsed under the next RWGATE, and is used to flush out the encoded data β€œB3/2,B4” portion. If total combined length of these 2 RWGATE is not equal to 4 codeword size, an error has occurred, and a DATA_FAULT signal will be asserted by R/W channel 24β€²β€³.

Read Operation

Single Codeword Per Sector Read Operation

FIG. 37 illustrates a timing diagram of a single codeword per sector read operation. A read operation of a single codeword per sector is performed when R/Wβ€” is set to β€œ1” from β€œ0” by HDC 22β€²β€³ that is indicated to start a read operation. After waiting for a β€œfixed delay 1” as shown in FIG. 37, HDC 22β€²β€³ positions the head over the desirable track and asserts the RWGATE for data β€œA”. The total number of WCLKs elapsed under this RWGATE is equal to total number user data expected from this read operation. As soon as R/W channel 24β€²β€³ detects the assertion of RWGATE, R/W channel 24β€²β€³ asserts the internal RGATE. RGATE is an extended version of RWGATE for a read operation. Since the Sync Field (PLO), Sync Mark and Padding data are pre-programmed into the registers of R/W channel 24β€²β€³, R/W channel 24β€²β€³ can be easy to extend the RGATE from RWGATE. As soon as iterative decoding is completed for data β€œA”, R/W channel 24β€²β€³ asserts DATA_VALID and sends the decoded data β€œA” back to HDC 22β€²β€³. HDC 22β€²β€³ then latches each byte of data β€œA” at the rising edge of RCLK. The number of WCLKs under each DATA_VALID is equal to codeword size βˆ’1. After the de-assertion of DATA_VALID, HDC 22β€³ latches the last valid byte of decoded data β€œA”. If the total number of bytes latched by HDC 22β€²β€³ for each DATA_VALID is not equal to codeword size, an error has occurred. HDC 22β€²β€³ handles the abnormal condition, by for example, retrying the read operation.

For a split sector read operation, HDC 22β€³ asserts the RWGATE twice to read the split sectors, as shown on FIG. 37. After HDC 22β€³ positions the head over the desirable track and asserts the first RWGATE for data β€œE1”. The total number of WCLKs elapsed for this RWGATE is equal to the number of bytes expected to be read for this read operation. If the WCLKs under this RWGATE is less than one codeword size, R/W channel 24β€³ automatically switches to the split sector mode. R/W channel 24β€³ will wait for the next RWGATE to be asserted for data β€œE2”. In the preferred embodiment, only one split per codeword is allowed. After combining the data during these RWGATEs, R/W channel 24β€³ will continue to perform the iterative decoding. When the decoding has been completed, the whole decoded codeword data β€œE” is sent to HDC 22β€²β€³ through the 8-bit NRZ bus. In case the total combination of data β€œE1” and β€œE2” does not equal to codeword size boundary. a DATA_FAULT will be asserted by R/W channel 24β€³. After completion of the iterative decoding, R/W channel 24β€³ automatically sends the decoded data to HDC 22β€². Of course, HDC 22β€²β€³ must have an appropriately sized buffer before assertion of RWGATE.

Multiple Codewords Per Sector Read Operation

FIG. 38 illustrates a read operation having multiple codewords per sector. In this read operation, R/Wβ€” is set to β€œ1” from β€œ0” by HDC 22β€²β€³ which indicates a start of a read operation. After waiting for a β€œfixed delay 1” as shown in FIG. 38, HDC 22β€²β€³ positions the head over a desirable track and asserts the RWGATE for data β€œA1,A2,A3,A4”. The total number of WCLKs elapsed under this RWGATE is equal to the total number of user data expected from this read operation. As soon as R/W channel 24β€²β€³ detects the assertion of this RWGATE, R/W channel 24β€²β€³ asserts the internal RGATE, which is an extended version of RWGATE for the read operation. Since the Sync Field (PLO), Sync Mark and Padding data are pre-programmed into R/W channel 24β€²β€³ registers, R/W channel 24β€²β€³ can easily extend the RGATE from the RWGATE. As soon as iterative decoding has completed for data β€œA1”, R/W channel 24β€²β€³ asserts DATA_VALID and sends the decoded data β€œA1” to HDC 22β€²β€³. HDC 22β€²β€³ latches each byte of data β€œA1” at the rising edge of RCLK. The number of WCLKs under each DATA_VALID is equal to codeword size βˆ’1. After the de-assertion of DATA_VALID, HDC 22β€²β€³ latches the last byte of decoded data β€œA1”. If the total number of bytes latched by HDC 22β€²β€³ for each DATA_VALID is not equal to codeword size, an error has occurred. HDC 22β€²β€³ request a retry of this read operation in response to this error condition. Since the length of RWGATE is longer than one codeword size, R/W channel 24β€²β€³ automatically switches into the multi-codeword mode. The data β€œA1,A2,A3,A4” is decoded in a pipeline style. In other words, the decoded data β€œA2” follow the decoded data β€œA1”. Since the length of DATA_VALID is always codeword size βˆ’1, it allows HDC 22β€²β€³ to check the boundary condition for each data β€œA1”, β€œA2”, β€œA3”, and β€œA4”.

FIG. 38 illustrates a read operation having multiple codewords per sector. In this read operation, R/Wβ€” is set to β€œ1” from β€œ0” by HDC 22β€²β€³ which indicates a start of a read operation. After waiting for a β€œfixed delay 1” as shown in FIG. 38, HDC 22β€²β€³ positions the head over a desirable track and asserts the RWGATE for data β€œA1,A2,A3,A4”. The total number of WCLKs elapsed under this RWGATE is equal to the total number of user data expected from this read operation. As soon as R/W channel 24β€²β€³ detects the assertion of this RWGATE, R/W channel 24β€²β€³ asserts the internal RGATE, which is an extended version of RWGATE for the read operation. Since the Sync Field (PLO), Sync Mark and Padding data are pre-programmed into R/W channel 24β€²β€³ registers, R/W channel 24β€²β€³ can easily extend the RGATE from the RWGATE. As soon as iterative decoding has completed for data β€œA1”, R/W channel 24β€²β€³ asserts DATA_VALID and sends the decoded data β€œA1” to HDC 22β€². HDC 22β€²β€³ latches each byte of data β€œA1” at the rising edge of RCLK. The number of WCLKs under each DATA_VALID is equal to codeword size βˆ’1. After the de-assertion of DATA_VALID, HDC 22β€²β€³ latches the last byte of decoded data β€œA1”. If the total number of bytes latched by HDC 22β€²β€³ for each DATA_VALID is not equal to codeword size, an error has occurred. HDC 22β€²β€³ request a retry of this read operation in response to this error condition. Since the length of RWGATE is longer than one codeword size, R/W channel 24β€²β€³ automatically switches into the multi-codeword mode. The data β€œA1,A2,A3,A4” is decoded in a pipeline style. In other words, the decoded data β€œA2” follow the decoded data β€œA1”. Since the length of DATA_VALID is always codeword size βˆ’1, it allows HDC 22β€²β€³ to check the boundary condition for each data β€œA1”, β€œA2”, β€œA3”, and β€œA4”.

R/W channel 24β€²β€³ can perform back to back read operations. As soon as R/W channel 24β€²β€³ finishes decoding one codeword under the split sector read case, the decoded data is automatically sent to HDC 22β€²β€³. HDC 22β€²β€³ insures that it can receive the data before asserting the RWGATE.

The interface signaling protocol of the present invention may be controlled by a processor operating in accordance with a program of instructions, which may be in the form of software. Alternatively, the program of instructions may be implemented with discrete logic components, application specific integrated circuits (ASICs), digital signal processors, or the like. Based on the teachings herein, one skilled in the art would be able to implement an appropriate instruction program in either software or hardware for carrying out the interface signaling protocol of the present invention.

While embodiments of the invention have been described, it will be apparent to those skilled in the art in light of the foregoing description that many further alternatives, modifications and variations are possible. The invention described herein is intended to embrace all such alternatives, modifications and variations as may fall within the spirit and scope of the appended claims.

Claims

What is claimed is:

1. A storage controller interface, comprising:

on a disk controller side of the storage controller interface,

a first transceiver circuit configured to transfer a first block of user data to a read/write channel over a data bus during a write operation, and

a gate transmit circuit configured to, a predetermined period subsequent to completion of the transfer of the first block of user data to the read/write channel and in response to the completion of the transfer, assert a gate signal to cause the first block of user data to be flushed from the read/write channel, wherein (i) the completion of the transfer causes the gate transmit circuit to assert the gate signal and (ii) the predetermined period is calculated according to an amount of time required for the read/write channel to encode the first block of user data; and

on a read/write channel side of the storage controller interface,

a second transceiver circuit configured to receive the first block of user data from the first transceiver circuit over the data bus,

a gate receive circuit configured to receive the gate signal, and

a write fault transceiver circuit configured to selectively assert and transmit a write fault signal to the disk controller side if the gate transmit circuit does not assert the gate signal in response to the transfer of the first block of user data to the read/write channel being completed,

wherein the disk controller side is configured to repeat the transfer of the first block of user data in response to the write fault signal being asserted by the write fault transceiver circuit.

2. The storage controller interface of claim 1, wherein the write fault transceiver circuit is configured to selectively assert the write fault signal in response to the first transceiver circuit attempting to, prior to the gate transmit circuit asserting the gate signal, transfer a second block of user data to the read/write channel.

3. The storage controller interface of claim 1, wherein the first block of user data includes a single codeword.

4. The storage controller interface of claim 3, further comprising, on the disk controller side of the storage controller interface, a serial transceiver circuit configured to transmit a size of the single codeword to the read/write channel.

5. The storage controller interface of claim 1, further comprising, on the read/write channel side of the storage controller interface, a buffer configured to store the first block of user data until the gate signal is asserted to flush the first block of user data from the read/write channel.

6. The storage controller interface of claim 5, wherein the write fault signal indicates an overflow of the buffer.

7. The storage controller interface of claim 1, wherein,

the gate transmit circuit configured to, during a read operation, assert the gate signal, and

the first transceiver circuit is configured to, during the read operation, receive a second block of user data from the read/write channel in response to the gate signal being asserted.

8. The storage controller interface of claim 7, wherein,

the second transceiver circuit is configured to, during the read operation, transfer the second block of user data to the first transceiver circuit in response to the gate signal being asserted.

9. A method of operating a storage controller interface, the method comprising:

at a disk controller side of the storage controller interface,

transferring a first block of user data to a read read/write channel over a data bus during a write operation, and

a predetermined period subsequent to completion of the transfer of the first block of user data to the read/write channel and in response to the completion of the transfer, asserting a gate signal to cause the first block of user data to be flushed from the read/write channel, wherein (i) the completion of the transfer causes the gate signal to be asserted and (ii) the predetermined period is calculated according to an amount of time required for the read/write channel to encode the first block of user data;

at a read/write channel side of the storage controller interface,

receiving the first block of user data over the data bus,

receiving the gate signal, and

selectively asserting and transmitting a write fault signal to the disk controller side if the gate transmit circuit does not assert the gate signal in response to the transfer of the first block of user data to the read/write channel being completed; and

repeating the transfer of the first block of user data in response to the write fault signal being asserted.

10. The method of claim 9, wherein selectively asserting the write fault signal includes selectively asserting the write fault signal in response to an attempt to, prior to the gate signal being asserted, transfer a second block of user data to the read/write channel.

11. The method of claim 9, wherein the first block of user data includes a single codeword.

12. The method of claim 11, further comprising, at the disk controller side of the storage controller interface, transmitting a size of the single codeword to the read/write channel.

13. The method of claim 9, further comprising, at the read/write channel side of the storage controller interface, storing the first block of user data in a buffer until the gate signal is asserted to flush the first block of user data from the read/write channel.

14. The method of claim 13, wherein the write fault signal indicates an overflow of the buffer.

15. The method of claim 9, further comprising:

during a read operation, asserting the gate signal; and

during the read operation, receiving a second block of user data from the read/write channel in response to the gate signal being asserted.

16. The method of claim 15, further comprising:

during the read operation, transferring the second block of user data from the read/write channel in response to the gate signal being asserted.

Resources

Images & Drawings included:

Sources:

Similar patent applications:

Recent applications in this class:

Recent applications for this Assignee: