Bus-flip encoding with restricted weight range for multi-level signaling
By utilizing the interaction of MSB and LSB and DBI bits in the parallel single-ended bus, the bus weight range is limited, the maximum di/dt of the multi-level signaling system is reduced, the parallel single-ended bus noise problem is solved, and a more efficient power supply is achieved Management and signaling system performance.
Patent Information
- Application Number
- CN201910387550.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-10-26
- Filing Date
- 2019-05-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-05-10
AI Technical Summary
The self-induced noise experienced by the parallel single-ended bus during output switching causes power supply fluctuations and signal interference, which reduces the timing margin and voltage margin of the circuit. It is difficult to effectively reduce the maximum di/dt with existing technology.
A new bus flip encoding method is adopted to limit the bus weight range by identifying the interaction between the most significant bit (MSB) and the least significant bit (LSB), combined with the data bus flip (DBI) bit, thereby reducing the entire multi-level signal. Let the maximum di/dt of the system.
It reduces the worst di/dt in the traditional method by 67%, improves equipment efficiency, especially shows greater practical value in PAM-4 signaling systems, and reduces power supply noise and average current consumption.
Smart Images

Figure CN110471879B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] Pursuant to 35 U.S.C. § 119(e), this application claims the benefit of U.S. Provisional Patent Application No. 62 / 669,581, filed on May 10, 2018, and entitled “Bus-Invert Coding with Restricted Weight Range for Multi-Level Signaling,” the entire contents of which are incorporated herein by reference. Background Art
[0003] Parallel single-ended buses are plagued by a large amount of self-induced noise. This noise comes from the simultaneous switching of outputs (SSO). This noise is also called SSO noise, which is synchronous switching noise (SSN). The noise can cause the power supply that the circuit is operating from to sag and / or overload, depending on the di / dt (current switching rate) and the impedance of the power delivery network (PDN). This modulation of the power supply voltage causes the circuit to speed up and slow down, which reduces the timing margin. The noise also couples to the signal and reference voltage being transmitted, thereby reducing the voltage margin.
[0004] To reduce the maximum di / dt of a group of wires, the weight of the group of wires or lines is monitored and then an additional signal is introduced that encodes the (logic) polarity of the group of lines. This is called "low weight" bus flip encoding. This form of bus flip encoding reduces the maximum di / dt of a group of lines by up to 50% and reduces its average current consumption by 18%. It is suitable for situations where each line in the group consumes no current at one output logic level (e.g. "0") and only consumes a limited DC current at another output logic level (e.g. "1"). An example of how the industry uses "low weight" encoding is in the Graphics Memory Interface (GDDR), where it is called DBI-DC encoding. Implementing DBI-DC requires adding additional bits (i.e., lines) to the line group. Summary of the invention
[0005] A technique is disclosed that reduces the maximum di / dt compared to conventional methods for multi-PAM single-ended signaling. Self-induced noise on power supplies of devices such as graphics processing units (GPUs), central processing units (CPUs), and dynamic random access memory (DRAM) can be reduced. Rather than independently encoding the most significant bit (MSB) and the least significant bit (LSB) of a PAM-4 single-ended parallel bus, the system identifies and exploits the interaction between the MSB and the LSB to further reduce the worst di / dt of the entire multi-level signaling system. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] To facilitate identification of the discussion of any particular element or action, the most significant digit(s) in the reference number refers to the figure number in which the element is first introduced.
[0007] Figure 1-3 An embodiment of a pseudo open-drain driver and a receiver 100 is illustrated;
[0008] Figure 4 An embodiment of bus values and weights 400 without low weight encoding is illustrated;
[0009] Figure 5 An embodiment of bus values and weights 500 with low weight encoding is illustrated;
[0010] Figure 6 An embodiment of a bus flip encoding method 600 is illustrated;
[0011] Figure 7 An embodiment of a histogram 700 is illustrated;
[0012] Figure 8 An embodiment of a pulse amplitude modulation eye diagram 800 is illustrated;
[0013] Figure 9-12 An embodiment of a PAM-4POD transmitter output state and receiving end 900 is illustrated;
[0014] Fig.13 An embodiment of a histogram 1300 is illustrated;
[0015] Fig.14 An embodiment of a bus flip encoding method 1400 is illustrated;
[0016] Fig.15 An embodiment of a histogram 1500 is illustrated;
[0017] Fig.16 is a block diagram of a computing system 1600 in which the techniques described herein may be embodied or implemented. DETAILED DESCRIPTION
[0018] Conventional solutions reduce the worst di / dt by 50%, while the disclosed technique reduces the worst di / dt by 67%. The technique can be used to design receivers / devices for more conventional encoding techniques to further reduce power supply noise. The disclosed technique with PAM-4 signaling has greater practical value than PAM-2 because the signal amplitude of PAM-4 is 3 times smaller, thereby improving the efficiency of devices utilizing the new technique.
[0019] Reference Figure 1-Figure 3 , a pseudo-open drain (POD) driver and receiver 100 includes a transmitter 102 , a receiver 104 , a line 106 and a controller 108 . Figure 1 The example shown in represents a pseudo open-drain driver and receiver 100 used in a graphics memory interface.
[0020] When driving a logic LO or HI onto line 106, transmitter 102 may be designed to have a 40Ω output impedance (R T ) inverter. The receiver 104 of the link terminates at a positive power supply (V DDQ ) of 40Ω resistor (R T ), for example, the positive power supply may be a 1.2V power supply, and it may be the same power supply used to operate the output stage of the transmitter 102. When the transmitter 102 drives a logic HI onto the line, such as Figure 2 As shown, from V DDQ The power supply is supplied through the R of the receiver 104 T The DC current drawn is 0mA. However, when the transmitter drives the logic LO onto the line, as Figure 3 As shown, from V DDQ The power supply is supplied through the R of the receiver 104 T The DC current drawn is 15mA. In a typical parallel bus, several bits can be grouped together, and in many cases groups are made up of 8 lines. In this example, the combination of 8 lines can be from V DDQ The power supply pulls anywhere between 0mA and 120mA (15mA / line x 8 lines = 120mA maximum). The maximum di / dt occurs when the combination of the 8 lines transitions from sending 8 logical HI states to sending 8 logical LO states - the current pull switches from 0mA to 120mA. This di / dt creates noise in the power supply.
[0021] The total number of current consuming states is called the "weight" of the bus, "bus weight" or just "weight". In other words, the "weight" of the bus, or the combination of the 8 lines in this example, ranges from 0 to N, where N is the total number of combined current consuming logic LO states of the 8 lines.
[0022] The "low weight" encoding can reduce the maximum di / dt of the combination of 8 lines by 50% at the expense of adding an extra line for a total of 9 lines. The logic polarity of the 8 lines is encoded by the 9th line, called the data bus inversion (DBI) bit (because this can be used for data buses, but is not limited to data buses). By encoding the polarity of the 8 lines with the polarity of the 9th line, the weight range of the combination of 9 lines is reduced to 0-N / 2, where N is the total number of combined current consumption logic LO states of the 9 lines.
[0023] The controller 108 can decide whether to flip the bus bit. First, the weight 1 is equal to the state of the current consumption, which in this case is the logic LO on the line (such as Figure 3 There is no need to observe the voltage on line 106; from V DDQ The current flowing through line 106 is observed, and this 15mA of current is assigned a binary value of 1, even though the logical value of the voltage on this line is 0. For each line in the combination that consumes current (15mA per line or bit in this example), a weight of 1 is added to the total bus weight. When the bus weight exceeds N / 2 (4 in this example, where N=8), the DBI bit will change its state to consume current and the polarity of all bus bits will be flipped. That is, the lines that previously consumed current are now not consuming current. However, the bus bits that previously did not consume current are now consuming current. This encoding is achieved by recognizing that whenever more than N / 2 of the bus bits are consuming current, the DBI bit is activated and the polarity of all bus bits is flipped. Figure 4 and Figure 5 Depicts the bus values and weights for an 8-bit bus without and with "low weight" encoding, respectively.
[0024] Figure 4 Bus values and weights (400) without low weight encoding are shown, including bus value 402 and weight 404. Figure 5A bus value and weight (500) with low weight encoding is shown, including a bus value 502, a data bus toggle bit 504, and a weight 506. In this example, when the bus value 402 or the value of the bus value 502 is "0", it indicates a non-power-consuming state of the corresponding line (D0-D7), and when the value is "1", it indicates a power-consuming state of the line. The weight 404 is the sum of the bus values 402 for all data lines, and the weight 506 is the sum of the bus values 502 and the data bus toggle bit 504 for all data lines. The data bus toggle bit 504 indicates whether the polarity of the bus bit should be flipped. When the weight 506 is greater than N / 2 (in this example, the value is 4), the data bus toggle bit 504 is set to "1" and the bus value 502 is flipped, thereby changing the weight 506 to a new lower value. For example, D0-D6 can be in the "1" state, which will result in a weight 506 of "7". Since "7" > "N / 2" (i.e., "4"), the data bus toggle bit 504 is set from "0" to "1". It flips D0-D6 to "0" and D7 from "0" to "1". Therefore, the generated weight 506 is "2" instead of "7".
[0025] refer to Figure 6 , the bus flip encoding method 600 receives a bus bit value for each line (block 602). A bus bit value of "0" can represent a non-power-consuming state, while a bus bit value of "1" can represent a power-consuming state. A bus weight is then calculated based on the bus bit value (block 604). The bus weight can be the sum of the lines in the power-consuming state. The bus flip encoding method 600 then determines whether the bus weight is less than half the number of lines used (N / 2) (decision block 606). If so, the data bus flip bit is set to "0" (block 608) and the bus bit is not flipped (block 610). If the weight is not less than half the number of lines used (N / 2), the data bus flip bit is set to "1" (block 612) and the bus bit is flipped (block 614).
[0026] Reference Figure 7, histogram 700 depicts bus weights and currents before low-weight encoding: original bus weight 702, original bus current 704, and bus weights and currents after low-weight encoding: DBI bus weight 706 and DBI bus current 708. Original bus weight 702 describes the bus weight of an 8-bit bus with normally distributed random data without encoding, while DBI bus weight 706 describes the case with low-weight (DBI-DC) encoding. The original bus weight 702 has a maximum value of 8, a minimum value of 0, and an increment of 8. The DBI bus weight 706 has a maximum value of 4, a minimum value of 0, and an increment of 4. Compared to the original bus weight 702, the bus weights of 5-8 in DBI bus weight 706 are "folded" to bus weights of 1-4. The original bus current 704 and DBI bus current 708 describe the total bus current for the same data. The original bus current 704 describes the case without encoding, while the DBI bus current 708 describes the case with low-weight (DBI-DC) encoding. The original bus current 704 has a maximum of 120mA, a minimum of 0mA, an average of 60mA, and a maximum di / dt of 120mA. The DBI bus current 708 has a maximum of 60mA, a minimum of 0mA, an average of 49mA, and a maximum di / dt of 60mA. The 75-120mA bus current is "folded" to a 15-60mA bus current. This reduces the maximum di / dt from 0-120mA to 0-60mA and the average current from 60mA to 49mA, or an 18.3% reduction in average current and power.
[0027] Reference Figure 8 , a pulse amplitude modulation eye diagram 800 for PAM-4 signaling 802 and PAM-2 signaling 804 is shown. PAM-4 signaling 802 is a link that communicates by transmitting four (4) different levels. Each level can be decomposed into a contribution representing a logical state of information. Transmission using four (4) different levels is generally referred to as PAM-4 or PAM-4 signaling (PAM = Pulse Amplitude Modulation). Links that communicate using PAM-4 signaling send two (2) bits of information per symbol, where a symbol is one of four possible values for a bit pair. This is different from the type of signaling commonly used for most parallel single-ended interfaces, as these can be limited to sending 1 bit per symbol (e.g., as represented by the PAM-2 signaling 804 eye diagram). The PAM-4 signaling 802 and PAM-2 signaling 804 eye diagrams plot the voltage on the line (usually at the receiving end) versus time, but the time axis is collapsed over a time interval equal to the clock period (2xUI). The signal has 4 levels for PAM-4 signaling and 2 levels for PAM-2 signaling. Each level consumes a different amount of current. For example, as mentioned earlier, the PAM-2 signaling system (such as Figure 1-Figure 3Each line consumes either 0mA or 15mA.
[0028] Reference Figure 9-12 , the PAM-4POD transmitter output state and receiving end 900 includes a least significant bit transmitter 902, a most significant bit transmitter 904, a receiver 906, a line 908, and a controller 910. According to the least significant bit transmitter 902 and the most significant bit transmitter 904, the PAM-4POD transmitter output state and receiving end 900 can be in four (4) states. If the least significant bit transmitter 902 is LO and the most significant bit transmitter 904 is LO, then LSB=1, MSB=1 on line 908, and the line voltage is 1.2V and the line current is 0mA. If the least significant bit transmitter 902 is HI and the most significant bit transmitter 904 is LO, then LSB=0, MSB=1 on line 908, and the line voltage is 1.0V and the line current is 5mA. If the least significant bit transmitter 902 is LO and the most significant bit transmitter 904 is HI, then LSB=1, MSB=0, and the line voltage is 0.8V and the line current is 10mA on line 908. If the least significant bit transmitter 902 is HI and the most significant bit transmitter 904 is HI, then LSB=0, MSB=0, and the line voltage is 0.6V and the line current is 15mA on line 908.
[0029] The transmitter can be divided into three equal sized sections. One section (least significant bit transmitter 902) is driven by LSB data and the other two sections (most significant bit transmitter 904) are driven by MSB data. Each section is designed to have 120Ω pull-up and pull-down resistance. In some embodiments, since there are three sections and each section is always activated, the total equivalent resistance in one of the pull-up or pull-down states is 40Ω, which is commonly used in graphics memory interfaces. Figure 9-12 Describes how the PAM-4 POD driver is constructed and driven to produce equal voltage amplitude signals at the receiver, from the receiver's V DDQ The current drawn by the power supply through the line is 0mA, 5mA, 10mA and 15mA.
[0030] The least significant bit transmitter 902 consumes either 0 mA or 5 mA per line. Therefore, a value of 5 mA is assigned to the least significant bit transmitter 902, making each line have a weight of 1. The most significant bit transmitter 904 consumes either 0 mA or 10 mA per line. Since the least significant bit transmitter 902 has a weight of 1 for 5 mA, a value of 10 mA is assigned to each line with a weight of 2. Figure 9-12The total weight of the 8 lines using PAM-4 signaling can range from 0 to 24, which is equivalent to a current range of 0 to 120 mA (i.e., 24×5 mA=120 mA). The controller 910 determines whether to flip the polarity of the least significant bit transmitter 902 and the most significant bit transmitter 904 based on the weight. The flipping method is as follows Fig.14 shown and listed in the list.
[0031] refer to Fig.13 , histogram 1300 depicts the original bus current 1302 before low weight encoding is applied independently to the LSB and MSB bits, and the DBI bus current 1304 after low weight encoding is applied independently to the LSB and MSB bits. Histogram 1300 depicts the DBI bus current 1304 after low weight encoding is applied independently to the LSB and MSB bits. Figure 6 , independently for the LSB bit (output driver) and the MSB bit (output driver). The raw bus current 1302 may have an average value of 60 mA, a maximum value of 120 mA, a minimum value of 0 mA, and a maximum di / dt of 120 mA. The DBI bus current 1304 may have an average value of 49 mA, a maximum value of 60 mA, a minimum value of 0 mA, and a maximum di / dt of 60 mA. Thus, a 50% reduction in maximum di / dt may be achieved. This also results in an 18.3% reduction in average current and power.
[0032] refer to Fig.14, the bus flip encoding method 1400 considers the weight of the MSB bit ("MSB bus") before determining whether to encode the LSB bit ("LSB bus"). The bus flip encoding method 1400 can reduce the maximum di / dt by 67% and maintain essentially the same current / power reduction. Considering the interaction of the LSB and MSB bits and their possible combined states, the range of the total bus weight is limited. In one embodiment, the MSB weight range is from 0 to 16 in steps of 2, and the LSB weight range is from 0 to 8 in steps of 1. The bus flip encoding method 1400 calculates the MSB bus weight (block 1402). The LSB bus weight is also calculated (block 1404). The bus flip encoding method 1400 determines whether the MSB weight is greater than 8 (decision block 1406). If 1406 is determined to be yes, the MSB bus bit is flipped (block 1408) and DBI_MSB is set to "1" (block 1410). Once 1410 is complete, or if the MSB weight is not greater than 8, the bus flip encoding method 1400 determines whether the MSB weight is 0, 2, or 16 before flipping according to block 1408 (decision block 1412). If 1412 is determined as no, the bus flip encoding method 1400 determines whether the LSB weight is greater than 4 (decision block 1414). If 1412 is determined as yes, the bus flip encoding method 1400 determines whether the LSB weight is less than or equal to 4 (decision block 1416).
[0033] If the MSB weight is not 0, 2, or 16 and the LSB is greater than 4, or if the MSB weight is 0, 2, or 16 and the LSB is less than or equal to 4, the LSB bus bit is flipped (block 1418) and DBI_LSB is set to "1" (block 1420). The bus flip encoding method 1400 ends at completion block 1422.
[0034] A second interpretation of the algorithm can also be described as: 1) If the weight of the bits in the MSB part of the symbol on the bus is > 8, flip the polarity of all MSB bits and set DBI_MSB=1; 2) If the weight of the bits in the LSB part of the symbol on the bus is > 4, and if the weight of the bits in the MSB part of the bus is between 4 and 14 (including 14), flip the polarity of all LSB bits and set DBI_LSB=1; 3) Then, if the weight of the bits in the MSB part of the bus is 0, 2 or 16, and the weight of the LSB part of the bus is ≤4, flip all bits in the LSB part of the symbol and set DBI_LSB=1; 4) For any other case, no bits are flipped, and DBI_MSB=0 and DBI_LSB=0.
[0035] Then, in various embodiments, a first weight is applied with a value between 0 and 16 (inclusive), incremented by 2, and each line contributes 0 to the first weight at the first current level, and each data line contributes 2 to the first weight at the second current level. A second weight is also applied, with a value between 0 and 8 (inclusive), incremented by 1, and each line contributes 0 to the second weight at the third current level, and each data line contributes 1 to the second weight at the fourth current level. If the first weight is greater than 8, the most significant bit is flipped. And if the first weight is 0, 2, or 16 and the second weight is less than or equal to 4, or if the first weight is between 4 and 14 (inclusive) and the second weight is greater than 4, the least significant bit is flipped.
[0036] The controller can perform additional checks for sub-cases of the least significant bit, for example, if (a) the total first weight is 0 and the total second weight is 5, or (b) the total first weight is 2 or 16 and the total second weight is between 5 and 7 (including 5 and 7), then flip the least significant bit; if (a) the total first weight is 0 and the total second weight is 4, or (b) the total first weight is 2 or 16 and the total second weight is between 2 and 4 (including 2 and 4), then do not flip the least significant bit.
[0037] In another example, the first weight is between 0 and 16 (including 0 and 16), increasing by 2, each line's contribution to the first weight at the first current level is 0, and each line's contribution to the first weight at the second current level is 2. The second weight is between 0 and 8 (including 0 and 8), increasing by 1, each line's contribution to the second weight at the third current level is 0, and each line's contribution to the second weight at the fourth current level is 1. If the first weight plus the second weight is greater than or equal to 14, then the most significant bit is flipped; and if the first weight plus the second weight is (a) less than 5, or (b) between 14 and 22, then the least significant bit is flipped.
[0038] Reference Fig.15 , the histogram 1500 depicts the application Fig.14The original bus current 1502 and the DBI bus current 1504 before and after the method shown. The original bus current 1502 has an average value of 60mA, a maximum value of 120mA, a minimum value of 0mA, and a maximum di / dt of 120mA. The DBI bus current 1504 can have an average value of 49.5mA, a maximum value of 60mA, a minimum value of 20mA, and a maximum di / dt of 40mA. Therefore, a 50% reduction in the maximum di / dt can be obtained. This also results in an 18.3% reduction in average current and power. The bus flip encoding method 1400 is a "folding" case, which would otherwise create a combined MSB+LSB bus weight from 0 to 3 (0 to 15mA), up to the other already possible states of weight range from 5 to 12 (25 to 60mA). This reduces the maximum di / dt from 0-60mA to 20-60mA, which is 40mA or 67% lower than the uncoded range of 0-120mA.
[0039] There are other possible encoding techniques, but this approach achieves the lowest possible di / dt without restricting the possible states of each individual signal. It can also be performed by using pre-exit low-weight encoding logic, and simply including checks for combined exception cases / step #3 (from the second explanation of the algorithm). This approach uses no special lookup tables, and has no additional time overhead (i.e., running the link faster than the baseline signaling rate) or additional signal lines. The decoding is also applicable to receiver devices that are unaware of the algorithm used by the transmitter. This is because all decoding information is transmitted using the polarity of the DBI bit. Therefore, it can be used with GPUs and DRAMs that do not support this encoding when transmitting information. It can be used in one or both directions of the link.
[0040] Fig.16 16 is a block diagram of one embodiment of a computing system 1600 in which one or more aspects of the present disclosure may be implemented. The computing system 1600 includes a system data bus 1632, a CPU 1602, an input device 1608, a system memory 1604, a graphics processing system 1606, and a display device 1610. In an alternative embodiment, the CPU 1602, portions of the graphics processing system 1606, the system data bus 1632, or any combination thereof may be integrated into a single processing unit. Additionally, the functionality of the graphics processing system 1606 may be included in a chipset or some other type of dedicated processing unit or co-processor.
[0041] As shown, the system data bus 1632 connects the CPU 1602, the input device 1608, the system memory 1604, and the graphics processing system 1606. In an optional embodiment, the system memory 1604 can be directly connected to the CPU 1602. The CPU 1602 receives user input from the input device 1608, executes programming instructions stored in the system memory 1604, and operates on the data stored in the system memory 1604 to perform computing tasks. The system memory 1604 typically includes a dynamic random access memory (DRAM) for storing programming instructions and data. The graphics processing system 1606 receives instructions transmitted by the CPU 1602 and processes the instructions (e.g., to implement various aspects of the embodiments of the present disclosure) and / or presents and displays graphics (e.g., images, tiles, videos) on the display device 1610.
[0042] As shown, system memory 1604 includes application 1612, API 1614 (application programming interface), and graphics processing unit driver 1616 (GPU driver). Application 1612 generates calls to API 1614 to generate the required set of calculation results. For example, application 1612 can transfer its program or function to API 1614 for processing in graphics processing unit driver 1616.
[0043] The graphics processing system 1606 includes a GPU 1618 (graphics processing unit), an on-chip GPU memory 1622, an on-chip GPU data bus 1636, a GPU local memory 1620, and a GPU data bus 1634. The GPU 1618 is configured to communicate with the on-chip GPU memory 1622 via the on-chip GPU data bus 1636, and to communicate with the GPU local memory 1620 via the GPU data bus 1634. The GPU 1618 can receive instructions transmitted by the CPU 1602, process the instructions, and store the results in the GPU local memory 1620. Subsequently, the GPU 1618 can display a specific graphic stored in the GPU local memory 1620 on the display device 1610.
[0044] The GPU 1618 includes one or more logic blocks 1624. The logic blocks 1624 may implement embodiments of the systems and techniques disclosed herein.
[0045] Embodiments of the present disclosure may be used to communicate data between various components of computing system 1600. Exemplary component communications include between CPU 1602 and / or GPU 1618 and memory circuits including system memory 1604, GPU local memory 1620, and / or on-chip GPU memory 1622.
[0046] The GPU 1618 may provide any number of on-chip GPU memories 1622 and GPU local memories 1620, including zero, and may employ any combination of on-chip GPU memories 1622, GPU local memories 1620, and system memory 1604 for memory operations.
[0047] On-chip GPU memory 1622 is configured to include GPU programming 1628 and on-chip buffer 1630. GPU programming 1628 may be transferred from graphics processing unit driver 1616 to on-chip GPU memory 1622 via system data bus 1632. GPU programming 1628 may include logic block 1624.
[0048] The GPU local memory 1620 typically includes less expensive off-chip dynamic random access memory (DRAM), and is also used to store data and programming used by the GPU 1618. As shown, the GPU local memory 1620 includes a frame buffer 1626. For example, the frame buffer 1626 can store data, such as an image (e.g., a graphics surface) that can be used to drive the display device 1610. The frame buffer 1626 can contain more than one surface so that the GPU 1618 can render one surface while driving the display device 1610 using a second surface.
[0049] Display device 1610 is one or more output devices capable of outputting a visual image corresponding to an input data signal. For example, a liquid crystal display or any other suitable display system can be used to construct a display device. The input data signal sent to display device 1610 is typically generated by scanning the contents of one or more image data frames stored in frame buffer 1626.
[0050] Terms used herein shall have their ordinary meaning in the relevant art or in the context in which they are used, but if an explicit definition is provided, that meaning controls.
[0051] "Circuitry" refers to an electrical circuit having at least one discrete electrical circuit, an electrical circuit having at least one integrated circuit, an electrical circuit having at least one application-specific integrated circuit, a circuit constituting a general-purpose computing device configured by a computer program (e.g., a general-purpose computer configured by a computer program that at least partially executes the program or device described herein, or a microprocessor configured by a computer program that at least partially executes the program or device described herein), a circuit forming a storage device (e.g., in the form of random access memory), or a circuit forming a communication device (such as a modem, a communications switch, or an optoelectronic device).
[0052] "Firmware" refers to software logic implemented as processor-executable instructions stored in read-only memory or media.
[0053] "Hardware" refers to logic implemented as analog or digital circuits.
[0054] "Logic" refers to circuits of machine memory, non-transitory machine-readable media, and / or circuits by means of their material and / or material energy configuration, which configuration includes control and / or program signals, and / or settings and values (such as resistance, impedance, capacitance, inductance, current / voltage ratings, etc.) that can be used to affect the operation of the device. Magnetic media, electronic circuits, electrical and optical memory (volatile and non-volatile), and firmware are all examples of logic. Logic specifically excludes pure signals or software by itself (but does not exclude machine memory that includes software to form a configuration of matter). The technology of this disclosure may be implemented as various combinations of circuits, firmware, and software, depending on the requirements of the specific embodiment.
[0055] “Software” means logic implemented as processor-executable instructions in a machine’s memory (e.g., read / write volatile or non-volatile memory or media).
[0056] "Weight" refers to a proportional factor associated with one of a set of numerical quantities to indicate its influence relative to the other components of the set.
[0057] A "bus" is a set of different conductors that carry data and control signals in a computer system, to which devices can be connected in parallel. Each conductor can be called a wire or line.
[0058] References to "one embodiment" or "embodiment" herein do not necessarily refer to the same embodiment, although they may refer to the same embodiment. Unless the context clearly requires otherwise, throughout this specification and claims, words such as "comprises", "including", etc. should be interpreted as inclusive, rather than exclusive or exhaustive; that is, meaning "including but not limited to". Words using the singular or plural also include the plural or singular, respectively, unless expressly limited to one or more. In addition, when "herein", "above", "below" and words of similar meaning are used in this application, it refers to the entire application, not any particular part of this application. When the claim uses the word "or", it refers to a list of two or more items, and this word covers all the following interpretations of the words: any item in the list, all items in the list, and any combination of items in the list, unless expressly limited to one or another. Any term not expressly defined herein has a conventional meaning as commonly understood by technicians in the relevant field.
[0059] The various logic function operations described herein can be implemented by referring to the logic using nouns or noun phrases that reflect the operation or function. For example, an association operation can be performed by an "associator" or a "correlator". Similarly, switching can be performed by a "switch" or selected by a "selector", and so on.
[0060] Code List
[0061] The following code listing is an example of logic that implements various aspects of the invention disclosed herein.
[0062] %Data 1 is LSB data
[0063] % Data 2 is the MSB data
[0064] List i
[0065]
[0066]
[0067] List ii
[0068]
[0069]
Claims
1. A system comprising: A PAM-4 transmitter coupled to one or more lines, the PAM-4 transmitter comprising, for each of the lines: a most significant bit output operable at a first current level or a second current level on a corresponding data line; as well as a least significant bit output operable at a third current level or a fourth current level on the corresponding data line; as well as A controller, coupled to the PAM-4 transmitter, configured to: determining a state of the PAM-4 transmitter, the state comprising a first weight for a first bit of the most significant bit output from the line and a second weight for a second bit of the least significant bit output from the line; as well as The first bit is selectively flipped according to the first weight, and the second bit is selectively flipped according to the first weight and according to the second weight.
2. The system of claim 1 , wherein the state of the PAM-4 transmitter comprises: The first weight is between 0 and 16 and increases by 2, each of the lines contributes 0 to the first weight at the first current level, and each of the lines contributes 2 to the first weight at the second current level; as well as The second weight is between 0 and 8 and increases by 1, each line contributes 0 to the second weight at the third current level, and each line contributes 1 to the second weight at the fourth current level; Wherein, if the first weight is greater than 8, flipping the first bit; The second bit is flipped if: The first weight is 0, 2 or 16, and the second weight is less than or equal to 4; or The first weight is between 4 and 14, and the second weight is greater than 4.
3. The system of claim 2, wherein the controller is configured to perform additional checks on sub-conditions on the second bit, the sub-conditions comprising: flipping the second bit if (a) the first weight is 0 and the second weight is 5, or (b) the first weight is 2 or 16 and the second weight is between 5 and 7; and The second bit is not flipped if (a) the first weight is 0 and the second weight is 4, or (b) the first weight is 2 or 16 and the second weight is between 2 and 4.
4. The system of claim 1 , wherein the state of the PAM-4 transmitter comprises: The first weight is between 0 and 16 and increases by 2, each of the lines contributes 0 to the first weight at the first current level, and each of the lines contributes 2 to the first weight at the second current level; as well as The second weight is between 0 and 8 and increases by 1, each of the lines contributes 0 to the second weight at the third current level, and each of the lines contributes 1 to the second weight at the fourth current level; wherein if the first weight plus the second weight is greater than or equal to 14, flipping the first bit; Wherein, if the first weight plus the second weight is (a) less than 5, or (b) between 14 and 22, the second bit is flipped. The system of claim 1 , wherein the first bit is flipped independently of the second bit.
6. The system of claim 1, wherein the one or more lines include eight data lines.
7. The system of claim 1, wherein the one or more lines include a data bus flip line for: transmitting a first polarity indication bit having a first value according to whether the first bit is flipped; and A second polarity indication bit having a second value is transmitted according to whether the second bit is flipped.
8. The system of claim 7, wherein the first polarity indicator bit and the second polarity indicator bit configure a receiver to flip or not flip the first bit and the second bit received at the receiver.
9. The system of claim 7, wherein: The first value is: 0, if the first bit is not flipped; and 1, if the first bit is flipped; and The second value is: 0, if the second bit is not flipped; as well as 1, if the second bit is flipped.
10. The system of claim 1, wherein the most significant bit output and the least significant bit output are configured such that the second current level is twice the fourth current level.
11. A method comprising: determining a most significant bit weight for data transmitted on a PAM-4 bus having one or more lines based on a most significant bit output operated at a first current level or a second current level; determining a least significant bit weight for the data transmitted on the PAM-4 bus based on the least significant bit output of operating at the third current level or the fourth current level; selectively flipping the polarity of the most significant bit output based on the most significant bit weight; as well as The polarity of the least significant bit output is selectively flipped based on the most significant bit weight and further based on the least significant bit weight.
12. The method according to claim 11, further comprising: determining that the most significant bit weight falls between 0 and 16 and increases by 2, each of the one or more lines of the bus contributing 0 to the most significant bit weight at the first current level, and each of the one or more lines of the bus contributing 2 to the most significant bit weight at the second current level; as well as determining that the least significant bit weight falls between 0 and 8 and increases by 1, each of the one or more lines contributing 0 to the least significant bit weight at the third current level, and each of the one or more lines contributing 1 to the least significant bit weight at the fourth current level; if the most significant bit weight is greater than 8, flipping the polarity of the most significant bit output of each of the lanes; as well as Invert the polarity of the least significant bit output of each of the lines if: The most significant bit weight is 0, 2 or 16, and the least significant bit weight is less than or equal to 4; or The most significant bit weight is between 4 and 14, and the least significant bit weight is greater than 4.
13. The method of claim 12, further comprising performing additional checks for sub-cases on the least significant bit output, the sub-cases comprising: flipping the least significant bit output if (a) the most significant bit weight is 0 and the least significant bit weight is 5, or (b) the most significant bit weight is 2 or 16 and the least significant bit weight is between 5 and 7; as well as The least significant bit output is not flipped if (a) the most significant bit weight is 0 and the least significant bit weight is 4, or (b) the most significant bit weight is 2 or 16 and the least significant bit weight is between 2 and 4.
14. The method according to claim 11, further comprising: Determining that the most significant bit weight falls between 0 and 16 and increases by 2, each of the lines contributing 0 to the most significant bit weight at the first current level, and each of the lines contributing 2 to the most significant bit weight at the second current level; Determining that the least significant bit weight falls between 0 and 8 and increases by 1, each of the lines contributing 0 to the least significant bit weight at the third current level, and each of the lines contributing 1 to the least significant bit weight at the fourth current level; If the sum of the most significant bit weight and the least significant bit weight is greater than or equal to 14, flipping the polarity of the most significant bit portion; as well as If the MSB weight plus the LSB weight is (a) less than 5, or (b) between 14 and 22, the polarity of the LSB portion is flipped.
15. The method of claim 11, wherein the polarity of the most significant bit output is flipped independently of the polarity of the least significant bit output.
16. The method of claim 11, wherein the one or more lines include eight data lines.
17. The method of claim 11, wherein the one or more lines include a data bus flip line for: transmitting a first polarity indication bit having a first value based on whether the polarity of the most significant bit output is flipped; and A second polarity indication bit having a second value is transmitted based on whether the polarity of the least significant bit output is flipped.
18. The method of claim 17, wherein the first polarity indicator bit and the second polarity indicator bit configure a receiver to invert or not invert, respectively, a first bit associated with the most significant bit output and a second bit associated with the least significant bit output received from the bus.
19. The method of claim 17, wherein: The first value is: 0, if the polarity of the most significant bit output is not flipped; as well as 1, if the polarity of the most significant bit output is flipped; and The second value is: 0, if the polarity of the least significant bit output is not flipped; as well as 1, if the polarity of the least significant bit output is flipped.
20. The method of claim 11, wherein the most significant bit output and the least significant bit output are configured such that the second current level is twice the fourth current level.
