[go: up one dir, main page]

CN106990936A - A kind of addition and subtraction universal circuit of tape symbol control end - Google Patents

A kind of addition and subtraction universal circuit of tape symbol control end Download PDF

Info

Publication number
CN106990936A
CN106990936A CN201710171105.7A CN201710171105A CN106990936A CN 106990936 A CN106990936 A CN 106990936A CN 201710171105 A CN201710171105 A CN 201710171105A CN 106990936 A CN106990936 A CN 106990936A
Authority
CN
China
Prior art keywords
signal
gate
output
input
output signal
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201710171105.7A
Other languages
Chinese (zh)
Other versions
CN106990936B (en
Inventor
赵重阳
雷绍充
李春泉
张云龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
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 Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN201710171105.7A priority Critical patent/CN106990936B/en
Publication of CN106990936A publication Critical patent/CN106990936A/en
Application granted granted Critical
Publication of CN106990936B publication Critical patent/CN106990936B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)
  • Logic Circuits (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

一种带符号控制端的加减法通用电路,包括m位级联的全减器单元FM,每个全减器单元FM的输入信号包括作为被减数或被加数的信号A以及作为减数或加数的信号B,信号B与符号位控制信号Cr进行异或运算,并连接至全减器单元FM的减数或加数输入端;所述每个全减器单元FM的输出信号包括运算结果信号S,符号位控制信号Cr连接至第一级全减器单元FM的低位借位输入端,最高一级的借位输出信号为信号Cout;当所述的符号位控制信号Cr取0时,整个电路进行的是减法运算;当所述的符号位控制信号Cr取1时,整个电路进行的是加法运算。所述的m为正整数。本发明能够同时控制实现m位的加减法运算,从而减少了逻辑门个数,减小了电路面积。

A general-purpose circuit for addition and subtraction with a signed control terminal, including m-bit cascaded full subtractor unit FM, the input signal of each full subtractor unit FM includes the signal A as the minuend or the addend and the subtrahend Or the signal B of the addend, the signal B and the sign bit control signal Cr carry out the XOR operation, and are connected to the subtrahend or the addend input end of the full subtractor unit FM; the output signal of each full subtractor unit FM includes The operation result signal S and the sign bit control signal Cr are connected to the low-order borrow input terminal of the first-stage full subtractor unit FM, and the highest-level borrow output signal is the signal Cout; when the sign bit control signal Cr is 0 , the entire circuit performs subtraction; when the sign bit control signal Cr is 1, the entire circuit performs addition. Said m is a positive integer. The invention can simultaneously control and realize m-bit addition and subtraction operations, thereby reducing the number of logic gates and circuit area.

Description

一种带符号控制端的加减法通用电路A General Circuit for Addition and Subtraction with Signed Control Terminal

技术领域technical field

本发明属于电路设计领域,具体涉及一种带符号控制端的加减法通用电路。The invention belongs to the field of circuit design, in particular to a general-purpose circuit for addition and subtraction with a signed control terminal.

背景技术Background technique

目前,对于加法器和减法器都有自己特定的运算电路,在实际电路设计中加法电路和减法电路通常同时存在。因此有必要设计一种加减法通用电路,使其能够用一种电路结构完成两种运算,从而减少某一种运算所需要的逻辑门个数,减少电路面积。At present, the adder and the subtractor have their own specific operation circuits, and the addition circuit and the subtraction circuit usually exist at the same time in actual circuit design. Therefore, it is necessary to design a general-purpose circuit for addition and subtraction, so that it can complete two operations with one circuit structure, thereby reducing the number of logic gates required for a certain operation and reducing the circuit area.

发明内容Contents of the invention

本发明的目的在于针对解决上述现有技术中的问题,提供一种带符号控制端的加减法通用电路,通过增加符号位控制端及异或逻辑在同一个电路中实现加减法运算,简化电路结构。The purpose of the present invention is to solve the problems in the above-mentioned prior art, provide a kind of general circuit of addition and subtraction with sign control end, realize addition and subtraction operation in the same circuit by adding sign bit control end and XOR logic, simplify Circuit configuration.

为了实现上述目的,本发明采用的技术方案为:包括m位级联的全减器单元FM,每个全减器单元FM的输入信号包括作为被减数或被加数的信号A以及作为减数或加数的信号B,所述的信号B与符号位控制信号Cr进行异或运算,并连接至全减器单元FM的减数或加数输入端;所述每个全减器单元FM的输出信号包括运算结果信号S,所述的符号位控制信号Cr连接至第一级全减器单元FM的低位借位输入端,最高一级的借位输出信号为信号Cout;当所述的符号位控制信号Cr取0时,整个电路进行的是减法运算;当所述的符号位控制信号Cr取1时,整个电路进行的是加法运算。所述的m为正整数。In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is as follows: comprise m-bit cascaded full subtractor unit FM, the input signal of each full subtractor unit FM includes the signal A as the minuend or the summand and the signal A as the subtraction Number or addend signal B, said signal B and sign bit control signal Cr carry out XOR operation, and be connected to the subtrahend or addend input end of full subtractor unit FM; Said each full subtractor unit FM The output signal includes the operation result signal S, the sign bit control signal Cr is connected to the low-order borrow input terminal of the first-stage full subtractor unit FM, and the highest-stage borrow output signal is the signal Cout; when the When the sign bit control signal Cr is 0, the whole circuit performs subtraction operation; when the sign bit control signal Cr takes 1, the whole circuit performs addition operation. Said m is a positive integer.

m位级联的全减器单元FM当中,第一级全减器单元FM的低位借位信号Cin连接符号位控制信号Cr作为最低位的借位输入,所述的第一级全减器单元FM输出第一级运算结果信号S0以及第一级向高位借位输出信号Cout0,第一级向高位借位输出信号Cout0连接至第二级全减器单元FM的低位借位输入端,以此类推,对第二级到第m-1级全减器单元FM进行级联,在各级之间,低一级全减器单元的借位输出直接连接至高一级单元的借位输入端。Among the m-bit cascaded full subtractor unit FM, the low-order borrow signal Cin of the first-stage full subtractor unit FM is connected to the sign bit control signal Cr as the lowest-order borrow input, and the first-stage full subtractor unit FM outputs the first-stage operation result signal S0 and the first-stage high-order borrow output signal Cout0, and the first-stage high-order borrow output signal Cout0 is connected to the low-order borrow input end of the second-stage full subtractor unit FM, thereby By analogy, the full subtractor unit FM from the second stage to the m-1th stage is cascaded, and between stages, the borrow output of the lower full subtractor unit is directly connected to the borrow input terminal of the higher stage unit.

全减器单元FM的信号B与低位借位信号Cin分别连接在第一或非门的输入端,第一或非门的输出信号与信号B连接在第二或非门的输入端,第一或非门的输出信号与低位借位信号Cin连接在第三或非门的输入端;第二或非门和第三或非门的输出端连接在第四或非门的两个输入端;第四或非门的输出信号与信号A连接在第五或非门的两个输入端;第五或非门的输出信号与第四或非门的输出信号连接在第七或非门的两个输入端,第五或非门的输出信号和信号A连接在第六或非门的两个输入端;第六或非门的输出信号和第七或非门的输出信号连接在第八或非门的两个输入端上,第八或非门的输出信号为运算结果信号S;第七或非门的输出信号和第一或非门的输出信号连接在第九或非门的输入端上,第九或非门的输出为信号Cout。The signal B of the full subtractor unit FM and the low-order borrow signal Cin are respectively connected to the input terminals of the first NOR gate, and the output signal and signal B of the first NOR gate are connected to the input terminals of the second NOR gate. The output signal of the NOR gate and the low-bit borrow signal Cin are connected to the input of the third NOR gate; the output terminals of the second NOR gate and the third NOR gate are connected to the two input terminals of the fourth NOR gate; The output signal of the fourth NOR gate is connected to the two input terminals of the fifth NOR gate with signal A; the output signal of the fifth NOR gate is connected to the two input terminals of the seventh NOR gate with the output signal of the fourth NOR gate The output signal of the fifth NOR gate and the signal A are connected to the two input terminals of the sixth NOR gate; the output signal of the sixth NOR gate and the output signal of the seventh NOR gate are connected to the eighth or On the two input terminals of the NOR gate, the output signal of the eighth NOR gate is the operation result signal S; the output signal of the seventh NOR gate and the output signal of the first NOR gate are connected to the input terminal of the ninth NOR gate , the output of the ninth NOR gate is the signal Cout.

所述信号A与信号B分别设置有m位,符号位控制信号Cr设置有1位且分别连接至不同全减器单元FM。The signal A and the signal B are respectively set with m bits, and the sign bit control signal Cr is set with 1 bit and are respectively connected to different full subtractor units FM.

当所述的符号位控制信号Cr取0时,整个电路进行m位减法运算,输出共m+1位,运算结果Sm-1到运算结果S0表示差,电路的借位输出信号Cout表示差的符号位;当所述的符号位控制信号Cr取1时,整个电路进行m位加法运算,输出共m+1位,电路的借位输出信号Cout表示和的最高位,运算结果Sm-1到运算结果S0表示和的其他位。When the sign bit control signal Cr is 0, the entire circuit performs m-bit subtraction, and outputs a total of m+1 bits. The operation result Sm-1 to operation result S0 indicates a difference, and the borrow output signal Cout of the circuit indicates a difference. Sign bit; when the sign bit control signal Cr is 1, the entire circuit performs m-bit addition operation, and outputs a total of m+1 bits, and the borrow output signal Cout of the circuit represents the highest bit of the sum, and the operation result Sm-1 to The operation result S0 represents the other bits of the sum.

所述的异或运算通过第一级或非门使信号B与符号位控制信号Cr进行或非运算,第一或非门的输出信号再通过第二级或非门分别与信号B以及符号位控制信号Cr进行或非运算,将得到的两个或非运算结果通过或门进行或运算后输出。The XOR operation makes the signal B and the sign bit control signal Cr perform a NOR operation through the first-stage NOR gate, and the output signal of the first NOR gate passes through the second-stage NOR gate and the signal B and the sign bit respectively The control signal Cr performs a NOR operation, and the two obtained NOR operation results are ORed through an OR gate and then output.

与现有技术相比,本发明具有如下的有益效果:以全减器单元为基础,级联m位全减器单元成为m位减法器,通过增加符号位控制信号以及异或运算逻辑,能够同时控制实现m位的加减法运算。本发明能够同时适用于加减法,从而减少逻辑门个数,减小了电路面积。Compared with the prior art, the present invention has the following beneficial effects: based on the full subtractor unit, the cascaded m-bit full subtractor unit becomes an m-bit subtractor, and by increasing the sign bit control signal and the XOR operation logic, it can At the same time, it controls the addition and subtraction operations of m bits. The invention can be applied to addition and subtraction at the same time, thereby reducing the number of logic gates and circuit area.

附图说明Description of drawings

图1或非门表示的异或电路;The XOR circuit represented by the NOR gate in Fig. 1;

图2全减器单元的电路结构示意图;The schematic diagram of the circuit structure of the full subtractor unit of Fig. 2;

图3本发明电路的整体结构示意图;The overall structure schematic diagram of Fig. 3 circuit of the present invention;

具体实施方式detailed description

下面结合附图对本发明做进一步的详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings.

参见图1-3,本发明全减器单元的布尔表达式如下:Referring to Fig. 1-3, the Boolean expression of the full subtractor unit of the present invention is as follows:

布尔表达式中的异或运算能够用两级三个或非门和一个或门来实现。The XOR operation in Boolean expressions can be realized with two stages of three NOR gates and one OR gate.

作为减法器级联基本单元的一位全减器单元由六级或非门构成,六级或非门结构对称,从输入到输出依次串联,六级或非门中的第一或非门、第二或非门、第三或非门、第五或非门和第六或非门的输入端与输入信号相连,第八或非门、第九或非门的输出端与输出信号相连。输入信号包括作为被减数的信号A、作为减数的信号B、低位借位信号Cin,输出信号包括运算结果信号S和向高位借位的信号Cout。作为被减数的信号A连接在第五、第六或非门的一个输入端上,作为减数的信号B和低位借位信号Cin都分别连接在第一、第二或非门的输入端上。第一或非门的输出端与信号B连接在第二或非门的输入端上,第一或非门的输出端与低位借位信号Cin连接在第三或非门的输入端上。第二或非门和第三或非门的输出端连接在第四或非门的两个输入端上,第四或非门的输出与信号A连接在第五或非门的两个输入端。第五或非门的输出与第四或非门的输出连接在第七或非门的两个输入,第五或非门的输出和信号A连接在第六或非门的两个输入端上。第六或非门的输出和第七或非门的输出连接在第八或非门的两个输入端上,第八或非门的输出为运算结果信号S。第七或非门的输出和第一或非门的输出连接在第九或非门的输入端上,第九或非门的输出为Cout。The one-bit full subtractor unit as the basic unit of the subtractor cascade is composed of six-level NOR gates. The six-level NOR gates have a symmetrical structure and are connected in series from input to output. The first NOR gate in the six-level NOR gates, The input terminals of the second NOR gate, the third NOR gate, the fifth NOR gate and the sixth NOR gate are connected to the input signal, and the output terminals of the eighth NOR gate and the ninth NOR gate are connected to the output signal. The input signal includes the signal A as the subtrahend, the signal B as the subtrahend, and the low-order borrow signal Cin, and the output signal includes the operation result signal S and the high-order borrow signal Cout. The signal A as the subtrahend is connected to one input terminal of the fifth and sixth NOR gates, and the signal B as the subtrahend and the low-bit borrow signal Cin are connected to the input terminals of the first and second NOR gates respectively superior. The output terminal of the first NOR gate is connected with the signal B to the input terminal of the second NOR gate, and the output terminal of the first NOR gate is connected with the input terminal of the third NOR gate with the low bit borrow signal Cin. The output terminals of the second NOR gate and the third NOR gate are connected to the two input terminals of the fourth NOR gate, and the output of the fourth NOR gate and signal A are connected to the two input terminals of the fifth NOR gate . The output of the fifth NOR gate and the output of the fourth NOR gate are connected to the two inputs of the seventh NOR gate, and the output of the fifth NOR gate and signal A are connected to the two inputs of the sixth NOR gate . The output of the sixth NOR gate and the output of the seventh NOR gate are connected to the two input ends of the eighth NOR gate, and the output of the eighth NOR gate is the operation result signal S. The output of the seventh NOR gate and the output of the first NOR gate are connected to the input terminal of the ninth NOR gate, and the output of the ninth NOR gate is Cout.

参见图3,本发明中的全减器单元FM级联而成m位的加减法电路。m级电路结构相同,用第一级的电路结构来举例说明每一级信号连接关系。m为加减法电路的输入信号为A和B,以及符号位控制信号Cr。A和B都是m位,Cr为1位。输入A作为被减数或被加数,A的最低位A0连接至第一级的一位全减器单元FM的被减数输入端。输入B作为减数或加数,B的最低位B0接入一个异或电路。参见图1,异或电路的输入为B0和信号Cr,连接至异或电路中第一或非门的两个输入端,第一或非门的输出和B0连接至第二或非门的输入端,第一或非门的输出和Cr连接至第三或非门的输入端。第二或非门的输出和第三或非门的输出连接至第四或门的输入端,第四或门的输出连接一位全减器单元FM的减数输入端。Referring to FIG. 3 , the full subtractor units FM in the present invention are cascaded to form an m-bit addition and subtraction circuit. The m-level circuit structure is the same, and the circuit structure of the first level is used to illustrate the signal connection relationship of each level. m is the input signal of the addition and subtraction circuit, A and B, and the sign bit control signal Cr. Both A and B are m bits, and Cr is 1 bit. Input A as a minuend or an addend, and the lowest bit A0 of A is connected to the minuend input terminal of the one-bit full subtractor unit FM of the first stage. Input B as the subtrahend or addend, and the lowest bit B0 of B is connected to an XOR circuit. Referring to Figure 1, the input of the XOR circuit is B0 and the signal Cr, which are connected to the two input terminals of the first NOR gate in the XOR circuit, and the output of the first NOR gate and B0 are connected to the input of the second NOR gate Terminal, the output of the first NOR gate and Cr are connected to the input terminal of the third NOR gate. The output of the second NOR gate and the output of the third NOR gate are connected to the input terminal of the fourth OR gate, and the output of the fourth OR gate is connected to the subtrahend input terminal of the one-bit full subtracter unit FM.

第一级全减器单元FM的输出连接输出信号S0,其向高位借位的输出信号连接下一级全减器单元的低位借位输入端。第二到第m级电路的连接关系与第一级相同,符号位控制信号Cr分别与信号B1,B2,...Bm-1连接至每一级电路中的异或电路的第一或非门的输入端。符号位控制信号Cr连接至第一级全减器电路的低位借位输入端,最高一级的借位输出为Cout。The output of the first-stage full subtractor unit FM is connected to the output signal S0, and its output signal to the high-order borrow is connected to the low-order borrow input terminal of the next-stage full subtractor unit. The connection relationship between the second to the mth stage circuits is the same as that of the first stage, and the sign bit control signal Cr and the signals B1, B2, ... Bm-1 are respectively connected to the first NOR of the XOR circuit in each stage circuit. gate input. The sign bit control signal Cr is connected to the low-order borrow input terminal of the first-stage full subtractor circuit, and the highest-stage borrow output is Cout.

当符号位控制信号Cr为0时,整个电路进行m位减法运算,输出共m+1位。Sm-1到S0表示差,电路的借位输出Cout表示差的符号位。When the sign bit control signal Cr is 0, the entire circuit performs m-bit subtraction, and outputs a total of m+1 bits. Sm-1 to S0 represent the difference, and the borrow output Cout of the circuit represents the sign bit of the difference.

当符号位控制信号Cr为1时,整个电路进行m位加法运算,输出共m+1位。Cout表示和的最高位,Sm-1到S0表示和的其他位。When the sign bit control signal Cr is 1, the entire circuit performs m-bit addition operation, and outputs a total of m+1 bits. Cout represents the highest bit of the sum, and Sm-1 to S0 represent the other bits of the sum.

用抽象单元FM来表示图2中的电路,本发明m位加减法电路结构如图3所示。The circuit in Fig. 2 is represented by an abstract unit FM, and the structure of the m-bit addition and subtraction circuit of the present invention is shown in Fig. 3 .

第一级全减器单元的借位输入端连接符号位控制信号Cr,作为最低位的借位输入,输出端为S0和向高位借位输出Cout0。最高位的借位输出Cout0,直接连接至第二级全减器单元的低位借位输入端。按照这样的连接方案,对第二级到第m-1级全减器单元进行级联,在各级之间,低一级全减器单元的借位输出直接连接至高一级单元的借位输入端。最后一级即第m-1级全减器单元,输入端中一端连接输入信号A的最高位Am-1,另一个连接符号位控制信号Cr与输入信号B最高位Bm-1的异或结果,输出端为Sm-1和向高位借位输出Cout,最后一级的借位输出Cout作为整个减法电路的借位输出保留。The borrow input terminal of the first-stage full subtractor unit is connected to the sign bit control signal Cr as the lowest bit borrow input, the output terminal is S0 and the high bit borrow output is Cout0. The highest-order borrow output Cout0 is directly connected to the low-order borrow input of the second-stage full subtractor unit. According to this connection scheme, the full subtractor units from the second stage to the m-1th stage are cascaded, and between the stages, the borrow output of the lower full subtractor unit is directly connected to the borrow of the higher stage unit input. The last stage is the full subtractor unit of the m-1th stage. One of the input terminals is connected to the highest bit Am-1 of the input signal A, and the other is connected to the XOR result of the sign bit control signal Cr and the highest bit Bm-1 of the input signal B. , the output terminal is Sm-1 and the borrow output Cout to the high bit, and the borrow output Cout of the last stage is reserved as the borrow output of the whole subtraction circuit.

本发明m位加减法电路工作原理如下:The operating principle of the m-bit addition and subtraction circuit of the present invention is as follows:

当符号位控制信号Cr取0时,输入信号B的每一位与符号位控制信号Cr作异或后,送入全减器单元FM输入端的值仍是输入信号B本身,整个电路进行的是减法运算,计算被减数A与减数B的差值,输出包括m位的差S和借位输出Cout,共m+1位。本电路在进行减法运算时,将Cout作为最高位保留,用来表示结果S的符号位。布尔表达式为:When the sign bit control signal Cr is 0, after each bit of the input signal B is XORed with the sign bit control signal Cr, the value sent to the input terminal of the full subtractor unit FM is still the input signal B itself, and the whole circuit proceeds as The subtraction operation calculates the difference between the minuend A and the subtrahend B, and the output includes the m-bit difference S and the borrow output Cout, a total of m+1 bits. When this circuit performs subtraction, Cout is reserved as the highest bit, which is used to represent the sign bit of the result S. Boolean expressions are:

S=A-BS=A-B

当符号位控制信号Cr取1时,输入信号B的每一位与符号位控制信号Cr异或后,送入全减器单元FM输入端的是B值取反,第一级全减器单元FM的借位信号Cin输入置1,整个电路进行的是加法运算,计算被加数A与加数B的和,输出包括m位的和S、进位输出Cout,共m+1位,进行加法运算时,将Cout作为和的最高位,和共m+1位。布尔表达式为:When the sign bit control signal Cr is 1, after each bit of the input signal B is XORed with the sign bit control signal Cr, what is sent to the input terminal of the full subtractor unit FM is the inversion of the B value, and the first stage full subtractor unit FM The borrow signal Cin input is set to 1, and the whole circuit performs addition operation, calculating the sum of the summand A and the addend B, and the output includes m-bit sum S and carry output Cout, a total of m+1 bits, for addition operation When , Cout is used as the highest bit of the sum, and the sum has m+1 bits in total. Boolean expressions are:

Claims (6)

1. a kind of addition and subtraction universal circuit of tape symbol control end, it is characterised in that:Include the full subtracter unit F M of m cascades, Each full subtracter unit F M input signal includes the signal A as minuend or summand and is used as subtrahend or the letter of addend Number B, described signal B and sign bit control signal Cr carry out XOR, and are connected to full subtracter unit F M subtrahend or add Number input;The output signal of each full subtracter unit F M includes operation result signal S, described sign bit control signal The low level that Cr is connected to first order full subtracter unit F M borrows input, and the highest level output signal that borrows is signal Cout; When described sign bit control signal Cr takes 0, what whole circuit was carried out is subtraction;When described sign bit control signal When Cr takes 1, what whole circuit was carried out is add operation;Described m is positive integer.
2. the addition and subtraction universal circuit of tape symbol control end according to claim 1, it is characterised in that:M cascade it is complete Subtract among device unit F M, first order full subtracter unit F M low level borrows signal Cin bound symbols position control signal Cr as most Low level borrows input, and described first order full subtracter unit F M output first order operation result signal S0 and the first order are to height Position borrows output signal Cout0, and the first order borrows output signal Cout0 to a high position and is connected to the low of second level full subtracter unit F M Position borrows input, and by that analogy, the second level is cascaded to m-1 grades of full subtracter unit F M, between at different levels, low one-level Full subtracter unit borrow that output is directly connected to paramount primary unit borrow input.
3. the addition and subtraction universal circuit of tape symbol control end according to claim 1, it is characterised in that:Full subtracter unit F M Signal B and low level borrow the input that signal Cin is connected to the first nor gate, the output signal and letter of the first nor gate Number B is connected to the input of the second nor gate, output signal and the low level of the first nor gate borrow signal Cin be connected to the 3rd or The input of NOT gate;The output end of second nor gate and the 3rd nor gate is connected to two inputs of four nor gate;4th The output signal of nor gate is connected to two inputs of the 5th nor gate with signal A;The output signal of 5th nor gate and the The output signal of four nor gate is connected to two inputs of the 7th nor gate, and the output signal and signal A of the 5th nor gate connect It is connected on two inputs of the 6th nor gate;The output signal of 6th nor gate and the output signal of the 7th nor gate are connected to On two inputs of eight nor gates, the output signal of the 8th nor gate is operation result signal S;The output letter of 7th nor gate Number and the output signal of the first nor gate be connected on the input of the 9th nor gate, the 9th nor gate is output as signal Cout。
4. the addition and subtraction universal circuit of tape symbol control end according to claim 1, it is characterised in that:The signal A with Signal B is respectively arranged with m, and sign bit control signal Cr is provided with 1 and is respectively connecting to different full subtracter unit F M.
5. the addition and subtraction universal circuit of tape symbol control end according to claim 1, it is characterised in that:When described symbol When position control signal Cr takes 0, whole circuit carries out m subtractions, exports common m+1, operation result Sm-1 to operation result S0 represents poor, circuit borrow output signal Cout represent difference sign bit;When described sign bit control signal Cr takes 1, Whole circuit carries out m add operations, common m+1 of output, and circuit borrows the highest order that output signal Cout represents sum, computing As a result Sm-1 to operation result S0 represents other positions of sum.
6. the addition and subtraction universal circuit of tape symbol control end according to claim 1, it is characterised in that:Described XOR fortune Calculate makes signal B and sign bit control signal Cr carry out NOR-operation, the output signal of the first nor gate by first order nor gate NOR-operation is carried out with signal B and sign bit control signal Cr by second level nor gate respectively again, by obtain two or Inverse result after OR gate progress or computing by exporting.
CN201710171105.7A 2017-03-21 2017-03-21 Plus-minus method universal circuit with symbol control end Expired - Fee Related CN106990936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710171105.7A CN106990936B (en) 2017-03-21 2017-03-21 Plus-minus method universal circuit with symbol control end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710171105.7A CN106990936B (en) 2017-03-21 2017-03-21 Plus-minus method universal circuit with symbol control end

Publications (2)

Publication Number Publication Date
CN106990936A true CN106990936A (en) 2017-07-28
CN106990936B CN106990936B (en) 2020-08-28

Family

ID=59411799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710171105.7A Expired - Fee Related CN106990936B (en) 2017-03-21 2017-03-21 Plus-minus method universal circuit with symbol control end

Country Status (1)

Country Link
CN (1) CN106990936B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860191A (en) * 2022-05-05 2022-08-05 哈尔滨工业大学 Micro-fluidic subtracter chip

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3844385A1 (en) * 1988-12-30 1990-07-05 Paul Merkle Dual full adder-subtractor
CN103699353A (en) * 2013-12-05 2014-04-02 西安交通大学 One-bit full subtracter circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3844385A1 (en) * 1988-12-30 1990-07-05 Paul Merkle Dual full adder-subtractor
CN103699353A (en) * 2013-12-05 2014-04-02 西安交通大学 One-bit full subtracter circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁伟军: "数字减法器电路设计的可信分析", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860191A (en) * 2022-05-05 2022-08-05 哈尔滨工业大学 Micro-fluidic subtracter chip
CN114860191B (en) * 2022-05-05 2024-09-06 哈尔滨工业大学 A microfluidic subtractor chip

Also Published As

Publication number Publication date
CN106990936B (en) 2020-08-28

Similar Documents

Publication Publication Date Title
Manju et al. An efficient SQRT architecture of carry select adder design by common Boolean logic
CN106528045B (en) A kind of reversible plus/minus musical instruments used in a Buddhist or Taoist mass in 4 based on reversible logic gate
CN105739945B (en) A kind of amendment Booth encoded multipliers for accumulating array based on improvement part
CN101295237B (en) High-speed divider for quotient and balance
CN102937887B (en) A kind of 16 bit carry-select adders based on reversible logic
CN106940638A (en) A kind of quick, low-power consumption and the hardware structure for the binary system true add/subtraction unit for saving area
CN104090737A (en) Improved partial parallel architecture multiplying unit and processing method thereof
JP3436994B2 (en) Shift device
CN106990936A (en) A kind of addition and subtraction universal circuit of tape symbol control end
Timarchi et al. A novel high-speed low-power binary signed-digit adder
CN103399725A (en) Remainder non-recuperative divider
CN112350716A (en) Complementary code operation method and device and operation method of complementary code operation device
CN103699353B (en) An a kind of full subtracter circuit
CN214380869U (en) Full adder
Hema et al. Low Power and Area Efficient Carry Save Adder Based on Static 125nm CMOS Technology
CN205281474U (en) A Configurable Two-Stage Pipelined Six-Operand Fast Adder
JPH0467213B2 (en)
CN104202053A (en) Device and method for rapidly converting n source codes into complementary codes
CN115833845B (en) Position output device and position output method
US11327718B2 (en) Arithmetic circuitry for power-efficient multiply-add operations
Abinaya et al. Power efficient carry skip adder based on static 125nm cmos technology
US7870181B2 (en) Chinese abacus adder
JP2009301210A (en) N-digit subtraction unit, n-digit subtraction module, n-digit addition unit and n-digit addition module
JP2004013709A (en) Partial product generation circuit and multiplier
Kumar Sinha Combinational Circuit Design

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200828