KR0185437B1 - Multiplier having double edge clock structure and digital color space converter - Google Patents

Multiplier having double edge clock structure and digital color space converter Download PDF

Info

Publication number
KR0185437B1
KR0185437B1 KR1019940020182A KR19940020182A KR0185437B1 KR 0185437 B1 KR0185437 B1 KR 0185437B1 KR 1019940020182 A KR1019940020182 A KR 1019940020182A KR 19940020182 A KR19940020182 A KR 19940020182A KR 0185437 B1 KR0185437 B1 KR 0185437B1
Authority
KR
South Korea
Prior art keywords
bit
output
variable data
response
bits
Prior art date
Application number
KR1019940020182A
Other languages
Korean (ko)
Inventor
김성식
Original Assignee
김주용
현대전자산업주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김주용, 현대전자산업주식회사 filed Critical 김주용
Priority to KR1019940020182A priority Critical patent/KR0185437B1/en
Application granted granted Critical
Publication of KR0185437B1 publication Critical patent/KR0185437B1/en

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

본 발명은 더블에지 클럭구조를 이용한 디지탈 칼라 스페이스 변환기에 관한 것으로, 특히 입력되는 변수 데이타를 n/2씩 분할하여 더블 에지 클럭(double edge clock)에 따라 상기 변수 데이타를 n/2 비트씩 레치하고, 이 변수 데이타와 계수와의 곱셈연산 결과값을 분할롬으로 부터 읽어들여 Y, CR, Cb신호를 R, G, B신호로 변환함으로써 작은 면적과 빠른 속도를 갖는 디지탈 칼라 스페이스 변환기(DCSC)에 관한 것이다.The present invention relates to a digital color space converter using a double edge clock structure. In particular, the variable data input is divided by n / 2, and the variable data is latched by n / 2 bits according to a double edge clock. A small area and high speed digital color space converter (DCSC) is obtained by reading the multiplication result of this variable data and coefficients from the partition and converting the Y, C R , and C b signals into R, G, and B signals. ).

Description

더블 에지 클럭구조를 가지는 곱셈기 및 그를 이용한 디지털 칼라 스페이스 변환 장치.A multiplier having a double edge clock structure and a digital color space conversion device using the multiplier.

제1도는 분할에 의한 곱셈과정을 설명하기 위한 설명도.1 is an explanatory diagram for explaining a multiplication process by division.

제2도는 분할롬에 저장되어 있는 곱셈결과를 나타낸 롬 테이블도.2 is a ROM table showing a multiplication result stored in a partition ROM.

제3도는 종래의 분할롬을 이용한 곱셈기의 구성도.3 is a block diagram of a multiplier using a conventional split rom.

제4도는 본 발명에 따른 더블 에지 클럭을 이용한 곱셈기의 일실시예 구성도.4 is a block diagram of an embodiment of a multiplier using a double edge clock according to the present invention.

제5도는 본 발명에 따른 듀얼 포트 더블 에지 레지스터부의 일실시예 회로도.5 is a circuit diagram of an embodiment of a dual port double edge register unit according to the present invention;

제6도는 상기 제4도의 본 발명에 따른 더블 에지 클럭을 이용한 곱셈기의 시뮬레이션 파형 예시도.6 is a diagram illustrating a simulation waveform of a multiplier using a double edge clock according to the present invention of FIG. 4.

제7도는 본 발명에 따른 디지털 칼라 스페이스 변환기의 일실시예 구성도.7 is a block diagram of an embodiment of a digital color space converter according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1, 1' : 어드레스 디코더 2, 2' : 롬 코어1, 1 ': address decoder 2, 2': ROM core

3 : 가산기 4 : 듀얼 포트 더블 에지 레지스터부3: adder 4: dual port double edge register

5 : 자리올림보존가산기 6 내지 9 : 연산부5: digit preservation adder 6 to 9: calculation unit

FF1, FF2 : 플립플롭 INT1, INT1 : 인버터FF1, FF2: Flip-flop INT1, INT1: Inverter

MAND1 내지 MAND3 : 낸드게이트MAND1 to MAND3: NAND gate

본 발명은 디지털 칼라 스페이스 변환기(DCSC: Digital Color Space Converter)에 관한 것으로, 특히 입력되는 변수 데이터를 n/2씩 분할하여 더블 에지 클럭(double edge clock)에 따라 곱셈연산하는 곱셈기 및 그를 이용한 디지털 칼라 스페이스 변환기(DCSC)에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital color space converter (DCSC). In particular, a multiplier for dividing input variable data by n / 2 and multiplying according to a double edge clock and a digital color using the same A space converter (DCSC).

디지털 칼라 스페이스 변환기(DCSC)는 Y, CR, Cb신호를 R(red), G(green), B(blue)신호로 변환하는 장치이다.A digital color space converter (DCSC) is a device that converts Y, C R , and C b signals into R (red), G (green), and B (blue) signals.

CCIR(Center for Communication Interface Research) 중 통신규약 제601 항목은 휘도값(Iuminance)(이하, Y라 함), 붉은색에 대한 색도(chrominance)(이하,Cr라 함), 푸른색에 대한 색도(이하, Cb라 함)신호를 R, G, B신호로 변환하기 위해 다음과 같은 (식1)을 추천하고 있다.Protocol of the CCIR (Center for Communication Interface Research) the 601 entries are at the luminance value (Iuminance) (hereinafter, Y "), color (chrominance) for the red color (hereinafter, C r;), a chromaticity of the blue color In order to convert the signal (hereinafter referred to as C b ) into R, G, and B signals, the following equation (1) is recommended.

R = Y + 1.370 × (Cr-128)R = Y + 1.370 × (C r -128)

G = Y - 0.698 × (Cr-128)-0.336 × (Cb-128)G = Y-0.698 × (C r -128) -0.336 × (C b -128)

B = Y + 1.730 × (Cb-128) ·······(식1)B = Y + 1.730 × (C b -128) (Eq. 1)

상기 (식1)를 직접 곱셈기를 사용하여 구현하면 4개의 곱셈기가 필요하며, 일반적인 곱셈기로 m × n비트 곱셈을 수행하려면 m × n개의 앤드 게이트(AND gate)와 m × (n-1)개의 전가산기(full-adder)가 필요하다.If you implement (1) using a direct multiplier, four multipliers are required, and m x n AND gates and m x (n-1) numbers are needed to perform m x n-bit multiplication with a general multiplier. You need a full-adder.

따라서, 상기 (식1)에서 계수가 각각 10비트라면 가정하면 한 개의 곱셈기당 100개의 앤드 게이트와 90개의 전가산기가 필요하기 때문에 면적이 클 뿐만 아니라 고속으로 동작하는데 상당한 어려움이 있었다.Therefore, assuming that the coefficients are 10 bits in Equation (1), since 100 AND gates and 90 full adders are required for one multiplier, there is a considerable difficulty in operating at high speed as well as a large area.

또한, 상기의 (식1)에서 계수는 각 시스템에서 고유값을 가지고 있기 때문에 롬을 사용하여 구현할 수 있으나, R, G, B출력을 각각 8비트라 하고 10비트 입력을 어드레스(address)로 할 때 210× 8비트 크기의 롬이 필요하게 됨으로 이와 같은 방식도 역시 상당히 큰 면적을 차지한다.In addition, since the coefficient in Equation 1 has a unique value in each system, it can be implemented using ROM, but R, G, and B outputs are referred to as 8 bits, and 10-bit inputs as addresses. This method also takes up a fairly large area since a ROM of 2 10 x 8 bits is required.

상기와 같은 (고정계수 × n)비트의 곱셈연산을 수행하는 경우에 제1도와 같이 상기 n비트를 분할하여 즉, (고정계수 × 상위 n/2)비트의 곱셈연산을 수행하고, (고정계수 × 하위 n/2) 비트의 곱셈연산을 수행하여 각각의 출력값을 합산하는 곱셈연산방식을 사용할 수도 있다.In the case of performing the multiplication operation of (fixed coefficient × n) bits as described above, the n bits are divided as shown in FIG. A multiplication operation in which each output value is added by performing a multiplication operation of the lower n / 2) bits may be used.

예를 들어 고정계수가 0.370 즉, 2진수로 0010111101라 하고, 변수를 19, 즉 00010011라 할때, 00010011을 상위 4비트인 0001과 하위 4비트인 0011로 분할하여 곱셈연산을 수행하면 상위 비트는 0.370, 하위 비트 1.11, 즉 2진수로 00000110과 00010010의 값을 얻을 수 있으며, 상기와 같은 부분 곱셈연산의 결과 중 상위 비트를 4비트 쉬프트시켜 하위 비트와 더하면 00000111 즉, 0.370 × 19의 연산결과인 6.63의 반올림값인 7을 얻을 수 있다.For example, if the fixed coefficient is 0.310, that is, 0010111101 in binary, and the variable is 19, 00010011, multiplying 00010011 into 0001, the upper 4 bits, and 0011, the lower 4 bits, the upper bit is multiplied. 0.370, lower bit 1.11, that is, the value of 00000110 and 00010010 can be obtained in binary, and if the upper bit is shifted 4 bits out of the result of the partial multiplication operation as above and added to the lower bit, 00000111, which is 0.370 × 19, You can get 7, rounded up to 6.63.

상기와 같은 분할방식을 제2도와 같은 롬테이블을 갖는 분할롬을 사용하며 제3도와 같이 구현할 수 있다.The partitioning scheme as described above may be implemented using a partition ROM having a ROM table as shown in FIG.

제3도는 종래의 곱셈기의 구성을 나타낸 것으로, 분할된 상위 n/2비트의변수 데이터와 하위 n/2비트의 변수 데이터를 각각 인가받아 디코딩한 후 롬 코어의 어드레스(2n/2)로 출력하는 어드레스 디코더(1,1')와, 상기 어드레스 디코더(1,1')에서 출력되는 어드레스(2n/2)에 응답하여 저장되어 있는 부분 곱셈연산 결과값(8비트)을 각각 출력하는 롬 코어(2,2')와, 상기 롬 코어(2,2')에서 출력되는 부분 곱셈연산 결과값(8비트)을 가산하여 최종 곱셈연산 결과값을 출력하는 가산기(3)로 구성되어 있다.3 shows the structure of a conventional multiplier. The divided upper n / 2-bit variable data and the lower n / 2-bit variable data are received and decoded, respectively, and then output to the address (2 n / 2 ) of the ROM core. ROMs for outputting a partial multiplication operation result value (8 bits) stored in response to an address decoder (1,1 ') and an address (2 n / 2 ) output from the address decoder (1,1'). A core 2, 2 'and an adder 3 which adds the partial multiplication result (8 bits) output from the ROM cores 2, 2' and outputs the final multiplication result.

그러나, 상기와 같은 곱셈기는 동일한 데이터를 저장하고 있는 두 개의 롬 코어를 사용함에 따라 회로구성이 복잡하고 비용도 상승한다는 문제점이 있었다.However, the multiplier as described above has a problem in that a circuit configuration is complicated and costs are increased by using two ROM cores storing the same data.

상기 종래 기술에 대한 제반 문제점을 해결하기 위해 안출된 본 발명은, 더블 에지 클럭 구조를 가지는 곱셈기, 및 그를 이용하여 Y, CR, Cb신호를 R, G, B신호로 변환함으로써 작은 면적과 빠른 속도를 갖는 디지털 칼라 스페이스 변환 장치(DCSC)를 제공하는 데 그 목적이 있다.The present invention devised to solve the above problems of the prior art, the multiplier having a double edge clock structure, and using the same to convert the Y, C R , C b signals into R, G, B signals, The object is to provide a digital color space conversion device (DCSC) having a high speed.

상기와 같은 목적을 달성하기 위하여 본 발명은 클럭 신호에 응답하여 n비트 변수 데이터의 상위 n/2비트 및 하위 n/2비트를 입력받아 제1 계수와 곱한 연산값과, 휘도값을 가산하여 R(Red) 변환 출력값을 출력하는 R변환 수단; 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2 비트 및 하위 n/2 비트를 입력받아 제2 계수와 곱한 연산값과, 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2비트 및 하위 n/2비트를 입력받아 제3계수와 곱한 연산값과, 상기 휘도값을 가산하여 G(Green) 변환 출력값을 출력하는 G변환 수단; 및 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2비트 및 하위 n/2비트를 입력받아 제4계수와 곱한 연산값과, 상기 휘도값을 가산하여 B(Blue) 변환 출력값을 출력하는 B변환 수단을 구비하는 것을 특징으로 한다.In order to achieve the above object, the present invention receives an upper n / 2 bit and a lower n / 2 bit of n-bit variable data in response to a clock signal, multiplies a first coefficient by a first coefficient, and adds a luminance value to R. (Red) R conversion means for outputting a conversion output value; An operation value multiplied by a second coefficient after receiving the upper n / 2 bits and the lower n / 2 bits of the n-bit variable data in response to the clock signal, and the upper n / of the n-bit variable data in response to the clock signal; G conversion means for receiving an input of 2 bits and a lower n / 2 bit, multiplying by a third coefficient, and adding the luminance value and outputting a G (Green) conversion output value; And receiving an upper n / 2 bit and a lower n / 2 bit of the n-bit variable data in response to the clock signal, multiplying an operation value multiplied by a fourth coefficient, and adding the luminance value to output a B (Blue) converted output value. And B converting means.

또한, 본 발명은 클럭 신호의 상승 에지 및 하강 에지에서 변수 데이터의 하위 n/2비트 및 상위 n/2비트를 각각 래치하는 듀얼 포트 더블 에지 저장수단; 상기 저장 수단으로부터의 래치된 n/2비트의 데이터를 입력받아 디코딩한 후 출력하는 디코딩 수단; 및 상기 디코딩 수단으로부터 출력되는 디코딩 결과에 응답하여 곱셈연산 결과값을 출력하는 롬 코어를 포함하여 이루어진다.The present invention also provides dual port double edge storage means for latching the lower n / 2 bits and the upper n / 2 bits of the variable data on the rising and falling edges of the clock signal, respectively; Decoding means for receiving, decoding and outputting the latched n / 2-bit data from the storage means; And a ROM core for outputting a multiplication result in response to the decoding result output from the decoding means.

이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제4도는 본 발명에 의한 더블 에지 클럭을 이용한 곱셈기의구성을 나타낸 것으로, 분할된 변수가 클럭 신호(CLOCK)의 상승 에지 및 하강 에지에서 각각 n/2비트씩 래치되는 듀얼 포트 더블 에지 레지스터부(4)와, 상기 레지스터부(4)로부터 순차적으로 n/2 비트의 데이터를 인가받아 디코딩한 후 롬 코어(2)의 어드레스(2n/2)로 출력하는 어드레스 디코더(1)와, 상기 어드레스 디코더(1)에서 출력되는 어드레스(2n/2)에 응답하여 롬 코어(2)에 저장되어 있는 곱셈연산 결과값을 출력하는 롬 코어(2)와, 클럭에 응답하여 상기 롬 코어(2)로부터 순차적으로 출력되는 부분 곱셈연산 결과값을 가산하여 최종 곱셈연산 결과값으로 출력하는 가산기(8)를 구비한다. 여기서, 듀얼 포트 더블 에지 레지스터부(4)는 n/2비트 각각에 대한 n/2개의 단위 회로를 포함하여 이루어진다.4 shows a configuration of a multiplier using a double edge clock according to the present invention, in which a divided variable is a dual port double edge register unit in which n / 2 bits are latched at the rising edge and the falling edge of the clock signal CLOCK ( 4), an address decoder 1 which sequentially receives n / 2 bits of data from the register unit 4, decodes it, and outputs the decoded address to the address 2 n / 2 of the ROM core 2; A ROM core 2 for outputting a multiplication result stored in the ROM core 2 in response to an address 2 n / 2 output from the decoder 1, and the ROM core 2 in response to a clock. And an adder 8 for adding the partial multiplication result values sequentially outputted from and outputting the final multiplication result value. Here, the dual port double edge register section 4 includes n / 2 unit circuits for each n / 2 bits.

먼저, 듀얼 포트 더블 레지스터부(4)는 클럭의 상승 에지에서 하위 n/2비트의 변수 데이터를 입력받아 출력하고, 클럭의 하이(high) 레벨 구간 동안 어드레스 디코더(1) 및 롬 코어(2)를 통해 가산기(3)로 곱셈연산 결과값을 출력한다. 즉, 듀얼 포트 더블 레지스터부(4)를 통해 출력된 하위 n/2비트의 변수 데이터를 어드레스 디코더(1)를 통해 디코딩하고, 어드레스 디코더(1)를 통해 디코딩된 결과에 의해 인덱싱되는 롬 코어(2)에 저장된 곱셈연산 결과값을 가산기(8)로 출력한다. 이때, 가산기(8)는 다수의 플립플롭을 구비하고, 클럭의 상승 에지에 응답하여 롬 코어(2)로부터 출력되는 곰셈연산 결과값을 입력받아 상기 곱셈연산 결과값 및 무의미한 값과의 가산동작을 수행한다. 그러나, 이때 수행되는 가산동작은 원하는 곱셈 연산 결과가 아니므로 무시할 수 있다.First, the dual port double register unit 4 receives and outputs variable data of the lower n / 2 bits on the rising edge of the clock, and the address decoder 1 and the ROM core 2 during the high level period of the clock. The multiplication result is output to the adder (3). That is, the ROM core decoded by the address decoder 1 after decoding the lower n / 2-bit variable data output through the dual port double register unit 4 and the result decoded by the address decoder 1 ( The multiplication result stored in 2) is output to the adder (8). In this case, the adder 8 includes a plurality of flip-flops, receives a result of the calculation operation output from the ROM core 2 in response to the rising edge of the clock, and adds the result of the multiplication operation with a meaningless value. do. However, the addition operation performed at this time is not a desired multiplication result and can be ignored.

다음으로, 클럭의 하강 에지에서 듀얼 포트 더블 레지스터부(4)는 상위 n/2비트의 변수 데이터를 출력한다. 그리고, 클럭의 로우(low) 레벨 구간 동안 어드레스 디코더(1) 및 롬 코어(2)를 통해 가산기(3)로 곱셈연산 결과값을 출력한다. 즉, 듀얼 포트 더블 레지스터부(4)를 통해 출력된 상위 n/2비트의 변수 데이터를 어드레스 디코디(1)를 통해 디코딩하고, 어드레스 디코더(1)를 통해 디코딩된 결과에 의해 인덱싱되는 롬 코어(2)에 저장된 곱셈연산 결과값을 가산기(8)로 출력한다. 가산기(8)는 클럭의 하강 에지에 응답하여 롬 코어(2)로부터 출력되는 곱셈연산 결과값을 입력받아 다수의 플립플롭에 저장된 이전의 곱셈연산 결과값을 가산하여 최종 출력한다. 이때의 가산 결과값이 실제 n비트의 변수 데이터에 대한 곱셈연산 결과값이다.Next, on the falling edge of the clock, the dual port double register section 4 outputs variable data of the upper n / 2 bits. The multiplication operation result is output to the adder 3 through the address decoder 1 and the ROM core 2 during the low level period of the clock. That is, the ROM core decoded the variable data of the upper n / 2 bits output through the dual port double register section 4 through the address decoder 1 and indexed by the result decoded through the address decoder 1. The multiplication result stored in (2) is output to the adder (8). The adder 8 receives the multiplication result output from the ROM core 2 in response to the falling edge of the clock and adds the previous multiplication result stored in the plurality of flip-flops to output the final result. The addition result at this time is the result of the multiplication operation on the actual n-bit variable data.

제5도는 본 발명에 따른 듀얼 포트 더블 에지 레지스터부(4) 중 한 비트에 대한 단위 회로도를 도시한 것으로, 클럭 신호(CLOCK)에 따라 구동하여 입력신호(IN-LOW)를 출력단(Q)으로 출력하는 풀립플롭(FF1)과, 상기 플립플롭(FF1)의 출력신호(Q)와 클럭신호(CLOCK)를 낸드(NAND)조합하는 낸드 게이트(NAND1)와, 상기 클럭신호(CLOCK)를 반전시키는 인버터(INT1,INT2)와, 상기 인버터(INT2)의 출력에 따라 입력신호(IN-HIGH)를 출력단(Q)으로 출력하는 플립플롭(FF2)과, 상기 플립플롭(FF2)의 출력과 인버터(INT1)의 출력을 낸드(NAND)조합 하는 낸드 게이트(NAND2)와, 상기 낸드게이트(NAND1,NAND2)의 출력을 낸드(NAND)조합하는 낸드게이트(NAND3)를 구비하여, 클럭의 상승 에지에서는 입력신호(IN-LOW)를 플립플롭(FF1)에 래치하고, 클럭의 하강 에지에서 입력신호(IN-HIGH)를 플립플롭(FF2)에 래치한다. 만일, 변수 데이터가 8비트라면, n/2비트인 4비트 각각에 대하여 상기 듀얼 포트 더블 에지 레지스터부(4)를 구비해야한다. 그리고, 클럭의 상승 에지에서 하위 비트의 변수 데이터를 출력한 후 클럭의 하이 레벨 동안 항상 하위 비트의 변수 데이터가 듀얼 포트 더블 에지 레지스터(4)의 출력으로 유지되고, 클럭의 하강 에지에서 상위 비트의 변수 데이터가 출력된다.FIG. 5 is a unit circuit diagram of one bit of the dual port double edge register unit 4 according to the present invention, and is driven according to a clock signal CLOCK to convert an input signal IN-LOW to an output terminal Q. A pull-flop FF1 for outputting, a NAND gate NAND1 for NAND combining the output signal Q and the clock signal CLOCK of the flip-flop FF1, and the clock signal CLOCK Inverters INT1 and INT2, a flip-flop FF2 for outputting an input signal IN-HIGH to an output terminal Q according to the output of the inverter INT2, an output of the flip-flop FF2 and an inverter ( A NAND gate NAND2 for NAND combining the output of INT1 and a NAND gate NAND3 for NAND combining the outputs of the NAND gates NAND1 and NAND2. The signal IN-LOW is latched to the flip-flop FF1, and the input signal IN-HIGH is latched to the flip-flop FF2 at the falling edge of the clock. If the variable data is 8 bits, the dual port double edge register section 4 must be provided for each of 4 bits of n / 2 bits. Then, after outputting the variable data of the lower bit on the rising edge of the clock, the variable data of the lower bit is always maintained as the output of the dual port double edge register 4 during the high level of the clock, and on the falling edge of the clock, Variable data is output.

제6도는 상기 제4도의 본 발명에 의한 더블 에지 클럭을 이용한 곱셈기를 시뮬레이션한 파형도로서, 변수 데이터가 8비트 10010인 경우를 일실시예로하여 본 발명에 따른 더블 에지 클럭을 이용한 곱셈기를 시뮬레이션한 결과도이다. 시뮬레이션을 위해 더블 에지 클럭을 이용한 곱셈기의 듀얼 포트 더블 에지 레지스터부(4)는 제5도에 도시된 회로를 사용하고, 어드레스 디코더(1)는 일반적인 디코더 회로를, 가산기(8)는 다수의 플립플롭을 입력단에 구비하는 가산기 회로를 각각 사용한다. 이러한 어드레스 디코더 및 롬 코어 회로는 종래기술로서 널리 알려져 있기에 여기서는 상세한 설명을 생략한다.FIG. 6 is a waveform diagram of a multiplier using a double edge clock according to the present invention of FIG. 4, and simulates a multiplier using a double edge clock according to the present invention in the case where variable data is 8 bits 10010. One result is also. The dual port double edge register section 4 of the multiplier using the double edge clock for the simulation uses the circuit shown in FIG. 5, the address decoder 1 uses a general decoder circuit, and the adder 8 has a large number of flips. Adder circuits each having a flop at the input stage are used. The address decoder and ROM core circuit are well known in the art, and thus detailed descriptions thereof are omitted here.

또한, 여기서 IN_HIGH는 변수 데이터의 상위 4비트를, IN_LOW는 변수 데이터의 하위 4비트를, D_OUT은 듀얼 포트 더블 에지 레지스터부(4)를 통해 출력되는 신호를, mad는 어드레스 디코더(1)를 통해 출력되는 신호를, mout는 롬 코어(2)를 통해 출력되는 신호를, SUM은 가산기를 통해 출력되는 변수 데이터에 대한 곱셈 결과값을 나타낸다.In addition, IN_HIGH is the upper 4 bits of the variable data, IN_LOW is the lower 4 bits of the variable data, D_OUT is a signal output through the dual port double edge register section 4, mad is through the address decoder 1 The output signal, mout represents a signal output through the ROM core 2, and SUM represents a multiplication result of the variable data output through the adder.

먼저, 클럭이 소정 주기를 가지며 클럭킹을 하고, 클럭의 상승 에지에서 듀얼 포트 더블 에지 레지스터부(4)를 통해 하위 4비트, 즉 2(즉 0010)를 출력하고(10), 클럭의 하이 레벨에서 어드레스 디코더(1)는 하위 4비트 값 2를 입력받아 디코딩한 후 디코딩 결과 4(즉 0000000000000100)를 출력한다(12). 그리고, 부분 곱셈연산 결과값을 저장하고 있는 롬 코어(2)는 디코딩 결과 4에 의해 인덱스되는 부분 곱셈연산 결과값 0B(즉, 1011)을 출력한다.(14) 가산기(8)는 상기 곱셈연산 결과값 0B 및 0(모든 회로는 동작 전에 초기화 동작을 수행하므로, 가산기의 또다른 입력은 0값이 된다.) 값의 가산동작을 수행한 후 출력한다. (16) 이때, 가산기(8)는 8개의 플립플롭을 포함하여 0B값을 저장하고 있다.First, the clock clocks with a predetermined period, and outputs the lower 4 bits, that is, 2 (ie 0010) through the dual port double edge register section 4 at the rising edge of the clock (10), and at the high level of the clock. The address decoder 1 receives and decodes the lower 4 bit value 2 and outputs a decoding result 4 (that is, 0000000000000100) (12). The ROM core 2, which stores the partial multiplication result, outputs the partial multiplication result 0B (i.e., 1011) indexed by the decoding result 4. [14] The adder 8 performs the multiplication operation. The result values 0B and 0 (all circuits perform an initialization operation before operation, so another input of the adder becomes a value of 0). (16) At this time, the adder 8 stores 8B values including eight flip-flops.

다음으로, 클럭이 하이 레벨에서 로우 레벨로 떨어지는 하강 에지에서 듀얼 포트 더블 에지 레지스터부(4)를 통해 상위 4비트, 즉1(즉 0001)을 출력하고(18), 클럭의 로우 레벨에서 어드레스 디코더(1)는 상위 4비트 값 1을 입력받아 디코딩한 후 디코딩 결과 2(즉 0000000000000010)를 출력한다(20). 그리고, 부분 곱셈연산 결과값을 저장하고 있는 롬 코어(2)는 디코딩 결과 2에 의해 인덱스되는 부분 곱셈 연산 결과값 5(즉, 101)를 출력한다. (22) 가산기(8)는 상기 곱셈연산 결과값 5 및 가산기(8)의 플립플롭에 각각 저장된 하위 4비트에대한 곱셈연산 결과값 0B를 가산하여 8비트 변수 데이터 10010의 곱셈 출력값 10000을 출력한다.(24)Next, at the falling edge of which the clock falls from the high level to the low level, the upper four bits, i.e., 1 (ie, 0001) are outputted through the dual port double edge register section 4 (18), and the address decoder at the low level of the clock. (1) receives the upper 4 bit value 1, decodes it, and outputs a decoding result 2 (that is, 0000000000000010) (20). The ROM core 2, which stores the partial multiplication result, outputs a partial multiplication result 5 (i.e., 101) indexed by the decoding result 2. (22) The adder 8 adds a multiplication result 5B for the lower 4 bits stored in the multiplication result 5 and the flip-flop of the adder 8, respectively, and outputs a multiplication output value 10000 of the 8-bit variable data 10010. (24)

제7도는 제4도와 같은 더블 에지 클럭을 이용한 곱셈기를 사용하는 디지털 칼라 스페이스 변한기의 구성을 나타낸 것으로, Y, CR, Cb신호를 R, G, B값으로 변환하는 전체적인 구조를 나타낸 것이다.FIG. 7 shows the configuration of a digital color space transformer using a multiplier using a double edge clock as shown in FIG. 4. It shows the overall structure of converting Y, C R and C b signals into R, G and B values. .

R변환기는 상승 에지 및 하강 에지에서 상위 n/2비트 및 하위 n/2비트의 변수(Cr-128)를 각각 인가받아 롬 코어에 저장되어 있는 계수(1.370)와의 곱셈 연산값을 출력하는 곱셈기(6)와, 상기 곱셈기(6)의 출력과 Y값을 가산하여 R변환 출력값을 출력하는 자리올림 보존 가산기(5, carry save adder)를 포함한다.The R converter is a multiplier that receives the variables of the upper n / 2 bits and the lower n / 2 bits (C r -128) at the rising edge and the falling edge, respectively, and outputs a multiplication operation value with the coefficient (1.370) stored in the ROM core. (6) and a carry save adder (5) which adds the output of the multiplier 6 and the Y-value to output the R-transformed output value.

그리고, G변환기는 상승 에지 및 하강 에지에서 상위 n/2비트 및 하위 n/2비트의 변수(Cr-128)를 각각 인가받아 롬 코어에 저장되어 있는 계수(0.698)와의 곱셈 연산값을 출력하는 곱셈기(7)와, 상승 에지 및 하강 에지에서 상위 n/2비트 및 하위 n/2 비트의 변수(Cb-128)를 각각 인가받아 롬 코어에 저장되어 있는 계수(0.336)와의 곱셈 연산값을 출력하는 곱셈기(8)와, 상기 곱셈기(7,8)의 출력과 Y값을 가산하여 G변환 출력값을 출력하는 자리올림 보존 가산기(5)를 포함한다.The G converter receives multiply variables (C r -128) of the upper n / 2 bits and the lower n / 2 bits at the rising edge and the falling edge, respectively, and outputs a multiplication operation value with the coefficient (0.698) stored in the ROM core. Multiplication operation with a multiplier (7) and a coefficient (0.336) stored in the ROM core by receiving variables of the upper n / 2 bits and the lower n / 2 bits (C b -128) at the rising edge and the falling edge, respectively. A multiplier (8) for outputting the result, and a rounding storage adder (5) for adding the outputs of the multipliers (7, 8) and the Y value to output the G-transformed output value.

또한, B변환기는 상승 에지 및 하강 에지에서 상위 n/2비트 및 하위 n/2비트의 변수(Cb-128)를 각각 인가받아 롬 코어에 저장되어 있는 계수(0.730)와의 곱셈 연산값을 출력하는 곱셈기(9)와, 상기 곱셈기(9)의 출력과 Y값을 가산하여 G변환 출력값을 출력하는 자리올림 보존 가산기(5)를 포함한다.In addition, the B converter receives multiply variables (C b -128) of the upper n / 2 bits and the lower n / 2 bits on the rising edge and the falling edge, respectively, and outputs a multiplication operation value with the coefficient (0.730) stored in the ROM core. A multiplier (9), and a carry-on storage adder (5) for adding the output of the multiplier (9) and the Y value to output a G-transformed output value.

본 발명의 가술 사상은 상기 바람직한 실시예에 따라 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며, 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술 분야의 통상의 전문가라면 본 발명의 기술 사상의 범위내에서다양한 실시예가 가능함을 이해할 수 잇을 것이다.Although the spirit of the present invention has been described in detail according to the above-described preferred embodiment, it should be noted that the above-described embodiment is for the purpose of description and not for the purpose of limitation. In addition, those skilled in the art will understand that various embodiments are possible within the scope of the technical idea of the present invention.

상기와 같이 본 발명은 더블 에지 클럭에 의해 동작되고, 곱셈연산을 미리 계산한 롬 테이블을 갖는 롬을 이용하여 디지털 칼라 스페이스 변환기(DCSC)를 구성함에 따라 면적이 작아 다른 기능을 수행하는 칩의 내부에 간단하게 내장시킬 수 있는 효과가 있다. 또한, 본 발명의 디지털 칼라 스페이스 변환기(DCSC)를 모든 이미지 처리 시스템, HDTV(High Definition TeleVision)나 멀티미디어 등에 사용되어 탁월한 성능 향상의 효과를 얻을 수 있다.As described above, the present invention operates by a double edge clock, and uses a ROM having a ROM table with a pre-calculated multiplication operation to configure a digital color space converter (DCSC). It can be easily built into. In addition, the digital color space converter (DCSC) of the present invention can be used in all image processing systems, HDTV (High Definition TeleVision), multimedia, and the like, and the effect of excellent performance can be obtained.

Claims (12)

클럭 신호에 응답하여 n비트 변수 데이터의 상위 n/2 비트 및 하위 n/2비트를 입력받아 제1 계수와 곱한 연산값과, 휘도값을 가산하여 R(Red) 변환 출력값을 출력하는 R변환 수단; 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상귀 n/2 비트 및 하위 n/2 비트를 입력받아 제2계수와 곱한 연산값과, 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2 비트 및 하위 n/2 비트를 입력받아 제3 계수와 곱한 연산값과, 상기 휘도값을 가산하여 G(Green) 변환 출력값을 출력하는 G변환 수단; 및 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2 비트 및 하위 n/2비트를 입력받아 제4 계수와 곱한 연산값과, 상기 휘도값을 가산하여 B(Blue) 변환 출력값을 출력하는 B변환 수단을 포함하는 더블 에지 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.R conversion means for receiving an upper n / 2 bit and a lower n / 2 bit of n-bit variable data in response to a clock signal and multiplying a first coefficient and a luminance value to output an R (Red) converted output value; ; An operation value multiplied by a second coefficient by receiving the upper n / 2 bits and the lower n / 2 bits of the n-bit variable data in response to the clock signal, and the upper n / of the n-bit variable data in response to the clock signal; G conversion means for receiving a two-bit and a lower n / 2 bit and multiplying an operation value multiplied by a third coefficient and the luminance value to output a G (Green) conversion output value; And receiving an upper n / 2 bit and a lower n / 2 bit of the n-bit variable data in response to the clock signal, multiplying an operation value by a fourth coefficient, and adding the luminance value to output a B (Blue) conversion output value. A digital color space conversion apparatus using a double edge clock structure including a B conversion means. 제1항에 있어서, 상기 R변환 수단은 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2 비트 및 하위 n/2비트를 각각 인가받아 상기 제1 계수와 곱한 연산값을 출력하는 연산 수단; 및 상기 연산 수단으로부터의 출력과 상기 휘도값을 가산하여 상기 R변환 출력값으로 출력하는 가산 수단을 포함하는 것을 특징으로 하는 더블 에지 클럭구조를 이용한 디지털 칼라 페이스 변환 장치.2. The operation of claim 1, wherein the R conversion means receives an upper n / 2 bit and a lower n / 2 bit of the n-bit variable data in response to the clock signal and outputs an operation value multiplied by the first coefficient. Way; And an adding means for adding the output from said calculating means and said luminance value and outputting it as said R conversion output value. 제1항에 있어서, 상기 G변환 수단은 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2비트를 각각 인가받아 상기 제2 계수와 곱한 연산값을 출력하는 제1 연산 수단; 상기 클럭 신호에 응답하여 상기 n비트 변수 데이터의 상위 n/2 비트 및 하위 n/2 비트를 인가받아 상기 제3 계수와 곱한 연산값을 출력하는 제2 연산 수단; 및 상기 제1 및 제2 연산 수단으로부터의 출력과 상기 휘도값을 가산하여 상기 G변환 출력값으로 출력하는 가산 수단을 포함하는 것을 특징으로 하는 더블 에지 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.2. The apparatus of claim 1, wherein the G conversion means comprises: first arithmetic means for receiving an upper n / 2 bit of the n-bit variable data and outputting an arithmetic value multiplied by the second coefficient in response to the clock signal; Second arithmetic means for receiving an upper n / 2 bit and a lower n / 2 bit of the n-bit variable data in response to the clock signal and outputting an operation value multiplied by the third coefficient; And an adding means for adding the output from the first and second calculating means and the luminance value to output the G-transformed output value. 제1항에 있어서, 상기 B변환 수단은 상기 클럭 신호에 응답하여 상기 n비트 변수데이터의 상위 n/2 비트 및 하위 n/2비트를 각각 인가받아 상기 제4 계수와 곱한 연산값을 출력하는 연산 수단; 및 상기 연산 수단으로부터의 출력과 상기 휘도값을 가산하여 상기 B변환 출력값으로 출력하는 가산 수단을 포함하는 것을 특징으로 하는 더블 에지 클럭 구조를 이용한 디지털 칼라 스페이스 변환 장치.The operation of claim 1, wherein the B conversion means receives an upper n / 2 bit and a lower n / 2 bit of the n-bit variable data in response to the clock signal and outputs an operation value multiplied by the fourth coefficient. Way; And adding means for adding the output from the computing means and the luminance value and outputting the luminance value as the B-transformed output value. 제2항 또는 제4항 중 어느 한 항에 있어서, 상기 연산 수단은 각각 상기 클럭 신호의 상승 에지 및 하강 에지에서 상기 변수 데이터의 하위 n/2비트 및 상위 n/2비트를 각각 래치하는 듀얼 포트 더블 에지 저장수단; 상기 저장수단으로부터의 래치된 n/2비트의데이터를 입력받아 디코딩한 후 출력하는 디코딩 수단; 및 상기 디코딩 수단으로부터 출력되는 디코딩 결과 에 응답하여 저장된 곱셈연산 결과값을 출력하는 롬 코어를 포함하는 것을 특징으로 하는 더블 에지 클럭 구조를 이용한 디지털 칼라 스페이스 변환 장치.5. The dual port according to any one of claims 2 and 4, wherein said computing means latches the lower n / 2 bits and the upper n / 2 bits of the variable data, respectively, on the rising and falling edges of the clock signal, respectively. Double edge storage means; Decoding means for receiving and decoding the latched n / 2-bit data from the storage means and then outputting the data; And a ROM core for outputting a stored multiplication result in response to the decoding result output from the decoding means. 제5항에 있어서, 상기 듀얼 포트 더블 에지 저장수단은 상기 클럭 신호의 하강 에지 혹은 상승 에지 중 어느 한 에지에 응답하여 구동하고, 상기 변수 데이터의 하위 n/2비트를 출력단으로 출력하는 제1 플립플롭; 상기 클럭 신호의 하강 에지 혹은 상승 에지 중 다른 에지에 응답하여 구동하고, 상기 변수 데이터의 상위 n/2비트를 출력단으로 출력하는 제2 플립플롭; 및 상기 제1 및 제2 플립플롭으로부터 출력되는 상기 변수 데이터를 순차적으로 출력하는 출력 수단을 포함하는 것을 특징으로 하는 더블 에치 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.The first flip of claim 5, wherein the dual port double edge storage unit is driven in response to any one of a falling edge and a rising edge of the clock signal, and outputs the lower n / 2 bits of the variable data to an output terminal. Flop; A second flip-flop that is driven in response to another edge of a falling edge or a rising edge of the clock signal and outputs upper n / 2 bits of the variable data to an output terminal; And output means for sequentially outputting the variable data output from the first and second flip-flops. 제2항 또는 제4항에 있어서, 상기 가산 수단은 각각, 자리올림 보존 가산기를 포함하는 것을 특징으로 하는 더블 에지 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.5. A digital color space conversion apparatus using a double edge clock structure as claimed in claim 2 or 4, wherein the adding means each includes a rounding storage adder. 제3항에 있어서, 상기 제1 또는 제2 연산 수단은 각각, 상기 클럭 신호의 상승 에지 및 하강 에지에서 상기 변수 데이터의 하위 n/2비트 및 상위 n/2비트를 각각 래치하는 듀얼 포트 더블 에지 저장수단; 상기 저장수단으로부터의 래치된 n/2비트의 데이터를 입력받아 디코딩한 후 출력하는 디코딩 수단; 및 상기 디코딩 수단으로부터 출력되는 디코딩 결과에 응답하여 곱셈연산 결과값을 출력하는 롬 코어을 포함하는 것을 특징으로 하는 더블 에지 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.4. The dual port double edge of claim 3, wherein the first or second computing means respectively latches the lower n / 2 bits and the upper n / 2 bits of the variable data on the rising and falling edges of the clock signal. Storage means; Decoding means for receiving and decoding the latched n / 2-bit data from the storage means and then outputting the data; And a ROM core for outputting a multiplication result in response to the decoding result output from the decoding means. 제8항에 있어서,상기 듀얼 포트 더블 에지 저장수단은 상기 클럭 신호의 하강 에지 혹은 상승 에지 중 어느 한 에지에 응답하여 구동하고, 상기 변수 데이터의 하위 n/2비트를 출력단으로 출력하는 제1 플립플롭; 상기 클럭 신호의 하강 에지 혹은 상승 에지 중 다른 에지에 응답하여 구동하고, 상기 변수 데이터의 상위 n/2비트를 출력단으로 출력하는 제2필립플롭; 및 상기 제1 및 제2 플립플롭으로부터 출력되는 상기 변수 데이터를 순차적으로 출력하는 출력 수단을 포함하는 것을 특징으로 하는 더블 에지 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.According to claim 8, The dual port double edge storage means is driven in response to any one of the falling edge or the rising edge of the clock signal, the first flip for outputting the lower n / 2 bits of the variable data to the output terminal Flop; A second Philip flop that is driven in response to another edge of the falling edge or the rising edge of the clock signal and outputs the upper n / 2 bits of the variable data to an output terminal; And output means for sequentially outputting the variable data output from the first and second flip-flops. 제3항에 있어서, 상기 가산 수단은 자리올림 보존 가산기를 포함하는 것을 특징으로 하는 더블 에지 클럭구조를 이용한 디지털 칼라 스페이스 변환 장치.4. The apparatus of claim 3, wherein said adding means comprises a carry-on preserver. 더블 클럭 구조를 가지는 곱셈기에 있어서, 클럭 신호의 상승 에지 및 하강 에지에서 변수 데이터의 하위 n/2비트 및 상위 n/2비트를 각각 래치하는 듀얼 포트 더블 에지 저장수단; 상기 저장수단으로부터의 래치된 n/2비트의 데이터를 입력받아 디코딩한 후 출력하는 디코딩 수단; 및 상기 디코딩 수단으로부터 출력되는 디코딩 결과에 응답하여 곱셈연산 결과값을 출력하는 롬 코어를 포함하여 이루어지는 더블 클럭 구조를 가지는 곱셈기.1. A multiplier having a double clock structure, comprising: dual port double edge storage means for latching a lower n / 2 bit and an upper n / 2 bit of variable data at rising and falling edges of a clock signal, respectively; Decoding means for receiving and decoding the latched n / 2-bit data from the storage means and then outputting the data; And a ROM core for outputting a multiplication result in response to the decoding result output from the decoding means. 제11항에 있어서, 상기 듀얼 포트 에지 저장수단은 상기 클럭 신호의 하강 에지 혹은 상승 에지 중 어느 한 에지에 응답하여 구동하고,상기변수 데이터의 하위 n/2비트를 출력단으로 출력하는 제1 플립플롭; 상기 클럭 신호의하강 에지 혹은 상승 에지 중 다른 에지에 응답하여 구동하고, 상기 변수 데이터의 상위 n/2비트를 출력단으로 출력하는 제2플립플롭; 및 상기 제1 및 제2 플립플롭으로부터 출력되는 상기 변수 데이터를 순차적으로 출력하는 출력수단을 포함하여 이루어지는 더블 클럭 구조를 가지는 곱셈기.The first flip-flop of claim 11, wherein the dual port edge storage unit is driven in response to any one of a falling edge and a rising edge of the clock signal, and outputs the lower n / 2 bits of the variable data to an output terminal. ; A second flip-flop that is driven in response to another edge of the falling edge or the rising edge of the clock signal and outputs the upper n / 2 bits of the variable data to an output terminal; And output means for sequentially outputting the variable data output from the first and second flip-flops.
KR1019940020182A 1994-08-16 1994-08-16 Multiplier having double edge clock structure and digital color space converter KR0185437B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940020182A KR0185437B1 (en) 1994-08-16 1994-08-16 Multiplier having double edge clock structure and digital color space converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940020182A KR0185437B1 (en) 1994-08-16 1994-08-16 Multiplier having double edge clock structure and digital color space converter

Publications (1)

Publication Number Publication Date
KR0185437B1 true KR0185437B1 (en) 1999-05-15

Family

ID=19390455

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940020182A KR0185437B1 (en) 1994-08-16 1994-08-16 Multiplier having double edge clock structure and digital color space converter

Country Status (1)

Country Link
KR (1) KR0185437B1 (en)

Similar Documents

Publication Publication Date Title
US4430721A (en) Arithmetic circuits for digital filters
US4916531A (en) Color video processing circuitry
JPH04204496A (en) Display control device
KR0185437B1 (en) Multiplier having double edge clock structure and digital color space converter
GB2173372A (en) Color matrix for a digital television receiver
US5781462A (en) Multiplier circuitry with improved storage and transfer of booth control coefficients
US5490101A (en) Digital data multiplying circuit
US4860235A (en) Arithmetic unit with alternate mark inversion (AMI) coding
US4550339A (en) Binary divider as for a digital auto flesh circuit
US4599702A (en) Divider circuit for dividing n-bit binary data using decimal shifting and summation techniques
US7623721B1 (en) High-speed dithering architecture
US6028590A (en) Color conversion for processors
JPH0338798B2 (en)
KR0135717B1 (en) Digital color space converter
KR100239631B1 (en) Digital multiplier
Iwase et al. A new multiplier-adder LSI for digital video processing
JPH0795671B2 (en) Digital Filter
US5039987A (en) Circuit for converting a phase signal to an amplitude signal
JPH10285606A (en) Signal conversion method and circuit therefor
JP2734131B2 (en) Discrete cosine converter
SU1728858A1 (en) Device for multiplying members of finite field gf(2@@@) at m@@@3
KR0156134B1 (en) Motion vector decoder of hdtv
KR0181755B1 (en) Digital adder
JPH10254680A (en) Square circuit
JPH0523013Y2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20051118

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee