This application claims the benefit of Korean Patent Application No. 10-2021-0112909, filed on Aug. 26, 2021 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
The present disclosure relates to a data inversion circuit for performing DBI-DC encoding using a PAM 4 signal, and more particularly, to a technique for reducing the power consumption of a circuit while increasing the data transmission speed by designing a DBI encoding method used for transmitting data so as to be applied to a PAM 4 signal as well.
For the data transferred between integrated circuit devices, the data are stored in a semiconductor integrated circuit under the control of a central processing unit (CPU) or a graphic processing unit (GPU). Of the factors that influence the performance of a semiconductor integrated circuit, i.e., a main memory or a graphic memory, data processing speed takes up the highest weight.
Data transfer between integrated circuit devices is made in the form of data signals, also known as data bits, driven on parallel channels of a data bus. Data bits can be sensitive to crosstalk, simultaneous switching noise (SSN), inter-symbol interference USD, and/or power consumption depending on the state of the data or the frequency of the data transition. In order to reduce these adverse effects, data encoding methods such as data bus inversion (DBI) can be used.
The DBI encoding technique is a technique of inverting and transmitting the current data if the number of data having a high value or a low value out of eight data is four or more, and of transmitting the current data without inverting it, otherwise.
That is, the DBI first assesses the relationship between the data bits to be transmitted to the data bus, and decide whether inverting some or all of the data bits prior to transmission is efficient for transmitting the data. If it is decided to be efficient and the data bits are inverted, an additional signal called the DBI bit indicating that the data bits have been inverted may be set, and when the DBI encoding technique is applied, effects such as reduction of power consumption, improvement of signal integrity (SI), and reduction of heat generation can be expected.
On the other hand, as technology develops, the PAM 4 (four-level pulse amplitude modulation) technique that can transmit a signal of 2 bits instead of 1 bit at a time has been applied in order to enhance the signal transmission efficiency in the field of signal processing that requires high-speed operation such as ultra-high-speed wired/wireless communication ICs, communication units of processing units such as CPU/GPUs, memory-CPU communication units, etc. For PAM 4 signals, data corresponding to 2 bits can be transmitted at a time, unlike the PAM 2 signals that have been conventionally commonly used, and thus, there is an advantage of being able to enhance data transmission speed and transmission efficiency.
However, since the development of the data processing technique using PAM 4 signals is insubstantial until now, the reality is that the data encoding technique capable of enhancing the efficiency of data transmission in transmitting the PAM 4 signals is insignificant.
Therefore, a data inversion circuit for performing DBI-DC encoding using a PAM 4 signal in accordance with one embodiment is devised to solve the problems described above, and it is an object to provide a technique capable of enhancing the efficiency of data transmission based on PAM 4 signals by efficiently performing data encoding according to the situation in transmitting data using the PAM 4 signals.
More specifically, a data inversion circuit for performing DBI-DC encoding using a PAM 4 signal in accordance with one embodiment has an object of providing a data inversion circuit capable of enhancing the power efficiency of the entire circuit by performing DBI-DC encoding according to a PAM 4 signal by analyzing the pattern of inputted data, or by performing encoding that suppresses the crosstalk phenomenon caused by changes in signal values of adjacent data lines in transmitting data.
According to an aspect, a data inversion circuit configured to perform DBI-DC encoding using a PAM 4 signal may comprise a data generation unit configured to generate input data based on the PAM 4 signal and a data transmission unit comprising, an auxiliary signal generation unit configured to generate an auxiliary signal that determines whether to perform encoding on the input data by analyzing a plurality of data symbols included in the input data, a channel comprising a plurality of data lines and a data encoding unit configured to generate encoded data by performing DBI (data bus inversion) encoding on the data based on the auxiliary signal and to transmit the generated encoded data to a data reception unit via the channel.
The auxiliary signal generation unit may determine whether to perform encoding on the input data based on the number of each type of the plurality of data symbols.
The auxiliary signal generation unit may determine whether to encode the input data by whether a predetermined equation generated based on the number of each type of the plurality of data symbols and resistance values of loads connected to the channel is satisfied.
The auxiliary signal generation unit may determine to perform encoding on the input data if the input data satisfies the predetermined equation, and determines not to perform encoding on the input data if the input data does not satisfy the predetermined equation.
The auxiliary signal generation unit may generate the auxiliary signal as an NRG (non-return to zero) signal and generate an auxiliary signal having a data symbol of 1 if determined to perform encoding on the input data, and generates an auxiliary signal having a data symbol of 0 if determined not to perform encoding on the input data.
The data encoding unit may generate the encoded data by performing a first encoding of inverting data symbols having the data symbol of 1 to 0 and inverting data symbols having the data symbol of 0 to 1 among the input data if the auxiliary signal having a data symbol of 1 is received from the auxiliary signal unit and generate the input data as they are as the encoded data if the auxiliary signal having a data symbol of 0 is received from the auxiliary signal unit.
According to another aspect, a data inversion circuit configured to perform DBI-DC encoding using a PAM 4 signal may comprise a data generation unit configured to generate input data based on the PAM 4 signal and a data transmission unit may comprise an auxiliary signal generation unit configured to generate an auxiliary signal that determines whether to perform encoding on the input data by analyzing a plurality of data symbols included in the input data, a channel comprising a plurality of data lines and a data encoding unit configured to generate encoded data by performing DBI (data bus inversion) encoding on the data based on the auxiliary signal and to transmit the generated encoded data to a data reception unit via the channel and the auxiliary signal generation unit may generate the auxiliary signal as a PAM 4 signal and a data symbol taking up the largest number among the input data is generated as the auxiliary signal.
The data encoding unit may perform a second encoding in a method of exchanging a data symbol identical to a data symbol included in the auxiliary signal in the input data with a data symbol having a data symbol of 11 in the input data each other.
The data encoding unit may generate the input data as they are as the encoded data without performing the second encoding if the data symbol included in the auxiliary signal is 11.
According to other aspect, a data inversion circuit configured to perform DBI-DC encoding using a PAM 4 signal may comprise a data transmission unit comprising, a channel comprising a plurality of data lines, a data generation unit comprising a plurality of loads connected to the channel, and configured to generate input data based on the PAM 4 signal, an auxiliary signal generation unit configured to generate an auxiliary signal that determines whether to perform encoding on the input data by analyzing a plurality of data symbols included in the input data and a data encoding unit configured to generate encoded data by performing DBI (data bus inversion) encoding on the data based on the auxiliary signal and to transmit the generated encoded data to a data reception unit via the channel.
The data inversion circuit may further comprise a control unit configured to change a connection structure of the plurality of loads so that an overall load value of the data transmission unit changes based on the auxiliary signal.
The data reception unit may comprise a load connected to the channel.
The data reception unit may comprise a first load, a second load, a third load, and a fourth load.
The first load and the second load may be connected in series, the third load and the fourth load may be connected in series, and the first load and the second load may be connected in parallel with the third load and the fourth load.
The auxiliary signal generation unit may determine whether to perform encoding on the input data based on the number of each type of the plurality of data symbols, and the auxiliary signal generation unit may determine whether to encode the input data by whether a predetermined equation generated based on the number of each type of the plurality of data symbols and resistance values of the loads is satisfied.
The data inversion circuit using a PAM 4 signal in accordance with one embodiment of the present disclosure has an advantage of being able to transmit data more efficiently by performing encoding according to the situation on the inputted data and then transmitting the data in the data transmission method using a PAM 4 signal.
Specifically, the data inversion circuit using a PAM 4 signal in accordance with one embodiment has an advantage of being able to enhance the power consumption efficiency of the entire circuit by reducing power consumption in the driver stage by effectively performing DBI-DC encoding according to the PAM 4 signal.
In addition, there is an advantage of being able to enhance the safety and power efficiency of the entire circuit by reducing the power consumption in the driver stage through DBI-Cross encoding according to the situation and at the same time minimizing the crosstalk phenomenon that may occur through the channel in transmitting data.
The effects of the present disclosure are not limited to the technical objects mentioned above, and other effects that have not been mentioned will be clearly understood by those skilled in the art from the following description.
Hereinafter, embodiments according to the present invention will be described with reference to the accompanying drawings. In adding reference numerals to constituent elements of each drawing, it should be noted that the same constituent elements are denoted by the same reference numeral even if they are illustrated on different drawings. In describing the embodiments of the present invention, a detailed description of pertinent known constructions or functions will be omitted if it is deemed to make the gist of the embodiments the present invention unnecessarily vague. In addition, the embodiments of the present invention will be described below, but the technical idea of the present invention is not limited thereto or is not restricted thereto, and may be variously realized by being modified by those skilled in the art.
In addition, terms used in the present specification are used only in order to describe embodiments rather than limiting or restricting the present invention. Singular forms are intended to include plural forms unless the context clearly indicates otherwise.
In the present specification, it should be understood that the term “include”, “comprise”, or “have” indicates that a feature, a number, a step, an operation, a constituent element, a part, or a combination thereof described in the specification is present, but does not exclude a possibility of presence or addition of one or more other features, numbers, steps, operations, constituent elements, parts, or combinations, in advance.
In addition, throughout the specification, when it is described that an element is “connected” to another element, this includes not only being “directly connected”, but also being “indirectly connected” with another element in between, and terms including ordinal numbers such as first, second, and the like used in the present specification will be used only to describe various elements, and are not to be interpreted as limiting these elements.
The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention.
Furthermore, the title of the invention is a method and apparatus for providing a document editing interface for providing resource information related to a document using a backlink button. For convenience of explanation, however, in the specification below, an apparatus for providing a document editing interface for providing resource information associated with a document using a backlink button is referred to as a document editing interface providing apparatus in its description. The meaning of ‘clicking’ throughout the document is used to refer to the user requesting an execution command for the button, and as a common term, it may refer to executing a command by clicking a mouse or using a specific key on a keyboard in a PC environment, and tapping by a user's touch consecutively or for a certain period of time in a mobile environment.
Hereinafter, embodiments in accordance with the present disclosure will be described in detail with reference to the accompanying drawings, and although the title of the present disclosure is ‘Data Inversion Circuit Using PAM 4 Signal’, it will be referred to as ‘a data inversion circuit’ for the convenience of the description below.
Referring to
The data generation unit 110 is a component configured to generate input data, and the generated input data are transmitted to the data transmission unit 160, and the generated data refer to data that can be transmitted by a PAM 4 signal.
The data transmission unit 160 transmits the data generated by the data generation unit 110 to the data reception unit 180 via the channel 170 using a PAM 4 (four-level pulse amplitude modulation) signal.
The PAM 4 signal applied throughout the present disclosure basically refers to a signal that transmits a 2-bit signal instead of a 1-bit signal when transmitting data at a time, unlike PAM 2 signals.
In addition, although the channel 170 is represented by a single component in
The data encoding unit 120 may encode the data generated by the data generation unit 110 based on the auxiliary signal generated by the auxiliary signal generation unit 130 with respect to the input data generated by the data generation unit 110.
What encoding means in the present disclosure generally refers to encoding performed by a data bus inversion circuit. It means that, for example, the current data are inverted and transmitted if more than half of the data to be transmitted has a high value, and otherwise, the current data are transmitted as they are without inversion. In addition, as will be described later, not only the encoding method of simply inverting the data is applied, but also encoding may be performed on the input data by a method of changing the order and inputted position of the inputted data in performing encoding on the input data in the present disclosure. A detailed description thereof will be described later.
As the data encoding method performed by the data encoding unit 120, a DBI (data bus inversion) encoding method may be typically applied, and specifically, a DBI-DC encoding method that allows power consumption to be minimized in a stage before the data passes through a channel by inverting 0s and 1s of the data to be transmitted, and a DBI-AC encoding method for preventing a crosstalk phenomenon that occurs in data lines adjacent thereto due to changes in data symbol values over time in a particular data line may be applied. A first encoding and a second encoding used in the present disclosure to be described later are encodings associated with the DBI-DC encoding, a third encoding is associated with the DBI-AC encoding, and a fourth encoding corresponds to encoding associated with the DBI-DC encoding and the DBI-AC encoding.
Accordingly, the data encoding unit 120 may be referred to as a DBI-DC encoding unit, a DBI-AC encoding unit, or a DBI encoding unit, depending on the way it performs encoding. A detailed description of the encoding method of the data encoding unit 120 DBI-DC method and the DBI-AC method in accordance with the present disclosure will be described later.
The auxiliary signal generation unit 130 may analyze the pattern of the data generated by the data generation unit 110, generate auxiliary information including encoding information to be performed by the data encoding unit 120, and transmit the generated auxiliary information to the data encoding unit 120.
As one example, if the data encoding unit 120 performs DBI encoding on the inputted data, the auxiliary information may be DBI flag information including information on which method of the DBI encoding out of the DBI encoding methods should be performed by the data encoding unit 120.
The auxiliary signal generated by the auxiliary signal generation unit 130 may be implemented with a 1-bit NRZ (non-return-to-zero) signal or a 2-bit PAM 4 signal. Since the NRZ signal is a 1-bit signal, the data symbols are generated only with 0 or 1, but in the case of the PAM 4 signal, a total of four types of signals, ‘00’, ‘01’, ‘10’, and ‘11’, may be generated as data symbols because a 2-bit signal can be transmitted at a time.
As one example, because a 2-bit DBI-Flag signal can be transmitted if the auxiliary signal is transmitted in a PAM 4 signal, the DBI-Flag signal may include information on an encoded signal using only the DBI-DC encoding method, an encoded signal using only the DBI-AC encoding method, or a signal using both the DBI-DC encoding method and the DBI-AC encoding method.
Meanwhile, although for the convenience of description, the data encoding unit 120 and the auxiliary signal generation unit 130 are shown and described as separate components in
The load unit 140 includes a plurality of loads, and the connection form of the loads in the load unit 140 varies depending on the data transmitted via the channel 170.
As one example, in the case that there are two loads connected to the channel and the data are transmitted in the NRZ method, since the data symbols are ‘0’ and ‘1’, if the data symbol of the input data is 0 according to the POD (pseudo-open drain) termination, the load connected to the ground is connected to the channel and thus, current flows through the channel from the voltage VDD to the ground GND.
Conversely, if the data symbol is 1, the load connected not to the ground but to the applied voltage is connected to the channel, and thus, no current flows and no power is consumed.
Accordingly, since the data inversion circuit 100 has a characteristic that power is consumed in the load unit when the data symbol is 1 and power is not consumed in the load unit when the data symbol is 0, the DBI-encoding may use this characteristic to perform encoding. In other words, the data symbol of the inputted data is analyzed, and if the number of 1's is less than the number of 0's based on a certain number, the data are inverted to cause the number of 1's to be greater than the number of 0's, and the power consumed in the entire circuit can be made smaller, thereby reducing power consumption. And, the encoding method according to such a method may be referred to as a DBI-DC encoding method or a first encoding method in the present disclosure.
On the other hand, if the encoding based on the PAM 4 signal is performed on the inputted data according to the embodiment of the data encoding unit 120, the data symbols are generated as a total of four types of signals, ‘00’, ‘01’, ‘10’, and ‘11’, as discussed above in the case of the PAM 4 signal, and thus, the connection form of the loads connected to the channel according to each signal may be formed differently from the case of the NRZ signal.
As one example, the load unit 140 may include four loads M1, M2, M3, and M4, as shown in
Looking into a connection form in which the loads of the load unit 140 are connected to the channel 170 according to the type of data symbol with reference to
If M0 is 50 ohms, M1 is 150 ohms, and M3 is 75 ohms in
There will be a structure in which only the second load M2 and the third load M3 are connected to the channel 170 under the control of the control unit 150 as shown in
If M0 is 50 ohms, M2 is 150 ohms, and M3 is 75 ohms in
There will be a structure in which only the first load M1 and the fourth load M4 are connected to the channel 170 under the control of the control unit 150 as shown in
If M0 is 50 ohms, M1 is 150 ohms, and M4 is 75 ohms in
There will be a structure in which only the second load M2 and the fourth load M4 are connected to the channel 170 under the control of the control unit 150 as shown in
In other words, since the power consumption according to the data symbol is highest when the data symbol is 00 and the power is consumed less in the order of 01, 10, and 11, the data inversion circuit 100 in accordance with the present disclosure can enhance the power efficiency of the entire circuit by analyzing the arrangement and form of the data symbol for the inputted data, and performing encoding of inverting the data if it is decided that inverting and transmitting the data consumes less power. Hereinafter, a data encoding method will be discussed in detail.
The first encoding method in accordance with the present disclosure refers to a method of performing encoding by the data encoding unit 120 on the inputted data based on the auxiliary signal generated by the auxiliary signal generation unit 130 if the inputted data are data based on a PAM 4 signal but the auxiliary signal serving as a reference for encoding is an NRZ signal.
Since there are only two data symbols of 0 and 1 for the data if the data are based on an NRZ signal but there are a total of four data symbols of ‘00’, ‘01’, ‘10’, and ‘11’ in the case of a PAM 4 signal, the power consumption of the entire circuit may be rather increased if the DBI encoding is performed according to the PAM 2 signal. Therefore, when designing an auxiliary signal including information on an encoding method, in other words, the DBI-DC flag, as an NRZ signal (0 or 1), a reference equation is needed to determine based on what reference the design is to be carried out.
In order to determine the reference equation serving as a reference of whether to invert the data, how the power consumption occurs in the data transmission unit 160 for each data symbol in the PAM 4 signal is calculated as analyzed in
If the power consumption when the data are inverted is smaller than the power consumption before the inversion, the data are inverted, and if the power consumption when the data are inverted is greater than the power consumption after the inversion, the inputted data are transmitted as they are without inverting the data.
To express this using an equation, let the number of ‘00’ be x, the number of ‘01’ be y, the number of ‘10’ be z, and the number of ‘11’ be w by analyzing the data symbols for the inputted data, then the circuit power consumption W1 when data are not inverted can be defined by Equation (1) below:
W1=first power consumption*x+second power consumption*y+third power consumption*z+the fourth power consumption*w Equation (1)
And as one example, if M0 is 50 ohms, M2 is 150 ohms, M3 is 75 ohms, M4 is 75 ohms, and the input voltage Vdd is 1 V, Equation (1) can be expressed as Equation (2) below:
Conversely, the circuit power consumption W2 in the case of the inversion for the inputted data (if 0 is inverted to 1 and 1 is inverted to 0) can be expressed as Equation (2) below:
W2=first power consumption*x+second power consumption*y+third power consumption*z+fourth power consumption*w Equation (3)
And as one example, if M0 is 50 ohms, M2 is 150 ohms, M3 is 75 ohms, M4 is 75 ohms, and the input voltage Vdd is 1 V, Equation (1) can be expressed as Equation (3) below:
3x+y−z−3w≥0 Equation (4)
In other words, the data encoding unit 120 compares W1 and W2, and if W1 is larger, the data are inverted and transmitted as it is more power efficient to invert and transmit the data, and if W1 is smaller, the data are transmitted as they are without converting them as it is more power efficient to transmit the data as they are without inverting them.
And to express this differently, as the equation serving as a reference for data inversion refers to a case where W1, the power consumption before inversion, is greater than W2, the power consumption after the inversion, rearranging Equations (2) and (4) causes the reference equation serving as the
inversion to be arranged as in Equation (5) below, and the value calculated according to Equation (5) can be referred to as a reference value.
Equation (5):
In other words, the data encoding unit 120 calculates the number of each of the data symbols and then determines whether or not Equation (5) is satisfied, and if satisfied, the input data are inverted and transmitted, and otherwise, the input data are transmitted as they are without inversion.
As one example, if describe based on the input data shown in
Conversely, in the case that the input data that come in sixth are 00/01/11/11, the number of 00's is one (1), the number of 01's is one (1), and the number of 11's is three (3), and thus, x=1, y=1, z=0, w=2, and plugging this into Equation (5) results in a reference value of −2. Therefore, the auxiliary signal generation unit 130 generates and transmits an auxiliary signal ‘0’ instructing to transmit the input data as they are without encoding the data to the data encoding unit 120.
In the case of the first encoding method, the input data are data based on the PAM 4 signal, but since the auxiliary signal corresponds to the NRZ signal, only signals of 0 or 1 can be generated. Therefore, the data encoding unit 120 inverts and encodes the input data and transmits the encoded data when it receives a signal of 0 from the auxiliary signal generation unit 130, and transmits the input data as they are without inverting them when it receives a signal of 1.
Meanwhile, the first encoding method is a method based on the premise that the auxiliary signal is generated as an NRZ signal, and as another embodiment of the present disclosure, the auxiliary signal may be generated as a PAM 4 signal, and encoding may be performed based on this.
In the case of implementing the auxiliary signal as a PAM 4 signal, the auxiliary signal is generated as a 2-bit signal unlike the NRZ signal, and thus, a weight different from the weight of the first encoding is applied, and since the data symbol 11 consumes the least power (consumes practically no power) as described earlier, the second encoding method refers to a method of exchanging the data symbol that takes up the highest proportion of the input data with the data symbol 11.
For example, if the number of 00's is four (4) and the number of 11's is one (1) among the data symbols, the second encoding may be performed by a method of setting the auxiliary signal to ‘00’, changing the number of data symbols 00 to one, and changing the number of data symbols 11 to four. In other words, there is an advantage of being able to reduce the power consumption of the entire circuit by determining the number of each type of data symbol and replacing the data symbol having the highest proportion with the data symbol 11 having the lowest use of power.
So far, the first encoding and the second encoding, which can reduce the power consumption of the entire circuit, have been discussed. In the following, the crosstalk phenomenon that may occur in the data inversion circuit will be described through the drawings, and a method that can reduce the crosstalk phenomenon will be discussed in detail.
A crosstalk phenomenon is a phenomenon in which signals on different transmission lines affect other lines by electrical coupling such as inductive coupling, a crosstalk phenomenon is a direct cause for deteriorating communication quality, and such a crosstalk phenomenon frequently occurs if there are changes in the data transmitted on any one data line when data are transmitted through a plurality of data lines.
This will be described through
Accordingly, a crosstalk phenomenon occurs in other adjacent data lines due to electrical coupling such as inductive coupling when there is a change in the magnitude of a signal in a particular data line in this way. In other words, as shown in the figure, a crosstalk phenomenon occurs in the second data line D2 due to signal changes in the first data line D1 and the third data line D3, a crosstalk phenomenon occurs in the fourth data line D4 due to a signal change in the third data line D3, and as the second data line D2 is affected by the signal changes of the data lines on both sides unlike the fourth data line D4, a crosstalk phenomenon greater than that of the fourth data line D4 occurs.
Therefore, it is necessary to ensure that there is no change in the signals in the data lines in order to suppress the crosstalk phenomenon, but since it is not possible to transmit data so that the signal change itself does not occur in transmitting the data, minimizing the number of lines in which the crosstalk phenomenon occurs in a plurality of data lines included in the channel can reduce problems caused by the crosstalk phenomenon.
Specifically, looking into this closely, in the case that the number of data symbols changing from ‘0’ to ‘1’ exceeds the majority through the comparison of the data to be transmitted now with the data transmitted previously, if the values of the data to be transmitted now are inverted and transmitted, the number of data symbols changing from 0 to 1 does not exceed the majority, and thus, the number of crosstalk occurring in the entire data line can be reduced.
For example, in the case that there is a change in the data symbol in the five data lines and no change in the data symbol in the three data lines out of eight data lines based on the data to be transmitted now, if the data to be transmitted now are inverted and transmitted, the change in the data symbol occur only on the three data lines and no change in the data symbol occur on the five data lines, and thus, the number of data lines in which the crosstalk occurs in the entire circuit can be reduced from five to three.
Conversely, in the case that there is a change in the data symbol in the three data lines and no change in the data symbol in the five data lines out of eight data lines based on the data to be transmitted now, if the data to be transmitted now are inverted and transmitted, a crosstalk phenomenon occurs rather on the five data lines, and thus, the number of data lines on which the crosstalk phenomenon occurs is greater than the case where the data are inverted and transmitted, and accordingly, the data can be transmitted as they are without inverting them in such a case. As a change in the data symbol occurs and there is no change in the data symbol in the five data lines, it is possible to prevent the crosstalk phenomenon in the entire circuit from occurring.
Therefore, the data encoding unit 120 in accordance with the present disclosure may perform a third encoding on the input data through this method, and as the input data in accordance with the present disclosure are data based on the PAM 4 signal, a reference is set for the change of the data symbol according to the PAM 4 signal, and encoding may then be performed according to the reference.
Specifically, there are a total of four data symbols such as 00, 01, 10, and 11 in the case of the PAM 4 signal, and as the number increases, the level corresponding to the magnitude of voltage corresponding to the data symbol increases. For example, if 00 corresponds to 0 V and 11 corresponds to X V, then 01 corresponds to ⅓ V and 10 corresponds to ⅔ V. That is, as the data symbols increase one by one from 00, the level of data is evenly increased by one level.
Therefore, if a change in the data symbol occurs over time in transmitting data, a change in the level of the voltage by that amount occurs, and the more such changes occur, the greater the crosstalk phenomenon occurring in the entire data line. Accordingly, if it is decided whether to invert the input data based on these characteristics, data can be encoded more efficiently. In the following, a detailed discussion will be made with reference to the drawings.
The data encoding unit 120 may determine whether to perform the third encoding based on the change in the level of the total data symbols occurring in the data line as described above, which may be decided based on the total number of data lines and the stack value calculated for each data line.
Specifically, the data encoding unit 120 calculates the maximum stack value that can occur in correspondence to the number of data lines, and then calculates a summed value of all the stack values based on the current input data and the previous input data for each data line, and performs encoding on the input data and then transmits them if the summed stack value is greater than ½ of the maximum stack value, and transmits the data as they are without encoding them if the summed stack value is less than or equal to ½ of the maximum stack value.
As one example, if described based on the table of
And, as set forth in
On the other hand, as set forth in
Therefore, the sum of the stack values in all the data lines is 4, which is less than or equal to 6, which is half of the maximum stack value of 12, and accordingly, since inverting the data would rather increase the maximum stack value and rather cause the crosstalk phenomenon to be larger in such a case, the data encoding unit 120 transmits the data as they are without inverting them at this time.
Meanwhile, the calculation of such stack values may be performed by the data encoding unit 120 or by the auxiliary signal generation unit 130. If the auxiliary signal generation unit 130 generates an auxiliary signal for the third encoding, the auxiliary signal may be transmitted as an NRZ signal.
Therefore, the auxiliary signal generation unit 130 generates an auxiliary signal 1 that requires encoding and transmits the generated auxiliary signal to the data encoding unit 120 if it determines that it is a case requiring encoding according to the stack value calculation result, and generates an auxiliary signal 0 that does not require encoding and transmits the generated auxiliary signal to the data encoding unit 120 if it is determined that encoding is unnecessary.
On the other hand, when performing the third encoding of inverting the data in order to suppress the crosstalk phenomenon, the data encoding unit 120 encodes a method of changing the data symbols in the Nth data line and the (N+1)th data line without inverting the data (0 to 1, 1 to 0) according to the first encoding method.
That is, if the data encoding unit 120 determines that the third encoding needs to be performed, the data encoding unit 120 may perform encoding on the input data in the method of exchanging the data symbols of a first data line D1 and a second data line D2 and exchanging the data symbols of a third data line D3 and a fourth data line D4, as shown in
Therefore, when 8, which is the sum of the total stack values, exceeds 6, which is half of the maximum stack value as in
The reason that the third encoding method encodes in a method different from the first encoding method and the second encoding method is that the first encoding and the second encoding have the purpose of reducing power consumption, whereas the third encoding corresponds to an encoding method whose purpose is to suppress the crosstalk phenomenon. Therefore, if the first encoding method or the second encoding method is applied as an encoding method for preventing the crosstalk phenomenon, power consumption may rather increase. However, if data are encoded in the third encoding method, the value of the entire data itself does not change but only the location where the data are transmitted changes, and thus, the difference in the change of the data symbols is small while there is no change in power consumption, resulting in an effect of being able to effectively suppress the crosstalk phenomenon.
On the other hand, such an encoding method can be applied by the same principle even when the channel has eight data lines instead of four. A detailed discussion will be provided through the drawings below.
The data encoding unit 120 may determine whether to perform the third encoding based on the change in the level of the total data symbols occurring in the data line as described above, which may be decided based on the total number of data lines and the stack value calculated for each data line.
Specifically, the data encoding unit 120 calculates the maximum stack value that can occur in correspondence to the number of data lines, and then calculates a summed stack value of all the stack values based on the current input data and the previous input data for each data line, and inverts and then transmits the data if the stack value is greater than ½ of the maximum stack value, and transmits the data as they are without inverting them if the stack value is less than or equal to ½ of the maximum stack value.
If described based on the table of
And, as set forth in
Meanwhile, as a result of calculating the stack values for the input data inputted at the current time T0 described in
Meanwhile, the calculation of such stack values may be performed by the data encoding unit 120 or by the auxiliary signal generation unit 130. If the auxiliary signal generation unit 130 generates an auxiliary signal for the third encoding, the auxiliary signal may be transmitted as an NRZ signal.
Therefore, the auxiliary signal generation unit 130 generates an auxiliary signal of 0 that requires encoding and transmits the generated auxiliary signal to the data encoding unit 120 if it determines that it is a case requiring encoding according to the stack value calculation result, and generates an auxiliary signal of 1 that does not require encoding and transmits the generated auxiliary signal to the data encoding unit 120 if it is determined that encoding is unnecessary.
On the other hand, when performing the third encoding of inverting the data in order to suppress the crosstalk phenomenon, encoding a method of changing the data symbols in the Nth data line and the (N+1)th data line is performed, as described with reference to
That is, if it is determined that the third encoding needs to be performed, the data encoding unit 120 may perform encoding on the input data in the method of exchanging the data symbols of a first data line D1 and a second data line D2, exchanging the data symbols of a third data line D3 and a fourth data line D4, exchanging the data symbols of a fifth data line D5 and a sixth data line D6, and exchanging the data symbols of a seventh data line D7 and an eighth data line D8, as shown in
Therefore, when the sum (14) of the total stack values exceeds half (12) of the maximum stack value as in
In the case of the third encoding method according to
In a specific discussion for the third encoding method according to
In other words, the sum of the first stack values is equal to 8 in the case of
That is, the total value of the stack values means the degree to which the crosstalk phenomenon occurs in the whole data lines, and the sum of the first stack values and the sum of the second stack values are compared in the same way as the third encoding, and in the case that the second stack value is less than the first stack value, if the input data are converted and then the data are transmitted, the magnitude of the stack value of the transmitted data gets smaller, and thus, there is an effect that the crosstalk phenomenon occurs relatively less.
Meanwhile, the calculation and comparison of such stack values may be performed by the data encoding unit 120 or by the auxiliary signal generation unit 130. If the auxiliary signal generation unit 130 generates an auxiliary signal for the third encoding, the auxiliary signal may be transmitted as an NRZ signal.
Therefore, the auxiliary signal generation unit 130 generates an auxiliary signal of 0 that requires encoding and transmits the generated auxiliary signal to the data encoding unit 120 if it determines that it is a case requiring encoding according to the stack value calculation result, and generates an auxiliary signal of 1 that does not require encoding and transmits the generated auxiliary signal to the data encoding unit 120 if it is determined that encoding is unnecessary.
On the other hand, such an encoding method can be applied by the same principle even when the channel has eight data lines instead of four. That is, the sum of the first stack values is obtained by comparing the input data for the current time T1 and the input data for the previous time T0, as described in the table of
If the sum of the first stack values is less than the sum of the second stack values, unlike what is described in
Referring to
The data encoding unit 120 may include a first encoding unit 121 that primarily performs encoding on the input data, and a second encoding unit 122 that generates encoded data that performs secondary encoding on the intermediate data generated by the first encoding unit 121.
Specifically, the first encoding unit 121 is a component that performs the first encoding described above and may be referred to as a DBI-DC encoding unit according to its role, and the second encoding unit 122 is a component that performs the third encoding described above and may be referred to as a DBI-Cross encoding unit according to its role. In accordance with this, the first auxiliary signal generation unit 131 is a component that generates a first auxiliary signal that determines whether the first encoding unit 121 is to perform the first encoding, and the second auxiliary signal generation unit 132 is a component that generates a second auxiliary signal that determines whether the second encoding unit 122 is to perform the second encoding. The method of performing the first encoding method and the third encoding have been described above, and thus, it will be discussed how the first encoding method and the third encoding method are sequentially applied based on
When inputted as input data at time T1 as described in the table of
The first encoding unit 121 that has received the first auxiliary signal, which is 1 as the data symbol, performs the first encoding on the input data of time T1 according to the first encoding method described above, and generates intermediate data of T1 time as described in the table.
After that, the second auxiliary signal generation unit 132 compares the intermediate data of the time T1 with the input data of the time T0 to thereby determine whether to perform the third encoding. Specifically, it is possible to determine whether to perform the third encoding according to the method described in
If described based on the table of
The second encoding unit 122 that has received the second auxiliary signal, which is the data symbol 1, performs encoding according to the third encoding method described above and generates final encoded data as described in the last right item of the table.
On the other hand, since the auxiliary signal may be generated as a PAM 4 signal, which is a signal of a total of 2 bits, as one is generated by the first auxiliary signal generation unit 131 and another is generated by the second auxiliary signal generation unit 132 in
For example, if the auxiliary signal is 00, the first auxiliary signal is 0 and the second auxiliary signal is also 0, and thus, the encoding unit 120 performs neither the first encoding nor the third encoding, if the auxiliary signal is 01, the first auxiliary signal is 0 and the second auxiliary signal is 1, and thus, the encoding unit 120 does not perform the first encoding but performs the third encoding, and if the auxiliary signal is 10, the first auxiliary signal is 1 and the second auxiliary signal is 0, and thus, the encoding unit 120 performs the first encoding but not perform the third encoding. Finally, if the auxiliary signal is 11, the first auxiliary signal is 1 and the second auxiliary signal is also 1, and thus, the encoding unit 120 performs both the first encoding and the third encoding.
If data are encoded according to the fourth encoding in which the first encoding and the third encoding are sequentially applied as in the method described in
Referring to
In addition, it can be confirmed that the data are transmitted using the fourth encoding method and only 82.70% of the power consumption is used for DC and only 80.60% is used for AC as compared with the case where no encoding is performed at all for input data based on the PAM 4 signal. That is, it can be seen from the experimental results that any encoding method in accordance with the present disclosure has an effect of reducing power consumption over the prior art.
So far, a data inversion circuit to perform DBI-DC encoding using PAM 4 signal according to the embodiment have been described in detail.
On the other hand, the constitutional elements, units, modules, components, and the like stated as “part or portion” in the present invention may be implemented together or individually as logic devices interoperable while being individual. Descriptions of different features of modules, units or the like are intended to emphasize functional embodiments different from each other and do not necessarily mean that the embodiments should be realized by individual hardware or software components. Rather, the functions related to one or more modules or units may be performed by individual hardware or software components or integrated in common or individual hardware or software components.
A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it can be deployed in any form, including as a standalone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment.
Additionally, the logic flows and structure block diagrams described in this patent document, which describe particular methods and/or corresponding acts in support of steps and corresponding functions in support of disclosed structural means, may also be utilized to implement corresponding software structures and algorithms, and equivalents thereof.
The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output.
This written description sets forth the best mode of the present invention and provides examples to describe the present invention and to enable a person of ordinary skill in the art to make and use the present invention. This written description does not limit the present invention to the specific terms set forth.
While the present invention has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in forms and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims and their equivalents. Therefore, the technical scope of the present invention may be determined by on the technical scope of the accompanying claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2021-0112909 | Aug 2021 | KR | national |