KR940010670B1 - Subtractor - Google Patents

Subtractor Download PDF

Info

Publication number
KR940010670B1
KR940010670B1 KR1019920012646A KR920012646A KR940010670B1 KR 940010670 B1 KR940010670 B1 KR 940010670B1 KR 1019920012646 A KR1019920012646 A KR 1019920012646A KR 920012646 A KR920012646 A KR 920012646A KR 940010670 B1 KR940010670 B1 KR 940010670B1
Authority
KR
South Korea
Prior art keywords
generation
signal
bore
transmission
output signal
Prior art date
Application number
KR1019920012646A
Other languages
Korean (ko)
Other versions
KR940003186A (en
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 KR1019920012646A priority Critical patent/KR940010670B1/en
Publication of KR940003186A publication Critical patent/KR940003186A/en
Application granted granted Critical
Publication of KR940010670B1 publication Critical patent/KR940010670B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/50Adding; Subtracting

Abstract

The device does not need a adder, and reduces the area of layout by a regularity in cells. The device includes a borrow generation and transmission circuit which outputs the signals; 1st to 16th, a borrow generater which has a 1st inverter, a 1st CMOS transmission gate, a 1st NMOS transmission gate, a borrow transmission circuit which has a 2nd inverter, a 2nd CMOS transmission gate, a 2nd NMOS transmission gate, a 1st cell which has a 1st AND gate, an OR gate, a 2nd AND, a 3rd cell which has the 2nd, 3rd, 4th, 5th, 6th, 7th, 8th, 9th PMOS and NMOS transistors, and a 2nd cell which has a 4th inverter and a subtractor.

Description

감산기Subtractor

제 1 도는 종래의 n비트 병렬 감산기의 블럭도를 나타내는 것이다.1 shows a block diagram of a conventional n-bit parallel subtractor.

제 2 도는 본 발명에 따른 n비트 병렬 감산기의 블럭도를 나타내는 것이다.2 shows a block diagram of an n-bit parallel subtractor according to the present invention.

제 3 도는 본 발명에 따른 실시예의 24비트 병렬 감산기의 구체적인 회로구성을 나타내는 것이다.3 shows a specific circuit configuration of the 24-bit parallel subtractor of the embodiment according to the present invention.

제 4a 도는 본 발명에 따른 보로우 발생 회로의 실시예를 나타내는 것이다.Figure 4a shows an embodiment of a bore generating circuit according to the present invention.

제 4b 도는 본 발명에 따른 보로우 전송회로의 실시예를 나타내는 것이다.Figure 4b shows an embodiment of the bowl transmission circuit according to the present invention.

제 4c 도는 본 발명에 따른 제 1 셀 블럭의 실시예를 나타내는 것이다.4c illustrates an embodiment of a first cell block according to the present invention.

제 4d 도는 본 발명에 따른 제 2 셀 블럭의 실시예를 나타내는 것이다.4d illustrates an embodiment of a second cell block according to the present invention.

제 4e 도는 본 발명에 따른 제 3 셀 블럭의 실시예를 나타내는 것이다.4e illustrates an embodiment of a third cell block according to the present invention.

제 4f 도는 본 발명에 따른 제 4 셀 블럭의 실시예를 나타내는 것이다.4F illustrates an embodiment of a fourth cell block according to the present invention.

제 5 도는 본 발명에 따른 보로우 평가 블럭의 트리 구조를 나타내는 것이다.5 shows a tree structure of the borough evaluation block according to the present invention.

제 6 도는 본 발명에 따른 감산기의 시뮬레이션 결과를 나타내는 것이다.6 shows a simulation result of a subtractor according to the present invention.

본 발명은 감산기에 관한 것으로, 특히 병렬 감산기에 관한 것이다.The present invention relates to a subtractor, in particular to a parallel subtractor.

종래의 n비트 병렬 감산기의 알고리즘은 다음과 같다. n비트의 워어드(A, B)에 대하여 감수(B)를 인버터를 통하여 반전을 시키고 반전된(B)를 A의 부호 비트를 1비트 확장시켜 n+1비트로 만든 다음, 캐리 입력신호와 함께 n+1비트 가산기로 가산을 함으로써 감산을 수행하였다.The algorithm of the conventional n-bit parallel subtractor is as follows. Invert the subtracted B by n inverters for n bits of word A and B, and inverted B into n + 1 bits by extending the sign bit of A by 1 bit, and then carry it with the carry input signal. Subtraction was performed by adding with an n + 1 bit adder.

A-B = A+(B의 2의 보수)A-B = A + (2's complement of B)

= A+(+1)= A + ( +1)

= D= D

제 1 도는 상기 알고리즘을 수행하기 위한 종래의 병렬 감산기의 블럭도를 나타내는 것이다.1 shows a block diagram of a conventional parallel subtractor for performing the above algorithm.

제 1 도에 있어서, 감수(Bi, i=1,2,…,n)를 입력하여 반전하는 인버터들(1), 피감수(Ai, i=1,2,…,n)와 반전된 감수(Bi, i=1,2,…,n)와 캐리신호(Cin=1)를 입력하여 가산하는 n+1비트 가산기(2)으로 구성되어 있다. 그래서 n비트의 감산을 수행하기 위해서는 n+l 비트의 가산기가 항상 필요하였다. 즉, 감산을 수행하기 위해서는 피감수를 반전하는 단계와 n+l비트의 가산을 수행하는 단계가 필요하였다. 따라서, 종래의 방법은 그 회로구성이 복잡하고 감산을 수행하는 속도가 느리다는 단점이 있었다.The method of claim 1, also, the inverted and supervision (B i, i = 1,2, ..., n) of the inverters, which inverts the input (1), the minuend (A i, i = 1,2, ..., n) It consists of an n + 1 bit adder 2 which inputs and adds a subtraction (B i , i = 1, 2, ..., n) and a carry signal (C in = 1). Therefore, an adder of n + l bits has always been necessary to perform subtraction of n bits. In other words, in order to perform the subtraction, it is necessary to invert the subtracted and perform the addition of n + l bits. Therefore, the conventional method has a disadvantage in that the circuit configuration is complicated and the speed of performing the subtraction is slow.

본 발명의 목적은 회로 구성이 간단한 감산기를 제공하는데 있다.An object of the present invention is to provide a subtractor with a simple circuit configuration.

본 발명의 다른 목적은 감산을 수행하는 속도가 빠른 감산기를 제공하는데 있다.Another object of the present invention is to provide a subtractor having a high speed of performing subtraction.

이와 같은 목적을 달성하기 위한 본 발명의 감산기는 16비트의 제 1, 제 2 데이타 신호를 입력하여 bi=Bi, pi=Ai⊙Bi(여기에서, bi는 보로우 발생신호, pi는 보로우 전송 신호, Ai는 제 1 데이타 신호, Bi는 제 2 데이타 신호, i=1,…,16을 각각 나타낸다.)의 식의 연산을 수행하여 제1부터 제16까지의 보로우 발생 및 전송출력신호들을 출력하는 보로우 발생 및 전송회로들, 상기 보로우 발생 및 전송회로들의 제3,4, 제5,6, 제7,8, 제9,10, 제11,12, 제13,14, 제15,16의 보로우 발생 및 전송 출력신호들을 각각 입력하여 NB=bi∪(pi∪bi-1), NP=pi∪pi-1(여기에서, NB는 제 1 셀의 보로우 발생 출력신호, NP는 제 1 셀의 보로우 전송 출력신호를 각각 말한다.)의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 1 의 제 1 셀들, 상기 보로우 발생 및 전송회로들의 제1,2의 보로우 발생 및 전송 출력신호들을 입력하여 NB=bi∪(bi-1∪pi) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.) 식의 연산을 수행하여 보로우 발생 출력신호를 출력하는 제 1 의 제 2 셀, 상기 제 1 의 제 2 셀의 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 3 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 1 보로우 발생 및 전송 출력신호를 각각 입력하여 NB=bi∪(bi-1∪pi) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)의 식의 연산을 수행하여 보로우 발생 출력신호들을 출력하는 제 2 의 제 2 셀들, 상기 제 1 의 제 1 셀들의 제 2 보로우 발생 및 전송 출력신호와 상기 보로우 발생 및 전송회로의 제 7 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 3 보로우 발생 및 전송 출력신호를 각각 입력하고 상기 제 1 의 제 1 셀들의 제 4 보로우 발생 및 전송출력신호와 상기 보로우 발생 및 전송회로의 제11보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 5 보로우 발생 및 전송 출력신호를 각각 입력하고 상기 제 1 의 제 1 셀들의 제 6 보로우 발생 및 전송 출력신호와 상기 보로우 발생 및 전송회로의 제15보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 7 보로우 발생 및 전송 출력신호를 각각 입력하여 NB=bi∪(bi∪bi-1), NP=pi∪pi-1(여기에서, NB는 제 1 셀의 보로우 발생 출력신호, NP는 제 1 셀의 보로우 전송 출력신호를 각각 말한다.)의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 2 의 제 1 셀들, 상기 제 2 의 제 2 셀들의 제 2 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 5 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 2 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제1, 2보로우 발생 및 전송 출력신호들을 각각 입력하고 상기 제 2 의 제 1 셀들의 제 4 보로우 발생 및 전송 출력신호와 상기 보로우 발생 및 전송회로의 제13보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 6 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제 5 보로우 발생 및 전송 출력신호를 입력하여 NB=bi∩(pi∪bi-1), NP=pi∪pi-1(여기에서, NB는 제 1 셀의 보로우 발생 출력신호, NP는 제 1 셀의 보로우 전송 출력신호를 각각 말한다.)의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 3 의 제 1 셀들, 상기 제 2 의 제 2 셀들의 제 2 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 5 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 2 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제 1 보로우 발생 및 전송 출력신호를 각각 입력하여 NB=bi∩(bi-1∪pi) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)의 식의 연산을 수행하여 보로우 발생 출력신호들을 출력하는 제 3 의 제 2 셀들, 상기 제 2 의 제 1 셀들의 제1,2,4,6보로우발생 및 전송 출력신호와 상기 제 2 의 제 2 셀들의 제 2 보로우 출력신호를 입력하여 ci+1=bi∩(pi∪bi-1)∩(pi∪pi-1∪pi-2)∩(pi∪pi-1∪pi-2∪pi-3) (여기에서, ci+1는 제 3 셀의 캐리 출력신호를 말한다.)의 식의 연산을 수행하여 캐리 출력신호를 발생하는 제 3 셀 ; 상기 제 3 의 제 2 셀들의 제 4 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 9 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 4 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제3,4보로우 발생 및 전송 출력신호, 상기 제 3 의 제 1 셀들의 제1,2,3보로우 발생 및 전송 출력신호를 각각 입력하여 NB=bi∩(bi-1∪pi) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)의 식의 연산을 수행하는 보로우 발생 및 전송 출력신호들을 출력하는 제 4 의 제 2 셀들, 및 상기 보로우 발생 및 전송회로의 제 1 보로우 발생 및 전송 출력신호, 상기 제1,2,3,4의 제 2 셀들의 보로우 발생 출력신호들, 및 제 3 셀의 캐리 출력신호들을 입력하여 최종 차값을 출력하는 최종 차값 계산 회로를 구비한 것을 특징으로 한다.In order to achieve the above object, the subtractor of the present invention inputs 16 bit first and second data signals, and b i = B i , p i = A i ⊙B i (where b i is a bore generation signal, p i is a bore transmission signal, A i is a first data signal, B i is a second data signal, i = 1,... And 16, respectively, to generate the first to sixteenth generation of the bow generation and the transmission output signals, and the third generation, the third generation, the fourth generation of the generation and transmission circuits. 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 Bore generation and transmission output signals are respectively inputted, and NB = b i ∪ (p i ∪b i 1 ), NP = p i ∪p i-1 (where NB is the Borrow generation output signal of the first cell and NP is the Borrow transmission output signal of the first cell, respectively). NB = b i ∪ (b i-1 ∪p i) by inputting the first first cells that output the bore generation and transmission output signals, and the first and second bore generation and transmission output signals of the bore generation and transmission circuits. (Where NB is The first and second cells outputting the Borrow generation output signal by performing the operation of the formula, and the Borrow output signal of the first and second cells, and the Borrow generation and transmission circuit. NB = b i ∪ (b i-1 ∪p i ) (wherein, NB is a third input by inputting a third bore generation and transmission output signal, a first bore generation and transmission output signal of the first first cells, respectively) The second second cells for outputting the borough generation output signals by performing an operation of the formula 2) and the second bore generation and transmission output signal of the first first cells, and the Inputs a seventh bore generation and transmission output signal, a third bore generation and transmission output signal of the first cells, and generates a fourth bore generation and transmission output of the first cells; Signal and the bore generation And inputting an eleventh borough generation and a transmission output signal of the transmission circuit, a fifth bore generation and a transmission output signal of the first first cells, respectively, and a sixth bore generation and a transmission output signal of the first first cells; The borough generation and the fifteenth borough generation and transmission output signal of the transmission circuit, the seventh borough generation and transmission output signal of the first first cells are respectively inputted, and NB = b i ∪ (b i ∪b i-1 ). , NP = p i ∪p i-1 (where NB is the bore generation output signal of the first cell and NP is the bore transmission output signal of the first cell, respectively). Second first cells for outputting transmission output signals, second bore output signals of the second second cells and the fifth bore generation and transmission output signals of the bore generation and transmission circuits, the first first cell Of the second bore generation and transmission output signal, the second Inputting the first and second borough generation and transmission output signals of one cell, respectively, a fourth borrow generation and transmission output signal of the second first cells, and the thirteenth generation and transmission output signal of the borrow generation and transmission circuit, Inputs the sixth bore generation and transmission output signal of the first first cells, the fifth bore generation and transmission output signal of the second first cells and inputs NB = b i ∩ (p i ∪b i-1 ). , NP = p i ∪p i-1 (where NB is the bore generation output signal of the first cell and NP is the bore transmission output signal of the first cell, respectively). Third first cells for outputting transmission output signals, second bore output signals of the second second cells and the fifth bore generation and transmission output signals of the bore generation and transmission circuits, the first first cell Second bore generation and transmission output signal, the second first cell Of the expression of the operation of the first Harborough generate and transmit an output signal to each of the input NB = b i ∩ (b i -1 ∪p i) ( here, NB means the Harborough generating an output signal of the second cell.) Third second cells that perform output of the borough generation output signals; first, second, second, fourth, and sixth boring generation and transmission output signals of the second first cells and second bores of the second second cells; Input the output signal c i + 1 = b i ∩ (p i ∪b i-1 ) ∩ (p i ∪p i-1 ∪p i-2 ) ∩ (p i ∪p i-1 ∪p i- 2 ∪p i-3 ) (where c i + 1 refers to the carry output signal of the third cell); The fourth bore output signal of the third second cells and the ninth bore generation and transmission output signal of the bore generation and transmission circuit, the fourth bore generation and transmission output signal of the first first cells, the second NB = b i ∩ (b i-1) by inputting the third and fourth borough generation and transmission output signals of the first cells of the first cell and the first, second and third borough generation and transmission output signals of the third first cells, respectively. Ip i ) (fourth second cells outputting a bore generation and transmission output signals, and performing a calculation of the formula of NB here). The final difference value for outputting the final difference value by inputting the first bore generation and transmission output signal of the transmission circuit, the bore generation output signals of the second cells of the first, second, third, and fourth cells, and the carry output signals of the third cell. A calculation circuit is provided.

첨부된 도면을 참고로 하여 본 발명에 따른 감산기를 설명하기 전에 그 알고리즘을 설명하면 다음과 같다.The algorithm will be described before explaining the subtractor according to the present invention with reference to the accompanying drawings.

일반적인 이진 감산은 다음의 진리표로 나타내어진다.General binary subtraction is represented by the following truth table:

상기 진리표를 만족하는 부울식 (Boolean Equation)을 유도하면 다음과 같다.Deriving a Boolean expression satisfying the truth table is as follows.

Di=xi yi zi D i = x i y i z i

=xi⊙yi⊙zi = x i ⊙y i ⊙z i

Bi=yi+(xi+yi)zi B i = y i + (x i + y i ) z i

=yi+(xi⊙ yi)zi = y i + (x i ⊙ y i ) z i

여기에서, 연산자 ""를 다음과 같이 정의하기로 한다.Where, operator " "Is defined as follows.

(b,p)(b',p')=(b+pb',pp')(b, p) (b ', p') = (b + pb ', pp')

블럭 보로우(borrow)발생 및 전송 신호 Bi, PiBlock boring occurrence and transmission signals B i , P i

(Bi,Pi)=(bi,pi)(Bi-1,pi-1)(B i , P i ) = (b i , p i ) (B i-1 , p i-1 )

=(bi,pi)(bi-1,pi-1)… (b1,p1)= (b i , p i ) (b i-1 , p i-1 )... (b 1 , p 1 )

이 되고 최종 출력 DiAnd the final output D i is

Di=piBi-1 D i = p i B i-1

이다.to be.

여기에서, bi=yi; 보로우 발생Where b i = y i ; Borrow occurrence

pi=xi⊙yi; 보로우 전송p i = x i ⊙ y i ; Borough transmission

제 2 도는 상기 알고리즘을 수행하기 위한 본 발명의 블럭도를 나타내는 것이다.2 shows a block diagram of the present invention for performing the algorithm.

제 2 도에 있어서, 피감수(Ai)와 감수(Bi)를 입력하여 보로우 발생 및 전송 신호(bi, pi)를 발생하는 보로우 발생 및 전송 블럭(3), 상기 보로우 발생 및 전송 블럭(3)의 출력신호를 입력하여 보로우를 평가하는 보로우 평가 블럭(4), 상기 보로우 평가 블럭(4)의 출력신호를 입력하는 차 블럭(5)으로 구성되어 있다.2, a bow generation and transmission block (3) for generating a bow generation and a transmission signal (b i , p i ) by inputting the subtracted (A i ) and the subtraction (B i ); It consists of a bow evaluation block 4 which inputs the output signal of (3), and evaluates a bow, and the difference block 5 which inputs the output signal of the said bow evaluation block 4. As shown in FIG.

제 3 도는 제 2 도에 나타낸 블럭도의 구체적인 실시예의 24비트 감산기의 구조를 나타내는 것이다.FIG. 3 shows the structure of the 24-bit subtractor of the specific embodiment of the block diagram shown in FIG.

제 3 도에 있어서, 24비트의 두 수(A23-A0, B23- B0)를 입력하여 24비트의 보로우 발생 신호(b23-b0) 및 전송 신호(p23-p0)를 발생하는 다음의 연산을 수행하는 보로우 발생 및 전송회로(1023-100),In FIG. 3, two 24-bit numbers (A 23 -A 0 , B 23 -B 0 ) are inputted to indicate a 24-bit bore generation signal (b 23 -b 0 ) and a transmission signal (p 23 -p 0 ). Borrow generation and transmission circuit (10 23 -10 0 ), which performs the following operations that generate

bi=Bi b i = B i

pi-Ai⊙Bi p i -A i ⊙ B i

보로우 발생 및 전송 신호를 입력하여 다음의 연산을 수행하는 제 1 셀 블럭들(1123-110, 1211-122, 136-134),By entering the Harborough generate and transmit signals, the first cell block to perform the following operations (11 23 -11 0 12 11 -12 2, 13 6-13 4),

NB=bi∩(pi∪bi-1)NB = b i ∩ (p i ∪b i-1 )

NP=pi∪pi-1 NP = p i ∪p i-1

보로우 발생과 전송 신호를 입력하여 다음의 연산을 수행하는 제 2 셀 블럭들(110, 121, 120, 133-130, 1310-137, 1514-150),Second cell blocks 11 0 , 12 1 , 12 0 , 13 3 -13 0 , 13 10 -13 7 , 15 14 -15 0 , which perform the following operation by inputting the borough generation and the transmission signal,

NB=bi∩(bi-1∪pi)NB = b i ∩ (b i-1 ∪p i )

상기 보로우 발생과 전송 신호(bi, pi), (bi-1, pi-1), (bi-2, pi-2), (bi-3, pi-3)를 입력하여 다음의 연산을 수행하는 제 3 셀 블럭(14),Borrow generation and transmission signals (b i , p i ), (b i-1 , p i-1 ), (b i-2 , p i-2 ), (b i-3 , p i-3 ) A third cell block 14 which inputs to perform the next operation,

Ci+1=bi∩(pi∪bi-1)∩(pi∪pi-1∪pi-2)∩(pi∪pi-1∪pi-2∪pi-3)C i + 1 = b i ∩ (p i ∪b i-1 ) ∩ (p i ∪p i-1 ∪p i-2 ) ∩ (p i ∪p i-1 ∪p i-2 ∪p i- 3 )

보로우 발생 신호와 전송 신호를 입력하여 차신호(D22-D0)를 출력하는 감산 블럭(1622-160)으로 구성되어 있다.It consists of a subtraction block (16 0 -16 22) to enter the Harborough generation signal and the transmission signal output a difference signal (D 0 -D 22).

상기 구성에 따른 동작을 설명하면 다음과 같다.The operation according to the above configuration is as follows.

제 1 단계에서 상기 보로우 발생 및 전송회로(1023-100)는 보로우 발생 신호(bi, i=23, 22,…,0)와 전송신호(pi, i=23, 22,…,0)를 발생한다.The Harborough the generation and transmission in step 1, the circuit (10 0 -10 23) is Harborough generation signal (b i, i = 23, 22, ..., 0) and transmission signals (pi, i = 23, 22 , ..., 0 Will occur).

제 2 단계에서 상기 제 2 셀 블럭(110)는 상기 보로우 발생 및 전송회로의 첫번째 두개의 출력신호(b1, p1, b0)를 입력하여 연산을 수행하고 상기 제 1 셀 블럭(111-1111)은 상기 보로우 발생 및 전송회로의 출력신호(bi, pi, i=2, 3,…,23)를 두쌍씩 입력하여 연산을 수행한다.The second cell blocks (11 0) is performing an operation to enter the first of two output signals (b 1, p 1, b 0) of the Harborough generation and transmission circuit and said first cell block (11 in step 2, 1 -11 11) is to operate with two pairs of input output signals (b i, p i, i = 2, 3, ..., 23) of the Harborough generation and transmission circuitry.

제 3 단계에서 제 2 셀 블럭(120)은 상기 제 2 셀 블럭(110)의 출력신호와 상기 캐리 발생 및 전송회로(102)의 출력신호를 입력하여 연산을 수행하고 상기 제 2 셀 블럭(121)은 상기 제 1 셀 블럭(111)의 출력신호와 상기 제 2 셀 블럭(110)의 출력신호를 입력하여 연산을 수행하고 제 1 셀 블럭들(123, 125, 127, 129, 1211)은 상기 제 1 셀 블럭들(1111-112)의 출력신호를 두쌍씩 입력하여 연산을 수행하고 제 1 셀 블럭들(122, 124, 126, 128, 1210)은 상기 제 1 셀 블럭들(112, 114, 116, 118, 1110)의 출력신호와 상기 보로우 발생 및 전송회로(106, 1010, 1014, 1018, 1022)의 출력신호를 각각 입력하여 연산을 수행한다.A second cell block at the third stage (12 0) is performing an operation to input an output signal of the output signals and the carry generation and transmission circuit (10 2) of the second cell blocks (11 0) and the second cell The block 12 1 performs an operation by inputting an output signal of the first cell block 11 1 and an output signal of the second cell block 11 0 , and performs operation on the first cell blocks 12 3 , 12 5 ,. 12 7 , 12 9 , and 12 11 input two pairs of output signals of the first cell blocks 11 11-11 2 to perform arithmetic operations. The first cell blocks 12 2 , 12 4 , 12 6 , 12 8 and 12 10 denote an output signal of the first cell blocks 11 2 , 11 4 , 11 6 , 11 8 , 11 10 , and the bore generation and transmission circuits 10 6 , 10 10 , 10 14 , 10. 18 , 10 22 ) to input the output signals, respectively.

제 4 단계에서 제 2 셀 블럭들(133-130)은 제 2 셀 블럭(121)의 출력신호와 상기 보로우 발생 및 전송회로(104)의 출력신호, 상기 제 1 셀 블럭(112)의 출력신호, 상기 제 1셀 블럭들(122, 123)의 출력신호들을 각각 입력하여 연산을 수행하고 제 1 셀 블럭들(1310-137)은 상기 제 1 셀 블럭(129)의 출력신호와 상기 보로우 발생 및 전송회로(1020)의 출력신호, 상기 제 1 셀 블럭들(1110, 1211, 1210)의 출력신호를 각각 입력하여 연산을 수행하고 제 2 셀 블럭들(136, 135, 134)은 상기 제 1 셀 블럭(125)의 출력신호와 상기 보로우 발생 및 전송회로(1012), 상기 제 1 셀 블럭(116, 126)의 출력신호를 각각 입력하여 연산을 수행하고 제 3 셀 블럭(14)은 상기 제 2 셀(121)의 출력신호, 상기 제 1 셀들(123, 125, 127)의 출력신호를 입력하여 연산을 수행한다.The cells in the second block from step 4 (13 0 -13 3), the second cell block (12 1) and the output signal Harborough generation and transmission circuit (10 4) output signal, the first cell of the block (11 2) an output signal, wherein in the first cell block (performs an operation to respectively input the output signals of the 12 2, 12 3) and the first cell block (13 10 -13 7) of said first cell block (12 9 ), the output signal of the borough generation and transmission circuit 10 20 , and the output signal of the first cell blocks 11 10 , 12 11 , 12 10 are input to perform an operation, and the second cell the block (13 6, 13 5, 13 4) is the first cell block (12, 5) the output signal and the Harborough generation of and transmission circuit (10, 12), the first cell block (11 6, 12 6) The third cell block 14 inputs an output signal of the second cell 12 1 and an output signal of the first cells 12 3 , 12 5 , and 12 7 . Perform the operation.

제 5 단계에서 제 2 셀 블럭들(156-120)은 상기 제 2 셀 블럭(133)의 출력신호와 상기 보로우 발생 및 전송회로(108), 제 1 셀 블럭들(114, 124, 125, 134, 135, 136)의 출력신호를 입력하여 연산을 수행하고 제 2 셀 블럭들(1514-157)은 상기 보로우 발생 및 전송회로(1016), 상기 제 1 셀 블럭들(128, 129, 137-1310)의 출력신호를 각각 입력하여 연산을 수행한다.The second cell block in the fifth step (15 6 -12 0) of the second cell block output signal and the Harborough generation and transmission circuit (10 8), the first cell block (13 3, 11 4, 12 4, 12 5, 13 4, 13 5, 13 6 s) the output signal to perform an operation, and second cell blocks (15 14 -15 7) the Harborough generating and transmitting circuits (10 16), the The operation is performed by inputting output signals of the first cell blocks 12 8 , 12 9 , and 13 7 -13 10 , respectively.

제 6 단계에서 차 회로(160)는 상기 보로우 발생 및 전송회로(10±)의 출력신호와 상기 제 2 셀 블럭(110)의 출력신호를 입력하여 합신호(S1)를 발생하고, 차 회로(161)는 상기 제 2 셀 블럭(110)과 상기 보로우 발생 및 전송회로(102)의 출력신호를 입력하여 차 신호(D2)를 발생하고, 차 회로(162)는 상기 보로우 발생 및 전송회로(103)와 상기 제 2 셀 블럭(120)의 출력신호를 입력하여 차 신호(D3)를 출력하고, 차 회로(163)는 상기 보로우 발생 및 전송회로(104)와 상기 제 2 셀 블럭(121)의 출력신호를 입력하여 차 신호(D4)를 출력하고, 차 회로(167-164)는 상기 보로우 발생 및 전송회로(108-105)의 출력신호와 상기 제 2 셀 블럭(133-130)의 출력신호들을 각각 입력하여 차 신호(D8-D5)을 출력하고, 차 회로(1614-168)는 상기 보로우 발생 및 전송회로(1015-109)의 출력신호들과 상기 제 2 셀들(156-150)의 출력신호들을 각각 입력하여 차 신호(D15-D9)들을 출력하고, 차 회로(1615)는 상기 보로우 발생 및 전송회로(1016)의 출력신호와 상기 제 3 셀 블럭(14)의 출력신호를 입력하여 차 신호(D16)를 출력하고, 차 회로(1622-1617)는 상기 보로우 발생 및 전송회로(1023-1017)의 출력신호들과 상기 제 2 셀 블럭들(1513-157)의 출력신호들을 각각 입력하여 차 신호들(D22-D17)을 출력하고, 차 회로(1623)는 상기 보로우 발생 및 전송회로(D23)의 출력신호와 상기 제 2 셀 블럭(1514)의 출력신호를 입력하여 차 신호(D24)를 출력한다. 여기에서, 차 회로(1623)는 부호 비트가 있을 경우에 부호 비트를 처리하기 위하여 추가되는 블럭이다. 만일 부호 비트가 없을 경우에는 추가되지 않아도 무방하다.In a sixth phase difference circuit (16 0) and generates a sum signal (S 1) to the output signal of the output signal and the second cell blocks (11 0) of said Harborough generation and transmission circuit (10 ±), difference circuit (16 1) is the second cell blocks (11 0) and the output signal of the Harborough generation and transmission circuit (10 2) to generate a difference signal (D 2), and the secondary circuit (16 2) The difference signal D 3 is inputted by inputting the output signal of the bore generation and transmission circuit 10 3 and the second cell block 12 0 , and the difference circuit 16 3 receives the bore generation and transmission circuit ( 10 4) and the second output a cell block (12 1) the difference signal (D 4) to input the output signal of, and difference circuit (16 7 -16 4) is the Harborough generation and transmission circuit (10 8 -10 5) the output signal and the second cell blocks (13 0 -13 3), each input to a difference signal (D 8 -D 5), the output, and the difference circuit (16 14 -16 8), the output signals of the said Harborough Generation and transmission circuits (10 15 -10 9) output signals and said second cells (15 6 -15 0), and each type of output signal and output a difference signal (D 15 -D 9), primary circuit (16, 15 a of) the above Harborough the input and generating an output signal of the transmission circuit (10, 16) the output signal of the third cell block 14 of the output a difference signal (D 16), and the secondary circuit (16 22 -16 17), and generating the Harborough transfer circuit (10 23 -10 17) of said second cell block and the output signals (15 13 -15 7) the output signals respectively input to the output of the difference signal (D 22 -D 17), and the primary circuit of the An input unit 16 23 outputs the difference signal D 24 by inputting the output signal of the bore generation and transmission circuit D 23 and the output signal of the second cell block 15 14 . Here, the difference circuit 16 23 is a block added to process the sign bit when there is a sign bit. If there is no sign bit, it may be added.

제 4a 도는 제 3 도에 나타낸 보로우 발생 블럭의 보로우 발생회로를 나타내는 것이다.FIG. 4A shows the bore generating circuit of the bore generating block shown in FIG.

제 4a 도에 있어서, 입력신호(Bi)를 반전하기 위한 인버터(25), 상기 입력신호(Bi)와 반전된 입력신호(Bi)에 응답하여 입력신호(Ai)를 출력하기 위한 CMOS 전송 게이트(26), 상기 입력신호(Bi)에 응답하여 반전된 입력신호(Bi)를 전송하기 위한 NMOS 전송 게이트(27)로 구성되어 있다. 그래서 입력신호(Ai)가 "로우"레벨이고 입력신호(Bi)가 "하이"레벨 신호인 경우에 "하이"레벨의 신호를 출력하게 된다.The 4a also in the input signal (B i) a response to the inverter 25, the input signal (B i) and the inverted input signal (B i) for reversal for outputting an input signal (A i) in CMOS transfer gate 26 and an NMOS transfer gate 27 for transmitting an inverted input signal Bi in response to the input signal Bi . Thus, when the input signal A i is at the "low" level and the input signal Bi is the "high" level signal, a signal of the "high" level is output.

제 4b 도는 제 3 도에 나타낸 보로우 전송 블럭의 회로를 나타내는 것이다.FIG. 4B shows the circuit of the borough transmission block shown in FIG.

제 4b 도에 있어서, 입력신호(Bi)를 반전하는 인버터(30), 상기 입력신호(Bi)와 반전된 입력신호(Bi)에 응답하여 입력신호(Ai)를 전송하기 위한 CMOS 전송 게이트(31), 상기 입력신호(Ai)에 응답하여 입력신호(Bi)를 전송하기 위해 NMOS 전송 게이트(32), 및 상기 입력신호(Ai)에 응답하여 반전된 입력신호(Bi)를 전송하기 위한 PMOS 전송 게이트(33)로 구성되어 있다. 그래서 입력신호(Ai)와 입력신호(Bi)의 신호 레벨이 서로 같은 경우에는 "하이"레벨의 신호를 출력하게 된다. 즉, EXNOR의 연산을 수행하게 된다.The 4b FIG, CMOS transmission for transmitting the input signal inverter 30, the input signal (B i) and the inverted input signal (B i) input signals in response to (A i) for inverting the (Bi) in gate 31, the input signal (a i) in response to an input signal (B i), the NMOS transfer gate 32, and the input signal (a i) in response to an inverted input signal (B i in order to transmit It is composed of a PMOS transfer gate 33 for transmitting the. Therefore, when the signal level of the input signal A i and the input signal Bi is the same, the signal of the "high" level is output. That is, the operation of EXNOR is performed.

제 4c 도는 보로우 평가 블럭의 제 1 셀의 회로를 나타내는 것이다.4C shows the circuit of the first cell of the borough evaluation block.

제 4c 도에 있어서, 보로우 전송 신호(pi)와 상기 보로우 발생신호(bi-1)를 논리곱하기 위한 AND게이트(40), 보로우 발생신호(bi)와 상기 AND게이트(40)의 출력신호를 논리합하기 위한 OR게이트(41),및 상기 캐리 전송 신호들(pi, pi-1)을 논리곱하기 위한 AND게이트(42)로 구성되어 있다. 즉, 출력신호(NB)와 출력신호(NP)는 다음의 논리식을 수행한다.In FIG. 4C, an AND gate 40 for performing an AND operation on the borough transmission signal pi and the borough generation signal b i-1 , an output of the borough generation signal b i , and the AND gate 40 is shown. OR gate 41 for ORing the signal, and AND gate 42 for ANDing the carry transmission signals pi and pi-1 . That is, the output signal NB and the output signal NP perform the following logic equation.

NB=bi+(pi·bi-1)NB = b i + (p ib i-1 )

NP=pi·pi-1 NP = p i · p i- 1

제 4d 도는 보로우 평가 블럭의 제 2 셀의 회로를 나타내는 것이다.4d shows the circuit of the second cell of the borough evaluation block.

제 4d 도는 제 6 도의 회로에서 출력신호(NB)를 발생하기 위한 게이트(50)과 OR게이트(51)로 구성되어 있다.4d is composed of a gate 50 and an OR gate 51 for generating an output signal NB in the circuit of FIG.

제 4e 도는 보로우 평가 블럭의 제 3 셀의 회로를 나타내는 것이다.4E shows the circuit of the third cell of the borough evaluation block.

제 4e 도에 있어서, 전원전압(VDD)와 접지전압(VSS) 사이에 직렬 연결되고 보로우 발생 신호들(bi, bi-1, bi-2, bi-3)을 각 게이트 전극에 입력하는 네개의 PMOS트랜지스터들(60, 61, 62, 63)과 네개의 NMOS트랜지스터(64, 65, 66, 67), 상기 PMOS트랜지스터(60)의 게이트 전극에 연결된 게이트 전극과 상기 PMOS트랜지스터(63)의 드레인 전극에 연결된 드레인 전극과 접지전압에 연결된 소오스 전극을 가진 NMOS트랜지스터(71), 상기 PMOS트랜지스터(63)의 드레인 전극과 상기 NMOS트랜지스터(66)의 소오스 전극에 연결된 소오스 전극을 가진 NMOS트랜지스터(72), 상기 PMOS트랜지스터(63)의 드레인 전극과 상기 NMOS트랜지스터(65)의 드레인 전극에 연결된 드레인 전극을 가진 NMOS트랜지스터(73), 보로우 전송 신호(pi)를 게이트 전극에 입력하고 상기 PMOS트랜지스터(60)의 드레인 전극과 상기 PMOS트랜지스터(63)의 드레인 전극에 각각 연결된 소오스 전극과 드레인 전극을 가진 PMOS트랜지스터(68), 보로우 전송 신호(pi-1)를 게이트 전극에 입력하고 PMOS트랜지스터(61)의 드레인 전극과 상기 PMOS트랜지스터(63)의 드레인 전극에 연결된 소오스 전극과 드레인 전극을 가진 PMOS트랜지스터(69), 캐리 전송 신호(pi-2)를 게이트 전극에 입력하고 상기 PMOS트랜지스터(62)의 드레인 전극과 상기 PMOS트랜지스터(63)의 드레인 전극에 연결된 PMOS트랜지스터(70) 및 상기 PMOS트랜지스터(63)의 게이트 전극에 연결된 게이트 전극을 가진 NMOS트랜지스터(64)로 구성되어 있다.In FIG. 4E, the gate connection signals are connected in series between the power supply voltage V DD and the ground voltage V SS , and the bore generation signals b i , b i-1 , b i-2 , and b i-3 are respectively gated. Four PMOS transistors 60, 61, 62, and 63 input to the electrode, four NMOS transistors 64, 65, 66, and 67, a gate electrode connected to the gate electrode of the PMOS transistor 60, and the PMOS transistor An NMOS transistor 71 having a drain electrode connected to the drain electrode of (63) and a source electrode connected to a ground voltage, a source electrode connected to the drain electrode of the PMOS transistor 63 and the source electrode of the NMOS transistor 66; An NMOS transistor 73 having a NMOS transistor 72, a drain electrode of the PMOS transistor 63, a drain electrode connected to the drain electrode of the NMOS transistor 65, and a borough transfer signal pi are input to the gate electrode. The drain electrode of the PMOS transistor 60 and The PMOS transistor 68 having a source electrode and a drain electrode respectively connected to the drain electrode of the PMOS transistor 63, the borough transfer signal p i-1 are input to the gate electrode, and the drain electrode of the PMOS transistor 61 is connected to the drain electrode. A PMOS transistor 69 having a source electrode and a drain electrode connected to the drain electrode of the PMOS transistor 63 and a carry transfer signal p i-2 are input to a gate electrode, and the drain electrode and the PMOS of the PMOS transistor 62 are input. NMOS transistor 64 having a PMOS transistor 70 connected to the drain electrode of the transistor 63 and a gate electrode connected to the gate electrode of the PMOS transistor 63.

제 4f 도는 본 발명에 따른 차 블럭의 회로를 나타내는 것이다.4f shows the circuit of the difference block according to the invention.

제 4f 도에 있어서, 상기 보로우 전송 신호(pi)를 반전하는 인버터(75), 상기 보로우 평가 블럭의 출력신호(bi)에 응답하여 상기 보로우 전송 신호(pi)를 전송하는 NMOS트랜지스터 (76), 상기 보로우 평가 블럭의 반전 출력신호(bi)에 응답하여 인버터(75)의 출력신호를 전송하는 PMOS트랜지스터(77), 상기 출력신호(pi)에 응답하여 상기 보로우 전송 신호(bi)를 전송하기 위한 CMOS 전송 게이트(78)로 구성되어 차 신호(Di)를 출력한다.The 4f Fig, NMOS transistor for transmitting the Harborough transmission signal (p i), the inverter (75), in response to the output signal (b i) of the Harborough evaluation block the Harborough transmission signal (p i) for inverting the on ( 76), the PMOS transistor 77 which transmits the output signal of the inverter 75 in response to the inverted output signal b i of the bore evaluation block, and the bore transmission signal b in response to the output signal pi . i ) and a CMOS transfer gate 78 for transmitting the difference signal D i .

제 5 도는 본 발명에 따른 24비트 감산기의 보로우 평가 블럭의 트리 구조를 나타내는 것이다.5 shows a tree structure of a borough evaluation block of a 24-bit subtractor according to the present invention.

제 6 도는 본 발명에 의한 24비트 감산기의 시뮬레이션 결과를 나타내는 것이다.6 shows a simulation result of a 24-bit subtractor according to the present invention.

트리 구조에서 다연산자는 4개의 bi와 pi로 부터 새로운 bi', pi'을 계산하는 함수이다.The polyoperator in the tree structure is a function that calculates a new b i ', p i ' from four b i and p i .

본 발명은 n=16인 경우에 종래의 기술에 비하여 4개의 단계만으로 계산할 수 있다.In the case where n = 16, the present invention can be calculated in only four steps as compared to the prior art.

또한, n=16인 경우에는 제 3 도의 도시한 연산구조를 확장하여 16의 배수가 될 때마다 한 단계씩 증가시키면 종래의 기술에 의해 만들어진 가산기에 비해서 전송 지연이 훨씬 적은 가산기를 구성할 수가 있다.In addition, in the case of n = 16, if the expansion shown in Fig. 3 is expanded to increase by one step every multiple of 16, it is possible to construct an adder having a much lower transmission delay than an adder made by the prior art. .

상기 실시예에서는 단지 16비트의 트리 구조만 나타내었지만, 16비트씩 증가할 때마다 상기 트리 구조가 증가하게 된다. 즉, 32비트가 되면, 상기 트리 구조가 두개가 필요하게 되고 트리의 레벨이 하나 증가하게 된다.In the above embodiment, only a 16-bit tree structure is shown, but each 16-bit increment increases the tree structure. That is, when 32 bits are used, two tree structures are required, and the tree level is increased by one.

따라서, 본 발명은 첫째, 감산을 위한 가산회로가 필요없다.Therefore, the present invention, firstly, does not require an addition circuit for subtraction.

둘째, 셀들이 규칙성을 갖으므로 레이아웃시에 레이아웃이 쉽고, 면적이 감소된다.Second, since the cells have regularity, the layout is easy at the time of layout, and the area is reduced.

Claims (7)

16비트의 제 1, 제 2 데이타 신호들 입력하여 아래의 식의 연산을 수행하여 제 1 부터 제 16 까지의 보로우 발생 및 전송 출력신호들을 출력하는 보로우 발생 및 전송회로들 ;Bore generation and transmission circuits for inputting 16-bit first and second data signals to perform the following equations and outputting the first to sixteenth generation and transmission output signals; bi=Bi b i = B i pi=Ai⊙Bi p i = A i ⊙ B i (여기에서, bi는 보로우 발생신호, pi는 보로우 전송 신호, Ai는 제 1 데이타 신호, Bi는 제 2 데이타 신호, i=l,…,16을 각각 나타낸다.)(B i denotes a borough generation signal, p i denotes a borough transmission signal, A i denotes a first data signal, and B i denotes a second data signal, i = l, ..., 16, respectively.) 상기 보로우 발생 및 전송회로들의 제3,4, 제5,6, 제7,8, 제9,10, 제11,12, 제13,14, 제15,16의 보로우 발생 및 전송 출력신호들을 각각 입력하여 아래의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 1 의 제 1 셀들 ;The bore generation and transmission output signals of the third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelve, thirteenth, fourteenth, and fifteenth and sixteenth transmission circuits First first cells for inputting and performing the operation of the following expressions to output the Borrow generation and transmission output signals; NB=bi∪(pi∩bi-1)NB = b i ∪ (p i ∩b i-1 ) NP=pi∩pi-1 NP = p i ∩p i-1 (여기에서, NB는 제 1 셀의 보로우 발생 출력신호, NP는 제 1 셀의 보로우 전송 출력신호를 각각 말한다.)(In this case, NB denotes a bore generation output signal of the first cell, and NP denotes a bore transmission output signal of the first cell, respectively.) 상기 보로우 발생 및 전송회로들의 제1,2의 보로우 발생 및 전송 출력신호들을 입력하여 아래의 식의 연산을 수행하여 보로우 발생 출력신호를 출력하는 제 1 의 제 2 셀 ;A first second cell for inputting the bore generation and transmission output signals of the first and second generation of the bore generation and transmission circuits and performing a calculation as follows; NB=bi∪(bi-1∩pi)NB = b i ∪ (b i-1 ∩p i ) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)(NB here refers to the bore generation output signal of the second cell.) 상기 제 1 의 제 2 셀의 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 3 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 1 보로우 발생 및 전송 출력신호를 각각 입력하여 아래의 식의 연산을 수행하여 보로우 발생 출력신호들을 출력하는 제 2 의 제 2 셀들 ;The Borough output signal of the first second cell, the Borough generation and the third bore generation and the transmission output signal of the transmission circuit and the first Bore generation and the transmission output signal of the first cells are respectively inputted below. Second second cells configured to perform arithmetic operation to output the borough generation output signals; NB=bi∪(bi-1∩pi)NB = b i ∪ (b i-1 ∩p i ) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)(NB here refers to the bore generation output signal of the second cell.) 상기 제 1 의 제 1 셀들의 제 2 보로우 발생 및 전송 출력신호와 상기 보로우 발생 및 전송회로의 제 7 보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 3 보로우 발생 및 전송 출력신호를 각각 입력하고 상기 제 1 의 제 1 셀들의 제 4 보로우 발생 및 전송 출력신호과 상기 보로우 발생 및 전송회로의 제11보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 5 보로우 발생 및 전송 출력신호를 각각 입력하고 상기 제 1 의 제 1 셀들의 제 6 보로우 발생 및 전송 출력신호와 상기 보로우 발생 및 전송회로의 제15보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 7 보로우 발생 및 전송 출력신호를 각각 입력하여 아래의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 2 의 제 1 셀들 ;A second bore generation and transmission output signal of the first first cells, a seventh bore generation and transmission output signal of the bore generation and transmission circuit, a third bore generation and transmission output signal of the first first cells A fourth bore generation and transmission output signal of the first first cells and an eleventh bore generation and transmission output signal of the bore generation and transmission circuit, a fifth bore generation and transmission output of the first first cells, respectively; A sixth bore generation and a transmission output signal of the first first cells and a fifteenth bore generation and a transmission output signal of the first and second circuits, and a seventh bore generation of the first cells; And second first cells for inputting a transmission output signal, respectively, and performing a calculation of the following expression to generate a borough generation and transmission output signals; NB=bi∪(pi∩bi-1)NB = b i ∪ (p i ∩b i-1 ) NP=pi∩pi-1 NP = p i ∩p i-1 (여기에서, NB는 제 1 셀의 보로우 발생 출력신호, NP는 제 1 셀의 보로우 전송 출력신호를 각각 말한다.)(In this case, NB denotes a bore generation output signal of the first cell, and NP denotes a bore transmission output signal of the first cell, respectively.) 상기 제 2 의 제 2 셀들의 제 2 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 5 보로우 발생 및 전송출력신호, 상기 제 1 의 제 1 셀들의 제 2 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제1,2보로우 발생 및 전송 출력신호들을 각각 입력하고 상기 제 2 의 제 1 셀들의 제 4 보로우 발생 및 전송 출력신호과 상기 보로우 발생 및 전송회로의 제13보로우 발생 및 전송 출력신호, 상기 제 1 의 제 1 셀들의 제 6 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제 5 보로우 발생 및 전송 출력신호를 입력하여 아래의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 3 의 제 1 셀들 ;The second bore output signal of the second second cells and the fifth bore generation and transmission output signal of the bore generation and transmission circuit, the second bore generation and transmission output signal of the first first cells, the second Inputting the first and second borough generation and transmission output signals of the first cells of the fourth cell and the fourth and second borough generation and transmission output signals of the second first cells, and the thirteenth generation and transmission output signal of the borough generation and transmission circuit. Inputs a sixth bore generation and transmission output signal of the first first cells, a fifth bore generation and transmission output signal of the second first cells, and performs the following equation to generate the bow generation and transmission output. Third first cells for outputting signals; NB=bi∪(pi∩bi-1)NB = b i ∪ (p i ∩b i-1 ) NP=pi∩pi-1 NP = p i ∩p i-1 (여기에서, NB는 제 1 셀의 보로우 발생 출력신호, NP는 제 1 셀의 보로우 전송 출력신호를 각각 말한다.)(In this case, NB denotes a bore generation output signal of the first cell, and NP denotes a bore transmission output signal of the first cell, respectively.) 상기 제 2 의 제 2 셀들의 제 2 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 5 보로우 발생 및 전송출력신호, 상기 제 1 의 제 1 셀들의 제 2 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제 1 보로우 발생 및 전송 출력신호를 각각 입력하여 아래의 식의 연산을 수행하여 보로우 발생 출력신호들을 출력하는 제 3의 제 2 셀들 ;The second bore output signal of the second second cells and the fifth bore generation and transmission output signal of the bore generation and transmission circuit, the second bore generation and transmission output signal of the first first cells, the second Third second cells configured to input first borough generation and transmission output signals of the first cells of the cell and output the borough generation output signals by performing the following equation; NB=bi∪(bi-1∩pi)NB = b i ∪ (b i-1 ∩p i ) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)(NB here refers to the bore generation output signal of the second cell.) 상기 제 2 의 제 1 셀들의 제1, 2, 4, 6보로우 발생 및 전송 출력신호와 상기 제 2 의 제 2 셀들의 제 2 보로우 출력신호를 입력하여 아래의 식의 연산을 수행하여 캐리 출력신호를 발생하는 제 3 셀 ;Carry output signal by inputting the first, second, four, six borough generation and transmission output signals of the second first cells and the second borough output signal of the second second cells to perform the following equation A third cell generating a; Ci+1=bi∩(pi∪bi-1)∩(pi∪pi-1∪pi-2)∩(pi∪pi-1∪pi-2∪bi-3)C i + 1 = b i ∩ (p i ∪b i-1 ) ∩ (p i ∪p i-1 ∪p i-2 ) ∩ (p i ∪p i-1 ∪p i-2 ∪b i- 3 ) (여기에서, ci+1는 제 3 셀의 캐리 출력신호를 말한다.)(Here, c i + 1 refers to the carry output signal of the third cell.) 상기 제 3 의 제 2 셀들의 제 4 보로우 출력신호와 상기 보로우 발생 및 전송회로의 제 9 보로우 발생 및 전송출력신호, 상기 제 1 의 제 1 셀들의 제 4 보로우 발생 및 전송 출력신호, 상기 제 2 의 제 1 셀들의 제3, 4보로우 발생 및 전송 출력신호, 상기 제 3 의 제 1 셀들의 제1, 2, 3보로우 발생 및 전송 출력신호를 각각 입력하여 아래의 식의 연산을 수행하여 보로우 발생 및 전송 출력신호들을 출력하는 제 4 의 제 2 셀들 ; 및The fourth bore output signal of the third second cells and the ninth bore generation and transmission output signal of the bore generation and transmission circuit, the fourth bore generation and transmission output signal of the first first cells, the second Generates the third and fourth borough generation and transmission output signals of the first cells of the first cell, and the first, second and third borough generation and transmission output signals of the third first cells, respectively, and performs the following equation. And fourth second cells for outputting transmission output signals; And NB=bi∪(bi-1∩pi)NB = b i ∪ (b i-1 ∩p i ) (여기에서, NB는 제 2 셀의 보로우 발생 출력신호를 말한다.)(NB here refers to the bore generation output signal of the second cell.) 상기 보로우 발생 및 전송회로의 제 1 보로우 발생 및 전송 출력신호, 상기 제1,2,3,4의 제 2 셀들의 보로우 발생 출력신호들, 및 제 3 셀의 캐리 출력신호들을 입력하여 최종 차값을 출력하는 최종 차값 계산 회로를 구비한 것을 특징으로 하는 감산기.The first difference generation and transmission output signal of the generation and transmission circuits, the occurrence generation signals of the second cells of the first, second, third, and fourth cells, and the carry output signals of the third cell are inputted to obtain a final difference value. And a final difference value calculating circuit for outputting. 제 1 항에 있어서, 상기 보로우 발생회로는 상기 제 2 데이타 신호를 반전하기 위한 제 1 인버터 ; 상기 제 2 데이타 신호와 반전된 상기 제 2 데이타 신호에 응답하여 상기 제 1 데이타 신호를 출력하기 위한 제 1 CMOS 전송 게이트, 상기 제 2 데이타 신호에 응답하여 반전된 상기 제 2 데이타 신호를 전송하기 위한 제 1NMOS 전송 게이트를 구비한 것을 특징으로 하는 감산기.2. The apparatus of claim 1, wherein the bore generating circuit comprises: a first inverter for inverting the second data signal; A first CMOS transfer gate for outputting the first data signal in response to the second data signal inverted with the second data signal, for transmitting the second data signal inverted in response to the second data signal And a first NMOS transfer gate. 제 1 항에 있어서, 상기 보로우 전송회로는 상기 제 2 데이타 신호를 반전하는 제 2 인버터, 상기 제 2 데이타 신호와 반전된 상기 제 2 데이타 신호에 응답하여 상기 제 1 데이타 신호를 전송하기 위한 제 2CMOS 전송 게이트, 상기 제 1 데이타 신호에 응답하여 상기 제 2 데이타 신호를 전송하기 위한 제 2NMOS 전송게이트 ; 및 상기 제 1 데이타 신호에 응답하여 반전된 상기 제 2 데이타 신호를 전송하기 위한 제 1PMOS 전송 게이트로 구성된 것을 특징으로 하는 감산기.2. The second inverter of claim 1, wherein the bore transmission circuit comprises: a second inverter for inverting the second data signal; a second CMOS for transmitting the first data signal in response to the second data signal inverted with the second data signal; A transfer gate, a second NMOS transfer gate for transmitting the second data signal in response to the first data signal; And a first PMOS transfer gate for transmitting the second data signal inverted in response to the first data signal. 제 1 항에 있어서, 상기 제 1 셀은 제 1 보로우 전송 신호와 제 1 보로우 발생 신호를 논리곱하기 위한 제 1AND게이트 ; 제 2 보로우 발생 신호와 상기 제 1AND게이트의 출력신호를 논리합하기 위한 OR게이트 ; 및 상기 제 1 보로우 전송 신호와 제 2 보로우 전송 신호를 논리곱하기 위한 제 2AND게이트로 구성된 것을 특징으로 하는 감산기.2. The apparatus of claim 1, wherein the first cell comprises: a first AND gate for ANDing the first bore transmission signal and the first bore generation signal; An OR gate for ORing the second bore generation signal and the output signal of the first AND gate; And a second AND gate configured to logically multiply the first and second Borough transmission signals. 제 1 항에 있어서, 상기 제 3 셀은 전원전압에 연결된 소오스 전극과 제 1 보로우 발생신호를 입력하는 게이트 전극을 가진 제 2PMOS트랜지스터, 상기 제 2PMOS트랜지스터의 드레인 전극에 연결된 소오스 전극과 제 2 보로우 발생신호를 입력하는 게이트 전극을 가진 제 3PMOS트랜지스터 ; 상기 제 3PMOS트랜지스터의 드레인 전극에 연결된 소오스 전극과 제 3 보로우 발생신호를 입력하는 게이트 전극을 가진 제 4PMOS트랜지스터 ; 상기 제 4PMOS트랜지스터의 드레인 전극에 연결된 소오스 전극과 제 4 보로우 발생신호를 입력하는 게이트 전극을 가진 제 5PMOS트랜지스터 ; 상기 제 5PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극과 상기 제 4 보로우 발생신호를 입력하는 게이트 전극을 가진 제 3NMOS트랜지스터 ; 상기 제 3NMOS 트랜지스터의 소오스 전극에 연결된 드레인 전극과 제 1 보로우 전송 신호를 입력하는 게이트 전극을 가진 제 4NMOS트랜지스터 ; 상기 제 4NMOS트랜지스터의 소오스 전극에 연결된 드레인 전극과 제 2 보로우 전송 신호를 입력하는 게이트 전극을 가진 제 5N MOS트랜지스터 ; 상기 제 5NMOS트랜지스터의 소오스전극에 연결된 드레인 전극과 제 3 보로우 전송 신호를 입력하는 게이트 전극과 접지전압에 연결된 소오스전극을 가진 제 6NMOS트랜지스터 ; 상기 제2PMOS트랜지스터의 드레인 전극에 연결된 소오스 전극과 상기 제 3 보로우 전송 신호를 입력하는 게이트 전극과 상기 제 5PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극을 가진 제 6PMOS트랜지스터 ; 상기 제 3PMOS트랜지스터의 드레인 전극에 연결된 소오스 전극과 상기 제 2 보로우 전송 신호를 입력하는 게이트 전극과 상기 제 5 PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극을 가진 제 7PMOS트랜지스터 ; 상기 제 4PMOS트랜지스터의 드레인 전극에 연결된 소오스전극과 상기 제 3 보로우 전송 신호를 입력하는 게이트 전극과 상기 제 5PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극을 가진 제 8PMOS트랜지스터 ; 상기 제 5PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극과 상기 제 3 보로우 발생신호를 입력하는 게이트 전극과 상기 제 4NMOS트랜지스터의 소오스 전극에 연결된 소오스 전극을 가진 제 7NMOS트랜지스터 ; 상기 제 5PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극과 상기 제 2 보로우 발생신호를 입력하는 게이트 전극과 상기 제 5NMOS트랜지스터의 소오스 전극에 연결된 소오스 전극을 가진 제 8NMOS트랜지스터 ; 상기 제 5PMOS트랜지스터의 드레인 전극에 연결된 드레인 전극과 상기 제 1 보로우 발생신호를 입력하는 게이트 전극과 상기 제 6NMOS트랜지스터의 소오스 전극에 연결된 소오스 전극을 가진 제 9NMOS트랜지스터 ; 및 상기 제 5PMOS트랜지스터와 상기 제 5NMOS트랜지스터의 공통점으로 부터의 신호를 반전하기 위한 제 3 인버터로 구성된 것을 특징으로 하는 감산기.2. The second PMOS transistor of claim 1, wherein the third cell includes a source electrode connected to a power supply voltage and a gate electrode for inputting a first bore generation signal, and a source electrode and a second bore connected to the drain electrode of the second PMOS transistor. A third PMOS transistor having a gate electrode for inputting a signal; A fourth PMOS transistor having a source electrode connected to the drain electrode of the third PMOS transistor and a gate electrode for inputting a third bore generation signal; A fifth PMOS transistor having a source electrode connected to the drain electrode of the fourth PMOS transistor and a gate electrode for inputting a fourth borough generation signal; A third NMOS transistor having a drain electrode connected to the drain electrode of the fifth PMOS transistor and a gate electrode for inputting the fourth borough generation signal; A fourth NMOS transistor having a drain electrode connected to the source electrode of the third NMOS transistor and a gate electrode for inputting a first borough transmission signal; A fifth NMOS transistor having a drain electrode connected to the source electrode of the fourth NMOS transistor and a gate electrode for inputting a second borough transmission signal; A sixth NMOS transistor having a drain electrode connected to a source electrode of the fifth NMOS transistor, a gate electrode for inputting a third borough transmission signal, and a source electrode connected to a ground voltage; A sixth PMOS transistor having a source electrode connected to the drain electrode of the second PMOS transistor, a gate electrode for inputting the third borough transmission signal, and a drain electrode connected to the drain electrode of the fifth PMOS transistor; A seventh PMOS transistor having a source electrode connected to the drain electrode of the third PMOS transistor, a gate electrode for inputting the second borough transmission signal, and a drain electrode connected to the drain electrode of the fifth PMOS transistor; An eighth PMOS transistor having a source electrode connected to the drain electrode of the fourth PMOS transistor, a gate electrode for inputting the third borough transmission signal, and a drain electrode connected to the drain electrode of the fifth PMOS transistor; A seventh NMOS transistor having a drain electrode connected to the drain electrode of the fifth PMOS transistor, a gate electrode for inputting the third borough generation signal, and a source electrode connected to the source electrode of the fourth NMOS transistor; An eighth NMOS transistor having a drain electrode connected to the drain electrode of the fifth PMOS transistor, a gate electrode for inputting the second borough generation signal, and a source electrode connected to the source electrode of the fifth NMOS transistor; A ninth NMOS transistor having a drain electrode connected to the drain electrode of the fifth PMOS transistor, a gate electrode for inputting the first borough generation signal, and a source electrode connected to the source electrode of the sixth NMOS transistor; And a third inverter for inverting a signal from a common point between the fifth PMOS transistor and the fifth NMOS transistor. 제 1 항에 있어서, 상기 제 2 셀은 상기 보로우 전송 신호를 반전하는 제 4 인버터 ; 상기 보로우 발생신호에 응답하여 상기 보로우 전송 신호를 전송하는 제 10NMOS트랜지스터 ; 상기 보로우 발생신호의 반전된 신호에 응답하여 제 4 인버터의 출력신호를 전송하는 제 9PMOS트랜지스터 ; 상기 보로우 전송 신호에 응답하여 상기 보로우 발생신호를 전송하기 위한 제 3CMOS전송 게이트로 구성된 것을 특징으로 하는 감산기.2. The apparatus of claim 1, wherein the second cell comprises: a fourth inverter for inverting the borough transmission signal; A tenth NMOS transistor configured to transmit the bore transmission signal in response to the bore generation signal; A ninth PMOS transistor configured to transmit an output signal of a fourth inverter in response to the inverted signal of the bore generation signal; And a third CMOS transmission gate configured to transmit the borrow generation signal in response to the borrow transmission signal. 제 1 항에 있어서, 상기 감산기는 16비트씩 증가할 때마다 동일한 구조가 반복되며 감산 레벨이 하나씩 증가하는 것을 특징으로 하는 감산기.2. The subtractor according to claim 1, wherein the subtractor repeats the same structure every 16 bits and increases one subtraction level.
KR1019920012646A 1992-07-15 1992-07-15 Subtractor KR940010670B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920012646A KR940010670B1 (en) 1992-07-15 1992-07-15 Subtractor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920012646A KR940010670B1 (en) 1992-07-15 1992-07-15 Subtractor

Publications (2)

Publication Number Publication Date
KR940003186A KR940003186A (en) 1994-02-21
KR940010670B1 true KR940010670B1 (en) 1994-10-24

Family

ID=19336405

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920012646A KR940010670B1 (en) 1992-07-15 1992-07-15 Subtractor

Country Status (1)

Country Link
KR (1) KR940010670B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100425542B1 (en) * 2000-11-13 2004-04-08 (주)아프렉스 The method and apparatus for manufacturing of High press pipe
KR100683955B1 (en) * 2004-11-24 2007-02-15 비젼이노텍(주) Hybrid roller shaft using composite material

Also Published As

Publication number Publication date
KR940003186A (en) 1994-02-21

Similar Documents

Publication Publication Date Title
KR940008612B1 (en) Circuitry for complementing binary numbers
JPH0479013B2 (en)
EP0155019B1 (en) Logic adder circuit
US4831578A (en) Binary adder
US5016211A (en) Neural network implementation of a binary adder
KR940007926B1 (en) Adder
US4709346A (en) CMOS subtractor
KR940010670B1 (en) Subtractor
US4675838A (en) Conditional-carry adder for multibit digital computer
US4704701A (en) Conditional carry adder for a multibit digital computer
US4905179A (en) CMOS cell for logic operations with fast carry
US5140546A (en) Adder circuit apparatus
US4802112A (en) MOS transistor circuit
US4805130A (en) Arithmetic and logic circuit stage
JP2606331B2 (en) Absolute value addition / subtraction method and apparatus
KR0166498B1 (en) Full adder
JP2972218B2 (en) Logic circuit
KR910018901A (en) Divider
JP2681968B2 (en) Arithmetic processing unit
RU2049346C1 (en) Adder
KR100306108B1 (en) Digit Rounding Prediction Circuit
KR920010994B1 (en) Intermediate operation of pararell multiplier
KR100206119B1 (en) Adder
JPS6349835A (en) Arithmetic processor
KR950004223B1 (en) Binary complement generator

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060928

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee