KR101653468B1 - Data inversion coding apparatus and method - Google Patents
Data inversion coding apparatus and method Download PDFInfo
- Publication number
- KR101653468B1 KR101653468B1 KR1020140182349A KR20140182349A KR101653468B1 KR 101653468 B1 KR101653468 B1 KR 101653468B1 KR 1020140182349 A KR1020140182349 A KR 1020140182349A KR 20140182349 A KR20140182349 A KR 20140182349A KR 101653468 B1 KR101653468 B1 KR 101653468B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- inversion
- bits
- previous
- current data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/14—Conversion to or from non-weighted codes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Dc Digital Transmission (AREA)
Abstract
DBI 플래그 신호도 고려하여 실질적으로 천이되는 비트의 수가 현재 데이터의 전체 비트 수의 절반 이하가 되도록 하는 데이터 반전 코딩 장치 및 방법이 개시된다. 상기 데이터 반전 코딩 장치는 이전 데이터로부터 현재 데이터의 비트 천이 및 이전 데이터 반전 정보 신호의 로직을 고려하여 상기 현재 데이터의 반전 여부를 결정하는 데이터 반전 결정부 및 상기 데이터 반전 결정부의 결정에 따라 상기 현재 데이터를 반전 또는 비반전시켜 출력 데이터로서 출력하는 데이터 변환부를 포함한다. 여기서, 상기 이전 데이터 반전 정보 신호는 상기 이전 데이터의 반전 여부에 대한 정보를 가진다. A data reversal coding apparatus and method are disclosed in which the number of bits that are substantially transited in consideration of the DBI flag signal is equal to or less than half of the total number of bits of the current data. Wherein the data reversal coding apparatus comprises a data reversal determination unit for determining whether to reverse the current data in consideration of the bit transition of the current data and the logic of the previous data reversal information signal from the previous data, And outputs the result as output data. Here, the previous data inversion information signal has information on whether the previous data is inverted.
Description
본 발명은 데이터 반전 코딩 장치 및 방법에 관한 것이다. The present invention relates to a data reversal coding apparatus and method.
DBI 코딩은 현재 데이터와 이전 데이터를 비교하여 현재 데이터의 전체 비트의 절반을 초과하는 비트들이 이전 데이터의 비트들로부터 천이된 경우 현재 데이터를 반전시켜 출력하는 방법을 나타낸다. The DBI coding indicates a method of comparing the current data with the previous data and inverting the current data when bits exceeding half of all the bits of the current data are shifted from the bits of the previous data.
그러나, 종래의 DBI 코딩은 DBI 플래그 신호의 논리 값을 고려하지 않고 데이터를 반전시키거나 비반전시킨다. 따라서, 현재 데이터의 비트들 중 절반이 이전 데이터의 비트들로부터 천이된 경우에 현재 DBI 플래그 신호의 논리 값이 이전 DBI 플래그 신호의 논리 값과 다르면, 실질적으로 발생한 천이 개수는 (N+1)이 되며, 2N은 현재 데이터의 전체 비트 수를 의미한다. 결과적으로, 논리 값이 낮은 데이터 핀의 개수가 절반을 초과하는 문제점이 있다.
However, conventional DBI coding reverses or non-reverses data without considering the logical value of the DBI flag signal. Therefore, if half of the bits of the current data are shifted from the bits of the previous data, if the logic value of the current DBI flag signal is different from the logic value of the previous DBI flag signal, the number of transitions actually occurring is (N + 1) And 2N denotes the total number of bits of the current data. As a result, there is a problem that the number of data pins with low logical values exceeds half.
본 발명은 DBI 플래그 신호도 고려하여 실질적으로 천이되는 비트의 수가 현재 데이터의 전체 비트 수의 절반 이하가 되도록 하는 데이터 반전 코딩 장치 및 방법 제공하는 것이다.The present invention provides a data reversal coding apparatus and method for considering the DBI flag signal so that the number of substantially transited bits is less than half of the total number of bits of the current data.
상기한 바와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 데이터 반전 코딩 장치는 이전 데이터로부터 현재 데이터의 비트 천이 및 이전 데이터 반전 정보 신호의 로직을 고려하여 상기 현재 데이터의 반전 여부를 결정하는 데이터 반전 결정부; 및 상기 데이터 반전 결정부의 결정에 따라 상기 현재 데이터를 반전 또는 비반전시켜 출력 데이터로서 출력하는 데이터 변환부를 포함한다. 여기서, 상기 이전 데이터 반전 정보 신호는 상기 이전 데이터의 반전 여부에 대한 정보를 가진다. In order to achieve the above object, the data inversion coding apparatus according to an embodiment of the present invention determines whether or not the current data is inverted in consideration of the bit transition of the current data and the logic of the previous data inversion information signal from the previous data A data inversion determining unit; And a data conversion unit for inverting or noninverting the current data according to the determination of the data inversion determination unit and outputting the inverted or inverted data as output data. Here, the previous data inversion information signal has information on whether the previous data is inverted.
본 발명의 다른 실시예에 따른 데이터 반전 코딩 장치는 현재 데이터와 이전 데이터를 비교하여 천이 비트를 검출하는 천이 판단부; 및 상기 천이 판단부로부터의 출력과 이전 데이터 반전 정보 신호의 로직을 고려하여 상기 현재 데이터의 반전 여부를 결정하는 반전 결정 회로부를 포함한다. 여기서, 상기 반전 결정 회로부는 상기 현재 데이터의 반전/비반전에 따른 출력 데이터와 상기 반전/비반전에 대한 정보를 가지는 현재 데이터 반전 정보 신호의 비트들이 상기 이전 데이터와 상기 이전 데이터 반전 정보 신호의 비트들로부터 천이된 비트의 수가 N 이하가 되도록 상기 현재 데이터의 반전 여부를 결정하며, 2N은 상기 현재 데이터의 전체 비트 수를 의미한다. According to another aspect of the present invention, there is provided a data inversion coding apparatus including: a transition determining unit for comparing a current data with a previous data to detect a transition bit; And an inversion decision circuit section for determining whether the current data is inverted in consideration of the output from the transition determining section and the logic of the previous data inversion information signal. Here, the inversion decision circuit part may determine that the bits of the current data inversion information signal having the inversion / non-inversion of the current data and the inversion / non-inversion information are different from the bits of the previous data and the previous data inversion information signal 2N is the total number of bits of the current data.
본 발명의 일 실시예에 따른 데이터 반전 코딩 방법은 이전 데이터로부터 현재 데이터의 비트 천이 및 이전 데이터 반전 정보 신호의 로직을 고려하여 상기 현재 데이터의 반전 여부를 결정하는 단계; 상기 데이터 반전 결정부의 결정에 따라 상기 현재 데이터를 반전 또는 비반전시켜 출력 데이터로서 출력하는 단계; 및 상기 현재 데이터의 반전 또는 비반전에 대한 정보를 가지는 현재 데이터 반전 정보 신호를 출력하는 단계를 포함한다. 여기서, 상기 이전 데이터 반전 정보 신호는 상기 이전 데이터의 반전 여부에 대한 정보를 가지며, 상기 현재 데이터 반전 정보 신호는 상기 현재 데이터의 반전 여부에 대한 정보를 가진다. According to another aspect of the present invention, there is provided a data inversion coding method comprising the steps of: determining whether the current data is inverted in consideration of a bit transition of current data and a logic of a previous data inversion information signal from previous data; Inverting or noninverting the current data according to the determination of the data inversion determining unit and outputting the inverted or inverted data as output data; And outputting a current data inversion information signal having information on inversion or non-inversion of the current data. Here, the previous data inversion information signal has information on whether the previous data is inverted, and the current data inversion information signal has information on whether the current data is inverted.
본 발명의 또 다른 실시예에 따른 데이터 반전 코딩 장치는 현재 데이터의 반전/비반전에 따른 출력 데이터와 데이터 반전 정보 신호의 비트들 중 기준 데이터 비트에 해당하는 비트의 수가 N 이상이 되도록 상기 현재 데이터의 반전 여부를 결정하는 데이터 반전 결정부; 및 상기 결정에 따라 상기 현재 데이터를 반전/비반전시켜 상기 출력 데이터로서 출력하는 데이터 변환부를 포함한다. 여기서, 2N은 상기 현재 데이터의 전체 비트 수를 나타내고, 상기 데이터 반전 정보 신호는 상기 반전/비반전에 대한 정보를 가진다. The data inversion coding apparatus according to another embodiment of the present invention may further include a data inversion coding apparatus for performing inverse and inverse inversion of the current data, A data inversion determining unit for determining whether or not the data is inverted; And a data conversion unit for inverting / noninverting the current data according to the determination and outputting the inverted data as the output data. Herein, 2N denotes the total number of bits of the current data, and the data inversion information signal has information on the inversion / non-inversion.
본 발명의 다른 실시예에 따른 데이터 반전 코딩 방법은 현재 데이터의 반전/비반전에 따른 출력 데이터와 데이터 반전 정보 신호의 비트들 중 기준 데이터 비트에 해당하는 비트의 수가 N 이상이 되도록 상기 현재 데이터의 반전 여부를 결정하는 단계; 및 상기 결정에 따라 상기 현재 데이터를 반전/비반전시켜 상기 출력 데이터로서 출력하는 단계를 포함한다. 여기서, 2N은 상기 현재 데이터의 전체 비트 수를 나타내고, 상기 데이터 반전 정보 신호는 상기 반전/비반전에 대한 정보를 가진다. The data inversion coding method according to another embodiment of the present invention is a method of inverting the current data so that the number of bits corresponding to the reference data bit among the bits of the output data and the data inversion information signal according to the inversion / non- Determining whether to invert; And inverting / noninverting the current data according to the determination to output the output data as the output data. Herein, 2N denotes the total number of bits of the current data, and the data inversion information signal has information on the inversion / non-inversion.
본 발명에 따른 데이터 반전 코딩 장치 및 방법은 DBI 플래그 신호도 고려하여 현재 데이터를 반전/비반전시키므로, 비트 천이 수가 실질적으로 N(2N이 현재 데이터의 전체 비트 수임) 이하로 유지될 수 있으며, 그 결과 SSN이 감소할 수 있다. Since the apparatus and method for reversing data according to the present invention inverts / non-inverts the current data in consideration of the DBI flag signal, the number of bit transitions can be maintained substantially equal to or less than N (2N is the total number of bits of the current data) The resulting SSN can be reduced.
또한, 본 발명의 데이터 반전 코딩 장치 및 방법은 D현재 데이터 및 DBI 플래그 신호의 비트들에서 기준 데이터 비트에 해당하는 비트가 다른 비트 이상이 되도록 코딩하므로, SSN이 감소할 수 있다.
In addition, the data inversion coding apparatus and method of the present invention can reduce the SSN because the bits corresponding to the reference data bits in the bits of the D present data and the DBI flag signal are coded to be equal to or greater than other bits.
도 1은 본 발명의 제 1 실시예에 따른 데이터 반전 코딩 장치를 도시한 블록도이다.
도 2는 본 발명의 제 1 실시예에 따른 데이터 반전 코딩 과정을 도시한 순서도이다.
도 3 및 도 4는 데이터 반전 코딩의 적용예들을 도시한 도면들이다.
도 5는 본 발명의 일 실시예에 따른 데이터 반전 코딩 장치의 회로를 도시한 도면이다.
도 6은 본 발명의 일 실시예에 따른 반전 결정 회로부를 도시한 도면이다.
도 7은 본 발명의 제 2 실시예에 따른 데이터 반전 코딩 과정을 도시한 순서도이다.
도 8 및 도 9는 데이터 반전 코딩의 적용예들을 도시한 도면들이다.
도 10은 본 발명의 제 2 실시예에 따른 데이터 반전 코딩 장치를 도시한 블록도이다.
도 11은 본 발명의 다른 실시예에 다른 데이터 반전 코딩 장치의 회로를 도시한 도면이다.
도 12는 본 발명의 다른 실시예에 따른 다수결 회로를 도시한 도면이다. 1 is a block diagram illustrating a data inversion coding apparatus according to a first embodiment of the present invention.
2 is a flowchart illustrating a data inversion coding process according to the first embodiment of the present invention.
3 and 4 are diagrams showing application examples of data inversion coding.
5 is a circuit diagram of a data inversion coding apparatus according to an embodiment of the present invention.
6 is a diagram illustrating an inversion decision circuit portion according to an embodiment of the present invention.
FIG. 7 is a flowchart illustrating a data inversion coding process according to a second embodiment of the present invention.
8 and 9 are diagrams showing application examples of data inversion coding.
10 is a block diagram illustrating a data inversion coding apparatus according to a second embodiment of the present invention.
11 is a circuit diagram of a data inversion coding apparatus according to another embodiment of the present invention.
12 is a diagram showing a majority circuit according to another embodiment of the present invention.
이하에서는 첨부된 도면들을 참조하여 본 발명의 실시예들을 자세히 설명하도록 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명은 송신기에 사용되는 데이터 반전 코딩 장치 및 방법에 관한 것으로서, DBI(Date Bus Inversion) 코딩시 데이터의 신뢰도를 저하시키는 동시 스위칭 잡음(Simultaneous Switching Noise, SSN)을 감소시키는 데이터 반전 코딩 장치 및 방법을 제안한다. 여기서, SSN은 신호 주파수가 올라가면서 전압의 (+)와 (-)가 급격히 변화게 될 때 이로 인한 선로의 인덕턴스 성분들의 변화가 상기 전압의 변화를 따라가지 못하여 발생하는 전압 떨림 현상을 의미한다. BACKGROUND OF THE
DBI 코딩은 표준 협회 중 하나인 JEDEC에서 정의한 기술로서, 논리 값이 낮은 데이터 핀을 전체의 절반 이하로 줄여서 소비 전력을 더 감소시키기 위해 사용된다. DBI coding is a technology defined by JEDEC, one of the standards associations, and is used to further reduce power consumption by reducing data pins with low logic values to less than half of the total.
DBI 코딩은 DBI-AC 코딩과 DBI-DC 코딩으로 분류될 수 있다. DBI coding can be classified into DBI-AC coding and DBI-DC coding.
DBI-AC 코딩은 현재 데이터(병렬 데이터)를 이전 데이터와 비교하여 현재 데이터의 전체 비트 중 절반을 초과하는 비트가 이전 데이터의 비트들로부터 데이터 천이(Data transition)된 경우 현재 데이터를 반전시키고, 반전 데이터 및 상기 반전에 관한 정보를 가지는 하이 로직의 DBI 플래그 신호(DBI Flag signal)를 수신기로 전송한다. 물론, 현재 데이터의 전체 비트 중 절반 이하의 비트가 이전 데이터의 비트들로부터 천이된 경우에는 현재 데이터를 반전시킴 없이 수신기로 전송하고, 상기 비반전에 관한 정보를 가지는 로우 로직의 DBI 플래그 신호를 수신기로 전송한다. 수신기는 상기 DBI 플래그 신호의 로직을 통하여 전송된 데이터를 비반전하거나 반전하여 현재 데이터를 복원한다. The DBI-AC coding compares the current data (parallel data) with the previous data, inverts the current data when the bits exceeding half of all the bits of the current data are data transition from the bits of the previous data, And a DBI flag signal (DBI Flag signal) of high logic having information on the data and the inversion. Of course, if less than half of all bits of the current data are shifted from the bits of the previous data, the current data is transmitted to the receiver without inverting the current data, and the DBI flag signal of the low logic having the non- Lt; / RTI > The receiver non-inverts or inverts the data transmitted through the logic of the DBI flag signal to recover the current data.
DBI-DC 코딩은 "0"과 "1" 중 많이 출력하고자 하는 비트(이하, "기준 데이터 비트"라 함)의 수가 많도록 현재 데이터를 반전 또는 비반전시킨다. 예를 들어, "0"을 많이 출력하고자 할 때, 현재 데이터의 전체 비트 중 "0"인 비트의 수가 절반 이하이면 데이터를 반전시켜 출력하고, "0"인 비트의 수가 절반보다 크면 데이터를 반전시킴 없이 출력한다. DBI-DC coding reverses or non-inverts the current data so that the number of bits to be output (hereinafter, referred to as "reference data bits") is large among "0" and "1". For example, when a large amount of " 0 "s are to be output, data is inverted if the number of bits of" 0 " Without output.
현재, 이러한 DBI-AC 코딩은 DBI 플래그 신호의 논리 값은 고려하지 않고 현재 데이터를 반전시키거나 비반전시킨다. 이 때, 현재 데이터의 비트들 중 절반이 이전 데이터의 비트들로부터 천이된 경우에 현재 DBI 플래그 신호의 논리 값이 이전 DBI 플래그 신호의 논리 값과 다르면, 실질적으로 발생한 천이 개수는 (N+1)이 되며, 그 결과 논리 값이 낮은 데이터 핀의 개수가 절반을 초과하는 문제점이 있다. 여기서, 2N은 데이터의 전체 비트 수를 의미한다. Currently, this DBI-AC coding inverts or non-inverts the current data without considering the logic value of the DBI flag signal. In this case, if half of the bits of the current data are shifted from the bits of the previous data, if the logic value of the current DBI flag signal is different from the logic value of the previous DBI flag signal, the number of transitions actually occurring is (N + 1) As a result, the number of data pins having low logic values is more than half. Here, 2N means the total number of bits of data.
또한, DBI-DC 코딩은 기준 데이터 비트의 논리 값을 고려하지 않기 때문에, 현재 데이터의 비트들 중 절반이 기준 데이터 비트와 다른 경우에 DBI 플래그 신호의 논리 값이 기준 데이터 비트와 다르면, 실질적으로 기준 데이터 비트와 다른 비트의 수가 기준 데이터 비트와 동일한 비트의 수보다 많아지는 문제점이 발생한다. In addition, since the DBI-DC coding does not consider the logical value of the reference data bit, if the logical value of the DBI flag signal is different from the reference data bit when half of the bits of the current data are different from the reference data bit, There arises a problem that the number of data bits and other bits is larger than the number of bits equal to the reference data bits.
따라서, 본 발명은 DBI 플래그 신호 또는 기준 데이터 비트를 고려한 데이터 반전 코딩 장치 및 방법을 제안한다. 이하, 설명의 편의를 위하여 데이터의 전체 비트 수를 8로 가정하겠다. 또한, 비트를 "0"과 "1"의 이진수로 가정하겠으나, 이로 한정되는 것은 아니다. Accordingly, the present invention proposes a data inversion coding apparatus and method considering a DBI flag signal or a reference data bit. Hereinafter, for the convenience of explanation, it is assumed that the total number of bits of data is eight. In addition, the bit is assumed to be a binary number of "0" and "1", but is not limited thereto.
한편, 본 발명의 데이터 반전 코딩 장치 및 방법은 병렬 데이터 전송 방식을 사용하는 모든 데이터 송수신 인터페이스 회로에 적용 가능하며, 예를 들어 모바일 또는 그래픽 용도로 사용되는 메모리의 인터페이스 회로, 서버나 PC에 사용되는 메모리의 인터페이스 회로 등에 적용이 가능하다.
Meanwhile, the data reversal coding apparatus and method according to the present invention can be applied to all data transmission / reception interface circuits using a parallel data transmission system, for example, in an interface circuit of a memory used for mobile or graphic purposes, It can be applied to an interface circuit of a memory or the like.
이하, 본 발명의 데이터 반전 코딩 장치 및 방법의 다양한 실시예들을 첨부된 도면들을 참조하여 상술하겠다. Hereinafter, various embodiments of the data reversal coding apparatus and method of the present invention will be described in detail with reference to the accompanying drawings.
우선, DBI-AC 코딩을 살펴보겠다. First, let's look at DBI-AC coding.
도 1은 본 발명의 제 1 실시예에 따른 데이터 반전 코딩 장치를 도시한 블록도이다. 1 is a block diagram illustrating a data inversion coding apparatus according to a first embodiment of the present invention.
도 1을 참조하면, 본 실시예의 데이터 반전 코딩 장치는 데이터 반전 결정부(100) 및 데이터 변환부(102)를 포함할 수 있다. Referring to FIG. 1, the data inversion coding apparatus of the present embodiment may include a data
데이터 반전 결정부(100)는 입력 데이터(이하, "현재 데이터"라 함), 피드백된 출력 데이터(이하, "이전 데이터"라 함) 및 피드백된 이전 데이터 반전 정보 신호를 이용하여 상기 현재 데이터의 반전 여부를 결정하고, 반전 여부에 대한 정보를 가지는 현재 데이터 반전 정보 신호를 출력할 수 있다. 이 때, 상기 현재 데이터 반전 정보 신호는 데이터 반전 결정부(100)의 입력단으로 피드백될 수 있다. The data
구체적으로는, 데이터 반전 결정부(100)는 현재 데이터와 이전 데이터의 천이 비트 수와 피드백된 이전 데이터 반전 정보 신호의 로직을 고려하여 천이되는 비트 수가 N 이하이면 현재 데이터를 반전시키지 않는다고 결정하고, (N+1) 이상이면 현재 데이터를 반전시킨다고 결정한다. 여기서, 2N은 현재 데이터의 전체 비트 수를 의미한다. Specifically, the data
한편, 데이터 반전 정보 신호는 현재 데이터의 반전 여부에 대한 정보를 포함하는 신호로서, 예를 들어 DBI 플래그 신호이다. 상기 데이터 반전 정보 신호는 현재 데이터의 반전이 없는 때에는 로우 로직을 가질 수 있고 현재 데이터가 반전된 때에는 하이 로직을 가질 수 있다. 물론, 상기 데이터 반전 정보 신호는 현재 데이터의 반전이 없는 때에 하이 로직을 가지고 현재 데이터가 반전된 때에는 로우 로직을 가질 수도 있다.On the other hand, the data inversion information signal is a signal including information on whether the current data is inverted, for example, a DBI flag signal. The data inversion information signal may have a low logic when there is no inversion of the current data and a high logic when the current data is inverted. Of course, the data inversion information signal may have a low logic when there is no inversion of the current data and a low logic when the current data is inverted.
다만, JEDEC의 표준을 고려하여, 이하 데이터 반전 정보 신호를 DBI 플래그 신호라 하고, 상기 데이터 반전 정보 신호가 현재 데이터의 반전시에 하이 로직을 가진다고 가정하겠다. However, in consideration of the JEDEC standard, it will be assumed that the data inversion information signal is hereinafter referred to as a DBI flag signal, and the data inversion information signal has a high logic at the time of reversing the current data.
데이터 변환부(102)는 데이터 반전 결정부(100)의 결정에 따라 현재 데이터를 반전 또는 비반전시켜 출력한다. 이 때, 데이터 변환부(102)로부터의 출력(이전 데이터)은 데이터 반전 결정부(100)로 피드백된다. The
정리하면, 본 실시예의 데이터 반전 코딩 장치는 DBI 플래그 신호도 고려하여 비트 천이 개수를 산출하며, 비트 천이 개수가 현재 데이터의 전체 비트 수의 절반 이하가 되도록 코딩을 제어한다. 결과적으로, 데이터 변환부(102)로부터 출력된 출력 데이터와 상기 현재 DBI 플래그 신호의 비트들이 이전 데이터와 이전 DBI 플래그 신호의 비트들로부터 천이된 비트의 수가 N 이하가 된다. 즉, 실질적으로 발생한 비트 천이 개수가 현재 데이터의 전체 비트 수의 절반 이하가 되므로, 상기 데이터 반전 코딩 장치는 SSN 노이즈를 더 줄여서 소비 전력을 감소시킬 수 있다. In summary, the data inversion coding apparatus of the present embodiment calculates the number of bit transitions in consideration of the DBI flag signal, and controls the coding so that the number of bit transitions is equal to or less than half of the total number of bits of the current data. As a result, the number of bits shifted from the bits of the output data and the current DBI flag signal output from the
도 2는 본 발명의 제 1 실시예에 따른 데이터 반전 코딩 과정을 도시한 순서도이고, 도 3 및 도 4는 데이터 반전 코딩의 적용예들을 도시한 도면들이다. FIG. 2 is a flowchart illustrating a data inversion coding process according to the first embodiment of the present invention, and FIGS. 3 and 4 are views showing application examples of data inversion coding.
도 2를 참조하면, 데이터 반전 결정부(100)는 현재 데이터와 이전 데이터를 비교하여 현재 데이터의 비트들이 이전 데이터의 비트들로부터 천이된 개수(또는 비트 천이 정보)를 산출한다(S200). 예를 들어, 도 3에 도시된 현재 데이터와 이전 데이터를 참조하면, 현재 데이터의 전체 비트 중 절반의 비트들이 이전 데이터의 비트들로부터 천이되었음을 확인할 수 있다. Referring to FIG. 2, the data
이어서, 데이터 반전 결정부(100)는 상기 산출된 비트 천이 개수(또는 정보)와 피드백된 이전 DBI 플래그 신호를 고려하여 현재 데이터의 반전 여부를 결정한다(S202). 이에 대한 자세한 설명은 도 3 및 도 4를 참조하여 후술하겠다. Then, the data
계속하여, 데이터 변환부(102)는 데이터 반전 결정부(100)의 결정에 따라 현재 데이터를 비반전하거나 반전시킨다(S204).Subsequently, the
이어서, 데이터 변환부(102)는 상기 반전/비반전 현재 데이터를 출력하고, 데이터 반전 결정부(100)는 현재 DBI 플래그 신호를 출력한다(S206).
Then, the
이하, 위의 데이터 반전 코딩 과정의 실제예를 살펴보겠다. Hereinafter, an actual example of the above data inversion coding process will be described.
도 3에 도시된 바와 같이, 이전 데이터(병렬 데이터)가 "0, 0, 0, 0, 0, 0, 0, 0"이고 이전 DBI 플래그 신호가 "0"이며, 현재 데이터가 "0, 0, 0, 0, 1, 1, 1, 1"이라고 가정하자. 0, 0, 0, 0, 0 "and the previous DBI flag signal is" 0 ", and the current data is" 0, 0 , 0, 0, 1, 1, 1, 1 ".
이 경우, 종래 데이터 반전 코딩 방법은 DBI 플래그 신호를 고려하지 않으므로, 현재 데이터의 비트들이 이전 데이터의 비트들로부터 4비트 천이되었기 때문에 현재 데이터를 반전시킴 없이 로우 로직을 가지는 DBI 플래그 신호를 출력한다. In this case, since the conventional data inversion coding method does not consider the DBI flag signal, the DBI flag signal having the low logic is output without reversing the current data since the bits of the current data are shifted from the bits of the previous data by 4 bits.
본 발명의 데이터 반전 코딩 방법은 이전 DBI 플래그 신호를 고려하여 현재 데이터의 반전 여부를 결정한다. 구체적으로는, 현재 데이터의 비트들이 이전 데이터의 비트들로부터 4비트 천이되었고 이전 DBI 플래그 신호의 로직이 로우 로직이기 때문에, 로우 로직을 가지는 DBI 플래그 신호를 출력하더라도 전체적으로 4 비트만이 천이된다. 즉, 이전 DBI 플래그 신호가 데이터 비반전에 해당하는 로우 로직을 가지는 경우에는, 현재 데이터의 비트들이 이전 데이터의 비트들로부터 4비트 천이된 때 종래 기술과 동일하게 로우 로직을 가지는 DBI 플래그 신호를 출력한다. The data inversion coding method of the present invention determines whether the current data is inverted in consideration of the previous DBI flag signal. Specifically, even if the current data bits are shifted from the previous data bits by 4 bits and the logic of the previous DBI flag signal is low logic, even if the DBI flag signal having low logic is output, only 4 bits are entirely changed. That is, when the previous DBI flag signal has the low logic corresponding to the data inversion, the DBI flag signal having the low logic is outputted in the same manner as in the prior art when the bits of the current data are shifted from the bits of the previous data by 4 bits do.
그러나, 이전 DBI 플래그 신호가 하이 로직을 가지는 경우에는, 종래 기술과 본 발명의 데이터 반전 코딩 방법이 다른 결과를 산출한다. However, when the previous DBI flag signal has a high logic, the prior art and the data inversion coding method of the present invention produce different results.
도 4에 도시된 바와 같이, 이전 데이터(병렬 데이터)가 "0, 0, 0, 0, 0, 0, 0, 0"이고 이전 DBI 플래그 신호가 "1"이며, 현재 데이터가 "0, 0, 0, 0, 1, 1, 1, 1"이라고 가정하자. 0, 0, 0, 0, 0 "and the previous DBI flag signal is" 1 "and the current data is" 0, 0 , 0, 0, 1, 1, 1, 1 ".
이 경우, 종래 기술은 DBI 플래그 신호를 고려하지 않으므로, 현재 데이터의 비트들이 이전 데이터의 비트들로부터 4비트 천이되었기 때문에 로우 로직을 가지는 DBI 플래그 신호를 출력한다. 결과적으로, DBI 플래그 신호의 로직도 천이되었기 때문에, 실제 5비트 천이가 발생하게 된다. In this case, since the prior art does not consider the DBI flag signal, the DBI flag signal having the low logic is outputted because the bits of the current data are shifted from the bits of the previous data by 4 bits. As a result, since the logic of the DBI flag signal has also transitioned, an actual 5-bit transition occurs.
반면에, 본 발명의 데이터 반전 코딩 방법은 이전 DBI 플래그 신호도 고려하므로, 이전 DBI 플래그 신호의 로직이 데이터 반전에 해당하는 하이 로직이면 현재 데이터의 비트들이 이전 데이터의 비트들로부터 4비트 천이되었을지라도 하이 로직을 가지는 DBI 플래그 신호를 출력한다. 결과적으로, 데이터 변환부(102)는 도 4에 도시된 바와 같이 현재 데이터를 반전시켜 출력한다. 이 때, 현재 DBI 플래그 신호가 이전 DBI 플래그 신호로부터 천이되지 않았기 때문에, 실제로 출력 데이터와 상기 현재 DBI 플래그 신호의 비트들이 이전 데이터와 이전 DBI 플래그 신호의 비트들로부터 천이된 비트의 수가 4가 된다. 따라서, 본 발명의 데이터 반전 코딩 방법은 종래 기술에 비하여 SSN을 더 감소시킬 수 있다. On the other hand, since the data inversion coding method of the present invention also takes into account the previous DBI flag signal, if the logic of the previous DBI flag signal is high logic corresponding to data inversion, even if the bits of the current data are shifted 4 bits from the bits of the previous data And outputs a DBI flag signal having a high logic level. As a result, the
정리하면, 현재 데이터의 비트들이 이전 데이터의 비트들로부터 N/2 개수만큼 천이되었을 때, 본 실시예의 데이터 반전 코딩 방법은 이전 DBI 플래그 신호가 로우 로직을 가지면 로우 로직을 가지는 현재 DBI 플래그 신호를 발생시키며, 이전 DBI 플래그 신호가 하이 로직을 가지면 하이 로직을 가지는 현재 DBI 플래그 신호를 발생시킬 수 있다. In summary, when the bits of the current data are shifted by N / 2 from the bits of the previous data, the data inversion coding method of the present embodiment generates the current DBI flag signal having the low logic when the previous DBI flag signal has the low logic , And if the previous DBI flag signal has a high logic, it can generate a current DBI flag signal having a high logic.
즉, 상기 데이터 반전 코딩 방법은 최종 비트 천이가 N/2 이하가 되도록 현재 데이터의 비트들이 이전 데이터의 비트들로부터 N/2 개수만큼 천이되었을 때 현재 DBI 플래그 신호의 로직을 이전 DBI 플래그 신호의 로직으로 유지시킨다. That is, in the data inversion coding method, when the bits of the current data are shifted by N / 2 from the bits of the previous data so that the final bit transition becomes N / 2 or less, the logic of the current DBI flag signal becomes logic .
도 5는 본 발명의 일 실시예에 따른 데이터 반전 코딩 장치의 회로를 도시한 도면이고, 도 6은 본 발명의 일 실시예에 따른 반전 결정 회로부를 도시한 도면이다. FIG. 5 is a circuit diagram of a data inversion coding apparatus according to an embodiment of the present invention, and FIG. 6 is a diagram illustrating an inversion determination circuit unit according to an embodiment of the present invention.
도 5를 참조하면, 본 실시예의 데이터 반전 코딩 장치는 데이터 반전 결정부(100) 및 데이터 변환부(102)를 포함한다. Referring to FIG. 5, the data inversion coding apparatus of the present embodiment includes a data
데이터 반전 결정부(100)는 반전 결정 회로부(500), 데이터 피드백부(502), DBI 피드백부(504) 및 천이 판단부(506)를 포함할 수 있다. The data
데이터 피드백부(502)는 데이터 변환부(102)로부터 출력된 이전 데이터(DQ[7:0])를 데이터 비교부(506)로 피드백시킨다. 일 실시예에 따르면, 데이터 피드백부(502)는 이전 데이터의 비트를 유지하도록 D 플립플롭으로 이루어질 수 있다. The
DBI 피드백부(504)는 반전 결정 회로부(500)로부터 출력된 이전 DBI 플래그 신호를 반전 결정 회로부(500)의 입력단으로 피드백시킨다. 일 실시예에 따르면, DBI 피드백부(504)는 이전 DBI 플래그 신호의 로직이 유지되도록 D 플립플롭으로 이루어질 수 있다. 이 때, 상기 D 플립플롭은 데이터 피드백부(502)의 D 플립플롭과 클록(CLK)를 이용함에 의해 동기화될 수 있다. 또한, 현재 데이터, 이전 데이터 및 클록은 모두 동일한 데이터 전송률(Data rate)을 가질 수 있다. The
천이 판단부(506)는 현재 데이터(Din[7:0])와 피드백된 이전 데이터를 비교하여, 천이된 비트의 수를 산출한다. 예를 들어, 천이 판단부(506)는 입력되는 비트들이 다르면, 즉 비트 천이되면 하이 로직을 출력하고 비트들이 동일하면, 즉 천이가 발생하지 않으면 로우 로직을 출력하는 XOR 게이트로 이루어질 수 있다. 즉, 천이 판단부(506)는 현재 데이터의 비트 천이 개수를 산출할 수 있다. The
반전 결정 회로부(500)는 천이 판단부(506)의 출력(tran[7:0])과 피드백된 이전 DBI 플래그 신호를 입력받고, 상기 입력된 출력과 이전 DBI 플래그 신호에 따라 현재 데이터의 반전 여부를 결정할 수 있다. The inversion
예를 들어, 비트 천이 수가 4이고 이전 DBI 플래그 신호의 로직이 로우 로직이면, 반전 결정 회로부(500)는 천이 판단부(506)의 출력(tran[7:0])과 이전 DBI 플래그 신호의 비트들 중 "0"이 5개이고 "1"이 4개이므로 "0"을 출력한다. 여기서, "0"은 데이터 비반전을 의미한다. For example, if the number of bit transitions is four and the logic of the previous DBI flag signal is low logic, the
다른 예로, 비트 천이 수가 4이고 이전 DBI 플래그 신호의 로직이 하이 로직이면, 반전 결정 회로부(500)는 천이 판단부(506)의 출력(tran[7:0])과 이전 DBI 플래그 신호의 비트들 중 "0"이 4개이고 "1"이 5개이므로 "1"을 출력한다. 여기서, "1"은 데이터 반전을 의미한다. In other words, if the number of bit transitions is four and the logic of the previous DBI flag signal is high logic, the inversion
일 실시예에 따르면, 반전 결정 회로부(500)는 다수결 회로(Major Voter)로 이루어질 수 있다. According to one embodiment, the inversion
다수결 회로는 도 6에 도시된 바와 같이 전원 전달부(600), 반전 결정부(602) 및 활성화부(604)를 포함할 수 있다. The majority circuit may include a
전원 전달부(600)는 전원 전압에 따른 전원을 반전 결정부(602)로 전달시키며, 미러 구조를 가질 수 있다. The
활성화부(604)는 다수결 회로를 활성화시키는 역할을 수행한다. The activating
반전 결정부(602)는 전원 전달부(600)와 활성화부(604) 사이에 연결되며, 복수의 N-모스 트랜지스터들(LO 내지 L7, LD, R0 내지 R7, RD)을 포함할 수 있다. The
MOS 트랜지스터들(L0 내지 L7, LD)은 A 노드를 기준으로 상호 병렬로 연결되고, MOS 트랜지스터들(R0 내지 R7, RD)은 전원 전압을 기준으로 A 노드와 병렬로 연결된 out 노드를 기준으로 상호 병렬로 연결된다. 이 때, 천이 판단부(506)의 출력(tran[7:0]) 및 이전 DBI 플래그 신호가 MOS 트랜지스터들(L0 내지 L7, LD)의 게이트들로 각기 입력될 수 있다. 또한, 천이 판단부(506)의 출력(tran[7:0])의 인버팅 비트들 및 이전 DBI 플래그 신호의 인버팅 신호가 MOS 트랜지스터들(R0 내지 R7, RD)의 게이트들로 각기 입력될 수 있다. The MOS transistors L0 to L7 and LD are connected in parallel to each other with reference to the node A and the MOS transistors R0 to R7 and RD are connected to the node A They are connected in parallel. At this time, the output (tran [7: 0]) of the
따라서, 천이 판단부(506)의 출력(tran[7:0]) 및 이전 DBI 플래그 신호의 비트들 중 "1"인 비트가 4개 이하이면, out 노드의 전류가 A 노드의 전류보다 증가하여 다수결 회로의 출력은 로우 로직을 가진다. 반면에, 천이 판단부(506)의 출력(tran[7:0]) 및 이전 DBI 플래그 신호의 비트들 중 "1"인 비트가 5개 이상이면, A 노드의 전류가 out 노드의 전류보다 증가하여 다수결 회로의 출력은 하이 로직을 가진다.Therefore, if the output of the transition determining unit 506 (tran [7: 0]) and the bit of "1" among the bits of the previous DBI flag signal are four or less, the current of the out node is increased The output of the majority circuit has low logic. On the other hand, if the output of the transition determining unit 506 (tran [7: 0]) and the bits of the previous DBI flag signal are "1" or more, the current of the node A is increased So that the output of the majority circuit has high logic.
데이터 변환부(102)는 반전 결정 회로부(500)의 출력에 따라 현재 데이터를 반전시키거나 비반전시키며, 예를 들어 반전 결정 회로부(500)의 출력 및 현재 데이터를 입력받는 XOR 게이트로 이루어질 수 있다. 따라서, 데이터 변환부(102)는 반전 결정 회로부(500)의 출력이 로우 로직인 경우 현재 데이터를 비반전시키고, 반전 결정 회로부(500)의 출력이 하이 로직인 경우 현재 데이터를 반전시킨다. The
최종적으로, 반전 결정 회로부(500)로부터 출력된 현재 DBI 플래그 신호 및 데이터 변환부(102)로부터 출력된 출력 데이터는 도 3 및 도 4에서 보여진 결과와 동일함을 확인할 수 있다.
Finally, it can be confirmed that the current DBI flag signal outputted from the inversion
이하, DBI-DC 코딩을 살펴보겠다. Hereinafter, DBI-DC coding will be described.
도 7은 본 발명의 제 2 실시예에 따른 데이터 반전 코딩 과정을 도시한 순서도이고, 도 8 및 도 9는 데이터 반전 코딩의 적용예들을 도시한 도면들이다. FIG. 7 is a flowchart illustrating a data inversion coding process according to the second embodiment of the present invention, and FIGS. 8 and 9 are views showing application examples of data inversion coding.
도 7을 참조하면, 본 실시예의 데이터 반전 코딩 방법은 현재 데이터의 비트들 중 기준 데이터 비트에 해당하는 비트의 개수(또는 정보)를 산출한다(S700). 여기서, 상기 기준 데이터 비트는 "0"과 "1" 중 수신기로 많이 보내고자 하는 비트를 의미한다. Referring to FIG. 7, the data inversion coding method of the present embodiment calculates the number (or information) of bits corresponding to the reference data bits among the bits of the current data (S700). Here, the reference data bit means a bit to be transmitted to a receiver of "0" and "1"
이어서, 상기 데이터 반전 코딩 방법은 상기 현재 데이터를 수신기로 전송할 출력 데이터의 비트들에서 기준 데이터 비트에 해당하는 비트의 수가 다른 비트의 수보다 많아지도록 현재 데이터의 반전 여부를 결정한다(S702). 예를 들어, 기준 데이터 비트가 "1"일 때 현재 데이터가 "0, 0, 0, 0, 0, 0, 0, 0"이면, 상기 데이터 반전 코딩 방법은 기준 데이터 비트에 해당하는 비트가 많아지도록 현재 데이터를 반전시켜 출력하며, 즉 "1, 1, 1, 1, 1, 1, 1, 1"을 출력한다. In step S702, the data inversion coding method determines whether the current data is inverted so that the number of bits corresponding to the reference data bit in the bits of the output data to be transmitted to the receiver is greater than the number of other bits. For example, if the current data is "0,0,0,0,0,0,0,0,0,0" when the reference data bit is "1", the data inversion coding method has many bits corresponding to the
다만, 상기 데이터 반전 코딩 방법은 DBI 플래그 신호의 로직도 고려하여 현재 데이터의 반전 여부를 결정한다. 이에 대한 설명은 후술하겠다. However, the data inversion coding method determines whether the current data is inverted in consideration of the logic of the DBI flag signal. An explanation thereof will be described later.
계속하여, 상기 데이터 반전 코딩 방법은 상기 결정에 따라 데이터를 반전 또는 비반전시킨다(S704).Subsequently, the data inversion coding method reverses or inverses the data according to the determination (S704).
이어서, 상기 데이터 반전 코딩 방법은 상기 반전/비반전 데이터를 출력하고, 상기 현재 데이터의 반전 여부에 대한 정보를 가지는 DBI 플래그 신호를 출력한다.
The data inversion coding method outputs the inverted / non-inverted data and outputs a DBI flag signal having information on whether the current data is inverted.
이하, 위의 데이터 반전 코딩 과정의 실제예를 살펴보겠다. Hereinafter, an actual example of the above data inversion coding process will be described.
도 7에 도시된 바와 같이, 현재 데이터(병렬 데이터)가 "0, 0, 0, 0, 1, 1, 1, 1"이고, 기준 데이터 비트가 "0"이라고 가정하자. Assume that the current data (parallel data) is "0, 0, 0, 0, 1, 1, 1, 1" and the reference data bit is "0", as shown in FIG.
이 경우, 종래 데이터 반전 코딩 방법은 DBI 플래그 신호를 고려하지 않으므로, 현재 데이터의 비트들 중 기준 데이터 비트에 해당하는 비트 개수가 4이므로 로우 로직을 가지는 DBI 플래그 신호를 출력한다. In this case, since the conventional data inversion coding method does not consider the DBI flag signal, the DBI flag signal having the low logic is outputted because the number of bits corresponding to the reference data bit among the bits of the current data is 4.
본 발명의 데이터 반전 코딩 방법은 이전 DBI 플래그 신호도 고려하나, 현재 데이터의 비트들 중 기준 데이터 비트에 해당하는 비트 개수가 4이고 이에 따른 비반전에 따른 DBI 플래그 신호의 로직이 로우 로직이므로, 종래 기술과 동일하게 로우 로직을 가지는 DBI 플래그 신호를 출력한다. 결과적으로, 출력 데이터와 DBI 플래그 신호의 비트들 중 기준 데이터 비트에 해당하는 비트 개수가 5가 되어 다른 비트의 수보다 많아지게 된다. The data inversion coding method of the present invention takes into account the previous DBI flag signal but since the number of bits corresponding to the reference data bit among the bits of the current data is 4 and the logic of the DBI flag signal according to non-inversion is low logic, The DBI flag signal having the low logic is output. As a result, the number of bits corresponding to the reference data bit among the bits of the output data and the DBI flag signal becomes 5, which is greater than the number of other bits.
그러나, 기준 데이터 비트가 "1"인 경우, 종래 기술과 본 발명의 데이터 반전 코딩 방법이 다른 결과를 산출한다. However, when the reference data bit is "1 ", the conventional technique and the data inversion coding method of the present invention produce different results.
도 9에 도시된 바와 같이, 현재 데이터(병렬 데이터)가 "0, 0, 0, 0, 1, 1, 1, 1"이고, 기준 데이터 비트가 "1"이라고 가정하자.Assume that the current data (parallel data) is "0, 0, 0, 0, 1, 1, 1, 1" and the reference data bit is "1", as shown in FIG.
이 경우, 종래 데이터 반전 코딩 방법은 DBI 플래그 신호를 고려하지 않으므로, 현재 데이터의 비트들 중 기준 데이터 비트에 해당하는 비트 개수가 4이므로 로우 로직을 가지는 DBI 플래그 신호를 출력한다. In this case, since the conventional data inversion coding method does not consider the DBI flag signal, the DBI flag signal having the low logic is outputted because the number of bits corresponding to the reference data bit among the bits of the current data is 4.
반면에, 본 발명의 데이터 반전 코딩 방법은 DBI 플래그 신호도 고려하여 현재 데이터의 반전 여부를 결정한다. 현재 데이터의 비트들 중 기준 데이터 비트에 해당하는 비트 개수가 4이므로 이에 따라 로우 로직을 가지는 DBI 플래그 신호를 출력하면, 기준 데이터 비트 "1"에 해당하는 비트 개수가 4이고 "0"에 해당하는 비트 개수가 5가 된다. 따라서, 본 발명의 데이터 반전 코딩 방법은 현재 데이터의 비트들 중 기준 데이터 비트에 해당하는 비트 개수가 4이더라도 하이 로직을 가지는 DBI 플래그 신호를 출력하고, 이에 따라 현재 데이터를 반전시켜 출력한다. 결과적으로, 기준 데이터 비트 "1"에 해당하는 비트 개수가 5이고 "0"에 해당하는 비트 개수가 4가 된다. 즉, 종래 기술의 문제가 해결된다. On the other hand, the data inversion coding method of the present invention determines whether the current data is inverted in consideration of the DBI flag signal. When the number of bits corresponding to the reference data bit among the bits of the current data is 4 and thus the DBI flag signal having the low logic is outputted, the number of bits corresponding to the reference data bit "1 " The number of bits becomes 5. Therefore, the data inversion coding method of the present invention outputs a DBI flag signal having a high logic even if the number of bits corresponding to the reference data bit among the bits of the current data is 4, and outputs the inverted DBI flag signal. As a result, the number of bits corresponding to the reference data bit "1" is 5 and the number of bits corresponding to "0 " That is, the problem of the prior art is solved.
정리하면, 본 실시예의 데이터 반전 코딩 방법은 현재 데이터뿐만 아니라 DBI 플래그 신호도 고려하여 기준 데이터 비트에 해당하는 비트 개수가 기준 데이터 비트에 해당하지 않는 비트 개수 이상이 되도록 현재 데이터의 반전/비반전을 결정한다.
In summary, in the data inversion coding method of the present embodiment, considering the DBI flag signal as well as the current data, the inversion / non-inversion of the current data is performed so that the number of bits corresponding to the reference data bit is equal to or greater than the number of bits not corresponding to the reference data bit .
이러한 데이터 반전 코딩 방법을 실현하기 위한 데이터 반전 코딩 장치는 이하 도 10 내지 도 12에서 보여진다. A data inversion coding apparatus for realizing such a data inversion coding method is shown in Figs. 10 to 12 below.
도 10은 본 발명의 제 2 실시예에 따른 데이터 반전 코딩 장치를 도시한 블록도이다. 10 is a block diagram illustrating a data inversion coding apparatus according to a second embodiment of the present invention.
도 10을 참조하면, 본 실시예의 데이터 반전 코딩 장치는 데이터 반전 결정부(1000) 및 데이터 변환부(1002)를 포함한다. Referring to FIG. 10, the data inversion coding apparatus of the present embodiment includes a data
데이터 반전 결정부(1000)는 현재 데이터 및 기준 데이터 비트를 입력받고, 상기 입력 데이터 및 상기 기준 데이터 비트에 따라 현재 데이터의 반전 여부를 결정한다. 예를 들어, 현재 데이터가 "0, 0, 0, 0, 1, 1, 1, 1"이고 기준 데이터 비트가 "1"이면, 데이터 반전 결정부(1000)는 출력 데이터와 DBI 플래그 신호의 비트들에서 기준 데이터 비트에 해당하는 비트가 많아지도록 현재 데이터를 반전시키도록 결정하고 하이 로직을 가지는 DBI 플래그 신호를 출력시킨다. The data
데이터 변환부(1002)는 데이터 반전 결정부(1000)의 결정에 따라 현재 데이터를 반전/비반전시켜 출력한다. The
도 11은 본 발명의 다른 실시예에 다른 데이터 반전 코딩 장치의 회로를 도시한 도면이고, 도 12는 본 발명의 다른 실시예에 따른 다수결 회로를 도시한 도면이다. FIG. 11 is a circuit diagram of a data inversion coding apparatus according to another embodiment of the present invention, and FIG. 12 is a diagram illustrating a majority circuit according to another embodiment of the present invention.
도 11을 참조하면, 데이터 반전 결정부(1000)는 다수결 회로로 이루어질 수 있으며, 상기 다수결 회로의 입력단으로 현재 데이터(Din[7:0]) 및 기준 데이터 비트가 입력될 수 있다. Referring to FIG. 11, the data
다수결 회로는 도 12에 도시된 바와 같이 전원 전달부, 반전 결정부 및 활성화부를 포함할 수 있다. 상기 다수결 회로의 전체 회로 구성은 도 6의 다수결 회로의 전체 회로 구성과 유사하므로, 이하 구조 및 동작에 대한 설명을 생략한다. 다만, 도 6의 다수결 회로에서 DBI 플래그 신호 또는 인버팅된 DBI 플래그 신호가 입력되던 트랜지스터들(LD, RD) 대신에 기준 데이터 비트 또는 인버팅된 기준 데이터 비트가 입력되는 트랜지스터들(LR, RR)이 사용된다. The majority circuit may include a power supply unit, an inversion determination unit, and an activation unit as shown in FIG. The overall circuit configuration of the majority circuit is similar to the overall circuit configuration of the majority circuit of FIG. 6, so that the following description of the structure and operation will be omitted. 6, instead of the transistors LD and RD to which the DBI flag signal or the inverted DBI flag signal is input, the transistors LR and RR to which reference data bits or inverted reference data bits are input, Is used.
데이터 변환부(1002)는 데이터 반전 결정부(1000)의 출력에 따라 현재 데이터를 반전시키거나 비반전시키며, 예를 들어 상기 출력 및 현재 데이터를 입력받는 XOR 게이트로 이루어질 수 있다. 따라서, 데이터 변환부(1002)는 데이터 반전 결정부(1002)의 출력이 로우 로직인 경우 현재 데이터를 비반전시키고, 데이터 반전 결정부(1002)의 출력이 하이 로직인 경우 현재 데이터를 반전시킨다. The
최종적으로, 데이터 반전 결정부(1002)로부터 출력된 DBI 플래그 신호 및 데이터 변환부(1002)의 출력은 도 8 및 도 9에서 보여진 결과와 동일함을 확인할 수 있다.
Finally, it can be confirmed that the DBI flag signal output from the data
위 실시예들에서는 8비트의 현재 데이터를 예로 하여 설명하였으나, 2N(N은 정수임) 비트의 현재 데이터에 모두 적용될 수 있다. In the above embodiments, 8-bit current data has been described as an example. However, the present invention can be applied to 2N (N is an integer) current data.
또한, 위에서 DBI 플래그 신호의 로직이 하이 로직일 때 데이터 반전으로 설명하였으나, DBI 플래그 신호의 로직이 로우 로직일 때 데이터 반전이 실현될 수도 있다. 이 경우, 데이터 반전 코딩 장치의 회로 구성 및 동작은 위 실시예들로부터 당업자가 용이하게 구현할 수 있으므로, 이하 설명을 생략한다. Further, although data inversion is described above when the logic of the DBI flag signal is high logic, data inversion may be realized when the logic of the DBI flag signal is low logic. In this case, the circuit configuration and operation of the data reversal coding apparatus can be easily implemented by those skilled in the art from the above embodiments, and the description will be omitted.
상기한 본 발명의 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대한 통상의 지식을 가지는 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다. It will be apparent to those skilled in the art that various modifications, additions and substitutions are possible, without departing from the spirit and scope of the invention as defined by the appended claims. Should be regarded as belonging to the following claims.
100, 1000 : 데이터 반전 결정부 102, 1002 : 데이터 변환부
500 : 반전 결정 회로부 502 : 데이터 피드백부
504 : DBI 피드백부 506 : 천이 판단부
600 : 전원 전달부 602 : 반전 결정부
604 : 활성화부100, 1000: Data
500: inverting determination circuit section 502: data feedback section
504: DBI feedback section 506: transition decision section
600: power supply unit 602:
604:
Claims (18)
상기 데이터 반전 결정부의 결정에 따라 상기 현재 데이터를 반전 또는 비반전시켜 출력 데이터로서 출력하는 데이터 변환부를 포함하되,
상기 이전 데이터 반전 정보 신호는 상기 이전 데이터의 반전 여부에 대한 정보를 가지며, 상기 현재 데이터의 전체 비트 수가 2N이고 상기 현재 데이터와 상기 이전 데이터를 비교하여 천이된 비트의 수가 N이면 상기 데이터 반전 결정부는 상기 현재 데이터의 반전 여부에 대한 정보를 가지는 현재 데이터 반전 정보 신호의 로직이 상기 이전 데이터 반전 정보 신호의 로직과 동일하도록 결정하는 것을 특징으로 하는 데이터 반전 코딩 장치.A data inversion determiner for determining whether the current data is inverted in consideration of the bit transition of the current data and the logic of the previous data inversion information signal from the previous data; And
And a data conversion unit for inverting or noninverting the current data according to the determination of the data inversion determination unit and outputting the inverted or inverted data as output data,
Wherein the previous data inversion information signal has information on whether or not the previous data is inverted and if the total number of bits of the current data is 2N and the number of shifted bits by comparing the current data with the previous data is N, And determines that the logic of the current data inversion information signal having information on whether the current data is inverted is equal to the logic of the previous data inversion information signal.
상기 이전 데이터는 상기 데이터 변환부로부터 출력된 피드백 신호이고, 상기 이전 DBI 플래그 신호는 상기 데이터 반전 결정부로부터 출력된 피드백 신호인 것을 특징으로 하는 데이터 반전 코딩 장치. The method of claim 1, wherein the current data and the previous data are parallel data having the same data rate, the previous data inversion information signal is a previous DBI (Data Bus Inversion) flag signal,
Wherein the previous data is a feedback signal output from the data conversion unit and the previous DBI flag signal is a feedback signal output from the data inversion determination unit.
데이터 피드백부;
DBI 피드백부;
천이 판단부; 및
반전 결정 회로부를 포함하되,
상기 현재 데이터 및 상기 데이터 피드백부를 통하여 상기 데이터 변환부로부터 피드백된 이전 데이터가 상기 천이 판단부로 입력되고, 상기 천이 판단부의 출력과 상기 DBI 피드백부를 통하여 상기 반전 결정 회로부로부터 피드백된 이전 DBI 플래그 신호가 상기 반전 결정 회로부로 입력되며,
상기 반전 결정 회로부로부터의 출력 및 상기 현재 데이터가 상기 데이터 변환부로 입력되는 것을 특징으로 하는 데이터 반전 코딩 장치. 3. The data processing apparatus according to claim 2,
A data feedback unit;
DBI feedback section;
A transition determining unit; And
And an inverting decision circuit part,
Wherein the previous data fed back from the data converting unit through the current data and the data feedback unit is input to the transition determining unit and the previous DBI flag signal fed back from the inversion determining circuit unit through the DBI feedback unit and the output of the transition determining unit Inverted decision circuit portion,
And an output from the inversion decision circuit section and the current data are input to the data conversion section.
상기 D 플립플롭들의 클록은 상기 현재 데이터와 동일한 데이터 전송률을 가지는 것을 특징으로 하는 데이터 반전 코딩 장치. 7. The apparatus of claim 6, wherein the data feedback unit and the DBI feedback unit each include a D flip-flop, the transition determining unit and the data converting unit each include an XOR gate, and the inversion determining circuit unit includes a majority- , ≪ / RTI &
Wherein the clock of the D flip-flops has the same data rate as the current data.
A 노드를 기준으로 상호 병렬로 연결된 제 1 트랜지스터들; 및
전원 전압을 기준으로 상기 A 노드와 병렬로 연결된 out 노드를 기준으로 상호 병렬로 연결된 제 2 트랜지스터들을 포함하되,
상기 제 1 트랜지스터들의 게이트들로는 상기 천이 판단부의 출력 비트들 및 상기 이전 DBI 플래그 신호가 각기 입력되며, 상기 제 2 트랜지스터들의 게이트들로는 상기 출력 비트들의 인버팅 비트들 및 상기 이전 DBI 플래그 신호의 인버팅 신호가 각기 입력되는 것을 특징으로 하는 데이터 반전 코딩 장치. 8. The circuit according to claim 7,
First transistors connected to each other in parallel with respect to the A node; And
And second transistors connected in parallel to each other with reference to an out node connected in parallel to the A node based on a power supply voltage,
Wherein the gates of the first transistors are respectively input with the output bits of the transition determining unit and the previous DBI flag signal and the gates of the second transistors are connected with the inverting bits of the output bits and the inverting signal of the previous DBI flag signal Are input to the data reversal coding apparatus.
상기 천이 판단부로부터의 출력과 상기 이전 데이터의 반전/비반전에 대한 정보를 가지는 이전 데이터 반전 정보 신호의 로직을 고려하여 상기 현재 데이터의 반전 여부를 결정하는 반전 결정 회로부를 포함하되,
상기 반전 결정 회로부는 상기 현재 데이터의 반전/비반전에 따른 출력 데이터와 상기 현재 데이터의 반전/비반전에 대한 정보를 가지는 현재 데이터 반전 정보 신호의 비트들이 상기 이전 데이터와 상기 이전 데이터 반전 정보 신호의 비트들로부터 천이된 비트의 수가 N 이하가 되도록 상기 현재 데이터의 반전 여부를 결정하며, 2N은 상기 현재 데이터의 전체 비트 수를 의미하며, 상기 현재 데이터와 상기 이전 데이터를 비교하여 천이된 비트의 수가 N이면 상기 반전 결정 회로부는 현재 데이터 반전 정보 신호의 로직이 상기 이전 데이터 반전 정보 신호의 로직과 동일하도록 결정하는 것을 특징으로 하는 데이터 반전 코딩 장치.A transition determining unit for comparing the current data with previous data and detecting a transition bit; And
And an inversion decision circuit unit for determining whether the current data is inverted in consideration of a logic of a previous data inversion information signal having an output from the transition determining unit and information on inversion / non-inversion of the previous data,
Wherein the inversion decision circuit comprises: an inversion decision circuit for comparing the output data according to the inversion / non-inversion of the current data and the bits of the current data inversion information signal having information on inversion / non- inversion of the current data, 2N denotes a total number of bits of the current data, and compares the current data with the previous data to obtain the number of shifted bits N, the inversion determining circuit section determines that the logic of the current data inversion information signal is equal to the logic of the previous data inversion information signal.
상기 현재 데이터를 반전 또는 비반전시켜 출력 데이터로서 출력하는 단계; 및
상기 현재 데이터의 반전 또는 비반전에 대한 정보를 가지는 현재 데이터 반전 정보 신호를 출력하는 단계를 포함하되,
상기 이전 데이터 반전 정보 신호는 상기 이전 데이터의 반전 여부에 대한 정보를 가지며, 상기 현재 데이터 반전 정보 신호는 상기 현재 데이터의 반전 여부에 대한 정보를 가지고, 상기 현재 데이터와 상기 이전 데이터를 비교하여 상기 이전 데이터로부터 천이된 상기 현재 데이터의 비트의 수가 절반이면 현재 데이터 반전 정보 신호의 로직이 상기 이전 데이터 반전 정보 신호의 로직과 동일하도록 결정하는 것을 특징으로 하는 데이터 반전 코딩 방법.Determining whether the current data is inverted in consideration of the bit shift of the current data and the logic of the previous data inversion information signal from the previous data;
Inverting or noninverting the current data and outputting the inverted data as output data; And
And outputting a current data inversion information signal having information on inversion or non-inversion of the current data,
Wherein the previous data inversion information signal has information on whether the previous data is inverted and the current data inversion information signal has information on whether the current data is inverted and compares the current data with the previous data, And determining that the logic of the current data inversion information signal is equal to the logic of the previous data inversion information signal if the number of bits of the current data shifted from the data is half.
상기 결정에 따라 상기 현재 데이터를 반전/비반전시켜 상기 출력 데이터로서 출력하는 데이터 변환부를 포함하되,
2N은 상기 현재 데이터의 전체 비트 수를 나타내고, 상기 데이터 반전 정보 신호는 상기 반전/비반전에 대한 정보를 가지며, 상기 데이터 반전 결정부는 상기 현재 데이터의 비트들 중 N 비트가 상기 기준 데이터 비트와 동일한 로직을 가지면 상기 데이터 반전 정보 신호의 로직이 상기 기준 데이터 비트와 동일한 로직을 가지도록 결정하는 것을 특징으로 하는 데이터 반전 코딩 장치.A data inversion determining unit for determining whether the current data is inverted so that the number of bits corresponding to the reference data bit among the bits of the output data and the data inversion information signal according to the inversion / non-inversion of the current data; And
And a data conversion unit for inverting / noninverting the current data according to the determination and outputting the inverted data as the output data,
2N denotes the total number of bits of the current data, the data inversion information signal has information on the inversion / non-inversion, and the data inversion determination unit determines that the N bits of the current data are equal to the reference data bit Logic determines that the logic of the data inversion information signal has the same logic as the reference data bit.
상기 현재 데이터 및 상기 데이터 반전 결정부의 출력이 상기 데이터 변환부로 입력되며, 상기 데이터 반전 결정부는 상기 DBI 플래그 신호를 출력하는 것을 특징으로 하는 데이터 반전 코딩 장치. 15. The apparatus of claim 14, wherein the data inversion determining unit is a majority circuit, and the data converting unit includes an XOR gate,
Wherein the current data and the output of the data inversion determination unit are input to the data conversion unit, and the data inversion determination unit outputs the DBI flag signal.
A 노드를 기준으로 상호 병렬로 연결된 제 1 트랜지스터들; 및
전원 전압을 기준으로 상기 A 노드와 병렬로 연결된 out 노드를 기준으로 상호 병렬로 연결된 제 2 트랜지스터들을 포함하되,
상기 제 1 트랜지스터들의 게이트들로는 상기 현재 데이터의 비트들 및 상기 기준 데이터 비트가 각기 입력되며, 상기 제 2 트랜지스터들의 게이트들로는 상기 현재 데이터의 비트들의 인버팅 비트들 및 상기 기준 데이터 비트의 인버팅 비트가 각기 입력되는 것을 특징으로 하는 데이터 반전 코딩 장치. 17. The circuit according to claim 16,
First transistors connected to each other in parallel with respect to the A node; And
And second transistors connected in parallel to each other with reference to an out node connected in parallel to the A node based on a power supply voltage,
Wherein the bits of the current data and the reference data bits are respectively input to the gates of the first transistors and the inverting bits of the bits of the current data and the inverting bits of the reference data are And the data is inverted.
상기 결정에 따라 상기 현재 데이터를 반전/비반전시켜 상기 출력 데이터로서 출력하는 단계를 포함하되,
2N은 상기 현재 데이터의 전체 비트 수를 나타내고, 상기 데이터 반전 정보 신호는 상기 반전/비반전에 대한 정보를 가지며, 상기 현재 데이터의 비트들 중 N 비트가 상기 기준 데이터 비트와 동일한 로직을 가지면 상기 데이터 반전 정보 신호의 로직이 상기 기준 데이터 비트와 동일한 로직을 가지도록 결정하는 것을 특징으로 하는 데이터 반전 코딩 방법.
Determining whether the current data is inverted so that the number of bits corresponding to the reference data bit among the bits of the output data and the data inversion information signal according to the inversion / non-inversion of the current data is N or more; And
Inverting the current data according to the determination and outputting the inverted data as the output data,
2N denotes the total number of bits of the current data, the data inversion information signal has information on the inversion / non-inversion, and if N bits of the current data have the same logic as the reference data bit, Wherein the logic of the inverted information signal is determined to have the same logic as the reference data bit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140182349A KR101653468B1 (en) | 2014-12-17 | 2014-12-17 | Data inversion coding apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140182349A KR101653468B1 (en) | 2014-12-17 | 2014-12-17 | Data inversion coding apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160073713A KR20160073713A (en) | 2016-06-27 |
KR101653468B1 true KR101653468B1 (en) | 2016-09-01 |
Family
ID=56344367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140182349A KR101653468B1 (en) | 2014-12-17 | 2014-12-17 | Data inversion coding apparatus and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101653468B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10606689B2 (en) | 2017-04-18 | 2020-03-31 | SK Hynix Inc. | Memory system and operating method thereof |
US10747695B2 (en) | 2017-10-27 | 2020-08-18 | Samsung Electronics Co., Ltd. | Methods of performing multiple data bus inversion (DBI) and memory devices performing the methods |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102033941B1 (en) * | 2018-01-26 | 2019-10-21 | 숭실대학교산학협력단 | Communication method for visible light communication system using differential coding and apparatus thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100902051B1 (en) | 2007-07-12 | 2009-06-15 | 주식회사 하이닉스반도체 | Apparatus and method for generating error detection code |
KR20090059838A (en) * | 2007-12-07 | 2009-06-11 | 삼성전자주식회사 | Method, apparatus and system for transmitting data in semiconductor device |
-
2014
- 2014-12-17 KR KR1020140182349A patent/KR101653468B1/en active IP Right Grant
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10606689B2 (en) | 2017-04-18 | 2020-03-31 | SK Hynix Inc. | Memory system and operating method thereof |
US10747695B2 (en) | 2017-10-27 | 2020-08-18 | Samsung Electronics Co., Ltd. | Methods of performing multiple data bus inversion (DBI) and memory devices performing the methods |
Also Published As
Publication number | Publication date |
---|---|
KR20160073713A (en) | 2016-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8510490B2 (en) | Encoding data using combined data mask and data bus inversion | |
US10498544B2 (en) | Security device having physical unclonable function | |
US8581755B2 (en) | Multiple word data bus inversion | |
CN108717353B (en) | True random number generation method and device with detection and correction functions | |
KR101653468B1 (en) | Data inversion coding apparatus and method | |
US7986251B2 (en) | Input/output (IO) interface and method of transmitting IO data | |
CN115114209B (en) | Signal transmitting apparatus, transmitting and receiving system, and transmitting and receiving method | |
JP2005286662A (en) | Data transmission apparatus, data transmission / reception system, and data transmission method | |
CN112953513A (en) | Inverted signal generating circuit | |
KR100946177B1 (en) | Apparatus and method transmitting - receivering data | |
US9521016B2 (en) | Data transmission apparatus and method for transmitting data in delay-insensitive data transmission method supporting handshake protocol | |
JP6565325B2 (en) | Selector circuit, equalizer circuit, receiving circuit, and semiconductor integrated circuit | |
KR101311617B1 (en) | Method and apparatus of address bus coding/decoding for low-power very large scale integration system | |
US20240097877A1 (en) | Encoding and Decoding for PAM Transmitter and Receiver | |
US9832010B1 (en) | Signal processing device and signal processing method | |
KR100574359B1 (en) | Serial data transmitter - receiver and method thereof | |
Huang et al. | Embedded transition inversion coding for low power serial link | |
Chenginimattom et al. | Methods for Reducing the Activity Switching Factor | |
JP2005354431A (en) | Sequential logic circuit | |
KR20020079872A (en) | Information processing system | |
JP5521784B2 (en) | Data transmission system, apparatus and method | |
Kulshrestha et al. | An Enhanced Performance Pipelined Bus Invert Coding For Power Optimization Of Data Bus | |
Preyadharan et al. | Clock Gated Multi Coding Technique for the Estimation of Transition Activities in Digital Circuits | |
JPS6380628A (en) | Cmmi coding circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20190624 Year of fee payment: 4 |