[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20090193319A1 - Data bus system, its encoder/decoder and encoding/decoding method - Google Patents

Data bus system, its encoder/decoder and encoding/decoding method Download PDF

Info

Publication number
US20090193319A1
US20090193319A1 US12/363,128 US36312809A US2009193319A1 US 20090193319 A1 US20090193319 A1 US 20090193319A1 US 36312809 A US36312809 A US 36312809A US 2009193319 A1 US2009193319 A1 US 2009193319A1
Authority
US
United States
Prior art keywords
error
data
bit
group
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US12/363,128
Other versions
US8181101B2 (en
Inventor
Wen Bo Shen
Chao-Jun Liu
Yi Ge
Qiang Liu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US12/363,128 priority Critical patent/US8181101B2/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GE, YI, LIU, CHAO JUN, LIU, QIANG, SHEN, WEN BO
Publication of US20090193319A1 publication Critical patent/US20090193319A1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE ADDRESS ARMONK, NEBRASKA 10504 PREVIOUSLY RECORDED ON REEL 022426 FRAME 0182. ASSIGNOR(S) HEREBY CONFIRMS THE ARMONK, NEW YORK 10504. Assignors: GE, YI, LIU, CHAO JUN, LIU, QIANG, SHEN, WEN BO
Priority to US13/446,565 priority patent/US8418047B2/en
Application granted granted Critical
Publication of US8181101B2 publication Critical patent/US8181101B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's

Definitions

  • the present invention relates to computer data bus, especially to a data bus system based on bus-invert encoding, as well as an encoder, decoder, encoding method and decoding method for the same.
  • VLSI large scale integrated circuits
  • FIG. 1 schematically shows the architecture of a data bus system having the data bus encoder and decoder based on this bus-invert technique.
  • a processor 10 accesses a memory 40 via a data bus 20 and a memory controller 30 .
  • a bus-invert encoder 12 when the processor 10 writes data to the memory 40 , a bus-invert encoder 12 generates bus-invert encoded data and corresponding bus-invert indication bits (INV_IND) according to the data in a data buffer 11 , and transmits the bus-invert encoded data and the bus-invert indication bits to a bus-invert decoder 31 in the memory controller 30 via the data bus 20 .
  • IDV_IND bus-invert indication bits
  • the bus-invert decoder 31 performs decoding on the received bus-invert encoded data according to the bus-invert indication bits, and writes the decoded data in the memory 40 . Because this technique works better for buses having fewer bits, a further improvement is proposed to divide a bus having more bits into bit-groups having fewer bits to perform bus-invert encoding on the bit-group respectively. However, this solution has to provide a bus-invert indication bit for each of the bit-groups, and thus the bus-invert indication bits form invert-indication information. Additional lines are required to transmit the invert-indication information.
  • An object of the present invention is to provide a data bus system based on bus-invert encoding, and an encoder, decoder, encoding method and decoding method thereof, to reduce the cost for transmitting the invert-indication information.
  • An embodiment of the present invention provides a data bus encoder, including: a bus-invert encoder, configured for generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme; a virtual bit-group generator, configured for converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and an error-checking-and-correction (ECC) encoder for generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the mapping is such that the Hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater
  • the data bus encoder may further include: an output selector configured for controlling the data bus encoder to output the data to be encoded when a mode control signal indicates a normal mode, and to output the encoded data when the mode control signal indicates a low power mode; and a virtual bit-group selector configured for performing control, so that the virtual word includes the data to be encoded and a fixed virtual bit-group when the mode control signal indicates the normal mode, and the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data when the mode control signal indicates the low power mode.
  • An embodiment of the present invention provides a data bus decoder, including: an error-checking-and-correction decoder configured for performing checkout on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values; an invert-indication information generator configured for converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that
  • the data bus decoder may further include: an output selector configured for controlling the data bus decoder to output data corresponding to the input data in the virtual word checked by the error-checking-and-correction decoder when a mode control signal indicates a normal mode, and controlling the data bus encoder to output data generated through decoding of the bus-invert decoder when the mode control signal indicates a low power mode; and a bit-group selector configured for performing control, so that the virtual word includes the input data and the reference virtual bit-group when the mode control signal indicates the low power mode, and the virtual word includes the input data and the fixed virtual bit-group when the mode control signal indicates the normal mode, wherein the reference virtual bit-group is different from the fixed virtual bit-group.
  • the data bus decoder may contain no bit-group selector.
  • An embodiment of the present invention provides a data bus encoding method, including: generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme; converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the mapping is such that the hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme, and wherein the virtual word includes the encode
  • An embodiment of the present invention provides a data bus decoding method, including: performing checking on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values; converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that the Hamming distance between any possible value of the converted bit-group and the reference virtual bit-group is a fixed
  • An embodiment of the present invention provides a data bus system, including: a bus transmitting device including the above data bus encoder; a bus receiving device including the above data bus decoder; and a data bus for connecting the bus transmitting device with the bus receiving device.
  • the ECC checking mechanism is used to deliver the invert-indication information in case of low transmission error rate and the normal function of the ECC checking mechanism is resumed in case of high transmission error rate.
  • FIG. 1 schematically shows the architecture of a data bus system having the data bus encoder and decoder based on this bus-invert technique
  • FIG. 2 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to an embodiment of the present invention
  • FIG. 3 shows a flow chart of an encoding method in the data bus encoder
  • FIG. 4 shows a flow chart of a decoding method in the data bus decoder
  • FIG. 5 is a data view for schematically showing the data processed by the encoding/decoding method according to the embodiment of the present invention.
  • FIG. 6 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to a preferable embodiment of the present invention.
  • FIG. 2 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to an embodiment of the present invention.
  • a processor 210 accesses a memory 240 via a data bus 220 and a memory controller 230 .
  • the processor 210 includes a data buffer 211 and a data bus encoder 218 .
  • the memory controller 230 includes a data bus decoder 238 .
  • the data bus encoder 218 includes a bus-invert encoder 212 , a virtual bit-group generator 214 and an error-checking-and-correction (ECC) encoder 213 .
  • ECC error-checking-and-correction
  • ECC encoding technique a single-bit error-correction, double-bit error-detection (SECDED) solution as well as an ECC encoder and decoder in the memory are described in M. Y. Hsiao, “A class of optimal minimum odd-weight-column sec-ded codes”, IBM J. Res Develop, 14 (4), July, 1970, and U.S. Pat. No. 4,334,309.
  • SECDED single-bit error-correction, double-bit error-detection
  • the ECC encoding scheme may also include single-bit error-correction, three-bit error-detection (SEC-TED), double-bit error-correction, three-bit error-detection (DEC-TED), three-bit error-correction, four-bit error-detection (TEC-QED) and so on.
  • SEC-TED single-bit error-correction
  • DEC-TED double-bit error-correction
  • TEC-QED four-bit error-detection
  • TEC-QED four-bit error-detection
  • the number of bits of the data bus 220 (i.e., the number of bits of the data to be subjected to bus-invert encoding) may be M, and the data may be divided into N bit-groups. Then, with respect to data to be sent coming from the data buffer 211 , the bus-invert encoder 212 performs bus-invert encoding on N bit-groups of the data respectively to generate encoded data and respective N-bit invert-indication information (INV_IND), each of bits of which indicates the bus-invert state of respective of the bit-groups. Therefore, the invert-indication information may take one of 2 N values of 0 ⁇ 2 N ⁇ 1.
  • the source of the data to be sent is not limited to the data buffer 211 .
  • the source may be other portions accessible to the bus-invert encoder 212
  • the virtual bit-group generator 214 converts the invert-indication information into a virtual bit-group (VG) according to a predetermined code mapping.
  • the ECC encoder 213 calculates an ECC code for the virtual word according to an ECC encoding scheme.
  • the virtual word may be of L bits, the number of error-correction bits is H (H ⁇ 1), and the number of error-checking bits is I (I>H), under the ECC encoding scheme.
  • the value domain of the virtual bit-group may include 2 N J-bit bit-strings different from each other.
  • the predetermined code mapping used by the virtual bit-group generator 214 includes one-to-one correspondences between these 2 N J-bit bit-strings and 2 N possible values of the invert-indication information.
  • the reference virtual bit-group REF may be a J-bit bit-string taking a value outside of the above value domain, the number of different bits (i.e., Hamming distance) between the reference virtual bit-group REF and each of the 2 N J-bit bit-strings is constant, and K ⁇ H.
  • FIG. 3 shows a flow chart of an encoding method 100 in the data bus encoder 218 .
  • the method 100 starts from step S 10 .
  • the bus-invert encoder 212 obtains the data to be sent, from the data buffer 211 .
  • the bus-invert encoder 212 generates bus-invert encoded data and corresponding invert-indication information for the data to be sent.
  • the virtual bit-group generator 214 converts the invert-indication information into a virtual bit-group according to a predetermined code mapping.
  • a virtual word is formed in the ECC encoder 213 .
  • the virtual word includes the bus-invert encoded data from the bus-invert encoder 212 , the virtual bit-group from the virtual bit-group generator 214 , and padding bits (not shown) having fixed values configured if required. It is to be noted that if M+J equals to L, no padding bit is needed in the virtual word; If M+J is less than L, (L ⁇ M ⁇ J) padding bits are needed in the virtual word. The padding bits may be stored within or outside of the ECC encoder 213 .
  • the ECC encoder 213 generates an ECC code for the virtual word according to the predetermined ECC encoding scheme.
  • the method 100 ends at step S 22 .
  • the data encoded by the data bus encoder 218 is transmitted to the data bus decoder 238 through the data bus 220 .
  • the ECC code generated by the ECC encoder 213 is also transmitted to the data bus decoder 238 .
  • the data bus decoder 238 includes a bus-invert decoder 231 , an ECC decoder 232 and an invert-indication information generator 233 .
  • a virtual word of L bits is formed with the M-bit encoded data from the bus-invert encoder 212 , the J-bit reference virtual bit-group REF, and one or more possible padding bits having the same values with those described in connection with the ECC encoder 213 heretofore. It is to be noted that if M+J equals to L, no padding bit is needed in the virtual word; If M+J is less than L, (L ⁇ M ⁇ J) padding bits are needed in the virtual word.
  • the ECC decoder 232 performs checking according to the virtual word and the received ECC code.
  • the bit distribution of the encoded data, the reference virtual bit-group REF and the padding bits in the virtual word at the decoding side is identical to that of the M-bit data, the J-bit virtual bit-group and one or more padding bits in the virtual word at the ECC encoder 213 .
  • the bit distribution may be based on the sequence cited in the above, or may be based on other sequence such as bit interleaving or changing bit order. Because there is definitely K but only K bits having different values between the virtual bit-group and the reference virtual bit-group REF, K bit errors are caused intentionally. In case that the number of bit errors as checked is less than H, the ECC decoder 232 is at least able to correct these K bit errors to recover the value of the virtual bit-group.
  • the reference virtual bit-group REF and the padding bits may be stored within or outside of the ECC decoder 232 .
  • the error-correction capability of the ECC encoding scheme is used for transferring the invert-indication information, with the basic error-detection capability (I-H bits) being maintained.
  • the input to the bus-invert decoder may be data directly from the data bus (as shown in FIG. 2 ), or may be checked data from the ECC decoder (not shown).
  • K ⁇ H a portion of error-correction capability of the ECC encoding scheme is used for transferring the invert-indication information, and the remained error-correction capability is used for error-correction of data, with a certain error-detection capability (I-H bits) being maintained.
  • the input to the bus-invert decoder should be checked data from the ECC decoder (not shown).
  • the invert-indication information generator 233 converts the recovered virtual bit-group into invert-indication information according to the predetermined decode mapping, i.e., an inverse mapping of the predetermined decode mapping.
  • the bus-invert encoder 231 performs bus-invert decoding on the received bus-invert encoded data according to the invert-indication information from the invert-indication information generator 233 .
  • the decoded data is stored in the memory 240 . It is to be noted that, with respect to the ECC mechanism for memory, it is possible to consider the decoded data as the data directly coming from the data bus, and thus the data bus decoder can be easily combined with the ECC mechanism for memory.
  • the data to be decoded by the bus-invert decoder is the data checked by the ECC decoder.
  • FIG. 4 shows a flow chart of a decoding method 200 in the data bus decoder 238 .
  • the method 200 starts from step S 30 .
  • a virtual word is formed in the ECC decoder 232 .
  • the ECC decoder 232 performs checking according to the formed virtual word and the received ECC code, to recover the virtual bit-group.
  • the invert-indication information generator 233 converts the recovered virtual bit-group into invert-indication information according to the predetermined decode mapping.
  • the bus-invert encoder 231 performs bus-invert decoding on the received bus-invert encoded data according to the invert-indication information.
  • the method 200 ends.
  • FIG. 5 is a data view for schematically showing the data processed by the encoding/decoding method according to the embodiment of the present invention.
  • ONE-HOT code is a code where the number of bits is equal to the number of states which can be represented, and each code value has one and only one bit of 1.
  • the reference virtual bit-group REF is a 64-bit bit-string of all 0.
  • the method 100 is performed in the case as shown in FIG. 5 .
  • “0x” represents hex number and “0b” represents binary number in the following.
  • the previously transmitted data is 0x00000000000000ff, after bus-invert encoding of step S 14 (as shown in S 14 in FIG.
  • the virtual word is checked according to the ECC code (as shown in S 34 in FIG. 5 ).
  • the invert-indication information 0b000001 is obtained through the ONE-HOT decoding at step S 36 .
  • the bus-invert encoded data 0x00000000000000ff is decoded into 0x000000000000 according to the invert-indication information 0b000001 (as shown in line L 4 in FIG. 5 ).
  • FIG. 6 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to a preferable embodiment of the present invention.
  • a processor 310 accesses a memory 340 via a data bus 320 and a memory controller 330 .
  • the processor 310 includes a data buffer 311 , a data bus encoder 318 and a condition checker 315 .
  • the memory controller 330 includes a data bus decoder 338 .
  • the data bus encoder 318 includes a bus-invert encoder 312 , a virtual bit-group generator 314 , an ECC encoder 313 , an output selector 316 and a virtual bit-group selector 317 .
  • the data bus decoder 338 includes a bus-invert decoder 331 , an ECC decoder 332 , an invert-indication information generator 333 , a bit-group selector 334 and an output selector 335 .
  • the bus-invert encoder 312 , virtual bit-group generator 314 , ECC encoder 313 , bus-invert decoder 331 , ECC decoder 332 and invert-indication information generator 333 are similar to the bus-invert encoder 212 , virtual bit-group generator 214 , ECC encoder 213 , bus-invert decoder 231 , ECC decoder 232 , and invert-indication information generator 233 , and thus will not be described in detail.
  • the ECC decoder at the receiving party detects an uncorrectable error through checking (for example, the number of bit errors is equal to the number of error-checking bits), it will report an ECC error.
  • the reporting may be implemented through flag bit, interruption, signal line and so on.
  • the transmitting party generally retransmits the data and the ECC code in response to be informed of the ECC error.
  • the data retransmission overhead may counteract the gain of reduced power brought by the bus-invert encoding, and even cause an increased power consuming. In this case, it performs better to stop the bus-invert encoding and resume the normal function of ECC encoding.
  • the condition checker 315 collects information relating to ECC errors, and calculating the current frequency of occurrence of ECC errors according to the collected information.
  • the condition checker 315 may also collect environmental condition data (for example, temperature in the enclosure) measured by relevant sensors, and determine corresponding frequency of occurrence of ECC errors according to a relation curve between the previously measured frequency of occurrence of ECC errors and the environmental conditions.
  • the condition checker 315 Regularly or in response to the updating of the frequency of occurrence, the condition checker 315 compare the obtained frequency of occurrence of ECC errors with a predetermined threshold. If the frequency of occurrence of ECC errors is greater than the predetermined threshold, the mode control signal ENAB is set to indicate a normal mode; otherwise, the mode control signal ENAB is set to indicate a low power mode.
  • the output selector 316 is controlled by the mode control signal ENAB, and may be a switch or a multiplexer, for example.
  • the mode control signal ENAB indicates the low power mode
  • the output selector 316 outputs the encoded data from the bus-invert encoder 312 .
  • the mode control signal ENAB indicates the normal mode
  • the output selector 316 outputs the data from the data buffer 311 .
  • the output selector 316 may also be implemented h the bus-invert encoder 312 .
  • the virtual bit-group selector 317 is similar to the output selector 316 .
  • the virtual bit-group selector 317 selects the virtual bit-group from the virtual bit-group generator 314 as the input to the ECC encoder 313 .
  • the virtual bit-group selector 317 selects a J-bit bit-group having a fixed value (fixed virtual bit-group CONST) as the input to the ECC encoder 313 , so that the virtual word in the ECC encoder 313 includes the data without bus-invert encoding, the J-bit bit-group and possible padding bits.
  • the virtual bit-group selector 317 may also be implemented in the ECC encoder 313 .
  • the output selector 335 is similar to the output selector 316 .
  • the output selector 335 When the mode control signal ENAB indicates the low power mode, the output selector 335 outputs the decoded data from the bus-invert decoder 331 .
  • the output selector 335 When the mode control signal ENAB indicates the normal mode, the output selector 335 outputs the decoded data from the ECC decoder 332 .
  • the output selector 335 may also be implemented in the bus-invert decoder 331 or in the ECC decoder 332 .
  • the bit-group selector 334 is similar to the output selector 316 .
  • the bit-group selector 334 selects the reference virtual bit-group REF as the input to the ECC decoder 332 .
  • the bit-group selector 334 selects a J-bit bit-group having a fixed value (fixed virtual bit-group CONST) as the input to the ECC decoder 332 , so that the virtual word in the ECC decoder 332 includes the data received from the bus, the J-bit bit-group and possible padding bits.
  • the bit-group selector 334 may also be implemented in the ECC decoder 332 .
  • bit-group selector 334 may be omitted when the reference virtual bit-group REF is identical to the fixed virtual bit-group CONST
  • the data bus encoder and the data bus decoder of the present invention are applicable to any functional unit performing I/O through the data bus. Further, these functional units may be positioned on the same chip, or on different chips. The data bus encoder and the data bus decoder may be within respective functional units, or may be separated there from.
  • the data bus encoder and the data bus decoder of the present invention may be merged in the same functional unit to achieve two-way I/O.
  • data bus encoder and its components may be implemented through hardware (for example, logic circuit, programmable logic and etc.), software (for example, program running on a processing unit) or a combination of hardware and software.
  • the data bus encoder and the data bus decoder of the present invention are not limited to the described specific configurations. In fact, respective components may be combined arbitrarily as required in the data bus encoder and the data bus decoder of the present invention.
  • the condition checker is described within the processor in the above examples, the condition checker may be positioned at any location in the bus system, where the error report can be obtained.
  • the condition checker may be implemented in the memory controller or as an independent unit, obtain the error report through flag bit, interruption, signal line and etc., and provide the mode control signal to the data bus encoder and the data bus decoder. Further, the condition checker may switch the mode control signal in response to external control from switch, key, operation system, application and so on.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present application relates to a data bus system, its encoder/decoder and encoding/decoding method. The data bus encoder comprises: a bus-invert encoder for generating encoded data and invert-indication information by performing bus-invert encoding on data according to a predetermined bus-invert encoding scheme; a virtual bit-group generator for converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and an error-checking-and-correction encoder for generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-checking bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, the mapping is such that the Hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme, and the virtual word includes the data to be output, the virtual bit-group corresponding to the data, and at least one padding bit of a fixed value, which is configured as required by the error-checking-and-correction encoding scheme.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • The present application incorporates herein by reference Chinese Application Serial Number IP0711509, filed Jan. 24, 2008 entitled “AN ECC-AND-ONE-HOT-BASED BUS ENCODING METHOD TO LOWER DYNAMIC IO POWER,” in its entirety.
  • FIELD OF THE INVENTION
  • The present invention relates to computer data bus, especially to a data bus system based on bus-invert encoding, as well as an encoder, decoder, encoding method and decoding method for the same.
  • BACKGROUND OF THE INVENTION
  • With the rapid development of computer technology, especially the increasing spread-out of portable calculating applications, more attention is paid on designing of low power, large scale integrated circuits (VLSI).
  • A bus-invert encoding technique for reducing data bus power consuming is disclosed in Mircea R. Stan and Wayne R Burleson, “Bus-invert Coding for Low-Power I/O”, IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, VOL. 3, NO. I, March, 1995.
  • FIG. 1 schematically shows the architecture of a data bus system having the data bus encoder and decoder based on this bus-invert technique. As shown in FIG. 1, a processor 10 accesses a memory 40 via a data bus 20 and a memory controller 30. In the processor 10, when the processor 10 writes data to the memory 40, a bus-invert encoder 12 generates bus-invert encoded data and corresponding bus-invert indication bits (INV_IND) according to the data in a data buffer 11, and transmits the bus-invert encoded data and the bus-invert indication bits to a bus-invert decoder 31 in the memory controller 30 via the data bus 20. The bus-invert decoder 31 performs decoding on the received bus-invert encoded data according to the bus-invert indication bits, and writes the decoded data in the memory 40. Because this technique works better for buses having fewer bits, a further improvement is proposed to divide a bus having more bits into bit-groups having fewer bits to perform bus-invert encoding on the bit-group respectively. However, this solution has to provide a bus-invert indication bit for each of the bit-groups, and thus the bus-invert indication bits form invert-indication information. Additional lines are required to transmit the invert-indication information.
  • In view of the above insufficiency of the prior art, the inventors propose improvements on the data bus based on bus-invert encoding.
  • SUMMARY OF THE INVENTION
  • An object of the present invention is to provide a data bus system based on bus-invert encoding, and an encoder, decoder, encoding method and decoding method thereof, to reduce the cost for transmitting the invert-indication information.
  • An embodiment of the present invention provides a data bus encoder, including: a bus-invert encoder, configured for generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme; a virtual bit-group generator, configured for converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and an error-checking-and-correction (ECC) encoder for generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the mapping is such that the Hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme, and wherein the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values.
  • In a preferable embodiment, the data bus encoder may further include: an output selector configured for controlling the data bus encoder to output the data to be encoded when a mode control signal indicates a normal mode, and to output the encoded data when the mode control signal indicates a low power mode; and a virtual bit-group selector configured for performing control, so that the virtual word includes the data to be encoded and a fixed virtual bit-group when the mode control signal indicates the normal mode, and the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data when the mode control signal indicates the low power mode.
  • An embodiment of the present invention provides a data bus decoder, including: an error-checking-and-correction decoder configured for performing checkout on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values; an invert-indication information generator configured for converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that the Hamming distance between any possible value of the converted bit-group and the reference virtual bit-group is a fixed value, and not greater than the number of error-correction bits of the predetermined error-checking-and-correction encoding scheme; and a bus-invert decoder configured for performing bus-invert decoding on respective data to be decoded according to the invert-indication information.
  • In a preferable embodiment, the data bus decoder may further include: an output selector configured for controlling the data bus decoder to output data corresponding to the input data in the virtual word checked by the error-checking-and-correction decoder when a mode control signal indicates a normal mode, and controlling the data bus encoder to output data generated through decoding of the bus-invert decoder when the mode control signal indicates a low power mode; and a bit-group selector configured for performing control, so that the virtual word includes the input data and the reference virtual bit-group when the mode control signal indicates the low power mode, and the virtual word includes the input data and the fixed virtual bit-group when the mode control signal indicates the normal mode, wherein the reference virtual bit-group is different from the fixed virtual bit-group. When the reference virtual bit-group is identical to the fixed virtual bit-group, the data bus decoder may contain no bit-group selector.
  • An embodiment of the present invention provides a data bus encoding method, including: generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme; converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the mapping is such that the hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme, and wherein the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values.
  • An embodiment of the present invention provides a data bus decoding method, including: performing checking on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values; converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that the Hamming distance between any possible value of the converted bit-group and the reference virtual bit-group is a fixed value, and not greater than the number of error-correction bits of the predetermined error-checking-and-correction encoding scheme; and performing bus-invert decoding on respective data to be decoded according to the invert-indication information.
  • An embodiment of the present invention provides a data bus system, including: a bus transmitting device including the above data bus encoder; a bus receiving device including the above data bus decoder; and a data bus for connecting the bus transmitting device with the bus receiving device.
  • According to the embodiments of the present invention, it is possible to omit lines dedicated for delivering invert-indication information without influencing the reliability of data bus transmission, because the invert-indication information is transmitted through an ECC checking mechanism without losing the basic function of the ECC checking mechanism.
  • According to the preferable embodiments of the present invention, it is possible to achieve an enhanced applicability because the ECC checking mechanism is used to deliver the invert-indication information in case of low transmission error rate and the normal function of the ECC checking mechanism is resumed in case of high transmission error rate.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The above and/or other aspects, features and/or advantages of the present invention will be easily appreciated in view of the following description by referring to the accompanying figures, wherein:
  • FIG. 1 schematically shows the architecture of a data bus system having the data bus encoder and decoder based on this bus-invert technique;
  • FIG. 2 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to an embodiment of the present invention;
  • FIG. 3 shows a flow chart of an encoding method in the data bus encoder;
  • FIG. 4 shows a flow chart of a decoding method in the data bus decoder;
  • FIG. 5 is a data view for schematically showing the data processed by the encoding/decoding method according to the embodiment of the present invention; and
  • FIG. 6 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to a preferable embodiment of the present invention.
  • The embodiments of the present invention are below described by referring to the drawings. It is to be noted that, for purpose of clarity, representations and descriptions about those components and processes known by those skilled in the art but unrelated to the present invention are omitted in the drawings and the description.
  • FIG. 2 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to an embodiment of the present invention. As shown in FIG. 2, a processor 210 accesses a memory 240 via a data bus 220 and a memory controller 230. In addition to other components, the processor 210 includes a data buffer 211 and a data bus encoder 218. In addition to other components, the memory controller 230 includes a data bus decoder 238.
  • The data bus encoder 218 includes a bus-invert encoder 212, a virtual bit-group generator 214 and an error-checking-and-correction (ECC) encoder 213.
  • Specific details about the ECC encoding technique may be found in the following references. For example, a single-bit error-correction, double-bit error-detection (SECDED) solution as well as an ECC encoder and decoder in the memory are described in M. Y. Hsiao, “A class of optimal minimum odd-weight-column sec-ded codes”, IBM J. Res Develop, 14 (4), July, 1970, and U.S. Pat. No. 4,334,309. The ECC encoding scheme may also include single-bit error-correction, three-bit error-detection (SEC-TED), double-bit error-correction, three-bit error-detection (DEC-TED), three-bit error-correction, four-bit error-detection (TEC-QED) and so on. For example, a technique for providing fault tolerance capability to the data bus by using the ECC code is described in U.S. Pat. No. 5,630,056. The ECC encoding scheme may employ Hamming code or optimal odd-weight code, but is not limited to these codes.
  • The number of bits of the data bus 220 (i.e., the number of bits of the data to be subjected to bus-invert encoding) may be M, and the data may be divided into N bit-groups. Then, with respect to data to be sent coming from the data buffer 211, the bus-invert encoder 212 performs bus-invert encoding on N bit-groups of the data respectively to generate encoded data and respective N-bit invert-indication information (INV_IND), each of bits of which indicates the bus-invert state of respective of the bit-groups. Therefore, the invert-indication information may take one of 2N values of 0˜2N−1.
  • It is to be noted that the source of the data to be sent is not limited to the data buffer 211. The source may be other portions accessible to the bus-invert encoder 212
  • The virtual bit-group generator 214 converts the invert-indication information into a virtual bit-group (VG) according to a predetermined code mapping.
  • The ECC encoder 213 calculates an ECC code for the virtual word according to an ECC encoding scheme. The virtual word may be of L bits, the number of error-correction bits is H (H≧1), and the number of error-checking bits is I (I>H), under the ECC encoding scheme. The number of bits of the virtual bit-group may be J, where M+J≦L. If M+J=L, the virtual word includes M-bit data and a J-bit virtual bit-group. If M+J<L, it is possible to make up L bits by using padding bits, i.e., the virtual word includes the M-bit data, the J-bit virtual bit-group and one or more padding bits. Each padding bit may take a predetermined value, as long as it takes the same value at both encoding side and decoding side.
  • The value domain of the virtual bit-group may include 2N J-bit bit-strings different from each other. The predetermined code mapping used by the virtual bit-group generator 214 includes one-to-one correspondences between these 2N J-bit bit-strings and 2N possible values of the invert-indication information. The reference virtual bit-group REF may be a J-bit bit-string taking a value outside of the above value domain, the number of different bits (i.e., Hamming distance) between the reference virtual bit-group REF and each of the 2N J-bit bit-strings is constant, and K≦H. As described below, when K=H, the error-correction capability of the ECC encoding scheme is used for transferring the invert-indication information, with the basic error-detection capability (I-H bits) being maintained; When K<H, a portion of error-correction capability of the ECC encoding scheme is used for transferring the invert-indication information, and the remained error-correction capability is used for error-correction of data, with a certain error-detection capability (I-H bits) being maintained.
  • FIG. 3 shows a flow chart of an encoding method 100 in the data bus encoder 218. As shown in FIG. 3, the method 100 starts from step S10. At step S12, the bus-invert encoder 212 obtains the data to be sent, from the data buffer 211. At step S14, the bus-invert encoder 212 generates bus-invert encoded data and corresponding invert-indication information for the data to be sent. At step S16, the virtual bit-group generator 214 converts the invert-indication information into a virtual bit-group according to a predetermined code mapping. At step S18, a virtual word is formed in the ECC encoder 213. The virtual word includes the bus-invert encoded data from the bus-invert encoder 212, the virtual bit-group from the virtual bit-group generator 214, and padding bits (not shown) having fixed values configured if required. It is to be noted that if M+J equals to L, no padding bit is needed in the virtual word; If M+J is less than L, (L−M−J) padding bits are needed in the virtual word. The padding bits may be stored within or outside of the ECC encoder 213. At step S20, the ECC encoder 213 generates an ECC code for the virtual word according to the predetermined ECC encoding scheme. The method 100 ends at step S22.
  • The data encoded by the data bus encoder 218 is transmitted to the data bus decoder 238 through the data bus 220. The ECC code generated by the ECC encoder 213 is also transmitted to the data bus decoder 238.
  • The data bus decoder 238 includes a bus-invert decoder 231, an ECC decoder 232 and an invert-indication information generator 233.
  • In the ECC decoder 232, a virtual word of L bits is formed with the M-bit encoded data from the bus-invert encoder 212, the J-bit reference virtual bit-group REF, and one or more possible padding bits having the same values with those described in connection with the ECC encoder 213 heretofore. It is to be noted that if M+J equals to L, no padding bit is needed in the virtual word; If M+J is less than L, (L−M−J) padding bits are needed in the virtual word. The ECC decoder 232 performs checking according to the virtual word and the received ECC code. The bit distribution of the encoded data, the reference virtual bit-group REF and the padding bits in the virtual word at the decoding side is identical to that of the M-bit data, the J-bit virtual bit-group and one or more padding bits in the virtual word at the ECC encoder 213. The bit distribution may be based on the sequence cited in the above, or may be based on other sequence such as bit interleaving or changing bit order. Because there is definitely K but only K bits having different values between the virtual bit-group and the reference virtual bit-group REF, K bit errors are caused intentionally. In case that the number of bit errors as checked is less than H, the ECC decoder 232 is at least able to correct these K bit errors to recover the value of the virtual bit-group. The reference virtual bit-group REF and the padding bits may be stored within or outside of the ECC decoder 232.
  • As noted earlier, when K=H, the error-correction capability of the ECC encoding scheme is used for transferring the invert-indication information, with the basic error-detection capability (I-H bits) being maintained. In this case, the input to the bus-invert decoder may be data directly from the data bus (as shown in FIG. 2), or may be checked data from the ECC decoder (not shown). When K<H, a portion of error-correction capability of the ECC encoding scheme is used for transferring the invert-indication information, and the remained error-correction capability is used for error-correction of data, with a certain error-detection capability (I-H bits) being maintained. In this case, the input to the bus-invert decoder should be checked data from the ECC decoder (not shown). These two cases are applicable to the embodiments of FIGS. 2 and 6.
  • The invert-indication information generator 233 converts the recovered virtual bit-group into invert-indication information according to the predetermined decode mapping, i.e., an inverse mapping of the predetermined decode mapping.
  • The bus-invert encoder 231 performs bus-invert decoding on the received bus-invert encoded data according to the invert-indication information from the invert-indication information generator 233. The decoded data is stored in the memory 240. It is to be noted that, with respect to the ECC mechanism for memory, it is possible to consider the decoded data as the data directly coming from the data bus, and thus the data bus decoder can be easily combined with the ECC mechanism for memory.
  • If K<H, i.e., a portion of error-correction capability of the ECC encoding scheme is used for error-correction of data, then in an embodiment, the data to be decoded by the bus-invert decoder is the data checked by the ECC decoder.
  • FIG. 4 shows a flow chart of a decoding method 200 in the data bus decoder 238. As shown in FIG. 4, the method 200 starts from step S30. At step S32, a virtual word is formed in the ECC decoder 232. At step S34, the ECC decoder 232 performs checking according to the formed virtual word and the received ECC code, to recover the virtual bit-group. At step S36, the invert-indication information generator 233 converts the recovered virtual bit-group into invert-indication information according to the predetermined decode mapping. At step S38, the bus-invert encoder 231 performs bus-invert decoding on the received bus-invert encoded data according to the invert-indication information. At step S40, the method 200 ends.
  • FIG. 5 is a data view for schematically showing the data processed by the encoding/decoding method according to the embodiment of the present invention. In the case as shown in FIG. 5, the data is of 64 bits (M=64), and is divided into 6 bit-groups (N=6, 16 bits/16 bits/8 bits/8 bits/8 bits/8 bits). The virtual bit-group is based on 64-bit ONE-HOT code (J=64, K=1). The ECC encoding scheme is 9-bit SECDED ECC code (L=128, H=1, I=2). ONE-HOT code is a code where the number of bits is equal to the number of states which can be represented, and each code value has one and only one bit of 1. The reference virtual bit-group REF is a 64-bit bit-string of all 0.
  • The method 100 is performed in the case as shown in FIG. 5. To facilitate representation, “0x” represents hex number and “0b” represents binary number in the following. After performing step S12, the obtained data to be sent is 0x0000000000000000, i.e., G0=0x0000, G1=0x0000, G2=0x00□G3=0x00□G4=0x00□G5=0x00 (as shown in line L1 in FIG. 5). Assuming the previously transmitted data is 0x00000000000000ff, after bus-invert encoding of step S14 (as shown in S14 in FIG. 5), the obtained bus-invert encoded data is 0x00000000000000ff, i.e., G0′=0x0000□G1′=0x0000□G2′=0x00□G3′=0x00□G4′=0x00□G5′=0xFF□the invert-indication information is 0b000001, and the ONE-HOT code “one-hot” obtained after the conversion of step S16 is 0x0000000000000002 (as shown in line L2 in FIG. 5). At step S20, the bus-invert encoded data 0x00000000000000ff and “one-hot”=0x0000000000000002 form the virtual word, and the virtual word is subjected to the ECC encoding to obtain the ECC code (as shown in line L2 in FIG. 5).
  • Referring to FIG. 5, the method 200 is performed. The virtual word before decoding includes encoded data 0x00000000000000ff, i.e., G0′=0x0000□G1′=0x0000□G2′=0x00□G3═=0x00G4′=0x00□G5′=0xFF, and reference virtual bit-group REF 0x0000000000000000 (as shown in line L3 in FIG. 5). The virtual word is checked according to the ECC code (as shown in S34 in FIG. 5). The checked virtual word includes encoded data 0x00000000000000ff and a ONE-HOT code “one-hot”=0x0000000000000002. The invert-indication information 0b000001 is obtained through the ONE-HOT decoding at step S36. The bus-invert encoded data 0x00000000000000ff is decoded into 0x0000000000000000 according to the invert-indication information 0b000001 (as shown in line L4 in FIG. 5).
  • FIG. 6 schematically shows a block diagram of the structure of a data bus encoder and a data bus decoder according to a preferable embodiment of the present invention. As shown in FIG. 6, a processor 310 accesses a memory 340 via a data bus 320 and a memory controller 330. In addition to other components, the processor 310 includes a data buffer 311, a data bus encoder 318 and a condition checker 315. In addition to other components, the memory controller 330 includes a data bus decoder 338. The data bus encoder 318 includes a bus-invert encoder 312, a virtual bit-group generator 314, an ECC encoder 313, an output selector 316 and a virtual bit-group selector 317. The data bus decoder 338 includes a bus-invert decoder 331, an ECC decoder 332, an invert-indication information generator 333, a bit-group selector 334 and an output selector 335.
  • The bus-invert encoder 312, virtual bit-group generator 314, ECC encoder 313, bus-invert decoder 331, ECC decoder 332 and invert-indication information generator 333 are similar to the bus-invert encoder 212, virtual bit-group generator 214, ECC encoder 213, bus-invert decoder 231, ECC decoder 232, and invert-indication information generator 233, and thus will not be described in detail.
  • As known in the art, when the ECC decoder at the receiving party detects an uncorrectable error through checking (for example, the number of bit errors is equal to the number of error-checking bits), it will report an ECC error. The reporting may be implemented through flag bit, interruption, signal line and so on. The transmitting party generally retransmits the data and the ECC code in response to be informed of the ECC error.
  • In the embodiment as shown in FIG. 2, if some factors such as environmental conditions cause an increased frequency of occurrence of random errors in data bus transmission, the data retransmission will occur more frequently. When the frequency of occurrence increases to a certain degree, the retransmission overhead may counteract the gain of reduced power brought by the bus-invert encoding, and even cause an increased power consuming. In this case, it performs better to stop the bus-invert encoding and resume the normal function of ECC encoding.
  • In the embodiment as shown in FIG. 6, the condition checker 315 collects information relating to ECC errors, and calculating the current frequency of occurrence of ECC errors according to the collected information. Alternatively, the condition checker 315 may also collect environmental condition data (for example, temperature in the enclosure) measured by relevant sensors, and determine corresponding frequency of occurrence of ECC errors according to a relation curve between the previously measured frequency of occurrence of ECC errors and the environmental conditions.
  • Regularly or in response to the updating of the frequency of occurrence, the condition checker 315 compare the obtained frequency of occurrence of ECC errors with a predetermined threshold. If the frequency of occurrence of ECC errors is greater than the predetermined threshold, the mode control signal ENAB is set to indicate a normal mode; otherwise, the mode control signal ENAB is set to indicate a low power mode.
  • The output selector 316 is controlled by the mode control signal ENAB, and may be a switch or a multiplexer, for example. When the mode control signal ENAB indicates the low power mode, the output selector 316 outputs the encoded data from the bus-invert encoder 312. When the mode control signal ENAB indicates the normal mode, the output selector 316 outputs the data from the data buffer 311. The output selector 316 may also be implemented h the bus-invert encoder 312.
  • The virtual bit-group selector 317 is similar to the output selector 316. When the mode control signal ENAB indicates the low power mode, the virtual bit-group selector 317 selects the virtual bit-group from the virtual bit-group generator 314 as the input to the ECC encoder 313. When the mode control signal ENAB indicates the normal mode, the virtual bit-group selector 317 selects a J-bit bit-group having a fixed value (fixed virtual bit-group CONST) as the input to the ECC encoder 313, so that the virtual word in the ECC encoder 313 includes the data without bus-invert encoding, the J-bit bit-group and possible padding bits. The virtual bit-group selector 317 may also be implemented in the ECC encoder 313.
  • The output selector 335 is similar to the output selector 316. When the mode control signal ENAB indicates the low power mode, the output selector 335 outputs the decoded data from the bus-invert decoder 331. When the mode control signal ENAB indicates the normal mode, the output selector 335 outputs the decoded data from the ECC decoder 332. The output selector 335 may also be implemented in the bus-invert decoder 331 or in the ECC decoder 332.
  • The bit-group selector 334 is similar to the output selector 316. When the mode control signal ENAB indicates the low power mode, the bit-group selector 334 selects the reference virtual bit-group REF as the input to the ECC decoder 332. When the mode control signal ENAB indicates the normal mode, the bit-group selector 334 selects a J-bit bit-group having a fixed value (fixed virtual bit-group CONST) as the input to the ECC decoder 332, so that the virtual word in the ECC decoder 332 includes the data received from the bus, the J-bit bit-group and possible padding bits. The bit-group selector 334 may also be implemented in the ECC decoder 332.
  • It is to be noted that the bit-group selector 334 may be omitted when the reference virtual bit-group REF is identical to the fixed virtual bit-group CONST
  • Under most operating conditions, the error rate in the data bus transmission is very low. Therefore, one-bit error-detection capability is usually sufficient to meet the basic requirement from the reliability of data bus transmission, with the redundant error-correction and error-detection capability being wasted. The embodiment of FIG. 6 can avoid this waste.
  • Although the data bus I/O between the processor and the memory is taken as an example to describe the embodiments of the present invention in the above, the data bus encoder and the data bus decoder of the present invention are applicable to any functional unit performing I/O through the data bus. Further, these functional units may be positioned on the same chip, or on different chips. The data bus encoder and the data bus decoder may be within respective functional units, or may be separated there from.
  • Although the embodiments of the present invention are described for one-way I/O in the above, the data bus encoder and the data bus decoder of the present invention may be merged in the same functional unit to achieve two-way I/O.
  • Further, the data bus encoder and its components, the data bus decoder and its components, and the condition checker of the present invention may be implemented through hardware (for example, logic circuit, programmable logic and etc.), software (for example, program running on a processing unit) or a combination of hardware and software.
  • Therefore, although the embodiments of the present invention are described in the above by referring to examples of specific configurations, the data bus encoder and the data bus decoder of the present invention are not limited to the described specific configurations. In fact, respective components may be combined arbitrarily as required in the data bus encoder and the data bus decoder of the present invention. Similarly, although the condition checker is described within the processor in the above examples, the condition checker may be positioned at any location in the bus system, where the error report can be obtained. For example, the condition checker may be implemented in the memory controller or as an independent unit, obtain the error report through flag bit, interruption, signal line and etc., and provide the mode control signal to the data bus encoder and the data bus decoder. Further, the condition checker may switch the mode control signal in response to external control from switch, key, operation system, application and so on.
  • The present invention is described in the above by referring to specific embodiments. One skilled in the art should understand that various modifications and changes can be made without departing from the scope as set forth in the following claims.

Claims (23)

1. A data bus encoder, comprising:
a bus-invert encoder, configured for generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme;
a virtual bit-group generator, configured for converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and
an error-checking-and-correction encoder for generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme,
wherein the mapping is such that the hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme, and
wherein the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values.
2. The data bus encoder of claim 1, further comprising:
an output selector configured for controlling the data bus encoder to output the data to be encoded when a mode control signal indicates a normal mode, and to output the encoded data when the mode control signal indicates a low power mode; and
a virtual bit-group selector configured for performing control, so that the virtual word includes the data to be encoded and a fixed virtual bit-group when the mode control signal indicates the normal mode, and the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data when the mode control signal indicates the low power mode.
3. The data bus encoder of claim 1, wherein the predetermined error-checking-and-correction encoding scheme has at least a capability of one-bit error-correction and two-bit error-detection.
4. The data bus encoder of claim 1, wherein the code applied in the predetermined error-checking-and-correction encoding scheme is selected from a group comprising Hamming code and optimal odd-weight-column code.
5. The data bus encoder of claim 1, wherein the predetermined code mapping comprises one-hot code.
6. The data bus encoder of claim 1, wherein the predetermined error-checking-and-correction encoding scheme is an optimal odd-weight-column code of one-bit error-correction and two-bit error-detection, the predetermined code mapping is a 64-bit one-hot code, the data to be encoded has 64 bits, and the data to be encoded is divided into 6 bit-groups for respective bus-invert encoding according to the predetermined bus-invert encoding scheme.
7. The data bus encoder of claim 2, further comprising: a bus state checker for calculating a frequency of occurrence of uncorrectable error-checking-and-correction errors in data transmission on the data bus, and determining the mode control signal according to the frequency of occurrence.
8. The data bus encoder of claim 7, wherein the bus state checker is configured for determining the frequency of occurrence according to environmental condition of the data bus.
9. A data bus decoder, comprising:
an error-checking-and-correction decoder configured for performing checking on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values;
an invert-indication information generator configured for converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that the Hamming distance between any possible value of the converted bit-group and the reference virtual bit-group is a fixed value, and not greater than the number of error-correction bits of the predetermined error-checking-and-correction encoding scheme; and
a bus-invert decoder configured for performing bus-invert decoding on respective data to be decoded according to the invert-indication information.
10. The data bus decoder of claim 9, further comprising:
an output selector configured for controlling the data bus decoder to output data corresponding to the input data in the virtual word checked by the error-checking-and-correction decoder when a mode control signal indicates a normal mode, and controlling the data bus decoder to output data generated through decoding of the bus-invert decoder when the mode control signal indicates a low power mode; and
a bit-group selector configured for performing control, so that the virtual word includes the input data and the reference virtual bit-group when the mode control signal indicates the low power mode, and the virtual word includes the input data and the fixed virtual bit-group when the mode control signal indicates the normal mode, wherein the reference virtual bit-group is different from the fixed virtual bit-group.
11. The data bus decoder of claim 9, further comprising:
an output selector configured for controlling the data bus decoder to output data corresponding to the input data in the virtual word checked by the error-checking-and-correction decoder when a mode control signal indicates a normal mode, and controlling the data bus decoder to output data generated through decoding of the bus-invert decoder when the mode control signal indicates a low power mode, wherein the reference virtual bit-group is identical to the fixed virtual bit-group.
12. The data bus decoder of claim 9, wherein the predetermined error-checking-and-correction encoding scheme has at least a capability of one-bit error-correction and two-bit error-detection.
13. The data bus decoder of claim 9, wherein the code applied in the predetermined error-checking-and-correction encoding scheme is selected from a group comprising Hamming code and optimal odd-weight-column code.
14. The data bus decoder of claim 9, wherein the predetermined decode mapping comprises one-hot code.
15. The data bus decoder of claim 9, wherein the predetermined error-checking-and-correction encoding scheme is an optimal odd-weight-column code of one-bit error-correction and two-bit error-detection, the predetermined decode mapping is a 64-bit one-hot code, the data to be decoded has 64 bits, and the data to be decoded is divided into 6 bit-groups for respective bus-invert decoding according to the predetermined bus-invert encoding scheme.
16. The data bus decoder of claim 10, further comprising: a bus state checker for calculating a frequency of occurrence of uncorrectable error-checking-and-correction errors in data transmission on the data bus, and determining the mode control signal according to the frequency of occurrence.
17. The data bus decoder of claim 16, wherein the bus state checker is configured for determining the frequency of occurrence according to environmental condition of the data bus.
18. The data bus decoder of claim 9, wherein the data to be decoded is the input data, and the Hamming distance is equal to the number of error-correction bits of the predetermined error-checking-and-correction encoding scheme.
19. A data bus encoding method, comprising:
generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme;
converting the invert-indication information into a virtual bit-group according to a predetermined code mapping;
generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme,
wherein the mapping is such that the hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme; and
wherein the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values.
20. A data bus decoding method, comprising:
performing checking on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values;
converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that the hamming distance between any possible value of the converted bit-group and the reference virtual bit-group is a fixed value, and not greater than the number of error-correction bits of the predetermined error-checking-and-correction encoding scheme; and
performing bus-invert decoding on respective data to be decoded according to the invert-indication information.
21. A data bus system, comprising:
a bus transmitting device including:
a bus-invert encoder, configured for generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme;
a virtual bit-group generator, configured for converting the invert-indication information into a virtual bit-group according to a predetermined code mapping;
an error-checking-and-correction encoder for generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme;
wherein the mapping is such that the hamming distance between any possible value of the virtual bit-group and a reference virtual bit-group which cannot be converted into under the mapping is a fixed value, and not greater than the number of error-correction bits of the error-checking-and-correction encoding scheme, and
wherein the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values;
a bus receiving device including:
an error-checking-and-correction decoder configured for performing checking on a virtual word according to a predetermined error-checking-and-correction encoding scheme and an error-checking-and-correction code corresponding to input data, wherein the number of error-check bits is more than the number of error-correction bits at least by one in the predetermined error-checking-and-correction encoding scheme, wherein the virtual word includes the input data and a reference virtual bit-group, and if there is one or more other bits which are not occupied in the virtual word, the one or more other bits take respective fixed values;
an invert-indication information generator configured for converting a bit-group in the checked virtual word corresponding to the reference virtual bit-group in location into invert-indication information according to a predetermined decode mapping, wherein the reference virtual bit-group cannot be converted into according to the predetermined code mapping, and wherein the predetermined decode mapping is such that the Hamming distance between any possible value of the converted bit-group and the reference virtual bit-group is a fixed value, and not greater than the number of error-correction bits of the predetermined error-checking-and-correction encoding scheme; and
a bus-invert decoder configured for performing bus-invert decoding on respective data to be decoded according to the invert-indication information; and
a data bus for connecting the bus transmitting device with the bus receiving device.
22. The data bus system of claim 21, wherein the data bus encoder further comprises:
an output selector configured for controlling the data bus encoder to output the data to be encoded when a mode control signal indicates a normal mode, and to output the encoded data when the mode control signal indicates a low power mode; and
a virtual bit-group selector configured for performing control, so that the virtual word includes the data to be encoded and a fixed virtual bit-group when the mode control signal indicates the normal mode, and the virtual word includes the encoded data and the virtual bit-group corresponding to the encoded data when the mode control signal indicates the low power mode, wherein the data bus decoder further comprises;
an output selector configured for controlling the data bus decoder to output data corresponding to the input data in the virtual word checked by the error-checking-and-correction decoder when a mode control signal indicates a normal mode, and controlling the data bus decoder to output data generated through decoding of the bus-invert decoder when the mode control signal indicates a low power mode; and
a bit-group selector configured for performing control, so that the virtual word includes the input data and the reference virtual bit-group when the mode control signal indicates the low power mode, and the virtual word includes the input data and the fixed virtual bit-group when the mode control signal indicates the normal mode, wherein the reference virtual bit-group is different from the fixed virtual bit-group.
23. The data bus system of claim 22, further comprising: a bus state checker for calculating a frequency of occurrence of uncorrectable error-checking-and-correction errors in data transmission on the data bus, and determining the mode control signal according to the frequency of occurrence.
US12/363,128 2009-01-30 2009-01-30 Data bus system, its encoder/decoder and encoding/decoding method Active 2031-02-25 US8181101B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US12/363,128 US8181101B2 (en) 2009-01-30 2009-01-30 Data bus system, its encoder/decoder and encoding/decoding method
US13/446,565 US8418047B2 (en) 2009-01-30 2012-04-13 Data bus system, its encoder/decoder and encoding/decoding method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNIP0711509 2008-01-24
US12/363,128 US8181101B2 (en) 2009-01-30 2009-01-30 Data bus system, its encoder/decoder and encoding/decoding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/446,565 Continuation US8418047B2 (en) 2009-01-30 2012-04-13 Data bus system, its encoder/decoder and encoding/decoding method

Publications (2)

Publication Number Publication Date
US20090193319A1 true US20090193319A1 (en) 2009-07-30
US8181101B2 US8181101B2 (en) 2012-05-15

Family

ID=40900460

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/363,128 Active 2031-02-25 US8181101B2 (en) 2009-01-30 2009-01-30 Data bus system, its encoder/decoder and encoding/decoding method
US13/446,565 Expired - Fee Related US8418047B2 (en) 2009-01-30 2012-04-13 Data bus system, its encoder/decoder and encoding/decoding method

Family Applications After (1)

Application Number Title Priority Date Filing Date
US13/446,565 Expired - Fee Related US8418047B2 (en) 2009-01-30 2012-04-13 Data bus system, its encoder/decoder and encoding/decoding method

Country Status (1)

Country Link
US (2) US8181101B2 (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100199017A1 (en) * 2009-02-05 2010-08-05 Micron Technology, Inc. Data Encoding Using Spare Channels in a Memory System
WO2011090523A1 (en) * 2010-01-20 2011-07-28 Rambus Inc. Multiple word data bus inversion
US20110225475A1 (en) * 2010-03-12 2011-09-15 Texas Instruments Incorporated Low overhead and timing improved architecture for performing error checking and correction for memories and buses in system-on-chips, and other circuits, systems and processes
CN102279819A (en) * 2011-07-28 2011-12-14 张岭 Method for improving storage efficiency of solid data storage system for bulk data
US20120131418A1 (en) * 2009-09-09 2012-05-24 Kabushiki Kaisha Toshiba Memory device
WO2013078453A1 (en) * 2011-11-23 2013-05-30 Sandisk Technologies Inc. Bit stream aliasing in memory system with probabilistic decoding
WO2014150529A1 (en) * 2013-03-15 2014-09-25 Qualcomm Incorporated Data bus inversion (dbi) encoding based on the speed of operation
US8966291B2 (en) 2010-12-23 2015-02-24 Qualcomm Incorporated Method and apparatus for reducing dynamic power within system-on-a-chip routing resources
US20150067350A1 (en) * 2012-04-17 2015-03-05 Beckhoff Automation Gmbh Field-bus data transmission
US20180143922A1 (en) * 2016-11-21 2018-05-24 SK Hynix Inc. Data inversion circuit
WO2018140127A1 (en) * 2017-01-24 2018-08-02 Qualcomm Incorporated Bus encoding using on-chip memory
US20180329776A1 (en) * 2017-05-12 2018-11-15 Via Technologies, Inc. Non-volatile memory apparatus and reading method thereof
CN110737620A (en) * 2018-07-20 2020-01-31 辉达公司 Bus flip coding with limited hamming distance for multi-byte interfaces
US10599606B2 (en) 2018-03-29 2020-03-24 Nvidia Corp. 424 encoding schemes to reduce coupling and power noise on PAM-4 data buses
US10657094B2 (en) 2018-03-29 2020-05-19 Nvidia Corp. Relaxed 433 encoding to reduce coupling and power noise on PAM-4 data buses
US10985914B2 (en) * 2017-03-07 2021-04-20 Fujitsu Limited Key generation device and key generation method
EP3889791A1 (en) * 2020-03-30 2021-10-06 Imagination Technologies Limited Efficient encoding methods
EP3889792A1 (en) * 2020-03-30 2021-10-06 Imagination Technologies Limited Efficient encoding methods
US11159153B2 (en) 2018-03-29 2021-10-26 Nvidia Corp. Data bus inversion (DBI) on pulse amplitude modulation (PAM) and reducing coupling and power noise on PAM-4 I/O
EP3850488A4 (en) * 2018-09-10 2022-06-01 Micron Technology, Inc. Apparatuses and methods for error correction coding and data bus inversion for semiconductor memories
US11966348B2 (en) 2019-01-28 2024-04-23 Nvidia Corp. Reducing coupling and power noise on PAM-4 I/O interface
US12132590B2 (en) 2022-03-18 2024-10-29 Nvidia, Corp. Hardware-efficient PAM-3 encoder and decoder
US12135607B2 (en) 2022-03-18 2024-11-05 Nvidia Corp. Hardware-efficient PAM-3 encoder and decoder

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101712619B1 (en) * 2011-01-19 2017-03-06 삼성전자주식회사 Encoding and decoding methods for error correction code
US8661320B2 (en) * 2011-10-07 2014-02-25 Aeroflex Colorado Springs Inc. Independent orthogonal error correction and detection
US8938656B2 (en) * 2012-09-14 2015-01-20 Sandisk Technologies Inc. Data storage device with intermediate ECC stage

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010013838A1 (en) * 1999-12-30 2001-08-16 Shin Young-Soo Bus encoding/decoding apparatus and method
US6721918B2 (en) * 2000-12-29 2004-04-13 Intel Corporation Method and apparatus for encoding a bus to minimize simultaneous switching outputs effect
US20070229324A1 (en) * 2006-04-03 2007-10-04 Stmicroelectronics, S.R.L. Bus switch encoding for reducing crosstalk effects in buses

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010013838A1 (en) * 1999-12-30 2001-08-16 Shin Young-Soo Bus encoding/decoding apparatus and method
US6721918B2 (en) * 2000-12-29 2004-04-13 Intel Corporation Method and apparatus for encoding a bus to minimize simultaneous switching outputs effect
US20070229324A1 (en) * 2006-04-03 2007-10-04 Stmicroelectronics, S.R.L. Bus switch encoding for reducing crosstalk effects in buses

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10698776B2 (en) * 2009-02-05 2020-06-30 Micron Technology, Inc. Data encoding using spare channels
US20100199017A1 (en) * 2009-02-05 2010-08-05 Micron Technology, Inc. Data Encoding Using Spare Channels in a Memory System
US11494277B2 (en) 2009-02-05 2022-11-08 Micron Technology, Inc. Data encoding using spare channels in a memory system
US11829267B2 (en) 2009-02-05 2023-11-28 Lodestar Licensing Group, Llc Data encoding using spare channels in a memory system
US20180232289A1 (en) * 2009-02-05 2018-08-16 Micron Technology, Inc. Data encoding using spare channels
US9946612B2 (en) 2009-02-05 2018-04-17 Micron Technology, Inc. Data encoding using spare channels
US9087025B2 (en) * 2009-02-05 2015-07-21 Micron Technology, Inc. Data encoding using spare channels in a memory system
US9075742B2 (en) * 2009-09-09 2015-07-07 Kabushiki Kaisha Toshiba Memory device
US20120131418A1 (en) * 2009-09-09 2012-05-24 Kabushiki Kaisha Toshiba Memory device
EP2526492A4 (en) * 2010-01-20 2014-05-14 Rambus Int Ltd Multiple word data bus inversion
WO2011090523A1 (en) * 2010-01-20 2011-07-28 Rambus Inc. Multiple word data bus inversion
US8581755B2 (en) 2010-01-20 2013-11-12 Rambus Inc. Multiple word data bus inversion
EP2526492A1 (en) * 2010-01-20 2012-11-28 Rambus International Ltd. Multiple word data bus inversion
US8438344B2 (en) 2010-03-12 2013-05-07 Texas Instruments Incorporated Low overhead and timing improved architecture for performing error checking and correction for memories and buses in system-on-chips, and other circuits, systems and processes
US20110225475A1 (en) * 2010-03-12 2011-09-15 Texas Instruments Incorporated Low overhead and timing improved architecture for performing error checking and correction for memories and buses in system-on-chips, and other circuits, systems and processes
US8966291B2 (en) 2010-12-23 2015-02-24 Qualcomm Incorporated Method and apparatus for reducing dynamic power within system-on-a-chip routing resources
CN102279819A (en) * 2011-07-28 2011-12-14 张岭 Method for improving storage efficiency of solid data storage system for bulk data
US8788889B2 (en) 2011-11-23 2014-07-22 Sandisk Technologies Inc. Bit stream aliasing in memory system with probabilistic decoding
WO2013078453A1 (en) * 2011-11-23 2013-05-30 Sandisk Technologies Inc. Bit stream aliasing in memory system with probabilistic decoding
US20150067350A1 (en) * 2012-04-17 2015-03-05 Beckhoff Automation Gmbh Field-bus data transmission
US10438002B2 (en) * 2012-04-17 2019-10-08 Beckhoff Automation Gmbh Field-bus data transmission
US9798693B2 (en) 2013-03-15 2017-10-24 Qualcomm Incorporated Data bus inversion (DBI) encoding based on the speed of operation
US9529749B2 (en) 2013-03-15 2016-12-27 Qualcomm Incorporated Data bus inversion (DBI) encoding based on the speed of operation
WO2014150529A1 (en) * 2013-03-15 2014-09-25 Qualcomm Incorporated Data bus inversion (dbi) encoding based on the speed of operation
US20180143922A1 (en) * 2016-11-21 2018-05-24 SK Hynix Inc. Data inversion circuit
US10545888B2 (en) * 2016-11-21 2020-01-28 SK Hynix Inc. Data inversion circuit
WO2018140127A1 (en) * 2017-01-24 2018-08-02 Qualcomm Incorporated Bus encoding using on-chip memory
CN110178126A (en) * 2017-01-24 2019-08-27 高通股份有限公司 Bus code is carried out using on-chip memory
US10445288B2 (en) 2017-01-24 2019-10-15 Qualcomm Incorporated Bus encoding using on-chip memory
US10985914B2 (en) * 2017-03-07 2021-04-20 Fujitsu Limited Key generation device and key generation method
US10783032B2 (en) * 2017-05-12 2020-09-22 Via Technologies, Inc. Non-volatile memory apparatus and reading method thereof
US20180329776A1 (en) * 2017-05-12 2018-11-15 Via Technologies, Inc. Non-volatile memory apparatus and reading method thereof
US10599606B2 (en) 2018-03-29 2020-03-24 Nvidia Corp. 424 encoding schemes to reduce coupling and power noise on PAM-4 data buses
US10657094B2 (en) 2018-03-29 2020-05-19 Nvidia Corp. Relaxed 433 encoding to reduce coupling and power noise on PAM-4 data buses
US11159153B2 (en) 2018-03-29 2021-10-26 Nvidia Corp. Data bus inversion (DBI) on pulse amplitude modulation (PAM) and reducing coupling and power noise on PAM-4 I/O
CN110737620A (en) * 2018-07-20 2020-01-31 辉达公司 Bus flip coding with limited hamming distance for multi-byte interfaces
US10623200B2 (en) 2018-07-20 2020-04-14 Nvidia Corp. Bus-invert coding with restricted hamming distance for multi-byte interfaces
EP3850488A4 (en) * 2018-09-10 2022-06-01 Micron Technology, Inc. Apparatuses and methods for error correction coding and data bus inversion for semiconductor memories
US11966348B2 (en) 2019-01-28 2024-04-23 Nvidia Corp. Reducing coupling and power noise on PAM-4 I/O interface
EP3889791A1 (en) * 2020-03-30 2021-10-06 Imagination Technologies Limited Efficient encoding methods
US11368166B2 (en) 2020-03-30 2022-06-21 Imagination Technologies Limited Efficient encoding methods using bit inversion and padding bits
CN113541696A (en) * 2020-03-30 2021-10-22 想象技术有限公司 Efficient coding method
EP4273711A3 (en) * 2020-03-30 2023-12-27 Imagination Technologies Limited Efficient encoding methods
EP3889792A1 (en) * 2020-03-30 2021-10-06 Imagination Technologies Limited Efficient encoding methods
US12132590B2 (en) 2022-03-18 2024-10-29 Nvidia, Corp. Hardware-efficient PAM-3 encoder and decoder
US12135607B2 (en) 2022-03-18 2024-11-05 Nvidia Corp. Hardware-efficient PAM-3 encoder and decoder

Also Published As

Publication number Publication date
US8181101B2 (en) 2012-05-15
US20120204082A1 (en) 2012-08-09
US8418047B2 (en) 2013-04-09

Similar Documents

Publication Publication Date Title
US8181101B2 (en) Data bus system, its encoder/decoder and encoding/decoding method
US9037941B2 (en) Systems and methods for error checking and correcting for memory module
US8381083B2 (en) Error control coding for single error correction and double error detection
US6216247B1 (en) 32-bit mode for a 64-bit ECC capable memory subsystem
US8185800B2 (en) System for error control coding for memories of different types and associated methods
US8533572B2 (en) Error correcting code logic for processor caches that uses a common set of check bits
US5477551A (en) Apparatus and method for optimal error correcting code to parity conversion
US8181094B2 (en) System to improve error correction using variable latency and associated methods
US20150186213A1 (en) Data processing system having end-to-end error correction and method therefor
US10860419B2 (en) Minimal aliasing bit-error correction code
US5757823A (en) Error detection and correction for four-bit-per-chip memory system
CN101493804B (en) Data bus system, coder/decoder thereof and coding/decoding method
US9003269B2 (en) Memory controller and semiconductor storage device
KR101374430B1 (en) Data line storage and transmission utilizing both error correcting code and synchronization information
Yalcin et al. Exploiting a fast and simple ECC for scaling supply voltage in level-1 caches
US20040088497A1 (en) Methods and apparatus for exchanging data using cyclic redundancy check codes
US11183262B2 (en) Data verifying method, chip, and verifying apparatus
US9515682B2 (en) Device for correcting two errors with a code of hamming distance three or four
JP2732862B2 (en) Data transmission test equipment
CN106021012B (en) Data processing circuit
US6711712B2 (en) Method and apparatus for error detection/correction
Samanta et al. Compact and high-speed Hsiao-based SEC-DED codec for cache memory
US20230370092A1 (en) Error Correction With Fast Syndrome Calculation
Faraj ’Design Error Detection and Correction System based on Reed_Muller Matrix for Memory Protection’
KR101268363B1 (en) Embedded processor and system including the same

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEBRA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHEN, WEN BO;LIU, CHAO JUN;GE, YI;AND OTHERS;REEL/FRAME:022426/0182;SIGNING DATES FROM 20090316 TO 20090320

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEBRA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHEN, WEN BO;LIU, CHAO JUN;GE, YI;AND OTHERS;SIGNING DATES FROM 20090316 TO 20090320;REEL/FRAME:022426/0182

AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE ADDRESS ARMONK, NEBRASKA 10504 PREVIOUSLY RECORDED ON REEL 022426 FRAME 0182. ASSIGNOR(S) HEREBY CONFIRMS THE ARMONK, NEW YORK 10504;ASSIGNORS:SHEN, WEN BO;LIU, CHAO JUN;GE, YI;AND OTHERS;SIGNING DATES FROM 20090316 TO 20090320;REEL/FRAME:027850/0865

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12