Flexible encoding method and architecture for high-speed data transmission and storage

Abstract: In data transmission and storage using encoding through finite-state machines, the feedback link that updates each finite-state machine after each encoding step presents a bottleneck for a high speed implementation. The invention solves this problem for a class of finite-state machines that includes the encoder for the known 8B/10B Widmer-Franaszek code. The architecture consists of parallel finite-state units that are pipelined to run at a relatively low clock frequency. State updating is broken down into a feedforward part and a feedback part. In the feedback part, the state of each unit can be updated with a single operation. This allows efficient implementation of the finite-state encoder for practically any data rate just by appropriate pipelining and parallel processing.

Description: Field of the Invention This invention concerns the encoding of data strings, here sequential data bytes into code words of different length, for high speed data communication or storage purposes. For many applications, the encoding of k-bit data bytes into m-symbol code words, using finite-state encoders is a preferred method. Several special codes have been developed for that purpose, one of them is the 8B/10B Widmer-Franaszek code, described in US Patent 4 486 739. This code interleaves bytes of a 3B/4B code with bytes of a 5B/6B code. The encoder for the Widmer- Franaszek code always includes a finite-state machine. The invention is also directed to an encoder architecture that allows easy adaptation to given input data speeds, particularly in the Gigabit-per-second area. Further, the invention pertains to an encoder architecture allowing implementation in VLSI, i.e. very large scale integration in semiconductor technology. Background In data communication as in storage applications, encoding of an incoming data byte stream into an equivalent stream of code words is often performed for reasons of better use of the transmission channel, facilitating receiver operations, safer transmission or storage, better recognition of noisy transmitted or stored data, lower failure rate under difficult conditions, etc. At very high data speeds, e.g. in the Gigabit-per-second area, it becomes difficult to encode the incoming data byte stream fast enough, even more so when complex encoding methods or schemes are being used. One of the preferred encoding methods includes the use of finite-state encoders that have to be state-updated after each encoding step. If such finite-state encoders are arranged in parallel to adapt them to high data rates in a pipelining fashion, the state-updating still occurs sequentially, thus often requiring more time than available. Of course, this slows down the maximum transmission speed achievable with such a device. European Patent Application EP-A- 0 471 130, which falls under Article 54 (3) EPC, shows one approach to solve the problem indicated above and persons skilled in the art may derive useful background information and some details for understanding the present invention. In the prior application, an encoder principle is disclosed which allows pipelined as well as seemingly parallel operation of the encoder. Several finite-state coder units are physically arranged in parallel, however, the respective coder state updating bits are actually not simultaneously available, but propagate from section to section similar to a carry-over function. Though this propagation may happen within one clock cycle, it certainly determines the minimum length of such clock cycle and thus limits the achievable speed for processing incoming data strings. General methods introducing concurrency to improve the throughput at the expense of latency are described by H.-D. Lin and D.G. Messerschmitt in "Finite State Machine has Unlimited Concurrency",published in the IEEE Transactions on Circuits and Systems, Vol.38, No.5, May 1991. The methods described there are, however, of very general and more theoretical nature and do not teach or address how to efficiently generate concurrency in a given specific application. Objects of the Invention Main object of the invention is to provide an encoding method and architecture that allows real-time high speed processing of incoming data strings. A further object is to devise an encoding technique and architecture that allows adaptation to and operation at practically any data input rate. Also an object is to provide an encoding architecture that allows easy implementation in VLSI technology to further increase the achievable speed limit of the incoming data. Summary of the Invention These and other objects are achieved by the invented method for encoding k-bit data bytes into m-symbol code words using parallel encoding units including finite-state coders and a coding procedure with at least two states according to claim 1. The output symbols are to be chosen from an M-ary alphabet. In a nutshell, a state transition function z(n+1) = g(x(n),z(n)), in which x(n) is the current input data byte and z(n) the current state of the coder, determines the state updating of each coder and an output function y(n) = h(x(n),z(n)), in which y(n) is the current output code word, determines the output of each coder. The state transition function of a coder is selected such that the next state can be expressed as z(n+1) = g(x(n),z(n)) = p(n) ⊙ z(n). The function p(n) = f(x(n)) is obtained solely from the input x(n). It can be (and is) obtained by preprocessing in a prior time interval. If the operation denoted by the algebraic operator "⊙" is associative, those coders that are arranged in parallel can now be switched, i.e. their state updated, simultaneously in the current time interval. Compared with the teaching given in above mentioned prior European Patent Application 90810614.9, in the present invention, those coders that are arranged in parallel actually may have the respective coder state bits available simultaneously - without any necessary propagation - at their respective state switching entries, enabling all parallel coders to switch to their new states simultaneously. This is achieved by appropriate selection of the functions as defined in the method claims. An appropriate architecture is given in the apparatus claims; the necessary background information and a number of embodiments, including a preferred embodiment, are described in the following with reference to the drawings. The Drawings The appended drawings show in Fig. 1 the power spectral density of the Widmer-Franaszek code, Fig. 2 a block diagram of a finite-state machine used in the invention, Fig. 3 a block diagram of finite-state machines operating in parallel, Fig. 4 the state updating of the parallel finite-state machines, Fig. 5 an encoder architecture for the Widmer-Franaszek 8B/10B code, Fig. 6 an encoder architecture consisting of a number of N identical encoding units, Fig. 7 a random logic implementation of one encoding unit according to Fig. 6. General Introduction In the following, a more general introduction for an implementation of the invention is given. The implementation itself, described further down, is based on the well-known 8B/10B Widmer-Franaszek code already mentioned above. However, it should be pointed out that the invention is not solely applicable to this code, but has a much wider scope, as will be apparent from the discussion below. The 8B/10B Widmer-Franaszek (WF) code, mapping 8-bit bytes into 10-bit codewords, has found wide use within the industry owing to an excellent balance between good code parameters, low redundancy and simple implementation based on sequential logic. It is disclosed, e.g., in A. Widmer and P. Franaszek, "A DC-Balanced, Partitioned-Block, 8B/10B Transmission Code", IBM Journal of Research and Development, Vol. 27, No. 5, September 1983, pp. 440-451, and in US Patent 4 486 739, issued in December 1984. The WF code imposes various signal characteristics at the output of the transmitter that are needed for data transmission over metallic cables and optical fibers. The most significant feature of the WF code is its suppression of power around the zero frequency, i.e., the code spectrum exhibits a null at DC and negligible low-frequency signal power. Figure 1 shows the power spectral density of the WF code that has been computed using the matrix methods described by G.L. Cariolaro and G.P. Tronca in "Spectra of Block Coded Digital Signals", published in IEEE Trans. Commun., Vol. COM-22, October 1974, pp. 1555-1564. The spectral properties of the encoded data stream allow the filtering of low-frequency noise and the use of AC-coupled receivers to achieve high sensitivity in the presence of device parameter drift and temperature variation. Furthermore, the encoded data stream has large transition density and small maximum runlength of identical symbols to facilitate clock extraction. Finally, the code provides control words for signaling and sync words for synchronization. There are several different code parameters associated with the WF code. The spectral properties of the encoded data around DC depend to a large extent on a single parameter, the digital sum variation (DSV). It is well known that the finite DSV condition in the time domain is equivalent to a spectral null at DC in the frequency domain as described by G. Pierobon in "Codes for Zero Spectral Density at Zero Frequency", published in IEEE Trans. Inform. Theory, Vol. IT-30, March 1984, pp. 425-429. Furthermore, the smaller the DSV, the smaller is the signal power at low frequencies around DC. The DSV associated with the WF code is six, implying that the running digital sum at any time instant is one of seven consecutive integers and the runlength of identical symbols is at most six. The construction of the WF code, however, guarantees that the maximum runlength of identical symbols is five. Other parameters of interest for the timing recovery are a minimum and average transition density of 30% and 60%, respectively. Finally, the WF code provides 12 additional special words that satisfy all the desired code constraints and can be used for synchronization and signaling control functions. The Enterprise Systems Connection (ESCON) architecture of the IBM System/390 uses 200 MBaud serial fiber-optic links to interconnect processors, disk and tape storage, and control units. The transmission code that is used for ESCON channels is the WF code. Recently, the American National Standards Institute ASC X3T9.3 Committee selected the WF code as the transmission code for the Fiber Channel where the data rates of interest are 200 Mbit/sec and 800 Mbit/sec. Currently, standardization committees are considering fiber-optic links that will operate at line rates exceeding 1 GBaud. These developments have generated interest in the implementation of the WF code at several GBaud line rates. The decoder for the WF code is a block decoder that performs memory-less mapping of 10-bit code words into 8-bit bytes and can therefore be implemented at any data rate by the use of pipelining and parallel processing. The encoder for the WF code can be viewed as a 2-state machine, mapping 8-bit bytes into 10-bit code words, depending on the current value of the state of the machine. The implementation of the WF code given by A. Widmer and P. Franaszek (cf., as mentioned above, "A DC-Balanced, Partitioned-Block, 8B/10B Transmission Code", IBM Journal of Research and Development, Vol. 27, No. 5, September 1983, pp. 440-451, and in US Patent 4 486 739, issued in December 1984) exploits the partitioned-block nature of the code and requires that gate delays are no more than one symbol interval. This encoder realization has been tested at a line rate of 200 MBaud using emitter coupled logic (ECL) technology. For a line rate of k GBaud, the maximum gate delay that can be tolerated in the encoding circuitry given by Widmer and Franaszek is 1/k nanoseconds. Thus, for a line rate of 5 GBaud, the resulting maximum gate delay is 0.2 ns and the encoder realization becomes a formidable task. Recently, codes have been constructed that have better parameters than the WF code and can be implemented at high data rates. One example is disclosed in the already mentioned European Patent Application 90810614.9. The encoder realization given there, however, does not allow arbitrarily high data rates because the clock rate of the encoder sets an upper limit on the number of parallel units that can be used. Furthermore, for N simultaneously processed bytes, a table lookup implementation of the encoder for the WF code that is based on the architecture according to the present invention would require only 512N one-bit memory cells, as opposed to 10240N one-bit memory cells that are needed for a table lookup implementation of the encoders according to European Patent Application 90810614.9. This translates into 95% saving in memory. The high speed implementation of the encoder for the WF code with random logic will be discussed further down. Generally speaking, in each implementation using finite-state machines, the state-updating (of each finite-state machine) requires a feedback link that is the bottleneck for a high speed implementation. The present invention solves this problem by a flexible encoder architecture for a class of finite-state machines, including the encoder for the WF code. In brief, the architecture consists of pipelined parallel units that run at a low clock frequency. State updating is broken down into a feedforward part and a feedback part. In the feedback part, the state of each parallel unit can be updated with a single operation. In other words, the delay in the critical feedback path can be made independent of the number of parallel units and reduced to the time needed to perform a single operation. This eliminates the technology-dependent upper limit on achievable encoder throughput or data input rates and allows the implementation of the finite-state encoder at any data rate using appropriate pipelining and parallel processing. A further advantage of an architecture according to the present invention is that it is suitable to be implemented in very large scale (VLSI) semiconductor technology. Architectures that are favoured for VLSI provide local communication with minimal amount of global communication, large degree of regularity for reducing design cost and time, high efficiency (small chip area) and linearity between hardware complexity and data rate. The flexible encoder architecture according to the invention exhibits, particularly for the WF code, all these properties and is therefore well suited to VLSI implementation. In addition to allowing arbitrarily high data rates, the parallel processing in the new architecture permits the fabrication of the encoder and the decoder in low speed CMOS technology. Only the serializer following the encoder and the deserializer preceding the decoder need to be implemented in a faster and more costly technology such as bipolar semiconductor or GaAs technology. The disclosed parallel implementation of an encoder/decoder for the WF code consisting of N identical units exhibits a large degree of regularity and is therefore well suited to VLSI implementation. Furthermore, its realization is very efficient in terms of chip area. Assuming a clock frequency of 60 MHz and a 4-byte interface (N = 4), a 240 Mbyte/s encoder/decoder operates at a line rate of 2.4 GBaud and its implementation in CMOS technology requires about 2000 gates. This results in about 90% saving in chip area when compared to a table-lookup realization of a 2.4 GBaud encoder/decoder in CMOS technology, as disclosed e.g. in European Patent Application 90810614.9, mentioned above. Detailed Description In this section, a flexible encoder architecture for a class of finite-state machines that is well suited to high speed implementation is proposed. A finite-state machine with state space F can be described by two functions g and h that map the input x(n) and the current state z(n)∈F into the next state z(n + 1) = g(x(n),z(n))∈F and the output y(n) = h(x(n),z(n)). The block diagram of a finite-state machine is shown in Fig. 2. In general, preprocessing is not needed to implement a finite-state machine. However, according to the invention, for some classes of finite-state machines, preprocessing is useful in achieving high throughput rates. In Fig. 2, it has been assumed without loss of generality that preprocessing, state updating and output mapping can be each performed within one clock cycle by a preprocessor 21, an updating member 22, and an output mapper 23, respectively. In general, these three operations can extend over several clock cycles and overlap with each other. This occurs, for example, in the particular realization of the encoder for the WF code that will be discussed further down. The class of finite-state machines considered here has the property that their next state can be expressed as z(n + 1)=g(x(n),z(n)) = p(n)⊙z(n) where p(n) = f(x(n))∈F is obtained from the input x(n) by preprocessing and the algebraic operation denoted by "⊙" is associative, i.e., a⊙(b⊙c) = (a⊙b)⊙c for a,b,c∈F. Note that the preprocessor 21 and the output mapper 23 in Fig. 2 are of the feedforward type, whereas the state updating member 22, containing the critical feedback link, is of the feedback type. High speed encoder realizations that are based on parallel operating finite-state machines can be obtained if the current state of the i-th machine can be derived from the input and the current state of the (i-1)-th machine. The current state of the first machine is obtained from the previous input and state of the L-th machine. The block diagram of such a configuration consisting of L machines is shown in Fig. 3. Each of the parallel machines includes a preprocessor 31, a state updating member 32, and an output mapper 33. Note that the i-th finite-state machine is characterized by the functions g i and h i , i = 1,2,...,L where the next state function g' of finite-state machines that are of interest to us is described by the algebraic operation ⊙ and the function f i . Furthermore, the output function h i , i = 2,3,...,L can also depend on the input and the current state of the (i-1)-th machine. In general, all the L finite-state machines operating in parallel may be different from each other. As in Fig. 2, it has been assumed for the sake of simplicity that preprocessing, state updating and output mapping do not overlap in time and that each of them can be performed within one clock cycle. State updating in the feedback link 34 of Fig. 3 usually requires at most L nested operations, e.g., z(n + L + 1)= g L (x(n + L),g L-1 (x(n + L-1),g L-2 (...,g 2 (x(n + 2),g 1 (x(n + 1),z(n + 1)))...))). For the class of finite-state machines that are considered here, at most L operations are needed to compute the state of a parallel machine. In this case, the updated states are given by z(n + k) = p(n + k - 1)⊙p(n + k - 2)⊙ ... ⊙p(n + 1)⊙z(n + 1), k = 2,3,..., L + 1. We now define the column vectors Z = (Z₂, Z₃, ... , Z L+1 ) and P = (P₁, P₂, ... , P L ) where Z k = z(n + k), k = 1,2, ... , L + 1, and P k = p(n + k), k = 1,2, ... ,L. State updating in Fig. 3 can be then expressed using the matrix-vector notation Z = G P + 1 Z₁ where G is an L x L lower triangular all-one matrix and 1 is an all-one column vector. We define R = (R₁, R₂, ... , R L )≙ GP, where R k = r(n + k), k = 1,2, ... ,L. The minimum delay needed for obtaining Z from P and Z₁ is [ log₂ (L + 1)] delay units where [x] is the smallest integer greater than or equal to x and a delay unit corresponds to the delay associated with obtaining A ⊙ B from A and B. The states of the parallel coders in Fig. 3 can be updated according to the invention as shown in Fig. 4. Computation of next states is broken down into a feedforward part R = G P , that can be precomputed outside the feedback link in feedforward processor 45, and a feedback part 1 Z₁ requiring a single operation, performed for each coder by algebraic operator member 47. Output mappers 43 (Fig. 4) serve the same purpose as output mappers 33 in Fig. 3, namely mapping the input data bytes into the output code words. A delay stage 46 is provided to hold the output of the last (rightmost) coder for a predetermined time, e.g. one clock cycle. Therefore, independent of what the total number of parallel coders is, the number of operations carried out in the critical feedback path can always be restricted to one. This allows the implementation of the finite-state encoder at any data rate using appropriate pipelining and parallel processing. As one can see from the notation for the input data bytes and the output code words in Fig. 4, the same latency is assumed as in the design according to Fig. 3. This is, of course, a matter of design and thus determined by the designer, based on the speed requirements and the available technology for the implementation. It is neither always desirable nor necessary to reduce the feedback link to a single operation since this may lead to unnecessary precomputation, which, in turn, leads to an increase in latency and in complexity due to an increase in the total number of pipeline stages needed to implement the encoder. The designer of the encoder can determine the maximum amount of computation that can be carried out within the feedback link from the clock period and the gate latencies or other delays. For this purpose, the matrix G is expressed as a product of two matrices G₁ and G₂, i.e., G = G₂G₁. The part Q = (Q₁, Q₂, ..., Q L ) ≙ G₁ P , where Q k = q(n + k), k = 1,2, ... ,L, can be then precomputed outside the feedback link and G₂ Q + 1 Z₁ is computed within the feedback link. This results in a flexible encoder architecture where the splitting of G into G₁ and G₂ determines the delay in the critical feedback path. There are two extreme cases corresponding to the minimum and maximum amount of computation in the feedback link. For G₁ = G, the state of each parallel unit can be updated with only one operation in the feedback loop. For G₂ = G, the delay in the feedback loop is between [ log₂ (L + 1)] and L delay units. In the particular realization of the WF code discussed in the next section L is always an even number and G is split into G₁ and G₂ such that at most L/2 operations are carried out in the feedback loop. We note again that if state updating in this case is performed in parallel than the delay in the feedback loop can be further reduced to [ log₂ ( L/2 + 1 )] delay units. Implementation for the 8B/10B Widmer-Franaszek Code In the following, an implementation of the invention for the 8B/10B WF code shall be described. The 8B/10B WF code is a partitioned-block code, mapping 8-bit bytes into 10-bit code words (M=2). A sequence of 10-bit code words can be obtained by interleaving 6-bit and 4-bit code words from a 5B/6B code and a 3B/4B code. The current state of the 5B/6B (3B/4B) code is the running digital sum achieved at the end of the previous 4-bit (6-bit) code word. Since the 8B/10B WF code is constructed such that the running digital sum at the end of the 6th bit and the 10th bit (end of a 10-bit code word) always assumes two values, both codes, the 5B/6B code and the 3B/4B code, can be realized as two-state machines. The next state of the 5B/6B two-state machine is given by z(n) =f¹(x(n - 1))⊕z(n - 1), where x(n - 1) is the first five bits of a byte, z(n - 1) is the current state corresponding to the running digital sum achieved at the end of the previous 4-bit code word and ⊕ is mod 2 addition identical with the associative operation XOR (Exclusive Or). The next state of the 3B/4B two-state machine z(n + 1) is determined 1 by the last three bits of a byte, x(n), and the current state z(n) corresponding to the running digital sum achieved at the end of the previous 6-bit code word, i.e., z(n + 1) = f²(x(n))⊕z(n). The proposed flexible encoder architecture can be used to obtain a high speed realization of the encoder for the WF code. Let N be the number of bytes that are processed in parallel. Since each byte is processed by two two-state machines (5B/6B code and 3B/4B code) L in Fig. 3 is always an even number given by L = 2N, and f i = f k , g i = g k , h i = h k , 1 ≤ i,k ≤ L if and only if i and k are both even or both odd. Furthermore, x(n + k) is the first five bits of a byte if k is odd or the last three bits of a byte if k is even and y(n - 3L + k) is the first six bits of a 10-bit code word if k is odd or the last four bits of a 10-bit code word if k is even. Finally, the matrix factorization of the lower triangular all one matrix in the finite field with two elements, where addition is a mod 2 addition and multiplication is a mod 2 multiplication, determines G₁ and G₂. The block diagram of an encoder for the WF code, consisting of two encoding units (N=2), is shown in Fig. 5. Depending on speed requirements, more units than the two shown may be necessary. Each encoding unit includes a first output mapper 54 (of the 5B/6B coder) and a second output mapper 55 (of the 3B/4B coder). Preprocessors 57 and 58 perform the Boolean functions f¹ and f² and generate a bit indicating whether the current state and the next state will be identical or not. The first two rows of XOR gates 51 and 52 generate linear combinations of the preprocessor outputs Q , corresponding to multiplying the preprocessor outputs P with the matrix G. The lowermost row of XOR gates 53 generates the updated states according to G Q ⊕ 1 Z₁ where ⊕ indicates component-wise mod 2 addition and Z₁ is the current state of the 5B/6B coder 54.1 in the leftmost encoding unit. Feedforward preprocessor 59 and delay stage 56 serve the same purpose as the feedforward preprocessor 45 and the delay stage 46 in Fig. 4, respectively. The particular implementation of the encoder for the WF code is shown in Fig. 6 and consists of N identical units 61.1 to 61.N processing N bytes in parallel. This has been achieved by selecting G₁ such that q(n + 1) = p(n + 1) and q(n + k) = p(n + k - 1)⊕p(n + k), k = 2,3, ... ,L. In Fig. 6, the incoming bytes and outgoing 10-bit code words are denoted by X(n + k), k = 1,2, ... , N and by Y(n - 3N + k), k = 1,2, ... , N, respectively. There are two modes of operation indicated by K, K = 0 in the data mode and K = 1 in the control mode. The intermediate variables A(n - N + k), B(n - 2N + k), C(n - 2N + k), k = 1,2, ... , N - 1 are the outputs of unit k and at the same time the inputs of unit k + 1. The output of unit 61.N, B(n - N), corresponding to the next state of the 5B/6B two-state machine in unit 61.1 is fed back to unit 61.1 in the next clock cycle. Delay stage 62 serves the same purpose as delay stage 46 in Fig. 4. Fig. 7 depicts a random logic implementation of one of the units 61.1 to 61.N in Fig. 6. The implementation consists of three pipeline stages. In a first preprocessing step, the first pipeline stage generates with preprocessors 74 and 75 the values p(n) for the 5B/6B coder and the 3B/4B coder, respectively. The 5B/6B and 3B/4B coders are implemented in output mapping stage 82. State updating is performed via the four XOR gates 76, 77, 78, and 79 during the first and second pipeline stages. Output mapping is done during all three pipeline stages with the output mappers 72,73 and 82. The input to each pipeline stage is stored in registers 71, 80, and 81. The intermediate variables H(n-N+k), I(n-2N + k), J(n-2N + k), k=1,2, .., N are the inputs of unit k. Note that H(n-N+1)=0 and I(n-2N + 1)=J(n-2N + 1) = B(n-2N). Furthermore, H(n-N + k) = A(n-N + k-1), I(n-2N + k) = B(n-2N + k-1), J(n-2N + k) = C(n-2N + k-1), for k = 2,3, ..., N. The bits in the input byte and the output code word are denoted by X i , i = 1,2, ... , 8, and Y i , i = 1,2, ... , 10, respectively. The Boolean functions f i , i = 1,2, q i , i = 1,2,3, perform preprocessing and output mapping. They can be expressed as T = W 1 + X 1 X 2 X 3 X 4 + K P = W 1 + X 1 X 2 X 3 A = X 6 + X 7 + X 6 X 7 X 8 U = H⊕T V = T⊕A B = I⊕V C = J⊕U Q = X 6 ⊕X 7 Y 1 = (P( S ⊕( X 2 + X 3 + X 4 (X 1 + X 5 ) + X 2 X 3 X 4 X 1 X 5 )) + P X 1 )⊕W 2 S Y 2 = (P( S ⊕( X 1 + X 3 + X 4 + X 5 + X 1 X 3 X 4 X 5 )) + P X 2 )⊕W 2 S Y 3 = (P( S ⊕( X 1 X 4 X 5 X 2 X 3 + X 1 + X 2 + X 4 + X 5 + X 1 X 2 X 4 X 3 X 5 )) + P X 3 )⊕W 2 S Y 4 = (P( S ⊕( X 1 + X 2 + X 3 (X 4 + X 5 ) + X 1 X 2 X 3 ( X 4 + X 5 ))) + P X 4 )⊕W 2 S Y 5 = (P( S ⊕((X 1 + X 2 + X 3 ) X 4 + X 5 + X 3 X 4 X 5 )) + P X 5 )⊕W 2 S Y 6 = (P( S ⊕(X 1 X 2 X 3 X 4 + X 1 X 4 X 5 X 2 X 3 + X 3 X 4 X 5 X 1 X 2 )) + P ( X 1 ⊕X 2 ⊕X 3 ⊕X 4 ⊕X 5 ))⊕W 2 S Y 7 = (QK( R ⊕X 6 ) + Q K X 6 + Q ( R ⊕(X 7 X 8 )))⊕ W 3 Y 8 = QK( R ⊕X 7 ) + Q K X 7 + Q ( R ⊕( X 7 X 8 )) Y 9 = QK( R ⊕X 8 ) + Q K X 8 + Q ( R ⊕X 7 ⊕X 8 ) Y 10 = (QK( R ⊕ X 8 ) + Q K X 8 + Q ( R ⊕(X 7 X 8 )))⊕ W 3 where overbar stands for Boolean inversion, and AB, A + B, A⊕B denote the Boolean operations A AND B, A OR B, A XOR B, respectively. The intermediate variables W i , i = 1,2,3, are given by W 1 = X 1 + X 2 + X 3 + X 1 X 2 X 5 (X 3 + X 4 ) + X 1 X 2 + X 3 + X 4 + X 5 + X 3 X 4 X 5 (X 1 + X 2 ) + X 1 + X 2 + X 5 + X 3 X 4 W 2 = K X 1 X 2 X 3 X 4 X 5 W 3 = X 4 X 5 S(X 1 X 2 X 3 + X 1 X 2 X 3 + X 1 X 2 X 3 ) + X 4 X 5 S (X 1 X 2 X 3 + X 1 X 2 X 3 + X 1 X 2 X 3 ) + X 6 X 7 X 8 + K An appropriate decoder (not shown) consists of N identical independent units and processes N bytes in parallel. It is a block decoder with limited error propagation where the mapping of code words Y i , i = 1,2, ... ,10, into bytes X i , i = 1,2, ... ,8, is memory-less. Errors in a 10-bit code word give rise to at most one erroneous byte. The random logic implementation of unit k has been obtained based on Table 6 and Table 7 in the already mentioned paper by Widmer and Franaszek in the IBM Journal of Research and Development. The Boolean equations are given by E 1 = Y 1 ⊕Y 2 ⊕Y 3 ⊕Y 4 (Y 1 + Y 2 + Y 3 + Y 4 ) Y 1 Y 2 Y 3 Y 4 E 2 = (Y 1 ⊕Y 2 ⊕Y 3 ⊕Y 4 ) Y 1 Y 2 + Y 3 Y 4 E 3 = (Y 1 ⊕Y 2 ⊕Y 3 ⊕Y 4 )(Y 1 Y 2 + Y 3 Y 4 ) E 4 = E 1 Y 2 Y 3 Y 5 ⊕Y 6 + E 3 Y 6 E 5 = E 1 Y 2 + Y 3 Y 5 ⊕Y 6 + E 3 Y 6 E 6 = E 1 Y 2 + Y 3 Y 5 ⊕Y 6 + E 2 Y 6 E 7 = E 2 Y 4 Y 5 Y 6 + E 2 Y 5 + Y 3 + Y 4 + Y 5 + Y 6 E 8 = E 1 Y 1 Y 3 Y 5 ⊕Y 6 + Y 1 Y 2 Y 5 Y 6 E 9 = E 1 Y 1 + Y 3 Y 5 ⊕Y 6 + Y 1 + Y 2 + Y 5 - Y 6 E 10 = E 1 Y 1 + Y 3 Y 5 ⊕Y 6 + Y 1 Y 2 Y 5 Y 6 E 11 = Y 3 + Y 4 + Y 5 + Y 6 (Y 9 ⊕Y 10 ) + Y 7 - Y 8 Y 9 Y 10 + Y 7 Y 8 Y 10 + Y 7 + Y 8 + Y 9 X 1 = Y 1 ⊕(E 5 + E 7 + E 10 ) X 2 = Y 2 ⊕(E 4 + E 7 + E 8 ) X 3 = Y 3 ⊕(E 4 + E 7 + E 9 ) X 4 = Y 4 ⊕(E 5 + E 7 + E 8 ) X 5 = Y 5 ⊕(E 6 + E 7 + E 9 ) X 6 = Y 7 ⊕(Y 7 Y 9 Y 10 + E 11 + Y 8 Y 9 Y 10 ) X 7 = Y 8 ⊕( Y 7 + Y 9 + Y 10 + E 11 + Y 8 + Y 9 + Y 10 ) X 8 = Y 9 ⊕(Y 7 Y 9 Y 10 + E 11 + Y 8 + Y 9 + Y 10 ) K = Y 3 Y 4 Y 5 Y 6 + Y 3 + Y 4 + Y 5 + Y 6 + E 2 Y 5 Y 6 Y 8 Y 9 Y 10 + E 3 Y 6 Y 5 Y 8 + Y 9 + Y 10 where E i , i = 1,2, ... , 11, are intermediate variables X i , i = 1,2, ... ,8, is the input byte and K indicates whether the received byte represents data or control information.

Claims: Method for encoding k-bit data bytes into m-symbol code words using parallel encoding units including finite-state coders and a coding procedure with at least two states, wherein each coder's state updating is determined by a state transition function z(n + 1) = g(x(n),z(n)), in which x(n) is the current input data byte and z(n) the current state of the coder, and each coder's output is determined by an output function y(n) = h(x(n),z(n)), in which y(n) is the current output code word, characterized in that the state transition function is selected such that a next state can be expressed as z(n+1) = g(x(n),z(n)) = p(n) O z(n), in which p(n) = f(x(n)) is obtained solely from the input x(n) and the operation denoted by the algebraic operator "⊙" is associative, that the variable p(n) is obtained for each coder by preprocessing in a time interval prior to the current time interval, that an algebraic operation combines variables p(n) of at least two coders, and that the states of at least two parallel coders are updated simultaneously. Encoding method according to claim 1, wherein the states of all coders in said parallel encoding units are updated simultaneously in a single operation. Encoding method according to claim 1 or 2, wherein said variables p(n) are obtained in a first preprocessing step prior to the current time interval, said variables p(n) are algebraically combined in a second preprocessing step prior to the current time interval, and said updating of the states of said parallel coders occurs during the current time interval. Encoding method according to any preceding claim, wherein each said time interval corresponds to one clock cycle. Encoding method according to any preceding claim, each said parallel encoding unit comprising two or more coders arranged serially within each unit, wherein preselected coders of at least two encoding units are updated simultaneously in a first updating step, and updating of subsequent coders occurs sequentially in a second step and, if applicable, subsequent further steps. Encoding method according to any preceding claim, using Widmer-Franaszek 8B/10B coding by interleaving 6-bit and 4-bit code bytes to form a 10-bit output code word. Encoder for encoding k-bit data bytes into m-symbol code words, having a plurality of parallel, interconnected encoding units, each including at least one finite-state coder with at least two states, wherein each coder's next state is determined by a state transition function z(n+1) = g(x(n),z(n)), in which x(n) is the current input data byte and z(n) the current state of the coder, and each coder's output is determined by an output function y(n) = h(x(n),z(n)), in which y(n) is the current output code word, characterized by means for preprocessing for at least two of the coders, in a time interval prior to the current time interval, the variables p(n) of the state transition function of said at least two coders according to z(n+1) = g(x(n),z(n)) = p(n) ⊙ z(n), wherein the variable p(n) = f(x(n)) solely depends on the input x(n) and the operation denoted by the algebraic operator "⊙" is associative, means for algebraically combining said preprocessed variables p(n) of said at least two coders, and means for simultaneous updating the states of at least two parallel coders. Encoder according to claim 7, wherein all said encoding units are identical to each other. Encoder according to claim 7 or 8, wherein two or more groups of coders are arranged in parallel across said encoding units. Encoder according to one or more of claims 7 to 9, each of at least two of said parallel encoding units comprising a plurality of coders, at least two of which coders are arranged in series within each unit, having means for updating preselected coders of said at least two encoding units simultaneously, and means for updating each subsequent coder in each said at least two encoding unit sequentially. Encoder according to one or more of claims 7 to 9, each of at least two of said parallel encoding units comprising a plurality of coders, at least two of which coders are arranged in series within each unit, having means for updating preselected coders of said at least two encoding units simultaneously, and means for simultaneously updating one or more of subsequent coders of said at least two parallel encoding units in sequence. Encoder according to any of the preceding claims 7 to 11, equipped for the 8-bit/10-bit Widmer-Franaszek code, characterized in that N parallel, identical encoding units are provided, that each encoding unit comprises two coders in series, and that each unit is adapted to encode one 8-bit data byte into one 10-bit code word.

Inventors: CIDECIYAN ROY DARON DR, CIDECIYAN, ROY DARON, DR.
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1991
Main classification: H03M5
IPC codes: H04L25, H03M5, G11B20