CN104300965B - Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter - Google Patents

Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter Download PDF

Info

Publication number
CN104300965B
CN104300965B CN201410520679.7A CN201410520679A CN104300965B CN 104300965 B CN104300965 B CN 104300965B CN 201410520679 A CN201410520679 A CN 201410520679A CN 104300965 B CN104300965 B CN 104300965B
Authority
CN
China
Prior art keywords
tube
circuit
tubes
value
pass
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.)
Expired - Fee Related
Application number
CN201410520679.7A
Other languages
Chinese (zh)
Other versions
CN104300965A (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.)
Heilongjiang University
Original Assignee
Heilongjiang 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 Heilongjiang University filed Critical Heilongjiang University
Priority to CN201410520679.7A priority Critical patent/CN104300965B/en
Publication of CN104300965A publication Critical patent/CN104300965A/en
Application granted granted Critical
Publication of CN104300965B publication Critical patent/CN104300965B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Logic Circuits (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本发明公开一种采用带通阈加载技术的K值和十值半加器和半减器的构建方法及其电路;本发明采用带通阈加载技术,按信息处理各阶段的需求,将不同阶段所需带通阈加载到PMOS管中,使PMOS管有随时可变的带通阈;本发明分析K值半减器和半加器,得出有高值区和低值区统一的特征,基于加载技术,二种电路可归为一种电路统一设计,避开采用K值逻辑门实现的传统方式,电路结构极大简化;可将混沌加密方法和电路从2值推广到K值,用K值加减运算代替K值乘除运算,实现K值信息的无乘除混沌加密方法和电路;用于FPGA、CPLD、半或全制定ASIC和存储器等VLSI及其它数字IC技术领域。

The invention discloses a construction method and circuit of a K-value and ten-value half-adder and half-subtractor using band-pass threshold loading technology; The required band-pass threshold of the stage is loaded into the PMOS tube, so that the PMOS tube has a band-pass threshold variable at any time; the present invention analyzes the K value half subtractor and half adder, and draws the characteristics of the unity of the high value area and the low value area , based on the loading technology, the two circuits can be classified into a unified circuit design, which avoids the traditional way of implementing K-valued logic gates, and greatly simplifies the circuit structure; the chaotic encryption method and circuit can be extended from 2 values to K values, Use K value addition and subtraction operations instead of K value multiplication and division operations to realize the non-multiplication and division chaotic encryption method and circuit of K value information; it is used in VLSI and other digital IC technology fields such as FPGA, CPLD, semi-or full-specified ASIC and memory.

Description

采用带通阈加载技术的K值和十值半加器和半减器的构建方 法及其电路Construction methods of K-value and ten-value half-adders and half-subtractors using band-pass threshold loading technique method and circuit

技术领域technical field

本发明属于数字集成电路领域,具体地说是一种采用带通阈加载技术的K值和十值半加器和半减器的构建方法及其电路。The invention belongs to the field of digital integrated circuits, in particular to a construction method of a K-value and ten-value half-adder and half-subtractor using band-pass threshold loading technology and a circuit thereof.

背景技术Background technique

随着MOS集成电路技术的飞速发展,集成规模越来越大,集成度越来越高,VLSI(超大规模集成电路)出现一些不足:①首先在VLSI基片上,布线却占用70℅以上的硅片面积;在可编程逻辑器件中也需有大量可编程内部连线,将各逻辑功能块或输入/输出连接起来,完成特定功能的电路,布线占了材料很大的成本。减少布线成本成为重要问题。②从信息传输方面看,采用多值信号可减少连线数;对每根连线传输数字信息,二值信号是携带信息量最低的一种,多值信号携带信息量大于二值信号。③从信息存储方面看,采用多值信号可提高信息存储密度,用MOS管栅极电容存储信息,存储信息量多值比二值大,多值DRAM比二值DRAM可大大提高信息存储密度。目前多值器件的研制已广泛开展,东芝与美国SanDisk采用43nm工艺和2bit/单元多值技术实现的16gbitNAND闪存。三星开发的8Gbit产品采用63nm的CMOS技术和2bit/单元的多值技术。4值存储器的研制成功和商品化是多值研究的重要的一步,多值器件的研制需要控制或改变管的开关阈值VtnWith the rapid development of MOS integrated circuit technology, the scale of integration is getting larger and higher, and VLSI (Very Large Scale Integration) has some shortcomings: ① First, on the VLSI substrate, the wiring takes up more than 70℅ of silicon Chip area; in programmable logic devices, a large number of programmable internal wiring is also required to connect each logic function block or input/output to complete a specific function circuit, and wiring accounts for a large cost of materials. Reducing wiring costs becomes an important issue. ② From the perspective of information transmission, the use of multi-valued signals can reduce the number of connections; for each connection to transmit digital information, binary signals carry the lowest amount of information, and multi-valued signals carry more information than binary signals. ③ From the perspective of information storage, the use of multi-value signals can increase the information storage density, and the gate capacitance of MOS transistors is used to store information. The amount of stored information is larger than that of binary values. Multi-value DRAM can greatly increase the information storage density than binary DRAM. At present, the development of multi-value devices has been widely carried out. Toshiba and SanDisk of the United States have adopted 43nm technology and 16gbit NAND flash memory realized by 2bit/unit multi-value technology. The 8Gbit product developed by Samsung adopts 63nm CMOS technology and 2bit/unit multi-value technology. The successful development and commercialization of 4-value memory is an important step in multi-value research. The development of multi-value devices needs to control or change the switching threshold V tn of the transistor.

现有技术和存在问题:Existing technology and existing problems:

1.在实现多值电路中(K≥3),已有半导体制造工艺控制MOS管阈值技术有很大缺点:①控制阈值的幅度有限(因离子注入浓度有限),而且工艺中控制阈值幅度常会改变MOS管的性能,实现的电压型多值电路不大于4值电路,更多值电路应用较困难。②只能控制阈值的幅度,不能改变MOS管开启性质(如高通,低通,带通,带阻控阈),而多值电路须有多种控阈性质的MOS管,才能使电路结构最简。③需要增加离子注入额外工序,只能在半导体制造工艺中控制阈值,增加工艺复杂性,不能由用户来控制阈值。1. In the realization of multi-valued circuits (K≥3), the existing semiconductor manufacturing process to control the threshold of MOS transistors has great disadvantages: ① The range of the control threshold is limited (due to the limited concentration of ion implantation), and the range of the control threshold in the process is often By changing the performance of the MOS tube, the voltage-type multi-valued circuit realized is not larger than the 4-valued circuit, and the application of more-valued circuits is difficult. ② Only the magnitude of the threshold can be controlled, and the opening properties of the MOS tube cannot be changed (such as high-pass, low-pass, band-pass, band-resistance control threshold), and the multi-valued circuit must have a variety of MOS tubes with threshold-controlling properties to make the circuit structure most optimal. simple. ③ It is necessary to add an additional process of ion implantation, and the threshold can only be controlled in the semiconductor manufacturing process, increasing the complexity of the process, and the threshold cannot be controlled by the user.

2.在实现多值电路中,已有神经元MOS管控制阈值技术有很大缺点:①随K值增加,‘单个神经元MOS管的输入栅和控制栅电容占硅片面积’对‘单个MOS管占硅片面积’的比值越来越大,十倍,百倍或更高;②随K值增加,‘输入栅的阈值模糊区(转折区)宽度ΔV1’对‘浮栅阈值模糊区(转折区)宽度ΔVfg’的比值(ΔV1/ΔVfg=CTOT/C1)越来越大,因ΔVfg是一定的,输入栅的阈值模糊区ΔV1宽度越来越大,使输入栅K值信号分辨能力越来越降低,且对电容精度要求高,不利于可靠的实现K值大的多值电路;③不能改变阈值控制特性(如带通、带阻的控制阈值方式),对简化K值电路不利;④随K值的增加,比值(CTOT/C1)变大,输入栅和控制栅电容增加,使高频性能快速下降;⑤随K值的增加,浮栅电容漏电不能略去,且有多值信息刷新很困难。⑥神经元CMOS反相器仅对二值信号静态功耗为0,对大K值,存在NMOS管和PMOS管同时导通的状态,静态功耗反而更大;神经元CMOS跟随器输出常为电容负载,其输出电压升降轨迹不同,有很大的回差电压,不利于多值电路。2. In the realization of multi-valued circuits, the existing neuron MOS transistor control threshold technology has great disadvantages: ① With the increase of K value, 'the input gate and control gate capacitance of a single neuron MOS transistor occupies the area of the silicon chip' versus 'a single neuron MOS transistor'. The ratio of MOS transistors to the area of the silicon chip is getting bigger and bigger, ten times, a hundred times or higher; ②As the K value increases, the width of the threshold fuzzy area (turning area) of the input gate ΔV 1 'to the threshold fuzzy area of the floating gate (Turning area) The ratio of the width ΔV fg ' (ΔV 1 /ΔV fg = C TOT /C 1 ) is getting bigger and bigger, because ΔV fg is constant, the width of the threshold fuzzy zone ΔV 1 of the input grid is getting bigger and bigger, so that The input gate K value signal resolution ability is getting lower and lower, and the requirement for capacitance accuracy is high, which is not conducive to the reliable realization of multi-valued circuits with large K value; ③The threshold control characteristics cannot be changed (such as band-pass and band-stop control threshold methods) , which is unfavorable to simplify the K value circuit; ④ With the increase of K value, the ratio (C TOT /C 1 ) becomes larger, and the capacitance of the input grid and the control grid increases, so that the high frequency performance drops rapidly; ⑤ With the increase of K value, the floating gate Capacitor leakage cannot be ignored, and it is difficult to refresh multi-valued information. ⑥The static power consumption of the neuron CMOS inverter is 0 only for the binary signal. For a large K value, there is a state where the NMOS tube and the PMOS tube are turned on at the same time, and the static power consumption is even greater; the output of the neuron CMOS follower is usually For capacitive loads, the output voltage rising and falling tracks are different, and there is a large hysteresis voltage, which is not conducive to multi-valued circuits.

3.阈值固定,不能随时改变,这是现有变阈技术的不足,按多值信息处理各阶段的需要,应有一个随信息处理各阶段不同特点而具有不同阈值的管;本发明分析K值半减器和K值半加器的特征和结构的一致性,但需要PMOS管具有随时可变的不同阈值,也即需要采用带通阈加载技术;K值半减器和K值半加器是实现K值加减运算的重要器件,有了K值半减器和K值半加器,K值加减运算的实现就很容易。3. The threshold is fixed and cannot be changed at any time. This is the deficiency of the existing variable threshold technology. According to the needs of each stage of multi-valued information processing, there should be a tube with different thresholds with different characteristics of each stage of information processing; the present invention analyzes K The characteristics and structure of the K-value half subtractor and the K-value half-adder are consistent, but the PMOS tubes are required to have different thresholds that can be changed at any time, that is, the band-pass threshold loading technology is required; the K-value half-subtractor and the K-value half-add The device is an important device to realize the addition and subtraction of the K value. With the K value half subtractor and the K value half adder, the realization of the K value addition and subtraction operation is very easy.

发明内容Contents of the invention

本发明目的是公开一种采用带通阈加载技术的K值和十值半加器和半减器的构建方法及其电路;所述的目的通过以下的技术方案实现:The object of the invention is to disclose a construction method and circuit thereof of a K value and a ten-value half adder and a half subtractor that adopt band-pass threshold loading technology; the described purpose is realized through the following technical solutions:

1.一种采用带通阈加载技术的K值半减器的构建方法:K值半减器中Ai为被减数,Bi为减数,Si为本为差,Ji为借位数,其中Ai,Bi,Si均为K值信号,K值信号有K个逻辑值:0,1,2,‥…,L,其中L=K-1,K=4,5,6,‥…,Ji为2值信号,2值信号有2个逻辑值:0,L;令Ai=k,Bi=j,对确定的j=1~L,当k<j时,Si=K+k-j>k,即Si>Ai,当k=j时,Si=0,当k>j且j≠L时,Si=k-j<k,即Si<Ai,当j=L时,不存在k>j;对确定的j=0,Si=Ai;对j≠0,当k<j时,有借位,当k≥j时,无借位,对j=0,无借位;采用带通阈加载技术的K值半减器的构建方法描述如下:1. A construction method of a K-value half-subtractor that adopts band-pass threshold loading technology: A i is the minuend in the K-value half-subtractor, B i is the subtrahend, S i is originally a difference, and J i is a borrowed digits, where A i , B i , and S i are all K-value signals, and K-value signals have K logical values: 0, 1, 2, ‥..., L, where L=K-1, K=4, 5 , 6, ‥..., J i is a binary signal, and a binary signal has two logical values: 0, L; let A i =k, B i =j, for a certain j=1~L, when k<j When , S i =K+k-j>k, that is, S i >A i , when k=j, S i =0, when k>j and j≠L, S i =k-j<k, That is, S i <A i , when j=L, there is no k>j; for a certain j=0, S i =A i ; for j≠0, when k<j, there is a borrow, when k≥ When j, there is no borrowing, and to j=0, there is no borrowing; the construction method of the K value half reducer adopting the band-pass threshold loading technique is described as follows:

①对确定的j,j=1~L,按Si>Ai和Si<Ai,将K值半减器运算划分为高值区和低值区,因tb0~j-1=t/hj,tbj+1~L=thj+1,j≠L,采用选通受控PMOS管Pe0和Pe1,Pe0具有低通阈t/hj的特性,Pe1具有高通阈thj+1的特性,⑴高值区:当k=0~j-1时,管Pe0导通,实现Si>Ai;⑵低值区:当k=j+1~L且j≠L时,管Pe1导通,实现Si<Ai,当j=L时,低值区无效,仅高值区有效;当k=j时,管Pe0、Pe1、Pd0都截止,Si=0;⑶用Pe2组成的PMOS非门输出形成Ji信号,管Pe2栅极接管Pe0栅极g/hj,当k<j时,管Pe2导通,Ji为高电平,表示有借位,当k≥j时,管Pe2截止,Ji为低电平,表示无借位;① For the determined j, j=1~L, according to S i >A i and S i <A i , the K-value half subtractor operation is divided into a high-value area and a low-value area, because t b0~j-1 = t /hj , t bj+1~L =t hj+1 , j≠L, using gate-controlled PMOS transistors P e0 and P e1 , P e0 has the characteristics of low-pass threshold t /hj , and P e1 has high-pass threshold The characteristics of t hj+1 , (1) high-value area: when k=0~j-1, the tube P e0 is turned on, and S i >A i is realized; (2) low-value area: when k=j+1~L and j When ≠L, the tube P e1 is turned on, and S i <A i is realized. When j=L, the low-value area is invalid, and only the high-value area is valid; when k=j, the tubes P e0 , P e1 , and P d0 are all Cut off, S i = 0; (3) use the PMOS non-gate output composed of P e2 to form the J i signal, the gate of the tube P e2 takes over the gate g /hj of P e0 , when k<j, the tube P e2 is turned on, J i is high level, indicating that there is a borrow, when k≥j, the tube P e2 is cut off, and J i is low, indicating that there is no borrow;

(注:tb0~j-1表示导通区间为k=0~j-1,t/hj表示导通区间为k<j,即k=0~j-1,所以tb0~j-1=t/hj,而tbj+1~L表示导通区间为k=j+1~L,thj+1表示导通区间为k≥j+1,即k=j+1~L,所以tbj+1~L=thj+1;因低通阈t/hj和高通阈thj+1都属于带通阈,即特殊的带通阈tb0~j-1和tbj+1~L,所以高通式和低通式变阈PMOS管都可称为带通式变阈PMOS管,然后按带通阈特征,将满足tb0~j-1=t/hj和tbj+1~L=thj+1的带通阈,分别划为低通阈和高通阈;注意①中j≠0);(Note: t b0~j-1 means that the conduction interval is k=0~j-1, t /hj means that the conduction interval is k<j, that is, k=0~j-1, so t b0~j-1 =t /hj , and t bj+1~L means that the conduction interval is k=j+1~L, and t hj+1 means that the conduction interval is k≥j+1, that is, k=j+1~L, so t bj+1~L =t hj+1 ; because the low-pass threshold t /hj and the high-pass threshold t hj+1 belong to the band-pass threshold, that is, the special band-pass threshold t b0~j-1 and t bj+1~ L , so high-pass and low-pass variable-threshold PMOS transistors can be called band-pass variable-threshold PMOS transistors, and then according to the characteristics of the band-pass threshold, it will satisfy t b0~j-1 =t /hj and t bj+1~ The band-pass threshold of L =t hj+1 is divided into low-pass threshold and high-pass threshold respectively; note that j≠0 in ①);

②高值区电路包括带通式变阈PMOS管Pa00~Pa0L-1和串联的二极管D00~D0L-1,管Pa01~Pa0L-1的高通阈依次为th1~thL-1,管Pa00的低通阈为t/h1,管Pa00~Pa0L-1源极通过Pe0接通电源VDC,当k=j-1~0且j≠0时,管Pe0导通,Si输出经过m0个导通二极管接通到VDC,随k由j-1到0,用管Pa0j-1~Pa00依次导通控制m0由0到j-1,于是Si由L到L-j+1;低值区电路包括高通式变阈PMOS管Pa11~Pa1L和串联的二极管D12~D1L,将D1L接D00,使D12~D1L和D00~D0L-1形成一个总串联二极管序列D12~D0L-1,管Pa11~Pa1L的高通阈依次为th1~thL,当k=L~j+1且0<j<L时,管Pe1导通,管Pa11~Pa1L的源极通过Pe1接通电源VDC,Si输出经过m1个导通二极管接通到VDC,随k由L到j+1,用管Pa1L~Pa1j+1依次导通控制m1由j到L-1,于是Si输出由L-j到1;当k=j≠0时,管Pe0、Pe1、Pd0都截止,Si输出为0;②The circuit in the high-value region includes band-pass variable threshold PMOS transistors P a00 ~P a0L -1 and diodes D 00 ~D 0L-1 connected in series. The high-pass thresholds of transistors P a01 ~P a0L-1 are t h1 ~t hL in turn -1 , the low-pass threshold of the tube P a00 is t /h1 , the source of the tube P a00 ~ P a0L -1 is connected to the power supply V DC through P e0 , when k=j-1 ~ 0 and j≠0, the tube P e0 is turned on, the output of S i is connected to V DC through m 0 conduction diodes, and as k changes from j-1 to 0, the tubes P a0j-1 ~ P a00 are sequentially turned on to control m 0 from 0 to j-1 , so S i is from L to L-j+1; the low-value region circuit includes high-pass variable threshold PMOS transistors P a11 ~P a1L and series diodes D 12 ~D 1L , connect D 1L to D 00 , so that D 12 ~ D 1L and D 00 ~D 0L-1 form a total series diode sequence D 12 ~D 0L-1 , the high-pass thresholds of tubes P a11 ~P a1L are t h1 ~t hL in turn, when k=L~j+1 and When 0<j<L, the tube P e1 is turned on, the sources of the tubes P a11 ~ P a1L are connected to the power supply V DC through P e1 , and the output of S i is connected to V DC through m 1 conduction diodes, and the k is From L to j+1, use the tubes P a1L ~ P a1j+1 to conduct sequentially to control m 1 from j to L-1, so the output of S i is from L-j to 1; when k=j≠0, the tube P e0 , P e1 , and P d0 are all cut off, and the output of S i is 0;

③对每一个j,j=0~L,由K个逻辑值判别门U0~UL判别j值,逻辑值判别门Um带通阈为tbj就是仅当Um输入为j时Um输出为高电平,否则,Um输出为低电平,取U0~UL的带通阈分别为tb0~tbL;所有U0~UL输入为j,U0~UL输出分别为vtg0~vtgL,vtg0~vtgL各自经非门M0~ML产生反相输出v/tg0~v/tgL;由此完成:⑴对j≠0,在变阈选通PMOS管Pc1~PcL中v/tgj驱动Pcj导通,管Pc1~PcL源极待传阈值分别为t/h1~t/hL,则管Pc1~PcL中仅t/h1~t/hL中的t/hj加载到管Pe0,用管Pe0导通控制高值区(0,j-1)长度j-2,j≠0,j=L时高值区长度为L;⑵对j≠0,在变阈选通管Pd1~PdL中v/tgj驱动Pdj导通,管Pd1~PdL-1、PdL源极待传阈值分别为th2~thL、t/h1,当j<L时,管Pd1~PdL-1中仅使th2~thL中的thj+1加载到管Pe1;当j=L时,管PdL将t/h1加载到管Pe1,使低值区无效;用管Pe1和Pd0导通控制低值区j+1~L长度L-j,j≠L;⑶在CMOS传输门TG1~TGL中vtgj和v/tgj仅驱动TGj导通,j=1~L,Si通过导通的TGj接Pa0j-1的漏极,Si最大的条件为k=j-1,此时Si通过导通的TGj和Pa0j-1接到VDC,实现Si=L;⑷当j=0时,用v/tg0驱动TG0和管Pd0、Pc0导通,Pd0源极接VDC,Pd0漏极接管Pa11~Pa1L源极,管Pa11~Pa1L源极通过Pd0接通到VDC,Si通过TG0接Pa1L的漏极,低值区电路工作且成为数字跟随器,实现Si=Ai,此时低值区长度为L,高值区电路失效;管Pc0栅极接v/tg0,Pc0漏极接Pe0栅极,管Pc0源极接直流电压VDC,使j=0时Ji输出为上述表示无借位的电平,补充①中缺少的j=0时Ji信号的形成。③For each j, j=0~L, the value of j is judged by K logical value discrimination gates U 0 ~U L , and the band-pass threshold of logic value discrimination gate U m is t bj , that is, only when the input of U m is j. The output of m is high level, otherwise, the output of U m is low level, and the band-pass thresholds of U 0 ~ U L are respectively t b0 ~ t bL ; all U 0 ~ U L inputs are j, U 0 ~ U L The outputs are respectively v tg0 ~v tgL , and v tg0 ~v tgL generate inverting output v /tg0 ~v /tgL through the NOT gates M 0 ~M L respectively; thus it is completed: (1) For j≠0, gate at variable threshold v /tgj in PMOS transistors P c1 ~P cL drives P cj to turn on, and the thresholds of the sources of transistors P c1 ~P cL to be transmitted are t /h1 ~t /hL respectively, so only t /h1 in transistors P c1 ~P cL The t /hj in ~t /hL is loaded into the tube P e0 , and the tube P e0 is used to control the length of the high-value area (0, j-1) j-2, j≠0, and the length of the high-value area when j=L is L; (2) For j ≠ 0, v /tgj drives P dj to be turned on in the threshold-variable gate transistors P d1 ~ P dL , and the thresholds of the sources of the transistors P d1 ~ P dL-1 and P dL are respectively t h2 ~ t hL , t /h1 , when j<L, only t hj+1 of t h2 ~t hL in tubes P d1 ~P dL-1 is loaded into tube P e1 ; when j=L, tube P dL Load t /h1 to the tube P e1 to invalidate the low-value area; turn on the tube P e1 and P d0 to control the low-value area j+1~L length L-j, j≠L; (3) in the CMOS transmission gate TG 1 v tgj and v /tgj in ~TG L only drive TG j to turn on, j=1~L, S i connects to the drain of P a0j-1 through the turned-on TG j , and the maximum condition of S i is k=j- 1. At this time, S i is connected to V DC through the turned-on TG j and P a0j-1 to realize S i =L; (4) When j=0, use v /tg0 to drive TG 0 and tubes P d0 and P c0 to conduct connected, the source of P d0 is connected to V DC , the drain of P d0 is connected to the source of P a11 ~P a1L , the source of P a11 ~P a1L is connected to V DC through P d0 , and S i is connected to the drain of P a1L through TG 0 pole, the circuit in the low-value area works and becomes a digital follower, realizing S i =A i , at this time, the length of the low-value area is L, and the circuit in the high-value area is invalid; the gate of the tube P c0 is connected to v /tg0 , and the drain of P c0 is connected to The gate of P e0 and the source of tube P c0 are connected to DC voltage V DC , so that when j=0, the output of J i is the above-mentioned level indicating no borrowing, and the formation of J i signal when j=0 is supplemented in ①.

(注:参看实施例4:本发明的采用带通阈加载技术、变阈选通PMOS管和选通受控PMOS管的说明;v/tgj驱动Pcj导通,通过Pcj导通使Pcj源极待传阈值t/hj加载到管Pe0,加载就是使Pe0具有阈值t/hj的特性,若Pcj截止,则该t/hj加载失效,需驱动另一Pcj1导通,将t/hj1加载到管Pe0;类似方式,驱动Pdj导通,将thj+1加载到管Pe1,该加载使Pe1具有阈值thj+1的特性;当j值改变时,高值区和低值区改变要求管Pe0和Pe1阈值特性用新带通阈加载来改变)。(note: referring to embodiment 4: the present invention adopts band-pass threshold loading technology, variable-threshold gating PMOS transistor and gating-controlled PMOS transistor explanation; v /tgj drives P cj conduction, and P cj conduction makes P The threshold t /hj of the cj source to be transmitted is loaded to the tube P e0 , and the loading is to make P e0 have the characteristic of the threshold t /hj . If the P cj is cut off, the t /hj loading will fail, and another P cj1 needs to be turned on. Load t /hj1 to the tube P e0 ; in a similar way, drive P dj to conduct, load t hj+1 to the tube P e1 , this load makes P e1 have the characteristic of threshold t hj+1 ; when the value of j changes, The high-value and low-value region changes require the threshold characteristics of the tubes P e0 and P e1 to be loaded with a new band-pass threshold).

2.根据上述技术方案1所述的一种采用带通阈加载技术的K值半减器的构建方法相同特征形成的一种采用带通阈加载技术的K值半加器的构建方法:在采用带通阈加载技术的K值半减器的构建方法中:(一)首先,将U1~UL的带通阈分别取为tbL~tb1;㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,无借位取为有进位(包括Ci输出高电平VDC表示无进位,Ci输出低电平0表示有进位),管Pc0源极接直流电压Vd,使j=0时Ci输出为上述表示无进位的电平,Vd≠VDC;㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则采用带通阈加载技术的K值半减器的构建方法就成为采用带通阈加载技术的K值半加器的构建方法。2. A kind of construction method of the K value half-adder that adopts the band-pass threshold loading technology that adopts the construction method of the K value half-adder of the band-pass threshold loading technology according to the construction method of a kind of K value half-subtractor of the band-pass threshold loading technology described in above-mentioned technical scheme 1: In the construction method of the K value half reducer using the band-pass threshold loading technology: (1) Firstly, the band-pass thresholds of U 1 ~ U L are respectively taken as t bL ~ t b1 ; (2) Then, the borrowing digits J i Take it as the carry number C i , except that when j=0, no borrow is taken as no carry, all borrows are taken as no carry, and no borrow is taken as a carry (including C i outputs a high level V DC to indicate No carry, C i output low level 0 means there is a carry), the source of the tube P c0 is connected to the DC voltage V d , so that when j=0, the output of C i is the above-mentioned level indicating no carry, V d ≠ V DC ; (iii) Finally, the half subtractor is taken as a half adder, and A i , B i and S i are taken as the addend, the addend and the basic sum in turn, and the construction method of the K value half subtractor using the band-pass threshold loading technology It becomes the construction method of the K value half adder adopting the band-pass threshold loading technology.

(注:参看实施例1,K值半减器和半加器构建方法特征相同的证明)。(note: referring to embodiment 1, the proof that the K value half reducer and half adder construction method features are the same).

3.根据上述技术方案1所述的一种采用带通阈加载技术的K值半减器的构建方法形成的一种采用带通阈加载技术的K值半减器电路,示如图1,采用带通阈加载技术的K值半减器电路包括:控制信号形成电路,高值区和高选通电路,低值区和低选通电路,Si输出电路和Ji输出电路;参看图1,K值半减器具体电路结构描述如下:3. a kind of K value half reducer circuit that adopts band-pass threshold loading technology to form according to a kind of construction method of the K value half reducer that adopts band-pass threshold loading technology described in above-mentioned technical scheme 1, as shown in Fig. 1, The K value half reducer circuit adopting the band-pass threshold loading technology includes: control signal forming circuit, high value area and high gating circuit, low value area and low gating circuit, S i output circuit and J i output circuit; see Fig. 1. The specific circuit structure of the K value half reducer is described as follows:

①控制信号形成电路由逻辑值判别门U0~UL和CMOS非门M0~ML二部分组成,判别门U0~UL分别由区间最小的带通式变阈PMOS管Pb0~PbL和恒流源I0~IL构成,管Pb0~PbL的带通阈分别为tb0~tbL,其中tb0=t/h1,tbL=thL,即管Pb0和PbL分别为区间最小的低通式和高通式变阈PMOS管,管Pb0~PbL的有效输入都接Bi,管Pb0~PbL源极接电源VDC,管Pb0~PbL漏极分别接恒流源I0~IL上端,I0~IL上端分别作为U0~UL输出vtg0~vtgL,恒流源I0~IL下端接地,恒流源电流都是由上端流向下端,vtg0~vtgL分别接非门M0~ML输入,M0~ML输出分别为v/tg0~v/tgL,由此得出互为反相的控制信号vtg0~vtgL和v/tg0~v/tgL,M0~ML工作电压为VDC,对每个Bi输入j,j=0~L,vtg0~vtgL中仅vtgj是高电平,其余输出都是低电平;①The control signal forming circuit is composed of logic value discrimination gates U 0 ~U L and CMOS NOT gates M 0 ~ ML . P bL and constant current source I 0 ~ IL constitute, the band-pass thresholds of tubes P b0 ~P bL are t b0 ~t bL respectively, where t b0 =t /h1 , t bL =t hL , that is, tubes P b0 and P bL are the low-pass and high-pass variable-threshold PMOS transistors with the smallest interval respectively. The effective inputs of the tubes P b0 ~ P bL are all connected to Bi, the sources of the tubes P b0 ~ P bL are connected to the power supply V DC , and the tubes P b0 ~ P The bL drains are respectively connected to the upper end of the constant current source I 0IL , and the upper end of I 0IL is used as U 0 ~U L to output v tg0 ~v tgL respectively , and the lower end of the constant current source I 0IL is grounded, and the constant current source current Both flow from the upper end to the lower end, v tg0 ~ v tgL are respectively connected to the input of the NOT gate M 0 ~ M L , and the outputs of M 0 ~ M L are respectively v /tg0 ~ v /tgL , thus obtaining mutually inverse control signals v tg0 ~v tgL and v /tg0 ~v /tgL , M 0 ~M L operating voltage is V DC , input j for each B i , j=0~L, only v tgj is high among v tg0 ~v tgL level, other outputs are low level;

②高值区和高选通电路:高选通电路由变阈选通PMOS管Pc1~PcL,选通受控PMOS管Pe0和PMOS管Pc0组成;管Pc1~PcL源极待传低通阈分别为t/h1~t/hL,管Pc1~PcL的有效输入接Ai,管Pc0~PcL栅极分别接控制信号v/tg0~v/tgL,而其漏极都接管Pe0栅极g/hj;对每个Bi输入j,j=1~L,管Pc1~PcL中只有一个管Pcj导通,其余管截止,于是在t/h1~t/hL中只将t/hj加载到管Pe0,管Pe0源极接VDC,其漏极接管Pa00~Pa0L-1源极;高值区电路包括带通变阈PMOS管Pa00~Pa0L-1和串联二极管D00~D0L-1,管Pa01~Pa0L-1的高通阈依次为th1~thL-1,管Pa00的低通阈为t/h1,管D00~D0L-2负极各自接管D01~D0L-1正极,管Pa00~Pa0L-1有效输入接Ai,管Pa00~Pa0L-1漏极各自接管D00~D0L-1的负极,Ai输入为k,当k=0~j-1且j≠0时,管Pe0导通,将管Pa00~Pa0L-1源极通过Pe0接通VDC,高值区电路工作,用管Pe0导通控制高值区(0,j-1)长度j-2,j≠0,当k=j~L时,管Pe0截止,管Pa00~Pa0L-1源极与VDC断开,高值区电路不工作; ②High value area and high gating circuit: the high gating circuit is composed of variable threshold gating PMOS transistors P c1 ~ P cL , gating controlled PMOS transistor P e0 and PMOS transistor P c0 ; The low-pass thresholds are t /h1 ~ t /hL respectively, the effective input of the tubes P c1 ~ P cL is connected to A i , the gates of the tubes P c0 ~ P cL are connected to the control signal v /tg0 ~ v /tgL respectively , and the drain All poles take over the grid g /hj of P e0 ; for each B i input j, j=1~L, only one tube P cj is turned on among the tubes P c1 ~P cL , and the other tubes are cut off, so at t /h1 ~ In t /hL , only t /hj is loaded to the tube P e0 , the source of the tube P e0 is connected to V DC , and its drain is connected to the source of P a00 ~ P a0L -1 ; the circuit in the high-value area includes a PMOS tube P with a pass-through threshold a00 ~P a0L -1 and series diodes D 00 ~D 0L-1 , the high-pass thresholds of tubes P a01 ~P a0L-1 are t h1 ~t hL-1 in turn, and the low-pass thresholds of tube P a00 are t /h1 , The negative poles of tubes D 00 ~ D 0L-2 are respectively connected to the positive poles of D 01 ~ D 0L-1 , the effective input of tubes P a00 ~ P a0L -1 is connected to A i , and the drains of tubes P a00 ~ P a0L -1 are respectively connected to D 00 ~ D The negative pole of 0L-1 , the input of A i is k, when k=0~j-1 and j≠0, the tube P e0 is turned on, and the source of the tubes P a00 ~ P a0L -1 is connected to V DC through P e0 , the circuit works in the high-value area, use the tube P e0 to turn on and control the length j-2 of the high-value area (0, j-1), j≠0, when k=j~L, the tube P e0 is cut off, and the tube P a00 ~ The source of P a0L-1 is disconnected from V DC , and the circuit in the high value area does not work;

③低值区和低选通电路:低选通电路由变阈选通PMOS管Pd1~PdL,选通受控PMOS管Pe1和PMOS管Pd0组成;管Pd1~PdL-1源极待传高通阈分别为th2~thL,PdL源极待传低通阈为t/h1;管Pd0~PdL栅极分别接控制信号v/tg0~v/tgL,Pd1~PdL漏极接管Pe1栅极,Pd1~PdL有效输入接Ai;对每个j,j=1~L-1,管Pd1~PdL-1中只有一管Pdj导通,其余管截止,在th2~thL中选取thj+1加载到管Pe1,而j=L,管PdL导通,t/h1加载到管Pe1;管Pe1和Pd0漏极接管Pa11~Pa1L源极,Pe1和Pd0源极接VDC;当k=j+1~L且0<j<L时,管Pe1导通,管Pa11~Pa1L源极通过Pe1接通VDC,低值区电路工作;低值区电路包括高通变阈PMOS管Pa11~Pa1L和串联二极管D12~D1L,管D12~D1L-1负极各自接管D13~D1L正极,D1L负极接D00正极,将D12~D1L和D00~D0L-1串联,组成2L-1个串联二极管序列,管Pa11~Pa1L的高通阈各自为th1~thL,其有效输入接Ai,管Pa12~Pa1L漏极各自接管D12~D1L负极,管Pa11漏极接D12正极;当j=0时,管Pd0导通,管Pa11~Pa1L源极通过Pd0接通VDC,高值区电路无效,低值区电路工作且形成为数字跟随器,用管Pe1和Pd0导通控制低值区(j+1,L)长度L-j-2,j≠L;当k=0~j且j≠L时,管Pe1截止,管Pa11~Pa1L的源极与VDC断开,低值区电路不工作;对j=L,当k≠0时,管Pe1截止,而当k=0时,管Pe1导通,管Pa11~Pa1L全截止,低值区电路无效,高值区电路工作;③Low value area and low gating circuit: The low gating circuit is composed of variable threshold gating PMOS transistors P d1 ~P dL , gating controlled PMOS transistor P e1 and PMOS transistor P d0 ; the source of the transistor P d1 ~P dL-1 The high-pass thresholds of the poles to be transmitted are t h2 ~ t hL respectively, and the low-pass thresholds of the sources of P dL to be transmitted are t / h1 ; the gates of the transistors P d0 ~ P dL are connected to the control signals v /tg0 ~ v /tgL respectively , and P d1 ~ The drain of P dL takes over the gate of P e1 , and the effective input of P d1 ~ P dL is connected to A i ; for each j, j=1 ~ L-1, only one of P d1 ~ P dL-1 is turned on, P dj , the rest of the tubes are cut off, and t hj+1 is selected from t h2 ~ t hL to load the tube P e1 , and j=L, the tube P dL is turned on, and t /h1 is loaded to the tube P e1 ; the tubes P e1 and P d0 are drained The pole takes over the source of P a11 ~P a1L , the source of P e1 and P d0 is connected to V DC ; when k=j+1~L and 0<j<L, the tube P e1 is turned on, and the source of P a11 ~P a1L The pole is connected to V DC through P e1 , and the circuit in the low-value area works; the circuit in the low-value area includes high-threshold PMOS transistors P a11 ~P a1L and series diodes D 12 ~D 1L , and the negative poles of tubes D 12 ~D 1L-1 take over respectively D 13 ~D 1L positive pole, D 1L negative pole connected to D 00 positive pole, connect D 12 ~D 1L and D 00 ~D 0L-1 in series to form 2L-1 series diode series, the high-pass thresholds of tubes P a11 ~P a1L are respectively It is t h1 ~t hL , its effective input is connected to A i , the drains of tubes P a12 ~P a1L are respectively connected to the negative poles of D 12 ~D 1L , and the drain of tube P a11 is connected to the positive pole of D 12 ; when j=0, tube P d0 Turn on, the source of the tubes P a11 ~ P a1L is connected to V DC through P d0 , the circuit in the high value area is invalid, the circuit in the low value area works and forms a digital follower, and the low value area is controlled by the conduction of the tubes P e1 and P d0 (j+1, L) length L-j-2, j≠L; when k=0~j and j≠L, the tube P e1 is cut off, and the sources of the tubes P a11 ~P a1L are disconnected from V DC , The circuit in the low-value area does not work; for j=L, when k≠0, the tube P e1 is cut off, and when k=0, the tube P e1 is turned on, and the tubes P a11 ~ P a1L are all cut off, and the circuit in the low-value area is invalid , circuit work in high value area;

④Si输出电路和Ji输出电路:Si输出电路由CMOS传输门TG0~TGL和恒流源ISi组成,传输门TG1~TGL输入分别接管Pa00~Pa0L-1漏极,TG0输入接管Pa1L漏极,TG0~TGL输出都接恒流源ISi上端,ISi上端作为Si输出,ISi下端接地,TG0~TGL的正控制端和负控制端分别接vtg0~vtgL和v/tg0~v/tgL,二极管导通压降为VDon,对每个j,j=1~L,在TG1~TGL中只有一个TGj导通,Si通过导通的TGj接Pa0j-1漏极,对j=0,Si通过导通的TG0接管Pa1L漏极;选取VDC=LVDon+△,△为K值存储单元电路特性要求补偿的偏移量;④S i output circuit and J i output circuit: S i output circuit is composed of CMOS transmission gate TG 0 ~TG L and constant current source I Si , the input of transmission gate TG 1 ~TG L respectively takes over the drain of P a00 ~P a0L -1 , the input of TG 0 takes over the drain of P a1L , the output of TG 0 ~ TGL is connected to the upper end of the constant current source I Si , the upper end of I Si is used as the output of Si , the lower end of I Si is grounded, the positive control end of TG 0 ~ TG L and the negative control The terminals are respectively connected to v tg0 ~v tgL and v /tg0 ~v /tgL , the diode conduction voltage drop is V Don , for each j, j=1~L, only one TG j among TG 1 ~TG L is turned on , S i connects to the drain of P a0j-1 through the turned-on TG j , for j=0, S i takes over the drain of P a1L through the turned-on TG 0 ; select V DC = LV Don + △, △ is stored as K value The offset required by the unit circuit characteristics;

(注:NMOS管Ntga和PMOS管Ptga的漏极相接、源极也相接,于是构成CMOS传输门TGa,管Ntga和Ptga的栅极分别为传输门TGa的正控制端和负控制端);(Note: The drains of the NMOS transistor N tga and the PMOS transistor P tga are connected, and the source is also connected, thus forming a CMOS transmission gate TG a , and the gates of the transistors N tga and P tga are respectively the positive control of the transmission gate TG a terminal and negative control terminal);

Ji输出电路由PMOS管Pe2和恒流源ICi组成,管Pe2源极接VDC、管Pe2栅极接管Pe0栅极g/hj、管Pe2漏极接恒流源ICi上端,ICi上端作为Ji输出,ICi下端接地,管Pc0栅极接v/tg0,Pc0漏极接Pe0栅极;对j≠0,当k<j时,管Pe0栅极g/hj电压Vg/hj<VDC,管Pe2导通,Ji输出为高电平VDC,表示有借位,当k≥j时,Vg/hj=VDC,管Pe2截止,Ji输出为低电平0,表示无借位;管Pc0源极接直流电压VDC,使j=0时Ji输出为上述表示无借位的电平(注:当j=0时,Pc0导通,Pe0栅极电压Vg/hj等于该直流电压VDC,使管Pe2截止,Ji输出为高电平VDC,表示j=0时无借位),所有恒流源电流方向是由上端流向下端。J i output circuit consists of PMOS tube P e2 and constant current source I Ci , the source of tube P e2 is connected to V DC , the gate of tube P e2 is connected to P e0 gate g /hj , and the drain of tube P e2 is connected to constant current source I The upper end of Ci , the upper end of I Ci is output as J i , the lower end of I Ci is grounded, the gate of P c0 is connected to v /tg0 , the drain of P c0 is connected to the gate of P e0 ; for j≠0, when k<j, the pipe P e0 Gate g /hj voltage V g/hj < V DC , tube P e2 is turned on, J i outputs high level V DC , which means there is a borrow. When k≥j, V g/hj = V DC , tube P e2 When P e2 is cut off, the output of J i is low level 0, indicating no borrow; the source of the tube P c0 is connected to the DC voltage V DC , so that when j=0, the output of J i is the above-mentioned level indicating no borrow (note: when When j=0, P c0 is turned on, and the gate voltage V g/hj of P e0 is equal to the DC voltage V DC , so that the transistor P e2 is cut off, and the output of J i is a high level V DC , indicating that there is no borrow when j=0 ), the current direction of all constant current sources flows from the upper end to the lower end.

4、根据上述技术方案3所述的一种采用带通阈加载技术的K值半减器电路相同特征形成的一种采用带通阈加载技术的K值半加器电路,示如图1,在K值半减器电路图1中,(一)首先,将U1~UL的带通阈分别取为tbL~tb1;㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,无借位取为有进位(包括Ci输出高电平VDC表示无进位,Ci输出低电平0表示有进位),管Pc0源极接直流电压Vd,使j=0时Ci输出为上述表示无进位的电平,VDC-Vd=1.5伏;(注:j=0时,Pc0导通,管Pe0栅极电压Vg/hj等于该直流电压Vd,使管Pe0导通,Ci输出高电平VDC,表示无进位,即直流电压Vd满足j=0时Ci输出电平表示无进位);㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则采用带通阈加载技术的K值半减器电路就成为采用带通阈加载技术的K值半加器电路,即图1成为图2。4, a kind of K value half adder circuit that adopts the K value half adder circuit of band pass threshold loading technology to form according to the same feature of a kind of K value half adder circuit that adopts band pass threshold loading technology described in above-mentioned technical scheme 3, as shown in Fig. 1, In the circuit diagram 1 of the K-value half subtractor, (1) firstly, the band-pass thresholds of U 1 ~ U L are respectively taken as t bL ~ t b1 ; (2) Then, the borrow number J i is taken as the carry number C i , Except when j=0, no borrow is taken as no carry, all borrows are taken as no carry, and no borrow is taken as carry (including C i output high level V DC means no carry, C i output low Level 0 means there is a carry), the source of the tube P c0 is connected to the DC voltage V d , so that when j=0, the C i output is the above-mentioned level indicating no carry, V DC -V d = 1.5 volts; (Note: j = At 0, P c0 is turned on, and the gate voltage V g/hj of the tube P e0 is equal to the DC voltage V d , so that the tube P e0 is turned on, and C i outputs a high level V DC , indicating that there is no carry, that is, the DC voltage V d C i output level represents no carry when j=0 is satisfied); (iii) at last, the half subtractor is taken as a half adder, and A i , B i and S i are taken successively as the summand, the addend and the basic sum, Then the K-value half-adder circuit using the band-pass threshold loading technology becomes a K-value half-adder circuit using the band-pass threshold loading technology, that is, Fig. 1 becomes Fig. 2 .

(注:比较图1、2看出:K值半减器电路图1和K值半加器电路图2结构完全相同,只是参数的改变:①U1~UL的带通阈由tb1~tbL改为tbL~tb1,②Pc0源极接的直流电压由VDC改为Vd,电路各元件和连线完全相同,无丝毫改变,但变量含意按半减器和半加器决定;另外,因Vtn+∣Vtp∣<1.5伏,Vg/hj=Vd时,管Pe0和Pe2导通,Vg/hj=VDC时,管Pe0和Pe2截止)。(Note: Comparing Figures 1 and 2, it can be seen that the structure of the K-value half-adder circuit Figure 1 and the K-value half-adder circuit Figure 2 are exactly the same, but the parameters are changed: ① The band-pass threshold of U 1 to U L is from t b1 to t bL Change to t bL ~ t b1 , ②The DC voltage connected to the source of P c0 is changed from V DC to V d , the components and wiring of the circuit are exactly the same, without any change, but the meaning of the variable is determined by the half subtractor and half adder; In addition, since V tn + |V tp |<1.5 volts, when V g/hj =V d , the tubes P e0 and P e2 are turned on, and when V g/hj =V DC , the tubes P e0 and P e2 are turned off).

本发明还有以下技术特征:The present invention also has the following technical characteristics:

(1)根据上述技术方案3所述的一种采用带通阈加载技术的K值半减器的构建方法形成的一种采用带通阈加载技术的K值半减器电路,示如图1,在图1所示的采用带通阈加载技术的K值半减器电路中,取K=10,则得出一种采用带通阈加载技术的10值半减器电路,示如图3,10值半减器电路包括:控制信号形成电路,高值区和高选通电路,低值区和低选通电路,Si输出电路和Ji输出电路;参看图3,10值半减器具体电路结构描述如下:(1) A kind of K-value half-subtractor circuit adopting band-pass threshold-loading technology formed according to the construction method of a kind of K-value half-subtractor adopting band-pass threshold-loading technology described in above-mentioned technical scheme 3, as shown in Fig. 1 , in the K-value half-subtractor circuit using the band-pass threshold loading technique shown in Figure 1, if K=10, a 10-value half-subtractor circuit using the band-pass threshold loading technique is obtained, as shown in Figure 3 , the 10-value half reducer circuit includes: control signal forming circuit, high value area and high gating circuit, low value area and low gating circuit, S i output circuit and J i output circuit; referring to Fig. 3, 10 value half reduction The specific circuit structure of the device is described as follows:

①控制信号形成电路由逻辑值判别门U0~U9和CMOS非门M0~M9二部分组成,判别门U0~U9分别由区间最小的带通式变阈PMOS管Pb0~Pb9和恒流源I0~I9构成,管Pb0~Pb9的带通阈分别为tb0~tb9,其中tb0=t/h1,tb9=th9,即管Pb0和Pb9分别为区间最小的低通式和高通式变阈PMOS管,管Pb0~Pb9的有效输入都接Bi,管Pb0~Pb9源极接电源VDC,管Pb0~Pb9漏极分别接恒流源I0~I9上端,I0~I9上端分别作为U0~U9输出vtg0~vtg9,恒流源I0~I9下端接地,恒流源电流都是由上端流向下端,vtg0~vtg9分别接非门M0~M9输入,M0~M9输出分别为v/tg0~v/tg9,由此得出互为反相的控制信号vtg0~vtg9和v/tg0~v/tg9,M0~M9工作电压为VDC,对每个Bi输入j,j=0~9,vtg0~vtg9中仅vtgj是高电平,其余输出都是低电平;①The control signal forming circuit is composed of logic value discrimination gates U 0 ~ U 9 and CMOS NOT gates M 0 ~ M 9. The discrimination gates U 0 ~ U 9 are respectively composed of band-pass variable threshold PMOS transistors P b0 ~ P b9 and constant current sources I 0 ~ I 9 are formed, and the band-pass thresholds of tubes P b0 ~ P b9 are t b0 ~ t b9 respectively, where t b0 = t /h1 , t b9 = t h9 , that is, tubes P b0 and P b9 are the low-pass and high-pass variable-threshold PMOS transistors with the smallest interval respectively. The effective inputs of the tubes P b0 ~ P b9 are all connected to Bi, the sources of the tubes P b0 ~ P b9 are connected to the power supply V DC , and the tubes P b0 ~ P The drains of b9 are respectively connected to the upper end of the constant current source I 0 ~ I 9 , and the upper end of I 0 ~ I 9 is respectively used as U 0 ~ U 9 to output v tg0 ~ v tg9 , the lower end of the constant current source I 0 ~ I 9 is grounded, and the constant current source current Both flow from the upper end to the lower end, v tg0 ~ v tg9 are respectively connected to the input of the NOT gate M 0 ~ M 9 , and the outputs of M 0 ~ M 9 are respectively v /tg0 ~ v /tg9 , thus obtaining mutually inverse control signals v tg0 ~v tg9 and v /tg0 ~v /tg9 , the working voltage of M 0 ~M 9 is V DC , input j for each B i , j=0~9, only v tgj among v tg0 ~v tg9 is high level, other outputs are low level;

②高值区和高选通电路:高选通电路由变阈选通PMOS管Pc1~Pc9,选通受控PMOS管Pe0和PMOS管Pc0组成;管Pc1~Pc9源极待传低通阈分别为t/h1~t/h9,管Pc1~Pc9的有效输入接Ai,管Pc0~Pc9栅极分别接控制信号v/tg0~v/tg9,而其漏极都接管Pe0栅极g/hj;对每个Bi输入j,j=1~9,管Pc1~Pc9中只有一个管Pcj导通,其余管截止,于是在t/h1~t/h9中只将t/hj加载到管Pe0,管Pe0源极接VDC,其漏极接管Pa00~Pa08源极;高值区电路包括带通变阈PMOS管Pa00~Pa08和串联二极管D00~D08,管Pa01~Pa08的高通阈依次为th1~th8,管Pa00的低通阈为t/h1,管D00~D07负极各自接管D01~D08正极,管Pa00~Pa08有效输入接Ai,管Pa00~Pa08漏极各自接管D00~D08的负极;Ai输入为k,当k=0~j-1且j≠0时,管Pe0导通,将管Pa00~Pa08源极通过Pe0接通VDC,高值区电路工作,用管Pe0导通控制高值区(0,j-1)长度j-2,j≠0,当k=j~9时,管Pe0截止,管Pa00~Pa08源极与VDC断开,高值区电路不工作;②High value area and high gating circuit: the high gating circuit is composed of variable threshold gating PMOS transistors P c1 ~ P c9 , gating controlled PMOS transistor P e0 and PMOS transistor P c0 ; the sources of the transistors P c1 ~ P c9 are waiting The low-pass thresholds are respectively t /h1 ~ t /h9 , the effective input of the tubes P c1 ~ P c9 is connected to A i , the gates of the tubes P c0 ~ P c9 are respectively connected to the control signal v /tg0 ~ v /tg9 , and the drain All poles take over P e0 gate g /hj ; input j for each B i , j=1~9, only one tube P cj is turned on among the tubes P c1 ~P c9 , and the other tubes are cut off, so at t /h1 ~ In t /h9 , only t /hj is loaded to the tube P e0 , the source of the tube P e0 is connected to V DC , and its drain is connected to the source of P a00 ~ P a08 ; the circuit in the high value area includes PMOS tubes P a00 ~ P a00 ~ P a08 and diodes D 00 ~ D 08 in series, the high-pass thresholds of tubes P a01 ~ P a08 are t h1 ~ t h8 in turn, the low-pass threshold of tube P a00 is t / h1 , and the negative poles of tubes D 00 ~ D 07 respectively take over D 01 ~ D 08 are positive, the effective input of tubes P a00 ~ P a08 is connected to A i , and the drains of tubes P a00 ~ P a08 are respectively connected to the negative poles of D 00 ~ D 08 ; the input of A i is k, when k = 0 ~ j-1 And when j≠0, the tube P e0 is turned on, the sources of the tubes P a00 ~ P a08 are connected to V DC through P e0 , the circuit in the high-value area works, and the tube P e0 is turned on to control the high-value area (0, j- 1) The length j-2, j≠0, when k=j~9, the tube P e0 is cut off, the source of the tubes P a00 ~P a08 is disconnected from V DC , and the circuit in the high value area does not work;

③低值区和低选通电路:低选通电路由变阈选通PMOS管Pd1~Pd9,选通受控PMOS管Pe1和PMOS管Pd0组成;管Pd1~Pd8源极待传高通阈分别为th2~th9,Pd9源极待传低通阈为t/h1;管Pd0~Pd9栅极分别接控制信号v/tg0~v/tg9,管Pd1~Pd9漏极接管Pe1栅极,管Pd1~Pd9有效输入接Ai;对每个j,j=1~8,管Pd1~Pd8中只有一管Pdj导通,其余管截止,在th2~th9中选取thj+1加载到管Pe1,而j=9,管Pd9导通,t/h1加载到管Pe1;管Pe1和Pd0漏极接管Pa11~Pa19源极,管Pe1和Pd0源极接VDC;当k=j+1~9且0<j<9时,管Pe1导通,将管Pa11~Pa19源极通过Pe1接通VDC,低值区电路工作;低值区电路包括带通变阈PMOS管Pa11~Pa19和串联二极管D12~D19,管D12~D18负极各自接管D13~D19正极,D19负极接D00正极,将D12~D19和D00~D08串联,组成17个串联二极管序列,管Pa11~Pa19的高通阈各自为th1~th9,其有效输入接Ai,管Pa12~Pa19漏极各自接管D12~D19负极,管Pa11漏极接D12正极;当j=0时,管Pd0导通,管Pa11~Pa19源极通过Pd0接通VDC,高值区电路无效,低值区电路工作且形成为数字跟随器,用管Pe1和Pd0导通控制低值区(j+1,9)长度9-j-2,j≠9;当k=0~j且j≠9时,管Pe1截止,管Pa11~Pa19的源极与VDC断开,低值区电路不工作;对j=9,当k≠0时,管Pe1截止,而当k=0时,管Pe1导通,管Pa11~Pa19全截止,低值区电路无效,高值区电路工作;③Low value area and low gating circuit: The low gating circuit is composed of variable threshold gating PMOS transistors P d1 ~ P d9 , gating controlled PMOS transistor P e1 and PMOS transistor P d0 ; the sources of the transistors P d1 ~ P d8 are waiting The high-pass thresholds for transmission are t h2 ~ t h9 , and the low-pass thresholds for P d9 sources to be transmitted are t / h1 ; the gates of the tubes P d0 ~ P d9 are respectively connected to the control signal v /tg0 ~ v /tg9 , and the tubes P d1 ~ P The drain of d9 is connected to the gate of P e1 , and the effective input of the tubes P d1 ~ P d9 is connected to A i ; for each j, j=1 ~ 8, only one tube P dj of the tubes P d1 ~ P d8 is turned on, and the other tubes are cut off , select t hj+1 from t h2 to t h9 to load to the tube P e1 , and j=9, the tube P d9 is turned on, and t /h1 is loaded to the tube P e1 ; the drains of the tubes P e1 and P d0 take over P a11 ~P a19 source, the source of the tube P e1 and P d0 is connected to V DC ; when k=j+1~9 and 0<j<9, the tube P e1 is turned on, and the source of the tube P a11 ~P a19 is passed through When P e1 is connected to V DC , the circuit in the low-value area works; the circuit in the low-value area includes PMOS transistors P a11 ~ P a19 with pass-through thresholds and series diodes D 12 ~ D 19 , and the negative poles of tubes D 12 ~ D 18 respectively take over D 13 ~ The positive pole of D 19 , the negative pole of D 19 is connected to the positive pole of D 00 , and D 12 ~ D 19 and D 00 ~ D 08 are connected in series to form 17 series diode sequences. The high-pass thresholds of tubes P a11 ~ P a19 are t h1 ~ t h9 respectively, Its effective input is connected to A i , the drains of the tubes P a12 ~ P a19 are respectively connected to the negative poles of D 12 ~ D 19 , and the drain of the tube P a11 is connected to the positive pole of D 12 ; when j=0, the tube P d0 is turned on, and the tubes P a11 ~ The source of P a19 is connected to V DC through P d0 , the circuit in the high value area is invalid, the circuit in the low value area works and forms a digital follower, and the conduction of the tubes P e1 and P d0 is used to control the low value area (j+1, 9) Length 9-j-2, j≠9; when k=0~j and j≠9, the tube P e1 is cut off, the sources of the tubes P a11 ~ P a19 are disconnected from V DC , and the circuit in the low value area does not work; For j=9, when k≠0, the tube P e1 is cut off, and when k=0, the tube P e1 is turned on, the tubes P a11 to P a19 are all cut off, the circuit in the low value area is invalid, and the circuit in the high value area works;

④Si输出电路和Ji输出电路:Si输出电路由CMOS传输门TG0~TG9和恒流源ISi组成,传输门TG1~TG9输入分别接管Pa00~Pa08漏极,TG0输入接管Pa19漏极,TG0~TG9输出都接恒流源ISi上端,ISi上端作为Si输出,ISi下端接地,TG0~TG9的正控制端和负控制端分别接vtg0~vtg9和v/tg0~v/tg9,二极管导通压降为VDon,在TG1~TG9中,对每个j,j=1~9,只有一个TGj导通,Si通过导通的TGj接Pa0j-1漏极,对j=0,Si通过导通的TG0接管Pa19漏极;选取VDC=9VDon+△,△为K值存储单元电路特性要求补偿的偏移量;④S i output circuit and J i output circuit: S i output circuit is composed of CMOS transmission gate TG 0 ~ TG 9 and constant current source I Si , the input of transmission gate TG 1 ~ TG 9 respectively takes over the drain of P a00 ~ P a08 , TG The 0 input takes over the drain of P a19 , the outputs of TG 0 ~ TG 9 are all connected to the upper end of the constant current source I Si , the upper end of I Si is used as the output of Si , the lower end of I Si is grounded, and the positive control end and negative control end of TG 0 ~ TG 9 are respectively Connect v tg0 ~ v tg9 and v /tg0 ~ v /tg9 , the diode conduction voltage drop is V Don , in TG 1 ~ TG 9 , for each j, j=1 ~ 9, only one TG j is turned on, S i connects to the drain of P a0j-1 through the turned-on TG j , for j=0, S i takes over the drain of P a19 through the turned-on TG 0 ; select V DC =9V Don + △, △ is the K value storage unit The circuit characteristics require the offset to be compensated;

Ji输出电路由PMOS管Pe2和恒流源ICi组成,管Pe2源极接VDC、管Pe2栅极接管Pe0栅极g/hj、管Pe2漏极接恒流源ICi上端,ICi上端作为Ji输出,ICi下端接地,管Pc0栅极接v/tg0,Pc0漏极接Pe0栅极;对j≠0,当k<j时,管Pe0栅极g/hj电压Vg/hj<VDC,管Pe2导通,Ji输出为高电平VDC,表示有借位,当k≥j时,Vg/hj=VDC,管Pe2截止,Ji输出为低电平0,表示无借位;管Pc0源极接直流电压VDC,使j=0时Ji输出为上述表示无借位的电平(也就是使j=0时Ji输出为低电平0);所有恒流源电流方向是由上端流向下端。J i output circuit consists of PMOS tube P e2 and constant current source I Ci , the source of tube P e2 is connected to V DC , the gate of tube P e2 is connected to P e0 gate g /hj , and the drain of tube P e2 is connected to constant current source I The upper end of Ci , the upper end of I Ci is output as J i , the lower end of I Ci is grounded, the gate of P c0 is connected to v /tg0 , the drain of P c0 is connected to the gate of P e0 ; for j≠0, when k<j, the pipe P e0 Gate g /hj voltage V g/hj < V DC , tube P e2 is turned on, J i outputs high level V DC , which means there is a borrow. When k≥j, V g/hj = V DC , tube P e2 When P e2 is cut off, the output of J i is low level 0, indicating that there is no borrow; the source of the tube P c0 is connected to the DC voltage V DC , so that when j=0, the output of J i is the above-mentioned level indicating no borrow (that is, to use When j=0, the output of J i is low level (0); the current direction of all constant current sources is from the upper end to the lower end.

(2)、根据上述技术方案(1)所述的一种采用带通阈加载技术的10值半减器电路相同特征形成的一种采用带通阈加载技术的10值半加器电路,示如图3,在图3所示的采用带通阈加载技术的10值半减器电路中,(一)首先,将U1~U9的带通阈分别取为tb9~tb1;㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,无借位取为有进位,管Pc0源极接直流电压Vd,使j=0时Ci输出为上述表示无进位的电平,VDC-Vd=1.5伏;㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则采用带通阈加载技术的10值半减器电路就成为采用带通阈加载技术的10值半加器电路,即图3就成为图4。(2), a kind of 10-value half-adder circuit that adopts the band-pass threshold loading technique that adopts the 10-value half-adder circuit of the band-pass threshold loading technique according to the above-mentioned technical scheme (1) described in the same feature, shows As shown in Figure 3, in the 10-value half-subtractor circuit using the band-pass threshold loading technique shown in Figure 3, (1) First, the band-pass thresholds of U 1 to U 9 are respectively taken as t b9 to t b1 ; (ii) Next, take the number of borrows J i as the number of carries C i , except that when j=0, no borrows are taken as no carry, all those with borrows are taken as no carry, and those without borrows are taken as have a carry, regardless of P The source of c0 is connected to the DC voltage V d , so that when j=0, the C i output is the above-mentioned level indicating no carry, V DC -V d = 1.5 volts; (3) Finally, the half subtractor is used as a half adder, and A i , B i and S i are successively taken as the summand, the addend and the basic sum, then the 10-value half-subtractor circuit using the band-pass threshold loading technology becomes a 10-value half-adder circuit using the band-pass threshold loading technology, That is, Figure 3 becomes Figure 4.

(注:比较图3和图4看出:10值半减器电路和10值半加器电路结构完全相同,只是参数的改变:①U1~U9的带通阈由tb1~tb9改为tb9~tb1,②Pc0源极接的直流电压由VDC改为Vd,电路各元件和连线完全相同,无丝毫改变,变量含意按半减器和半加器决定;因Vtn+∣Vtp∣<1.5伏,管Pe0栅极电压Vg/hj=Vd时,管Pe0导通,Vg/hj=VDC时,管Pe0截止;另外,Ji输出高电平VDC表示有借位取为Ci输出高电平VDC表示无进位,Ji输出低电平0表示无借位取为Ci输出低电平0表示有进位)。(Note: Comparing Figure 3 and Figure 4, it can be seen that the structure of the 10-value half-adder circuit and the 10-value half-adder circuit are exactly the same, but the parameters are changed: ① The band-pass threshold of U 1 ~ U 9 is changed from t b1 ~ t b9 t b9 ~ t b1 , ②The DC voltage connected to the source of P c0 is changed from V DC to V d . tn +∣V tp ∣<1.5 volts, when the gate voltage of the tube P e0 is V g/hj =V d , the tube P e0 is turned on, and when V g/hj =V DC , the tube P e0 is turned off; in addition, J i outputs High level V DC indicates that there is a borrow, and C i outputs high level V DC , indicating that there is no carry, J i outputs low level 0, indicating that there is no borrow, and C i outputs low level 0, indicating that there is a carry).

至今K值信息存储研究的比较多,K值信息运算研究的比较少,其原因在于K值信息运算电路都是按常规基于K值门组成的K值组合逻辑电路的实现方法,其难度十分大,结构十分复杂;①一般信息运算和信息处理各阶段,都要求管的阈值特性有所不同,常规变阈方法已不符合需要,本发明采用带通阈加载技术,按信息运算和信息处理各阶段的需求,分阶段将不同阶段所需带通阈值加载到PMOS管中,使PMOS管有随时可变的带通阈值,这是实现K值信息运算和信息处理的新方法和新思路;②在带通阈加载技术基础上,在本发明分析K值半减器和K值半加器的特征和结构的一致性,因K值半减器和半加器有相同的高值区和低值区,其特征统一,采用带通阈加载技术,二种电路可归为一种电路统一设计,且避开采用K值组合逻辑门电路实现的传统思维方式,电路结构极大简化;K值半减器和K值半加器是实现K值加减运算的重要器件,有了K值半减器和K值半加器,K值运算的实现就很容易,对混沌加密方法和加密电路中K值信息运算和信息处理提供良好基础。So far, there have been many researches on K-value information storage, but K-value information calculation research is relatively small. The reason is that the K-value information calculation circuits are all based on the conventional realization method of K-value combinational logic circuits composed of K-value gates, which is very difficult. , the structure is very complicated; ① the threshold characteristics of the tubes are required to be different in each stage of general information calculation and information processing, and the conventional variable threshold method does not meet the needs. According to the requirements of the stages, the band-pass thresholds required for different stages are loaded into the PMOS tubes in stages, so that the PMOS tubes have a band-pass threshold that can be changed at any time. This is a new method and new idea to realize K value information calculation and information processing;② On the basis of the band-pass threshold loading technology, the present invention analyzes the characteristics and structural consistency of the K value half subtractor and the K value half adder, because the K value half subtractor and the half adder have the same high value area and low value area, its characteristics are unified, and the band-pass threshold loading technology is adopted. The two circuits can be classified into one circuit unified design, and avoid the traditional way of thinking realized by using K-value combinational logic gate circuits, and the circuit structure is greatly simplified; K-value The half subtractor and the K value half adder are important devices to realize the addition and subtraction of the K value. With the K value half subtractor and the K value half adder, the realization of the K value operation is very easy. The chaotic encryption method and encryption circuit Provide a good foundation for medium K value information calculation and information processing.

附图说明Description of drawings

图1.为本发明的一种采用带通阈加载技术的K值半减器电路图;Fig. 1. is a kind of K value half reducer circuit diagram that adopts band-pass threshold loading technology of the present invention;

图2.为本发明的一种采用带通阈加载技术的K值半加器电路图;Fig. 2. is a kind of K value half adder circuit diagram that adopts band-pass threshold loading technology of the present invention;

图3.为本发明的一种采用带通阈加载技术的10值半减器电路图;Fig. 3. is a kind of 10 value half subtractor circuit diagram that adopts band-pass threshold loading technology of the present invention;

图4.为本发明的一种采用带通阈加载技术的10值半加器电路图;Fig. 4. is a kind of 10 value half adder circuit diagram that adopts band-pass threshold loading technology of the present invention;

图5.为本发明相关的一种PMOS管带通变阈电路图和带通式变阈PMOS管符号图;Fig. 5. is a kind of PMOS tube band-pass variable threshold circuit diagram and band-pass type variable threshold PMOS tube symbol diagram related to the present invention;

图6.为本发明相关的一种PMOS管高通变阈电路图和高通式变阈PMOS管符号图;Fig. 6. is a kind of PMOS tube high-pass variable threshold circuit diagram and high-pass type variable threshold PMOS tube symbol diagram related to the present invention;

图7.为本发明相关的一种PMOS管低通变阈电路图和低通式变阈PMOS管符号图;Fig. 7. is a kind of PMOS tube low-pass variable threshold circuit diagram and low-pass type variable threshold PMOS tube symbol diagram related to the present invention;

图8.为本发明相关的一种变阈选通PMOS管和选通受控PMOS管及其符号图;Fig. 8. is a kind of variable-threshold gating PMOS transistor and gating-controlled PMOS transistor and its symbol diagram related to the present invention;

图9.为已有的一种多输出精密镜像恒流源电路图和符号图;Figure 9 is a circuit diagram and symbol diagram of an existing multi-output precision mirror constant current source;

图10.为本发明的10值半减器电路在180~410μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ji和g/hjFig. 10. is the working waveform diagram of the 10-value half reducer circuit of the present invention during 180-410 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , S i , J i and g /hj ;

图11.为本发明的10值半减器电路在180~240μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ji和g/hjFig. 11. is the working waveform diagram of the 10-value half subtractor circuit of the present invention during 180-240 μs, and the order of signal voltage waveforms from top to bottom is: A i , B i , S i , J i and g /hj ;

图12.为本发明的10值半减器电路在240~300μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ji和g/hjFig. 12. is the working waveform diagram of the 10-valued half reducer circuit of the present invention during 240-300 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , S i , J i and g /hj ;

图13.为本发明的10值半减器电路在300~360μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ji和g/hjFig. 13. is the working waveform diagram of the 10-value half reducer circuit of the present invention during 300-360 μs, and the order of signal voltage waveforms from top to bottom is: A i , B i , S i , J i and g /hj ;

图14.为本发明的10值半减器电路在350~410μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ji和g/hjFig. 14. is the working waveform diagram of the 10-value half subtractor circuit of the present invention during 350-410 μs, and the order of signal voltage waveforms from top to bottom is: A i , B i , S i , J i and g /hj ;

图15.为本发明的10值半减器在180~410μs期间电路控制信号波形图,信号电压波形从上到下先后次序是:Ai、Bi、vtg9、vtg8、vtg7、vtg6、vtg5、vtg4、vtg3、vtg2、vtg1、vtg0Fig. 15 is a circuit control signal waveform diagram of the 10-value half reducer of the present invention during 180-410 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , v tg9 , v tg8 , v tg7 , v tg6 , v tg5 , v tg4 , v tg3 , v tg2 , v tg1 , v tg0 ;

图16.为本发明的10值半加器电路在180~410μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ci和g/hjFig. 16. is the working waveform diagram of the 10-valued half adder circuit of the present invention during 180-410 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , S i , C i and g /hj ;

图17.为本发明的10值半加器电路在180~240μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ci和g/hjFig. 17 is the working waveform diagram of the 10-valued half-adder circuit of the present invention during 180-240 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , S i , C i and g /hj ;

图18.为本发明的10值半加器电路在240~300μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ci和g/hjFig. 18. is the working waveform diagram of the 10-value half adder circuit of the present invention during 240-300 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , S i , C i and g /hj ;

图19.为本发明的10值半加器电路在300~360μs期间的工作波形图,信号电压波形从上到下先后次序是:Ai、Bi、Si、Ci和g/hjFig. 19. is the working waveform diagram of the 10-valued half adder circuit of the present invention during 300-360 μs, and the order of the signal voltage waveforms from top to bottom is: A i , B i , S i , C i and g /hj ;

图20.为本发明的10值半加器电路在350~410μs期间的工作波形图,信号电压电压波形从上到下先后次序是:Ai、Bi、Si、Ci和g/hjFig. 20 is the working waveform diagram of the 10-valued half adder circuit of the present invention during 350-410 μs, the signal voltage waveforms are in the order from top to bottom: A i , B i , S i , C i and g /hj ;

图21.为本发明的10值半加器在180~410μs期间电路控制信号波形图,信号电压波形从上到下先后次序是:Ai、Bi、vtg9、vtg8、vtg7、vtg6、vtg5、vtg4、vtg3、vtg2、vtg1、vtg0Fig. 21 is a circuit control signal waveform diagram of the 10-valued half adder of the present invention during 180-410 μs. The order of signal voltage waveforms from top to bottom is: A i , B i , v tg9 , v tg8 , v tg7 , v tg6 , v tg5 , v tg4 , v tg3 , v tg2 , v tg1 , v tg0 ;

具体实施方式detailed description

下面通过实施例对本发明作进一步的说明:Below by embodiment the present invention will be further described:

实施例1:本发明的K值半减器和半加器构建方法特征相同的证明:Embodiment 1: the proof that K value half subtractor of the present invention and half adder construction method feature are identical:

(1)K值半减器特征:Ai为被减数,Bi为减数,Si为本为差,Ji为借位数,令Ai=k,Bi=j,(1) K value half subtractor feature: A i is the minuend, B i is the subtrahend, S i is the difference, and J i is the number of borrowings, so that A i =k, B i =j,

对确定的j=1~L,当k<j时,Si=K+k-j>k,即Si>Ai;当k=j时,Si=0;当k>j且j≠L时,Si=k-j<k,即Si<Ai,当j=L时,不存在k>j;对确定的j=0,Si=Ai;对j≠0,当k<j时,有借位,当k≥j时,无借位,对j=0,无借位;For a certain j=1~L, when k<j, S i =K+k-j>k, that is, S i >A i ; when k=j, S i =0; when k>j and j When ≠L, S i =k-j<k, that is, S i <A i , when j=L, there is no k>j; for certain j=0, S i =A i ; for j≠0, When k<j, there is a borrow, when k≥j, there is no borrow, and for j=0, there is no borrow;

(2)K值半加器特征:Ai为被加数,Bi为加数,Si为本为和,Ci为进位数,令Ai=k,Bi=n,对确定的n,n=1~L,当k+n<K时,Si=k+n>k,即Si>Ai,当k+n=K时,Si=0,当k+n>K且n≠1时,Si=k+n-K<k,即Si<Ai,当n=1时,不存在k+n>K;对确定的n=0,Si=Ai;对n≠0,当k+n<K时,无进位,当k+n≥K时,有进位,对n=0,无进位;(2) K value half-adder feature: A i is the summand, B i is the addend, S i is originally and, C i is the carry number, make A i =k, B i =n, to definite n, n=1~L, when k+n<K, S i =k+n>k, that is, S i >A i , when k+n=K, S i =0, when k+n> When K and n≠1, S i =k+n-K<k, that is, S i <A i , when n=1, there is no k+n>K; for a certain n=0, S i =A i ; for n≠0, when k+n<K, there is no carry, when k+n≥K, there is carry, for n=0, there is no carry;

在(1)K值半减器特征中,对j=1~L,取j=K-n,对j=0,取n=0,除j=0,无借位取为无进位之外,将全部无借位取为有进位,有借位取为无进位,于是由(1)得出与(2)K值半加器完全相同的结果:对确定的n,n=1~L,当k<K-n时,Si=k+n>k,即Si>Ai,当k=K-n时,Si=0,当k>K-n且n≠1时,Si=k-K+n<k,即Si<Ai,当n=1时,不存在k+n>K;对确定的n=0,Si=Ai;对n≠0,当k<K-n时,无进位,当k≥K-n时,有进位,对n=0,无进位;In (1) K-value half reducer feature, for j=1~L, take j=K-n, for j=0, take n=0, except that j=0, no borrow is taken as no carry , all no borrows are taken as carry, and borrows are taken as no carry, so (1) draws the same result as (2) K value half adder: to the determined n, n=1~L , when k<K-n, S i =k+n>k, that is, S i >A i , when k=K-n, S i =0, when k>K-n and n≠1, S i =k-K+n<k, that is, S i <A i , when n=1, k+n>K does not exist; for a certain n=0, S i =A i ; for n≠0, When k<K-n, there is no carry, when k≥K-n, there is carry, for n=0, there is no carry;

在(2)K值半加器特征中,对n=1~L,取n=K-j,对n=0,取j=0,除n=0,无进位取为无借位之外,将全部无进位取为有借位,有进位取为无借位,由(2)得出与(1)K值半减器完全相同的结果;In (2) K-value half adder feature, to n=1~L, get n=K-j, to n=0, get j=0, except n=0, no carry is taken as no borrow , all no carry is taken as having a borrow, and all carry is taken as no borrow, and (2) draws the same result as (1) K value half reducer;

上段描述看出:K值半减器的特征和K值半加器的特征一致,因此在K值半减器的构建方法中:(一)首先,将U1~UL的带通阈依次取为tbL~tb1,体现对j=1~L,取n=K-j,㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,将无借位取为有进位,㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则K值半减器的构建方法就形成为K值半加器的构建方法。It can be seen from the above description that the characteristics of the K-value half-subtractor are consistent with those of the K-value half-adder. Therefore, in the construction method of the K-value half-subtractor: (1) First, the bandpass thresholds of U 1 ~ U L are sequentially Take it as t bL ~t b1 , which means that for j=1~L, take n=K-j, (2) Next, take the borrow number J i as the carry number C i , and take no borrow when j=0 In addition to carry, take all borrows as no carry, and take no borrow as carry, (iii) finally, take the half subtractor as a half adder, and take A i , B i and S i as the added Number, addend and basic sum, then the construction method of K value half adder just forms the construction method of K value half adder.

实施例2:K值半减器Si输出情况说明:Embodiment 2: Description of the output of the K value half reducer S i :

当j≠0且k=1~j-1时,管Pe0导通,管Pe0漏极电压VPe0=VDC,低值区电路无效;当k=j-1时,管Pa0j-1导通,Si通过TGj和Pa0j-1接VPe0,Si输出电压VSi=VDC,即Si=L;当k=j-2时,管Pa0j-2、D0j-1导通,管Pa0j-1截止,Si通过TGj、Pa0j-2、D0j-1接VPe0,Si和VPe0间有1个二极管D0j-1,VSi=VDC-VDon,即Si=L-1;当k=j-3时,管Pa0j-3、D0j-1、D0j-2导通,管Pa0j-1和Pa0j-2截止,Si通过TGj、Pa0j-3、D0j-1、D0j-2接VPe0,Si和VPe0间有2个二极管,VSi=VDC-2VDon,即Si=L-2;‥…,当k=1时,管Pa01、D02~D0j-1导通,管Pa02~Pa0j-1截止,Si通过TGj、Pa01、D02~D0j-1接VPe0,Si和VPe0间有(j-2)个二极管,VSi=VDC-(j-2)VDon,即Si=L-j+2;当k=0时,管Pa00、D01~D0j-1导通,管Pa01~Pa0j-1截止,Si通过TGj、Pa00、D01~D0j-1接VPe0,Si和VPe0间有(j-1)个二极管,VSi=VDC-(j-1)VDon,即Si=L-j+1;When j≠0 and k=1~j-1, the tube P e0 is turned on, the drain voltage of the tube P e0 is V Pe0 =V DC , and the circuit in the low value area is invalid; when k=j-1, the tube P a0j- 1 is turned on, S i is connected to V Pe0 through TG j and P a0j-1 , and S i outputs voltage V Si =V DC , that is, S i =L; when k=j-2, tubes P a0j-2 and D 0j -1 is turned on, the tube P a0j-1 is cut off, Si is connected to V Pe0 through TG j , P a0j-2 and D 0j-1 , there is a diode D 0j-1 between Si and V Pe0 , V SiV DC -V Don , that is, S i =L-1; when k=j-3, the tubes P a0j-3 , D 0j-1 , and D 0j-2 are turned on, and the tubes P a0j-1 and P a0j-2 are cut off , S i is connected to V Pe0 through TG j , P a0j-3 , D 0j-1 , D 0j-2 , there are two diodes between S i and V Pe0 , V Si =V DC -2V Don , that is, S i =L -2; ‥..., when k=1, the tubes P a01 , D 02 ~D 0j-1 are on, the tubes P a02 ~P a0j-1 are off, and S i passes through TG j , P a01 , D 02 ~D 0j -1 is connected to V Pe0 , there are ( j -2) diodes between Si and V Pe0 , V Si = V DC - (j-2) V Don , that is, Si = L- j +2; when k = 0 , the tubes P a00 , D 01 ~D 0j-1 are on, the tubes P a01 ~P a0j-1 are off, S i is connected to V Pe0 through TG j , P a00 , D 01 ~D 0j-1 , S i and V Pe0 There are (j-1) diodes between them, V Si = V DC - (j-1) V Don , that is, S i = L-j+1;

当k=j+1~L且0<j<L时,管Pe1导通,Pe1漏极电压VPe1=VDC,管Pe0截止,仅低值区电路工作,高值区电路不工作,当k=L时,管Pa1L、D00~D0j-1导通,Si通过TGj、Pa1L、D00~D0j-1接VPe1,Si和VPe1间有j个二极管,VSi=VDC-jVDon,,即Si=L-j;当k=L-1时,管Pa1L-1、D1L、D00~D0j-1导通,管Pa1L截止,Si通过TGj、Pa1L-1、D1L、D00~D0j-1接VPe1,Si和VPe1间有(j+1)个二极管,VSi=VDC-(j+1)VDon,即Si=L-(j+1);当k=L-2时,管Pa1L-2、D1L-1、D1L、D00~D0j-1导通,管Pa1L-1、Pa1L截止,Si通过TGj、Pa1L-2、D1L-1、D1L、D00~D0j-1接VPe1,Si和VPe1间有(j+2)个二极管,VSi=VDC-(j+2)VDon,即Si=L-(j+2);‥‥‥‥,当k=j+2时,管Pa1j+2、D1j+3~D1L、D00~D0j-1导通,管Pa1j+3~Pa1L截止,Si通过Pa1j+2、D1j+3~D1L、D00~D0j-1接VPe1,Si和VPe1间有(L-2)个二极管,VSi=VDC-(L-2)VDon=2VDon+△,即Si=2;当k=j+1时,管Pa1j+1、D1j+2~D1L、D00~D0j-1导通,管Pa1j+2~Pa1L截止,Si通过Pa1j+1、D1j+2~D1L、D00~D0j-1接VPe1,Si和VPe1间有(L-1)个二极管,VSi=VDC-(L-1)VDon=VDon+△,即Si=1(注:当j=L时,该段落已失去作用,应全部栅去,仅有前段落‘j≠0且k=1~j-1’,前段落末为:当k=0时,VSi=VDC-(L-1)VDon=VDon+△,即Si=1。为了简化电路,还可栅去低选通电路管Pd0~PdL和Pe1,将管Pa11~Pa1L源极接到VDC,不影响上述j≠0且k≠j的Si输出情况,当k=j时,Si通过导通的Pa1j、D1j+1~D1L、D00~D0j-1接VPe1,Si和VPe1间有L个二极管,VSi=VDC-LVDon=△,即Si的0电平VSi(0)=△,因△很小,实际上也可行)。When k=j+1~L and 0<j<L, the tube P e1 is turned on, the drain voltage of P e1 is V Pe1 =V DC , the tube P e0 is cut off, only the circuit in the low value area works, and the circuit in the high value area does not work, when k=L, the tubes P a1L , D 00 ~D 0j-1 are turned on, Si is connected to V Pe1 through TG j , P a1L , D 00 ~D 0j-1 , and there is j between Si and V Pe1 Diodes, V Si =V DC -jV Don , that is, S i =L-j; when k=L-1, the tubes P a1L-1 , D 1L , D 00 ~D 0j-1 are turned on, and the tube P a1L is cut off, Si is connected to V Pe1 through TG j , P a1L -1 , D 1L , D 00 ~D 0j-1 , there are ( j +1) diodes between Si and V Pe1 , V Si =V DC -( j+1)V Don , that is, S i =L-(j+1); when k=L-2, the tubes P a1L-2 , D 1L-1 , D 1L , D 00 ~D 0j-1 are turned on , the tubes P a1L-1 and P a1L are cut off, S i is connected to V Pe1 through TG j , P a1L-2 , D 1L-1 , D 1L , D 00 ~D 0j-1 , there is (j +2) diodes, V Si =V DC- (j+2)V Don , that is, S i =L-(j+2);‥‥‥‥, when k=j+2, the tube P a1j+2 , D 1j+3 ~D 1L , D 00 ~D 0j-1 conduction, pipe P a1j+3 ~P a1L cuts off, S i passes through P a1j+2 , D 1j+3 ~D 1L , D 00 ~D 0j -1 is connected to V Pe1 , there are (L-2) diodes between Si and V Pe1 , V Si = V DC - (L-2) V Don = 2V Don + △, that is, Si = 2; when k = j When +1, the tubes P a1j+1 , D 1j+2 ~D 1L , D 00 ~D 0j-1 are on, the tubes P a1j+2 ~P a1L are off, and S i passes through P a1j+1 , D 1j+2 ~D 1L , D 00 ~D 0j-1 are connected to V Pe1 , there are (L-1) diodes between Si and V Pe1 , V Si =V DC -(L-1)V Don =V Don +△, namely S i = 1 (Note: when j=L, this paragraph has lost its effect and should be completely deleted, only the previous paragraph 'j≠0 and k=1~j-1', the end of the previous paragraph is: when k= When 0, V Si = V DC - (L - 1) V Don = V Don + △, that is, S i = 1. In order to simplify the circuit, the low gate circuit transistors P d0 ~ P dL and P e1 can also be removed , connect the sources of the transistors P a11 ~ P a1L to V DC , which does not affect the above-mentioned Si output situation where j0 and k≠ j . ~D 1L , D 00 ~D 0j-1 are connected to V Pe1 , there are L diodes between S i and V Pe1 , V Si =V DC -LV Don =△, that is, the 0 level of S i V Si (0)= △, because △ is very small, it is actually feasible).

此外,当k=j时,管Pe0和Pe1截止,Si与VDC断开,VSi=0,即Si=0。In addition, when k=j, the tubes P e0 and P e1 are cut off, S i is disconnected from V DC , V Si =0, that is, S i =0.

当j=0时,Si通过导通的TG0接Pa1L的漏极,高值区电路失效,低值区电路成为数字跟随器,实现Si=Ai,当Ai依次为0~L时,Si依次为0~L;按上述相同方法分析Si输出情况:参考上述k=j+1~L段落,栅去其中D00~D0j-1,取j=0,例如,当k=L时,管Pa1L、Si通过TG0、Pa1L接VPe1,Si和VPe1间有0个二极管,VSi=VDC-0VDon,即Si=L,‥…,不再赘述;或参考专利201310211023.2(任意K值和8值DRAM的写入电路和读出电路)。When j=0, S i is connected to the drain of P a1L through the turned-on TG 0 , the circuit in the high-value area becomes invalid, and the circuit in the low-value area becomes a digital follower, realizing S i =A i , when A i is 0~ When L, S i is 0~L in turn; analyze the output of S i according to the same method as above: refer to the above k=j+1~L paragraphs, remove the D 00 ~D 0j-1 among them, and take j=0, for example, When k=L, the tubes P a1L and S i are connected to V Pe1 through TG 0 and P a1L , there is 0 diode between S i and V Pe1 , V Si =V DC -0V Don , that is, S i =L, ‥… , no more details; or refer to patent 201310211023.2 (writing circuit and reading circuit of arbitrary K value and 8-value DRAM).

实施例3:本发明的PMOS管带通、高通和低通变阈电路功能的说明:Embodiment 3: Description of the PMOS transistor band-pass, high-pass and low-pass variable threshold circuit functions of the present invention:

参考[1]专利201110291038.5‘PMOS管带通-带阻和高通-低通变阈电路’(发明内容,附图和实施例1等),专利[2]201110280921.4‘嵌入DRAM存储矩阵的8值存储单元的8值信息刷新方法及相关电路’(附图和实施例4等),按本发明的特点变阈电路描述如下:Refer to [1] patent 201110291038.5 'PMOS tube band-pass-band-resistance and high-pass-low-pass variable threshold circuit' (invention content, drawings and embodiment 1, etc.), patent [2] 201110280921.4' 8-value storage embedded in DRAM storage matrix The 8-value information refreshing method of unit and related circuit' (accompanying drawing and embodiment 4 etc.), according to the characteristic variable threshold circuit of the present invention, describe as follows:

〔1〕PMOS管带通变阈电路:将专利[1]或[2]图6重画到本发明专利图5,其中PMOS管Q2、Q4、Q5、QB1依次改写为P2、P4、P5、Pb1,NMOS管Q1、Q3依次改写为N1、N3,Vx改写为Vin,记vbx1=Vex1+VDC=Vref1+Vtn1+∣Vtp2∣,vbx0=Vex0+VDC=Vref0-Vtn3-∣Vtp4∣;管N1和P4栅极接输入in,输入in电压为Vin,管N3和P2栅极分别接参考电压Vref0和Vref1;首先分析管N1、P2支路,仅当管N1和P2的二栅压差Vg1-Vg2=Vin-Vref1=Vgs1+Vsg2>Vtn1+∣Vtp2∣时(即Vin>vbx1),管N1、P2支路导通,否则,该支路截止;再分析管N3、P4支路,仅当管N3和P4的二栅压差Vg3-Vg4=Vref0-Vin>Vtn3+∣Vtp4∣时(即Vin<vbx0),管N3、P4支路导通,否则,该支路截止。带阻输出v/dvi~j经过PMOS非门产生带通输出vdvi~j,该非门由管P5和电阻R0构成;vdvi~j输送到受控PMOS管Pb1栅极,管Pb1源极接VDC,管Pb1漏极接外电路;由此得出:当vbx1>Vin>vbx0(Vin带区间内)时,管N1、P2支路和管N3、P4支路都截止,电阻R1的电流为0,v/dvi~j=VDC,于是P5截止,vdvi~j=VD<VDC,使管Pb1导通;因in输入K值信号,仅当in=i~j时,Pb1导通;in带区间为(i,j);in≠i~j时,Pb1截止;接有带通变阈电路的PMOS管Pb1称为带通式变阈PMOS管Pb1;记tbi~j=(i,j),tbi~j为带通阈,vtbi~j为带通阈值电压,vtbi~j=(vtbi-,vtbj+),可选取vtbj+=(Vin(j+1)+Vin(j))/2,vtbi-=(Vin(i)+Vin(i-1))/2,满足vtbi-<Vin<vtbj+时,Pb1导通,否则,Pb1截止;用tbi~j或vtbi~j标在管Pb1有效输入旁,图5右侧Pb1有效输入用小方形表示(普通PMOS管栅极用小圆形表示,有所区分),有效输入接输入in(in接N1和P4栅极),称此输入为带通变阈型PMOS管Pb1有效输入;j=i时带区间最小(只有一个值i),tbi~j=tbi=i,vtbi~j=vtbi,最小带区间的带通式变阈PMOS管Pb1称为区间最小的带通式变阈PMOS管Pb1〔1〕PMOS tube with pass-variable threshold circuit: redraw the figure 6 of the patent [1] or [2] to the figure 5 of the patent of the present invention, in which the PMOS tubes Q 2 , Q 4 , Q 5 , and Q B1 are sequentially rewritten as P 2 . _ _ _ _ _ _ _ _ _ _ _ _ _ V tp2 ∣, v bx0 =V ex0 +V DC =V ref0 -V tn3 -∣V tp4 ∣; the gates of transistor N 1 and P 4 are connected to input in, the voltage of input in is V in , the gate of transistor N 3 and P 2 The poles are respectively connected to the reference voltages V ref0 and V ref1 ; first analyze the branch circuits of the tubes N 1 and P 2 , only when the voltage difference between the two gates of the tubes N 1 and P 2 is V g1 -V g2 =V in -V ref1 =V gs1 + When V sg2 >V tn1 +∣V tp2 ∣ (V in >v bx1 ), the branches of tubes N 1 and P 2 are turned on ; When the voltage difference between the gates of N 3 and P 4 is V g3 -V g4 =V ref0 -V in >V tn3 +∣V tp4 ∣ (V in <v bx0 ), the branches of tubes N 3 and P 4 conduct otherwise, the branch is cut off. The band-stop output v /dvi~j passes through the PMOS NOT gate to generate the band-pass output v dvi~j , which is composed of the tube P5 and the resistor R0 ; v dvi~j is sent to the gate of the controlled PMOS tube P b1 , and the tube The source of P b1 is connected to V DC , and the drain of tube P b1 is connected to the external circuit; it can be concluded that: when v bx1 >V in >v bx0 ( in the range of V in ), the branches of tubes N 1 and P 2 and the tube Both N 3 and P 4 branches are cut off, the current of resistor R 1 is 0, v /dvi~j =V DC , so P 5 is cut off, v dvi~j =V D <V DC , so that the tube P b1 is turned on; Because in inputs the K value signal, only when in=i~j, P b1 is turned on; the band interval of in is (i, j); when in≠i~j, P b1 is cut off; The PMOS transistor P b1 is called a band-pass variable-threshold PMOS transistor P b1 ; record t bi~j = (i, j), t bi~j is the band-pass threshold, vt bi~j is the band-pass threshold voltage, vt bi~ j =(vt bi- ,vt bj+ ), you can choose vt bj+ =(V in (j+1)+V in (j))/2, vt bi- =(V in (i)+V in (i- 1))/2, when vt bi- <V in <vt bj+ is satisfied, P b1 is on, otherwise, P b1 is off; use t bi~j or vt bi~j to mark next to the effective input of tube P b1 , as shown in Figure 5 The effective input of P b1 on the right is represented by a small square (the gate of the ordinary PMOS transistor is represented by a small circle, which is distinguished), and the effective input is connected to the input in (in is connected to the gate of N 1 and P 4 ), and this input is called a band pass Variable threshold type PMOS transistor P b1 is effectively input; when j=i, the band interval is the smallest (only one value i), t bi~j =t bi =i, vt bi~j =vt bi , the bandpass variable of the smallest band interval The threshold PMOS transistor P b1 is called the band-pass variable threshold PMOS transistor P b1 with the smallest interval.

注:⑴逻辑值k无噪声的逻辑电平简称为k电平,in的k电平记为Vin(k);in逻辑值为k表示为in=k;简记‘in=i,i+1,i+2‥…,j-1,j’为in=i~j,例如,tb2~5=(2,5),in取带区间(2,5)内的2、3、4、5,简记为in=2~5,依此类推;⑵电阻R0可用NMOS管N0代替,将管N0和P5构成CMOS反相器(P5和N0栅极接栅极,漏极接漏极,N0源极接VD);⑶NMOS和PMOS管的栅极有很小的阈值模糊区(转折区),管的导通和截止要求栅极电压在转折区外,在很小转折区内不能确定管的导通和截止,上述vtbi-和vtbj+选取为二电平的中间值,抗干扰能力最强;⑷图5中管N1、P2支路和管N3、P4支路各自对称为高通支路和低通支路。Note: (1) The logic level of logic value k without noise is referred to as k level for short, and the k level of in is recorded as Vin (k); the logic value of in is expressed as in=k; the abbreviation 'in=i, i +1, i+2‥..., j-1, j' is in=i~j, for example, t b2~5 = (2, 5), in takes 2, 3, 4, 5, abbreviated as in=2~5, and so on; (2) Resistor R 0 can be replaced by NMOS tube N 0 , and tube N 0 and P 5 constitute a CMOS inverter (P 5 and N 0 gates are connected to the grid pole, drain connected to drain, N 0 source connected to V D ); (3) the gates of NMOS and PMOS transistors have a small threshold fuzzy area (turning area), and the turn-on and cut-off of the tube requires the gate voltage to be outside the turning area , the conduction and cut-off of the tube cannot be determined in a very small turning area, the above-mentioned vt bi- and vt bj+ are selected as the middle value of the two levels, and the anti-interference ability is the strongest; (4) the N 1 and P 2 branches of the tube in Fig. 5 The N 3 and P 4 branches of the summation tube are symmetrically called the high-pass branch and the low-pass branch respectively.

〔2〕PMOS管高通变阈电路:删去图5中低通支路的管N3、P4及其连线(注:当Vref0=0时,管N3、P4支路永远截止,失去作用,栅去),得出图6所示的高通变阈电路,分析管N1、P2支路,当管N1和P2的栅极电压差Vin-Vref1>Vtn1+∣Vtp2∣时(即Vin>vbx1),管N1、P2支路导通,否则,管N1、P2支路截止;因in输入为K值信号,仅当in≥i(in=i~L)时,管N1、P2支路导通,于是vdvi~L为低电平,使受控PMOS管Pb1导通;接有高通变阈电路的PMOS管Pb1称为高通式变阈PMOS管,因为最高逻辑值为L,记thi=(i,L),thi称为高通阈,vthi表示Vin>vthi时管Pb1导通,用thi或vthi标在管Pb1有效输入旁;i=L时高区间最小,thi=thL,vthi=vthL;最小高区间的高通式变阈PMOS管Pb1称为区间最小的高通式变阈PMOS管Pb1〔2〕PMOS tube high-pass variable threshold circuit: delete the tubes N 3 , P 4 and their connections in the low-pass branch in Figure 5 (note: when V ref0 =0, the tubes N 3 and P 4 are always closed , the effect is lost, and the gate is removed), and the high-threshold circuit shown in Figure 6 is obtained, and the branch circuit of the tube N 1 and P 2 is analyzed. When the gate voltage difference between the tube N 1 and P 2 is V in -V ref1 >V tn1 +∣V tp2 ∣(V in >v bx1 ), the branches of tubes N 1 and P 2 are turned on, otherwise, the branches of tubes N 1 and P 2 are cut off; because the input of in is a K value signal, only when in≥ When i (in=i~L), the branches of tubes N 1 and P 2 are turned on, so v dvi~L is low level, which makes the controlled PMOS tube P b1 turn on; the PMOS tube connected with a high-threshold circuit P b1 is called a high-pass variable-threshold PMOS transistor, because the highest logic value is L, record t hi = (i, L), t hi is called a high-pass threshold, vt hi means that when Vin > vt hi , the tube P b1 is turned on, Use t hi or vt hi to mark next to the effective input of the tube P b1 ; when i=L, the high interval is the smallest, t hi =t hL , vt hi =vt hL ; the high-pass variable-threshold PMOS transistor P b1 in the minimum high interval is called the interval The smallest high-pass variable-threshold PMOS transistor P b1 .

〔3〕PMOS管低通变阈电路:删去图5中高通支路的管N1、P2及其连线(注:当Vref1=VDC时,管N1、P2支路永远截止,失去作用,栅去),得出图7所示的低通变阈电路,分析管N3、P4支路,当管N3和P4的栅极电压差Vref0-Vin>Vtn3+∣Vtp4∣时(即Vin<vbx0),管N3、P4支路导通,否则,管N3、P4支路截止,因in输入K值信号,仅当in≤j(in=0~j)时,Pb1导通(因P5导通,P5漏极v/dv0~j为高电平,v/dv0~j接到由P6和N7组成的CMOS非门输入,则该非门输出vdv0~j为低电平,vdv0~j使受控PMOS管Pb1导通);接有低通变阈电路的PMOS管Pb1称为低通式变阈PMOS管,记t/hj+1=(0,j),t/hj+1称为低通阈,vt/hj+1表示Vin<vt/hj+1时管Pb1导通;用tlj或vtlj标在管Pb1有效输入旁;j=0时低区间最小,t/hj+1=t/h1,vt/hj+1=vt/h1,最小低区间的低通式变阈PMOS管Pb1称为区间最小的低通式变阈PMOS管Pb1〔3〕PMOS tube low pass variable threshold circuit: delete the tubes N 1 and P 2 of the high pass branch in Figure 5 and their connections (note: when V ref1 =V DC , the tubes N 1 and P 2 cut off, lose function, and gate), and obtain the low-threshold circuit shown in Fig. 7, analyze the branch circuit of tube N 3 and P 4 , when the gate voltage difference V ref0 -V in of tube N 3 and P 4 > When V tn3 +∣V tp4 ∣(that is, V in <v bx0 ), the branches of tubes N 3 and P 4 are turned on, otherwise, the branches of tubes N 3 and P 4 are cut off. When ≤j (in=0~j), P b1 is turned on (because P 5 is turned on, the drain of P 5 v /dv0~j is high level, and v /dv0~j is connected to the circuit composed of P 6 and N 7 CMOS non-gate input, then the non-gate output v dv0~j is low level, v dv0~j makes the controlled PMOS transistor P b1 conduction); the PMOS transistor P b1 connected with the low-pass threshold circuit is called low The general formula variable threshold PMOS transistor, record t /hj+1 = (0, j), t /hj+1 is called the low-pass threshold, vt /hj+1 means that when V in <vt /hj+1 , the tube P b1 leads Pass; use t lj or vt lj to mark next to the effective input of tube P b1 ; when j=0, the low interval is the smallest, t /hj+1 = t /h1 , vt /hj+1 = vt /h1 , the minimum low interval is low The general variable-threshold PMOS transistor P b1 is called the low-pass variable-threshold PMOS transistor P b1 with the smallest interval.

注:⑴将PMOS管的衬底接电源电压VDC(最高电位是VDC),将NMOS管的衬底接地(最低电位是地);若改用最低电位Vmin比地电位低,改用最高电位Vmax比VDC电位高,则PMOS管的衬底改接Vmax,NMOS管的衬底改接Vmin,为观察方便,图中略去衬底的连接不画;⑵改变参考电压Vref0和Vref1可分别调节vbx0和vbx1的大小,从而分别实现上述带通阈,高通阈和低通阈的调节,以满足各种实际需求。Note: (1) Connect the substrate of the PMOS transistor to the power supply voltage V DC (the highest potential is V DC ), and ground the substrate of the NMOS transistor (the lowest potential is ground); if the lowest potential V min is lower than the ground potential, use The highest potential V max is higher than the V DC potential, then the substrate of the PMOS transistor is connected to V max , and the substrate of the NMOS transistor is connected to V min . For the convenience of observation, the connection of the substrate is omitted in the figure; (2) Change the reference voltage V ref0 and V ref1 can adjust the size of v bx0 and v bx1 respectively, so as to realize the adjustment of the above-mentioned band-pass threshold, high-pass threshold and low-pass threshold respectively, so as to meet various practical needs.

实施例4:本发明的采用带通阈加载技术、变阈选通PMOS管和选通受控PMOS管的说明:Embodiment 4: Description of the present invention adopting band-pass threshold loading technology, variable threshold gate PMOS transistor and gate controlled PMOS transistor:

当j值改变时,高值区和低值区长度都要求管Pe0和Pe1阈值特性随新阈值加载而改变,一般信息处理各阶段,都要求管(如Pe0和Pe1)的阈值特性有所不同;图5,6和7中输出vdv0~j都是直接输送到受控PMOS管Pb1栅极,阈值固定不变,不能满足随时改变要求;本发明将图5中虚框内电路重画为8图中,8图输出vdvi~j通过管Pc1源漏极输送到受控PMOS管Pb1栅极,vdvi~j接管Pc1源极,管Pc1漏极接管Pb1栅极,管Pc1栅极接控制信号vtg,在vtg低电平作用下,管Pc1导通,于是vdvi~j通过导通管Pc1源漏极输送到受控PMOS管Pb1的栅极,使受控PMOS管Pb1具有带通阈为tbi~j的特性;接有带通变阈电路的PMOS管Pc1称为变阈选通PMOS管Pc1,而管Pb1称为选通受控PMOS管,按图8右部所示的符号图,有效输入in接小方形侧边,管Pc1源极接小方形下边,管Pc1源极标记源极待传带通阈tbi~j,当控制信号vtg驱动管Pc1导通,由导通的管Pc1将带通阈tbi~j加载到管Pb1,加载就是使选通受控管Pb1具有带通阈tbi~j的特性:当in=i~j时管Pb1导通,否则,管Pb1截止。当加载到管Pb1的带通阈要求随时可变时,可采用多个变阈选通PMOS管分时加载到选通受控管Pb1,例如,图3所示的变阈选通PMOS管Pc1~Pc9,管Pc1~Pc9的有效输入接Ai,而其漏极都接选通受控管Pe0栅极g/hj,管Pc0~Pc9栅极分别接控制信号v/tg0~v/tg9,管Pc1~Pc9源极待传低通阈分别为t/h1~t/h9;对每个j,j=1~9,管Pc1~Pc9中只有一个管Pcj导通,其余管截止,于是在t/h1~t/h9中只将t/hj加载到管Pe0;图5~8中VDC-VD=1.5伏。When the value of j changes, both the length of the high-value region and the length of the low-value region require that the threshold characteristics of P e0 and P e1 change with the new threshold loading. Generally, each stage of information processing requires the threshold of the tube (such as P e0 and P e1 ) The characteristics are different; in Figures 5, 6 and 7, the output v dv0~j are all directly delivered to the gate of the controlled PMOS transistor P b1 , and the threshold value is fixed, which cannot meet the requirements of changing at any time; the present invention uses the virtual frame in Figure 5 The internal circuit is redrawn as Figure 8, the output v dvi~j of Figure 8 is sent to the gate of the controlled PMOS transistor P b1 through the source and drain of the tube P c1 , v dvi~j takes over the source of P c1 , and the drain of the tube P c1 takes over The gate of P b1 , the gate of the tube P c1 is connected to the control signal v tg , under the action of the low level of v tg , the tube P c1 is turned on, so v dvi~j are transmitted to the controlled PMOS through the source and drain of the conduction tube P c1 The gate of the transistor P b1 makes the controlled PMOS transistor P b1 have the characteristics of a band-pass threshold of t bi~j ; the PMOS transistor P c1 connected with a band-pass variable threshold circuit is called a variable threshold gate PMOS transistor P c1 , and The tube P b1 is called a gate-controlled PMOS tube. According to the symbol diagram shown in the right part of Figure 8, the effective input in is connected to the side of the small square, the source of the tube P c1 is connected to the bottom of the small square, and the source of the tube P c1 is marked as the source The band-pass threshold t bi~j to be transmitted, when the control signal v tg drives the tube P c1 to be turned on, the turned-on tube P c1 will load the band-pass threshold t bi~j to the tube P b1 , and the loading is to make the gating controlled The tube P b1 has the characteristic of the band-pass threshold t bi~j : when in=i~j, the tube P b1 is turned on; otherwise, the tube P b1 is cut off. When the band-pass threshold loaded to the tube P b1 is required to be variable at any time, multiple variable-threshold gating PMOS tubes can be used to load the gate-controlled tube P b1 in time-sharing, for example, the variable-threshold gating PMOS shown in Figure 3 The effective input of tubes P c1 ~ P c9 , the effective input of tubes P c1 ~ P c9 is connected to A i , and its drains are all connected to gate g /hj of controlled tube P e0 , and the gates of tubes P c0 ~ P c9 are respectively connected to control For signals v /tg0 ~v /tg9 , the low-pass thresholds of the sources of tubes P c1 ~P c9 to be transmitted are respectively t /h1 ~t /h9 ; for each j, j=1~9, in tubes P c1 ~P c9 Only one tube P cj is turned on, and the other tubes are turned off, so only t /hj is loaded to the tube P e0 during t /h1 ~ t /h9 ; V DC - V D = 1.5 volts in Fig. 5 ~ 8.

低通阈t/hj和高通阈thj+1都属于带通阈,带通阈tbi~L表示导通区间是(i,L),高通阈thi表示导通区间也是(i,L),即tbi~L=thi;带通阈tb0~j-1表示导通区间是(0,j-1),低通阈t/hj表示导通区间也是(0,j-1),即tb0~j-1=t/hj,因此t/hj和thj+1为特殊的带通阈tb0~j-1和tbj+1~L,高通阈thi和低通阈t/hj可分别称为带通阈tbi~L和tb0~j-1,高通阈为thi的高通式变阈PMOS管和低通阈为t/hj的低通式变阈PMOS管可分别称为带通阈为tbi~L和tb0~j-1带通式变阈PMOS管,另外,参看图5~8,一个带通式变阈PMOS管所属的变阈电路内含有二个驱动输出vdvi~j和v/dvi~j,可同时实现带通阈tbi~j和带阻阈t/bi~j,因此,对同一有效输入in,带通阈tbi~j的带通式变阈PMOS管、带阻阈t/bi~j的带阻式变阈PMOS管、及有同一带通阈或带阻阈的变阈选通PMOS管都共用同一变阈电路;高通式和低通式变阈PMOS管归为特殊的带通式变阈PMOS管,具有同样的共用性能,不再赘述。例如,图1中标t/h2或th2的管Pc2、Pa02、Pd1和Pa12共用同一变阈电路,由同一变阈电路分别驱动4个PMOS管,从而简化电路。Both the low-pass threshold t /hj and the high-pass threshold t hj+1 belong to the band-pass threshold. The band-pass threshold t bi ~ L indicates that the conduction interval is (i, L), and the high-pass threshold t hi indicates that the conduction interval is also (i, L ), that is, t bi~L = t hi ; the band-pass threshold t b0~j-1 indicates that the conduction interval is (0, j-1), and the low-pass threshold t /hj indicates that the conduction interval is also (0, j-1 ), namely t b0~j-1 =t /hj , so t /hj and t hj+1 are special band-pass thresholds t b0~j-1 and t bj+1~L , high-pass threshold t hi and low-pass threshold Threshold t /hj can be referred to as band-pass threshold tbi~L and tb0 ~j-1 respectively, high-pass variable-threshold PMOS transistor with high-pass threshold thi and low-pass variable-threshold PMOS transistor with low-pass threshold t /hj The tubes can be called band-pass thresholds as tbi~L and tb0~j-1 band-pass variable-threshold PMOS tubes respectively. In addition, referring to Figures 5-8, the variable-threshold circuit to which a band-pass variable-threshold PMOS tube belongs Contains two driving outputs v dvi~j and v /dvi~j , which can simultaneously realize the band-pass threshold t bi~j and the band-stop threshold t /bi~j , therefore, for the same effective input in, the band-pass threshold t bi~ The band-pass variable-threshold PMOS transistor of j , the band-stop variable-threshold PMOS transistor of band-stop threshold t /bi~j , and the variable-threshold gate PMOS transistor with the same band-pass threshold or band-stop threshold all share the same variable-threshold circuit ; The high-pass and low-pass variable-threshold PMOS transistors are classified as special band-pass variable-threshold PMOS transistors, which have the same shared performance and will not be described again. For example, the tubes P c2 , P a02 , P d1 and P a12 marked t /h2 or t h2 in Figure 1 share the same variable threshold circuit, and the same variable threshold circuit drives four PMOS transistors respectively, thereby simplifying the circuit.

实施例5:其它说明:Embodiment 5: other instructions:

Ji输出电路中管Pe2和控制信号形成电路中管Pb0~PbL有电平转换作用,将变化幅度小的管栅极驱动电压转换变化幅度大的输出电压(输出在0和VDC间变化),例如,图11~14看出,管Pe2栅极驱动电压g/hj幅度小,而输出Ji幅度大,g/hj和Ji相互反相。The tube P e2 in the J i output circuit and the tubes P b0 ~ P bL in the control signal forming circuit have a level conversion function, and convert the gate drive voltage of the tube with a small range of change into an output voltage with a large range of change (the output is between 0 and V DC For example, it can be seen from Figures 11 to 14 that the magnitude of the gate drive voltage g /hj of the transistor P e2 is small, while the magnitude of the output J i is large, and g /hj and J i are opposite to each other.

NMOS管Ntga和PMOS管Ptga的漏极相接、源极相接,则构成CMOS传输门TGa,管Ntga和Ptga的栅极分别为TGa的正控制端和负控制端,当TGa正和负控制端分别为VDC和0时,TGa导通,而正和负控制端分别为0和VDC时,TGa截止;所用恒流源参看图9所示的已有的一种多输出精密镜像恒流源电路图和符号图,为降低功耗和提高性能等,恒流源电流按实际可能性取较小值;所用二极管为硅二极管,导通压降为VDon,导通电流按实际可能性取较小值;VDC=LVDon+△,△为K值存储单元电路特性要求补偿的偏移量。The drains and sources of the NMOS transistor N tga and the PMOS transistor P tga are connected to form a CMOS transmission gate TG a , and the gates of the transistor N tga and P tga are the positive control terminal and the negative control terminal of TG a respectively. When the positive and negative control terminals of TG a are V DC and 0 respectively, TG a is turned on, and when the positive and negative control terminals are 0 and V DC respectively, TG a is cut off; for the constant current source used, refer to the existing one shown in Figure 9 A multi-output precision mirror constant current source circuit diagram and symbol diagram. In order to reduce power consumption and improve performance, etc., the constant current source current takes a smaller value according to actual possibility; the diode used is a silicon diode, and the conduction voltage drop is V Don , The conduction current takes a smaller value according to the actual possibility; V DC = LV Don + △, △ is the compensation offset required by the circuit characteristic of the K value storage unit.

实施例6:对图3和4的Pspice计算机模拟波形图10~21的说明。Embodiment 6: Explanation of the Pspice computer simulation waveform diagrams 10-21 of FIGS. 3 and 4.

图3为本发明的10值半减器电路图,对图3进行Pspice计算机模拟,①首先模拟出图10所示的10值半减器电路在180~410μs期间的信号电压工作波形图,可整体观察其工作过程,波形从上到下先后次序是:Ai、Bi、Si、Ji和g/hj,其中Ai是周期为16μs的周期信号,在周期为16μs内Ai由0依次升到9,再由2依次升到7,Bi是周期为100μs的周期信号,在周期为100μs内Bi由0依次升到9;②为清晰检验Ai和Bi所有可能值时的减法运算的结果,将图10横轴放大,得出180~240μs、240~300μs、300~360μs和350~410μs期间的波形图,分别示如图11、12、13和14,依次观察图11~14,并在Ai和Bi稳定时刻检验,当Bi=0时,对Ai分别为0~9十种情况检验得出,Si=Ai,Ji=0;当Bi=1,同上方式检验得出,当Ai≥1时,Si=Ai-1,Ji=0,当Ai=0时,Si=9,Ji=9;当Bi=2时,检验得出,当Ai≥2时,Si=Ai-2,Ji=0,当Ai<2时,Si=Ai+8,Ji=9;‥‥‥当Bi=8时,检验得出,当Ai≥8时,Si=Ai-8,Ji=0,当Ai<8时,Si=Ai+2,Ji=9;当Bi=9时,检验得出,当Ai=9时,Si=0,Ji=0,当Ai<9时,Si=Ai+1,Ji=9;Ji=9表示有借位,Ji=0表示无借位,g/hj和Ji分别是管Pe2栅极输入和漏极输出,观察图11~14看出,g/hj幅度小,Ji幅度大,g/hj和Ji相互反相;检验表明10值半减器电路图3满足10值减法运算的结果;图15为本发明的一种10值半减器在180~410μs期间电路控制信号波形图,波形从上到下先后次序是:Ai、Bi、vtg9、vtg8、vtg7、vtg6、vtg5、vtg4、vtg3、vtg2、vtg1、vtg0,在控制信号作用下,完成上述运算,其中VDC=6.5V,Vd=5V。Fig. 3 is the 10-value half-subtractor circuit diagram of the present invention, carries out Pspice computer simulation to Fig. 3, 1. at first simulates the signal voltage working waveform figure of the 10-value half-subtractor circuit shown in Fig. 10 during 180~410 μ s, can whole Observing its working process, the order of waveforms from top to bottom is: A i , B i , S i , J i and g /hj , where A i is a periodic signal with a period of 16 μs, and A i changes from 0 to 0 within a period of 16 μs. Increase to 9 in turn, and then rise from 2 to 7 in turn, Bi is a periodic signal with a period of 100μs , and Bi rises from 0 to 9 in turn within a period of 100μs; ②In order to clearly test all possible values of A i and Bi As a result of the subtraction operation, the horizontal axis of Figure 10 is enlarged to obtain the waveform diagrams during 180-240μs, 240-300μs, 300-360μs and 350-410μs, which are shown in Figures 11, 12, 13 and 14 respectively. 11 to 14, and check at the time when A i and B i are stable. When B i =0, test the ten cases where A i is 0 to 9 respectively. S i =A i , J i =0; when B i i = 1, the same way as the above test shows that when A i ≥ 1, S i = A i -1, J i = 0, when A i = 0, S i = 9, J i = 9; when B i =2, the test shows that when A i ≥ 2, S i =A i -2, J i =0, when A i <2, S i =A i +8, J i =9;‥‥ ‥When B i =8, the test shows that when A i ≥ 8, S i =A i -8, J i =0, when A i <8, S i =A i +2, J i = 9; when B i =9, the test shows that when A i =9, S i =0, J i =0, when A i <9, S i =A i +1, J i =9; J i = 9 means there is a borrow, J i = 0 means there is no borrow, g /hj and Ji are the gate input and drain output of the tube P e2 respectively, and it can be seen from Figures 11 to 14 that the amplitude of g /hj is small , the magnitude of J i is large, and g /hj and J i are mutually inverse; the test shows that the 10-valued half-subtractor circuit Fig. 3 satisfies the result of the 10-valued subtraction operation; Fig. 15 is a kind of 10-valued half-subtractor of the present invention at 180~410 μ s During the circuit control signal waveform diagram, the order of waveforms from top to bottom is: A i , B i , v tg9 , v tg8 , v tg7 , v tg6 , v tg5 , v tg4 , v tg3 , v tg2 , v tg1 , v tg0 , under the action of the control signal, the above operation is completed, wherein V DC =6.5V, V d =5V.

图4为本发明的10值半加器电路图,对图4进行Pspice计算机模拟,①首先模拟出图16所示的10值半加器电路在180~410μs期间的信号电压工作波形图,可整体观察其工作过程,波形从上到下先后次序是:Ai、Bi、Si、Ci和g/hj,其中Ai和Bi周期和波形与前述10值半减器相同;②为能清晰的检验Ai和Bi所有可能值时的加法运算的结果,将图16横轴放大,得出180~240μs期间、240~300μs期间、300~360μs期间和350~410μs期间的信号电压工作波形图,分别示如图17、18、19和20,依次观察图17~20,并在Ai和Bi稳定时刻检验,当Bi=0时,对Ai分别为0~9十种情况检验得出,Si=Ai,Ci=9;当Bi=1,检验得出,当Ai<9时,Si=Ai+1,Ci=9,当Ai=9时,Si=0,Ci=0;当Bi=2时,检验得出,当Ai<8时,Si=Ai+2,Ci=9,当Ai≥8时,Si=Ai-8,Ci=0;‥‥‥当Bi=8时,检验得出,当Ai<2时,Si=Ai+8,Ji=9,当Ai≥2时,Si=Ai-2,Ci=0;当Bi=9时,检验得出,当Ai=0时,Si=9,Ci=9,当Ai≥1时,Si=Ai-1,Ci=0;Ci=9表示无进位,Ci=0表示有进位,g/hj和Ci分别是管Pe2栅极输入和漏极输出,观察图17~20看出,g/hj幅度小,Ci幅度大,g/hj和Ci相互反相;检验表明10值半加器电路图4满足10值加法运算的结果。图21为本发明的一种10值半加器在180~410μs期间电路控制信号波形图,波形从上到下先后次序是:Ai、Bi、vtg9、vtg8、vtg7、vtg6、vtg5、vtg4、vtg3、vtg2、vtg1、vtg0,在控制信号作用下,完成上述运算,注意图21与图15控制信号波形不同,二图中vtg9~vtg1波形有差别,符合10值半减器和半加器特点。Fig. 4 is the 10-value half-adder circuit diagram of the present invention, carries out Pspice computer simulation to Fig. 4, 1. at first simulates the signal voltage working waveform figure of the 10-value half-adder circuit shown in Fig. 16 during 180~410 μ s, can whole Observing its working process, the order of waveforms from top to bottom is: A i , B i , S i , C i and g /hj , where the cycles and waveforms of A i and B i are the same as those of the aforementioned 10-value half reducer; ② is The results of the addition operation for all possible values of A i and B i can be clearly checked, and the horizontal axis of Figure 16 is enlarged to obtain the signal voltages during 180-240 μs, 240-300 μs, 300-360 μs and 350-410 μs The working waveform diagrams are shown in Figures 17, 18, 19 and 20 respectively. Observe Figures 17 to 20 in turn, and check when A i and B i are stable. When B i = 0, the values for A i are 0 to 90 In this case, S i =A i , C i =9; when B i =1, it is found that when A i <9, S i =A i +1, C i =9, when A i =9, S i =0, C i =0; when B i =2, the test shows that when A i <8, S i =A i +2, C i =9, when A i ≥8 , S i A i -8 , C i 0 ; When A i ≥ 2, S i =A i -2, C i =0; when B i =9, the test shows that when A i =0, S i =9, C i =9, when A i When ≥1, S i =A i -1, C i =0; C i =9 means no carry, C i =0 means carry, g /hj and C i are the gate input and drain of the tube P e2 respectively Output, observing Figures 17 to 20, it can be seen that the amplitude of g /hj is small, the amplitude of C i is large, and g /hj and C i are mutually inverse; the test shows that the 10-value half adder circuit Figure 4 satisfies the result of the 10-value addition operation. Fig. 21 is a circuit control signal waveform diagram of a 10-valued half adder of the present invention during 180-410 μs, and the order of the waveforms from top to bottom is: A i , B i , v tg9 , v tg8 , v tg7 , v tg6 , v tg5 , v tg4 , v tg3 , v tg2 , v tg1 , v tg0 , under the action of the control signal, complete the above operation, note that the control signal waveforms in Figure 21 and Figure 15 are different, and the waveforms of v tg9 ~ v tg1 in the two figures are The difference conforms to the characteristics of the 10-valued half subtractor and half adder.

实施例7:PMOS管带通、高通、低通变阈电路和神经元MOS管控制阈值技术比较。Embodiment 7: Comparison of PMOS tube band-pass, high-pass, low-pass variable threshold circuit and neuron MOS tube control threshold technology.

阈值电压取为管导通和截止间的转折区的中点,实际上转折区内不能区分MOS管导通和截止,故转折区可视为阈值模糊区;由此得出,⑴PMOS管高通变阈电路的等效阈值模糊区不随K值增大而变化,它对K值信号输入分辨能力比神经元MOS管高(神经元MOS管等效阈值模糊区随K值增大而增大),允许信号输入相对标准值有一定的偏离;⑵PMOS管高通变阈电路尽管用了2(或4)个MOS管和1个电阻R1,但几个MOS管占硅片面积比神经元MOS管电容小很多,R1(可用恒流源代替)是形成受控PMOS管导通的驱动信号,对R1精度要求极低;而神经元MOS管利用电容偶合改变阈值电压,对电容精度要求很高,增加实现的难度;⑶PMOS管高通变阈电路输入电容比神经元MOS管输入电容小很多,高频性能较好。神经元MOS管控制阈值技术有很大的缺点;神经元MOS管已有如下公式:The threshold voltage is taken as the midpoint of the transition zone between the conduction and cut-off of the tube. In fact, it is impossible to distinguish the conduction and cut-off of the MOS tube in the transition zone, so the transition zone can be regarded as the threshold fuzzy zone; The equivalent threshold fuzzy area of the threshold circuit does not change with the increase of the K value, and its ability to distinguish K value signal input is higher than that of the neuron MOS tube (the equivalent threshold fuzzy area of the neuron MOS tube increases with the increase of the K value), The signal input is allowed to have a certain deviation from the standard value; (2) Although the PMOS tube high-threshold circuit uses 2 (or 4) MOS tubes and 1 resistor R 1 , several MOS tubes occupy a silicon chip area larger than the neuron MOS tube capacitance Much smaller, R 1 (which can be replaced by a constant current source) is the drive signal to form the conduction of the controlled PMOS tube, which requires very low accuracy for R 1 ; while the neuron MOS tube uses capacitive coupling to change the threshold voltage, which requires high capacitance accuracy , increasing the difficulty of implementation; (3) The input capacitance of the PMOS tube high-pass variable threshold circuit is much smaller than that of the neuron MOS tube, and the high-frequency performance is better. The neuron MOS tube control threshold technology has great disadvantages; the neuron MOS tube has the following formula:

其中Vfg为浮栅电压,V1为信号输入栅电压,Vj为控制栅电压,根据需求的阈值选直流电压Vj(j=2,3,4…,n),式(14)只有Vfg和V1二个变量,微分得出,dVfg=(C1/CTOT)dV1;浮栅阈值模糊区宽度△Vfg和输入栅的阈值模糊区宽度△V1满足,Among them, V fg is the floating gate voltage, V 1 is the signal input gate voltage, V j is the control gate voltage, and the DC voltage V j (j=2, 3, 4...,n) is selected according to the threshold value of the demand, and the formula (14) only The two variables V fg and V 1 are differentiated, dV fg = (C 1 /C TOT )dV 1 ; the width of the threshold fuzzy area of the floating gate △V fg and the width of the threshold fuzzy area of the input gate △V 1 satisfy,

△Vfg=(C1/CTOT)△V1,△V1=(CTOT/C1)△Vfg (15)ΔV fg = (C 1 /C TOT ) ΔV 1 , ΔV 1 = (C TOT /C 1 ) ΔV fg (15)

随K值增加,需要改变输入栅阈值的个数增多,要求的比值CTOT/C1增大,而式(15)中△V1是△Vfg的CTOT/C1倍,宽度△Vfg是确定的,于是△V1增大,由此表明:随K值增加,①输入栅的阈值模糊区宽度△V1增大,使输入栅K值信号分辨能力降低,不利于大K值时使用;②比值CTOT/C1增大,C1不能减小,则所有控制栅电容占硅片面积增大;例如10值电路,K=10,C0=Cfg=30fF,C1=0.8pF,计算得出输入控制栅总电容为9.37pF(CTOT=11.33C1);浮栅NMOS管控制栅和浮栅间SiO2厚度为35nm,对应的单位电容为1fF/μm2,9.37pF电容占用硅片面积9370μm2,一个NMOS管约占30μm2,一个神经元MOS管的9.37pF的电容占用约312个NMOS管的面积,即控制栅电容占硅片面积很大。随半导体集成电路技术的发展,MOS管尺寸越来越小,神经元MOS管控制栅电容面积对NMOS管的面积比必然越来越大。③神经元MOS管栅极回路加入过多的电容对高频性能是有害的,特征尺寸减小和金属连线高宽比增加导致互连电容增大,引起多栅极间串扰问题,而且寄生电容加大,产生额外的互连延时和功耗,表明加入过多的电容对高频性能是有害的。④神经元MOS管浮栅电容漏电不能略去。普通的非易失性存储器在漏电流为2.85x10-22A的情况下,阈值电压降低3V总共需要10年。随K值增加,要求阈值电压降低幅度很小,显然不允许降低3V,表明‘神经元MOS管基于浮栅电容漏电为0’是理想的和不现实的。⑤神经元CMOS反相器对二值信号静态功耗为0,随K值增加,K值信号中存在NMOS管和PMOS管同时导通的状态,结果静态功耗更大,只有K值信号最大和最小值时不同时导通,静态功耗为0;⑥神经元CMOS跟随器输出常为电容负载,输出电压升降轨迹不同,有很大的回差电压,不利于K值电路中使用。神经元MOS管阈值模糊区宽度为△V1,K值大时△V1按式(15)增大CTOT/C1倍,△V1可能接近或超过K值信号的阶梯电压,使神经元MOS管失效。As the value of K increases, the number of input gate thresholds that need to be changed increases, and the required ratio C TOT /C 1 increases, and △V 1 in formula (15) is 1 times C TOT /C of △V fg , and the width △V fg is determined, so △V 1 increases, which shows that: with the increase of K value, ①The width of the threshold fuzzy area △V 1 of the input gate increases, which reduces the signal resolution of the input gate K value, which is not conducive to large K values ② When the ratio C TOT /C 1 increases, C 1 cannot be reduced, and the area occupied by all control gate capacitances will increase; for example, in a 10-value circuit, K=10, C 0 =C fg =30fF, C 1 =0.8pF, the total capacitance of the input control gate is calculated to be 9.37pF (C TOT =11.33C 1 ); the thickness of SiO 2 between the control gate and floating gate of the floating gate NMOS transistor is 35nm, and the corresponding unit capacitance is 1fF/μm 2 , A 9.37pF capacitor occupies an area of 9370μm 2 on a silicon wafer, an NMOS transistor occupies about 30μm 2 , and a 9.37pF capacitor of a neuron MOS transistor occupies an area of about 312 NMOS transistors, that is, the control gate capacitance occupies a large area of silicon wafer. With the development of semiconductor integrated circuit technology, the size of MOS transistors is getting smaller and smaller, and the area ratio of the control gate capacitance area of neuron MOS transistors to the area of NMOS transistors is bound to be larger and larger. ③ Adding too much capacitance to the gate circuit of the neuron MOS transistor is harmful to high-frequency performance. The reduction of the feature size and the increase of the aspect ratio of the metal connection lead to an increase in the interconnection capacitance, causing crosstalk between multiple gates, and parasitic Increased capacitance creates additional interconnect delay and power consumption, indicating that adding too much capacitance is detrimental to high-frequency performance. ④Neuron MOS transistor floating gate capacitance leakage cannot be omitted. It takes a total of 10 years for a common non-volatile memory to lower the threshold voltage by 3V at a leakage current of 2.85x10 -22 A. As the value of K increases, the threshold voltage is required to decrease very little, and it is obviously not allowed to decrease by 3V, which shows that it is ideal and unrealistic that the leakage of the neuron MOS transistor is 0 based on the floating gate capacitance. ⑤ The static power consumption of the neuron CMOS inverter is 0 for the binary signal. As the K value increases, there is a state where the NMOS tube and the PMOS tube are turned on at the same time in the K value signal. As a result, the static power consumption is greater, and only the K value signal is the largest. If it is not turned on at the same time as the minimum value, the static power consumption is 0; ⑥The output of the neuron CMOS follower is often a capacitive load, and the output voltage rises and falls on a different track, which has a large hysteresis voltage, which is not conducive to the use in K value circuits. The width of the neuron MOS transistor threshold fuzzy area is △V 1 , and when the K value is large, △V 1 increases C TOT /C by 1 times according to formula (15), and △V 1 may approach or exceed the step voltage of the K value signal, making the neuron Element MOS tube failure.

Claims (6)

1.一种采用带通阈加载技术的K值半减器的构建方法,其特征在于:K值半减器中Ai为被减数,Bi为减数,Si为本为差,Ji为借位数,其中Ai,Bi,Si均为K值信号,K值信号有K个逻辑值:0,1,2,……,L,其中L=K-1,K=4,5,6,……,Ji为2值信号,2值信号有2个逻辑值:0,L;令Ai=k,Bi=j,对确定的j=1~L,当k<j时,Si=K+k-j>k,即Si>Ai,当k=j时,Si=0,当k>j且j≠L时,Si=k-j<k,即Si<Ai,当j=L时,不存在k>j;对确定的j=0,Si=Ai;对j≠0,当k<j时,有借位,当k≥j时,无借位,对j=0,无借位;采用带通阈加载技术的K值半减器的构建方法描述如下:1. A construction method of the K value half-subtractor adopting the band-pass threshold loading technique, is characterized in that: A i is the minuend in the K value half-subtractor, B i is the subtrahend, and S i is originally a difference, J i is the number of borrowing digits, where A i , B i , and S i are K-value signals, and K-value signals have K logic values: 0, 1, 2, ..., L, where L=K-1, K =4, 5, 6, ..., J i is a binary signal, and the binary signal has 2 logic values: 0, L; let A i =k, B i =j, for the determined j=1~L, When k<j, S i =K+k-j>k, that is, S i >A i , when k=j, S i =0, when k>j and j≠L, S i =k- j<k, that is, S i <A i , when j=L, there is no k>j; for a certain j=0, S i =A i ; for j≠0, when k<j, there is a borrow , when k≥j, there is no borrowing, and for j=0, there is no borrowing; the construction method of the K value half reducer adopting the band-pass threshold loading technique is described as follows: ①对确定的j,j=1~L,按Si>Ai和Si<Ai,将K值半减器运算划分为高值区和低值区,因tb0~j-1=t/hj,tbj+1~L=thj+1,j≠L,采用选通受控PMOS管Pe0和Pe1,Pe0具有低通阈t/hj的特性,Pe1具有高通阈thj+1的特性,⑴高值区:当k=0~j-1时,管Pe0导通,实现Si>Ai;⑵低值区:当k=j+1~L且j≠L时,管Pe1导通,实现Si<Ai,当j=L时,低值区无效,仅高值区有效;当k=j时,管Pe0、Pe1、Pd0都截止,Si=0;⑶用Pe2组成的PMOS非门输出形成Ji信号,管Pe2栅极接管Pe0栅极g/hj,当k<j时,管Pe2导通,Ji为高电平,表示有借位,当k≥j时,管Pe2截止,Ji为低电平,表示无借位;① For the determined j, j=1~L, according to S i >A i and S i <A i , the K-value half subtractor operation is divided into a high-value area and a low-value area, because t b0~j-1 = t /hj , t bj+1~L =t hj+1 , j≠L, using gate-controlled PMOS transistors P e0 and P e1 , P e0 has the characteristics of low-pass threshold t /hj , and P e1 has high-pass threshold The characteristics of t hj+1 , (1) high-value area: when k=0~j-1, the tube P e0 is turned on, and S i >A i is realized; (2) low-value area: when k=j+1~L and j When ≠L, the tube P e1 is turned on, and S i <A i is realized. When j=L, the low-value area is invalid, and only the high-value area is valid; when k=j, the tubes P e0 , P e1 , and P d0 are all Cut off, S i = 0; (3) use the PMOS non-gate output composed of P e2 to form the J i signal, the gate of the tube P e2 takes over the gate g /hj of P e0 , when k<j, the tube P e2 is turned on, J i is high level, indicating that there is a borrow, when k≥j, the tube P e2 is cut off, and J i is low, indicating that there is no borrow; ②高值区电路包括带通式变阈PMOS管Pa00~Pa0L-1和串联的二极管D00~D0L-1,管Pa01~Pa0L-1的高通阈依次为th1~thL-1,管Pa00的低通阈为t/h1,管Pa00~Pa0L-1源极通过Pe0接通电源VDC,当k=j-1~0且j≠0时,管Pe0导通,Si输出经过m0个导通二极管接通到VDC,随k由j-1到0,用管Pa0j-1~Pa00依次导通控制m0由0到j-1,于是Si由L到L-j+1;低值区电路包括高通式变阈PMOS管Pa11~Pa1L和串联的二极管D12~D1L,将D1L接D00,使D12~D1L和D00~D0L-1形成一个总串联二极管序列D12~D0L-1,管Pa11~Pa1L的高通阈依次为th1~thL,当k=L~j+1且0<j<L时,管Pe1导通,管Pa11~Pa1L的源极通过Pe1接通电源VDC,Si输出经过m1个导通二极管接通到VDC,随k由L到j+1,用管Pa1L~Pa1j+1依次导通控制m1由j到L-1,于是Si输出由L-j到1;当k=j≠0时,管Pe0、Pe1、Pd0都截止,Si输出为0;②The circuit in the high-value region includes band-pass variable threshold PMOS transistors P a00 ~P a0L -1 and diodes D 00 ~D 0L-1 connected in series. The high-pass thresholds of transistors P a01 ~P a0L-1 are t h1 ~t hL in turn -1 , the low-pass threshold of the tube P a00 is t /h1 , the source of the tube P a00 ~ P a0L -1 is connected to the power supply V DC through P e0 , when k=j-1 ~ 0 and j≠0, the tube P e0 is turned on, the output of S i is connected to V DC through m 0 conduction diodes, and as k changes from j-1 to 0, the tubes P a0j-1 ~ P a00 are sequentially turned on to control m 0 from 0 to j-1 , so S i is from L to L-j+1; the low-value region circuit includes high-pass variable threshold PMOS transistors P a11 ~P a1L and series diodes D 12 ~D 1L , connect D 1L to D 00 , so that D 12 ~ D 1L and D 00 ~D 0L-1 form a total series diode sequence D 12 ~D 0L-1 , the high-pass thresholds of tubes P a11 ~P a1L are t h1 ~t hL in turn, when k=L~j+1 and When 0<j<L, the tube P e1 is turned on, the sources of the tubes P a11 ~ P a1L are connected to the power supply V DC through P e1 , and the output of S i is connected to V DC through m 1 conduction diodes, and the k is From L to j+1, use the tubes P a1L ~ P a1j+1 to conduct sequentially to control m 1 from j to L-1, so the output of S i is from L-j to 1; when k=j≠0, the tube P e0 , P e1 , and P d0 are all cut off, and the output of S i is 0; ③对每一个j,j=0~L,由K个逻辑值判别门U0~UL判别j值,逻辑值判别门Um带通阈为tbj就是仅当Um输入为j时Um输出为高电平,否则,Um输出为低电平,取U0~UL的带通阈分别为tb0~tbL;所有U0~UL输入为j,U0~UL输出分别为vtg0~vtgL,vtg0~vtgL各自经非门M0~ML产生反相输出v/tg0~v/tgL;由此完成:⑴对j≠0,在变阈选通PMOS管Pc1~PcL中v/tgj驱动Pcj导通,管Pc1~PcL源极待传阈值分别为t/h1~t/hL,则管Pc1~PcL中仅t/h1~t/hL中的t/hj加载到管Pe0,用管Pe0导通控制高值区(0,j-1)长度j-2,j≠0;j=L时高值区长度为L;⑵对j≠0,在变阈选通管Pd1~PdL中v/tgj驱动Pdj导通,管Pd1~PdL-1、PdL源极待传阈值分别为th2~thL、t/h1,当j<L时,管Pd1~PdL-1中仅使th2~thL中的thj+1加载到管Pe1;当j=L时,管PdL将t/h1加载到管Pe1,使低值区无效;用管Pe1和Pd0导通控制低值区j+1~L长度L-j,j≠L;⑶在CMOS传输门TG1~TGL中vtgj和v/tgj仅驱动TGj导通,j=1~L,Si通过导通的TGj接Pa0j-1的漏极,Si最大的条件为k=j-1,此时Si通过导通的TGj和Pa0j-1接到VDC,实现Si=L;⑷当j=0时,用v/tg0驱动TG0和管Pd0、Pc0导通,Pd0源极接VDC,Pd0漏极接管Pa11~Pa1L源极,管Pa11~Pa1L源极通过Pd0接通到VDC,Si通过TG0接Pa1L的漏极,低值区电路工作且成为数字跟随器,实现Si=Ai,此时低值区长度为L,高值区电路失效;管Pc0栅极接v/tg0,Pc0漏极接Pe0栅极,管Pc0源极接直流电压VDC,使j=0时Ji输出为上述表示无借位的电平,补充①中缺少的j=0时Ji信号的形成。③For each j, j=0~L, the value of j is judged by K logical value discrimination gates U 0 ~U L , and the band-pass threshold of logic value discrimination gate U m is t bj , that is, only when the input of U m is j. The output of m is high level, otherwise, the output of U m is low level, and the band-pass thresholds of U 0 ~ U L are respectively t b0 ~ t bL ; all U 0 ~ U L inputs are j, U 0 ~ U L The outputs are respectively v tg0 ~v tgL , and v tg0 ~v tgL generate inverting output v /tg0 ~v /tgL through the NOT gates M 0 ~M L respectively; thus it is completed: (1) For j≠0, gate at variable threshold v /tgj in PMOS transistors P c1 ~P cL drives P cj to turn on, and the thresholds of the sources of transistors P c1 ~P cL to be transmitted are t /h1 ~t /hL respectively, so only t /h1 in transistors P c1 ~P cL The t /hj in ~t /hL is loaded into the tube P e0 , and the tube P e0 is used to control the length of the high-value area (0, j-1) j-2, j≠0; when j=L, the length of the high-value area is L; (2) For j ≠ 0, v /tgj drives P dj to be turned on in the threshold-variable gate transistors P d1 ~ P dL , and the thresholds of the sources of the transistors P d1 ~ P dL-1 and P dL are respectively t h2 ~ t hL , t /h1 , when j<L, only t hj+1 of t h2 ~t hL in tubes P d1 ~P dL-1 is loaded into tube P e1 ; when j=L, tube P dL Load t /h1 to the tube P e1 to invalidate the low-value area; turn on the tube P e1 and P d0 to control the low-value area j+1~L length L-j, j≠L; (3) in the CMOS transmission gate TG 1 v tgj and v /tgj in ~TG L only drive TG j to turn on, j=1~L, S i connects to the drain of P a0j-1 through the turned-on TG j , and the maximum condition of S i is k=j- 1. At this time, S i is connected to V DC through the turned-on TG j and P a0j-1 to realize S i =L; (4) When j=0, use v /tg0 to drive TG 0 and tubes P d0 and P c0 to conduct connected, the source of P d0 is connected to V DC , the drain of P d0 is connected to the source of P a11 ~P a1L , the source of P a11 ~P a1L is connected to V DC through P d0 , and S i is connected to the drain of P a1L through TG 0 pole, the circuit in the low-value area works and becomes a digital follower, realizing S i =A i , at this time, the length of the low-value area is L, and the circuit in the high-value area is invalid; the gate of the tube P c0 is connected to v /tg0 , and the drain of P c0 is connected to The gate of P e0 and the source of tube P c0 are connected to DC voltage V DC , so that when j=0, the output of J i is the above-mentioned level indicating no borrowing, and the formation of J i signal when j=0 is supplemented in ①. 2.根据权利要求1所述的一种采用带通阈加载技术的K值半减器的构建方法相同特征形成的一种采用带通阈加载技术的K值半加器的构建方法,其特征在于:在采用带通阈加载技术的K值半减器的构建方法中:(一)首先,将U1~UL的带通阈分别取为tbL~tb1;㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,无借位取为有进位,管Pc0源极接直流电压Vd,使j=0时Ci输出为上述表示无进位的电平,Vd≠VDC;㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则采用带通阈加载技术的K值半减器的构建方法就成为采用带通阈加载技术的K值半加器的构建方法。2. a kind of construction method of the K-value half-adder that adopts band-pass threshold loading technology according to claim 1 forms a kind of construction method of the K-value half-adder that adopts band-pass threshold loading technology that the same feature forms, its feature It is: in the construction method of the K-value half-subtractor adopting the band-pass threshold loading technology: (1) Firstly, the band-pass thresholds of U 1 ~ U L are respectively taken as t bL ~ t b1 ; (2) Next, borrow The number J i is taken as the number of carry C i , except that when j=0, no borrow is taken as no carry, all borrows are taken as no carry, and no borrow is taken as there is carry, and the source of the tube P c0 is connected to DC Voltage V d , when j=0, C i output is the above-mentioned level indicating no carry, V d ≠ V DC ; (iii) finally, the half subtractor is taken as a half adder, and A i , B i and S i are sequentially Take it as the summand, the addend and the basic sum, then the construction method of the K-value half-subtractor using the band-pass threshold loading technology becomes the construction method of the K-value half-adder using the band-pass threshold loading technology. 3.根据权利要求1所述的一种采用带通阈加载技术的K值半减器的构建方法形成的一种采用带通阈加载技术的K值半减器电路,其特征在于:所述的采用带通阈加载技术的K值半减器电路包括:控制信号形成电路,高值区和高选通电路,低值区和低选通电路,Si输出电路和Ji输出电路,K值半减器具体电路结构描述如下:3. a kind of construction method that adopts the K value half-subtractor of band-pass threshold loading technique according to claim 1 forms a kind of K-value half-subtractor circuit that adopts band-pass threshold loading technique, it is characterized in that: The K-value half-subtractor circuit using the band-pass threshold loading technique includes: a control signal forming circuit, a high value area and a high gating circuit, a low value area and a low gating circuit, an S i output circuit and a J i output circuit, K The specific circuit structure of the value half reducer is described as follows: ①控制信号形成电路由逻辑值判别门U0~UL和CMOS非门M0~ML二部分组成,判别门U0~UL分别由区间最小的带通式变阈PMOS管Pb0~PbL和恒流源I0~IL构成,管Pb0~PbL的带通阈分别为tb0~tbL,其中tb0=t/h1,tbL=thL,即管Pb0和PbL分别为区间最小的低通式和高通式变阈PMOS管,管Pb0~PbL的有效输入都接Bi,管Pb0~PbL源极接电源VDC,管Pb0~PbL漏极分别接恒流源I0~IL上端,I0~IL上端分别作为U0~UL输出vtg0~vtgL,恒流源I0~IL下端接地,恒流源电流都是由上端流向下端,vtg0~vtgL分别接非门M0~ML输入,M0~ML输出分别为v/tg0~v/tgL,由此得出互为反相的控制信号vtg0~vtgL和v/tg0~v/tgL,M0~ML工作电压为VDC,对每个Bi输入j,j=0~L,vtg0~vtgL中仅vtgj是高电平,其余输出都是低电平;①The control signal forming circuit is composed of logic value discrimination gates U 0 ~U L and CMOS NOT gates M 0 ~ ML . P bL and constant current source I 0 ~ IL constitute, the band-pass thresholds of tubes P b0 ~P bL are t b0 ~t bL respectively, where t b0 =t /h1 , t bL =t hL , that is, tubes P b0 and P bL are the low-pass and high-pass variable-threshold PMOS transistors with the smallest interval respectively. The effective inputs of the tubes P b0 ~ P bL are all connected to Bi, the sources of the tubes P b0 ~ P bL are connected to the power supply V DC , and the tubes P b0 ~ P The bL drains are respectively connected to the upper end of the constant current source I 0IL , and the upper end of I 0IL is used as U 0 ~U L to output v tg0 ~v tgL respectively , and the lower end of the constant current source I 0IL is grounded, and the constant current source current Both flow from the upper end to the lower end, v tg0 ~ v tgL are respectively connected to the input of the NOT gate M 0 ~ M L , and the outputs of M 0 ~ M L are respectively v /tg0 ~ v /tgL , thus obtaining mutually inverse control signals v tg0 ~v tgL and v /tg0 ~v /tgL , M 0 ~M L operating voltage is V DC , input j for each B i , j=0~L, only v tgj is high among v tg0 ~v tgL level, other outputs are low level; ②高值区和高选通电路:高选通电路由变阈选通PMOS管Pc1~PcL,选通受控PMOS管Pe0和PMOS管Pc0组成;管Pc1~PcL源极待传低通阈分别为t/h1~t/hL,管Pc1~PcL的有效输入接Ai,管Pc0~PcL栅极分别接控制信号v/tg0~v/tgL,而其漏极都接管Pe0栅极g/hj;对每个Bi输入j,j=1~L,管Pc1~PcL中只有一个管Pcj导通,其余管截止,于是在t/h1~t/hL中只将t/hj加载到管Pe0,管Pe0源极接VDC,其漏极接管Pa00~Pa0L-1源极;高值区电路包括带通变阈PMOS管Pa00~Pa0L-1和串联二极管D00~D0L-1,管Pa01~Pa0L-1的高通阈依次为th1~thL-1,管Pa00的低通阈为t/h1,管D00~D0L-2负极各自接管D01~D0L-1正极,管Pa00~Pa0L-1有效输入接Ai,管Pa00~Pa0L-1漏极各自接管D00~D0L-1的负极,Ai输入为k,当k=0~j-1且j≠0时,管Pe0导通,将管Pa00~Pa0L-1源极通过Pe0接通VDC,高值区电路工作,用管Pe0导通控制高值区(0,j-1)长度j-2,j≠0,当k=j~L时,管Pe0截止,管Pa00~Pa0L-1源极与VDC断开,高值区电路不工作; ②High value area and high gating circuit: the high gating circuit is composed of variable threshold gating PMOS transistors P c1 ~ P cL , gating controlled PMOS transistor P e0 and PMOS transistor P c0 ; The low-pass thresholds are t /h1 ~ t /hL respectively, the effective input of the tubes P c1 ~ P cL is connected to A i , the gates of the tubes P c0 ~ P cL are connected to the control signal v /tg0 ~ v /tgL respectively , and the drain All poles take over the grid g /hj of P e0 ; for each B i input j, j=1~L, only one tube P cj is turned on among the tubes P c1 ~P cL , and the other tubes are cut off, so at t /h1 ~ In t /hL , only t /hj is loaded to the tube P e0 , the source of the tube P e0 is connected to V DC , and its drain is connected to the source of P a00 ~ P a0L -1 ; the circuit in the high-value area includes a PMOS tube P with a pass-through threshold a00 ~P a0L -1 and series diodes D 00 ~D 0L-1 , the high-pass thresholds of tubes P a01 ~P a0L-1 are t h1 ~t hL-1 in turn, and the low-pass thresholds of tube P a00 are t /h1 , The negative poles of tubes D 00 ~ D 0L-2 are respectively connected to the positive poles of D 01 ~ D 0L-1 , the effective input of tubes P a00 ~ P a0L -1 is connected to A i , and the drains of tubes P a00 ~ P a0L -1 are respectively connected to D 00 ~ D The negative pole of 0L-1 , the input of A i is k, when k=0~j-1 and j≠0, the tube P e0 is turned on, and the source of the tubes P a00 ~ P a0L -1 is connected to V DC through P e0 , the circuit works in the high-value area, use the tube P e0 to turn on and control the length j-2 of the high-value area (0, j-1), j≠0, when k=j~L, the tube P e0 is cut off, and the tube P a00 ~ The source of P a0L-1 is disconnected from V DC , and the circuit in the high value area does not work; ③低值区和低选通电路:低选通电路由变阈选通PMOS管Pd1~PdL,选通受控PMOS管Pe1和PMOS管Pd0组成;管Pd1~PdL-1源极待传高通阈分别为th2~thL,PdL源极待传低通阈为t/h1;管Pd0~PdL栅极分别接控制信号v/tg0~v/tgL,Pd1~PdL漏极接管Pe1栅极,Pd1~PdL有效输入接Ai;对每个j,j=1~L-1,管Pd1~PdL-1中只有一管Pdj导通,其余管截止,在th2~thL中选取thj+1加载到管Pe1,而j=L,管PdL导通,t/h1加载到管Pe1;管Pe1和Pd0漏极接管Pa11~Pa1L源极,Pe1和Pd0源极接VDC;当k=j+1~L且0<j<L时,管Pe1导通,管Pa11~Pa1L源极通过Pe1接通VDC,低值区电路工作;低值区电路包括高通变阈PMOS管Pa11~Pa1L和串联二极管D12~D1L,管D12~D1L-1负极各自接管D13~D1L正极,D1L负极接D00正极,将D12~D1L和D00~D0L-1串联,组成2L-1个串联二极管序列,管Pa11~Pa1L的高通阈各自为th1~thL,其有效输入接Ai,管Pa12~Pa1L漏极各自接管D12~D1L负极,管Pa11漏极接D12正极;当j=0时,管Pd0导通,管Pa11~Pa1L源极通过Pd0接通VDC,高值区电路无效,低值区电路工作且形成为数字跟随器,用管Pe1和Pd0导通控制低值区(j+1,L)长度L-j-2,j≠L;当k=0~j且j≠L时,管Pe1截止,管Pa11~Pa1L的源极与VDC断开,低值区电路不工作;对j=L,当k≠0时,管Pe1截止,而当k=0时,管Pe1导通,管Pa11~Pa1L全截止,低值区电路无效,高值区电路工作;③Low value area and low gating circuit: The low gating circuit is composed of variable threshold gating PMOS transistors P d1 ~P dL , gating controlled PMOS transistor P e1 and PMOS transistor P d0 ; the source of the transistor P d1 ~P dL-1 The high-pass thresholds of the poles to be transmitted are t h2 ~ t hL respectively, and the low-pass thresholds of the sources of P dL to be transmitted are t / h1 ; the gates of the transistors P d0 ~ P dL are connected to the control signals v /tg0 ~ v /tgL respectively , and P d1 ~ The drain of P dL takes over the gate of P e1 , and the effective input of P d1 ~ P dL is connected to A i ; for each j, j=1 ~ L-1, only one of P d1 ~ P dL-1 is turned on, P dj , the rest of the tubes are cut off, and t hj+1 is selected from t h2 ~ t hL to load the tube P e1 , and j=L, the tube P dL is turned on, and t /h1 is loaded to the tube P e1 ; the tubes P e1 and P d0 are drained The pole takes over the source of P a11 ~P a1L , the source of P e1 and P d0 is connected to V DC ; when k=j+1~L and 0<j<L, the tube P e1 is turned on, and the source of P a11 ~P a1L The pole is connected to V DC through P e1 , and the circuit in the low-value area works; the circuit in the low-value area includes high-threshold PMOS transistors P a11 ~P a1L and series diodes D 12 ~D 1L , and the negative poles of tubes D 12 ~D 1L-1 take over respectively D 13 ~D 1L positive pole, D 1L negative pole connected to D 00 positive pole, connect D 12 ~D 1L and D 00 ~D 0L-1 in series to form 2L-1 series diode series, the high-pass thresholds of tubes P a11 ~P a1L are respectively It is t h1 ~t hL , its effective input is connected to A i , the drains of tubes P a12 ~P a1L are respectively connected to the negative poles of D 12 ~D 1L , and the drain of tube P a11 is connected to the positive pole of D 12 ; when j=0, tube P d0 Turn on, the source of the tubes P a11 ~ P a1L is connected to V DC through P d0 , the circuit in the high value area is invalid, the circuit in the low value area works and forms a digital follower, and the low value area is controlled by the conduction of the tubes P e1 and P d0 (j+1, L) length L-j-2, j≠L; when k=0~j and j≠L, the tube P e1 is cut off, and the sources of the tubes P a11 ~P a1L are disconnected from V DC , The circuit in the low-value area does not work; for j=L, when k≠0, the tube P e1 is cut off, and when k=0, the tube P e1 is turned on, and the tubes P a11 ~ P a1L are all cut off, and the circuit in the low-value area is invalid , circuit work in high value area; ④Si输出电路和Ji输出电路:Si输出电路由CMOS传输门TG0~TGL和恒流源ISi组成,传输门TG1~TGL输入分别接管Pa00~Pa0L-1漏极,TG0输入接管Pa1L漏极,TG0~TGL输出都接恒流源ISi上端,ISi上端作为Si输出,ISi下端接地,TG0~TGL的正控制端和负控制端分别接vtg0~vtgL和v/tg0~v/tgL,二极管导通压降为VDon,对每个j,j=1~L,在TG1~TGL中只有一个TGj导通,Si通过导通的TGj接Pa0j-1漏极,对j=0,Si通过导通的TG0接管Pa1L漏极;选取VDC=LVDon+△,△为K值存储单元电路特性要求补偿的偏移量;④S i output circuit and J i output circuit: S i output circuit is composed of CMOS transmission gate TG 0 ~TG L and constant current source I Si , the input of transmission gate TG 1 ~TG L respectively takes over the drain of P a00 ~P a0L -1 , the input of TG 0 takes over the drain of P a1L , the output of TG 0 ~ TGL is connected to the upper end of the constant current source I Si , the upper end of I Si is used as the output of Si , the lower end of I Si is grounded, the positive control end of TG 0 ~ TG L and the negative control The terminals are respectively connected to v tg0 ~v tgL and v /tg0 ~v /tgL , the diode conduction voltage drop is V Don , for each j, j=1~L, only one TG j among TG 1 ~TG L is turned on , S i connects to the drain of P a0j-1 through the turned-on TG j , for j=0, S i takes over the drain of P a1L through the turned-on TG 0 ; select V DC = LV Don + △, △ is stored as K value The offset required by the unit circuit characteristics; Ji输出电路由PMOS管Pe2和恒流源ICi组成,管Pe2源极接VDC、管Pe2栅极接管Pe0栅极g/hj、管Pe2漏极接恒流源ICi上端,ICi上端作为Ji输出,ICi下端接地,管Pc0栅极接v/tg0,Pc0漏极接Pe0栅极;对j≠0,当k<j时,管Pe0栅极g/hj电压Vg/hj<VDC,管Pe2导通,Ji输出为高电平VDC,表示有借位,当k≥j时,Vg/hj=VDC,管Pe2截止,Ji输出为低电平0,表示无借位;管Pc0源极接直流电压VDC,使j=0时Ji输出为上述表示无借位的电平;所有恒流源电流方向是由上端流向下端。J i output circuit consists of PMOS tube P e2 and constant current source I Ci , the source of tube P e2 is connected to V DC , the gate of tube P e2 is connected to P e0 gate g /hj , and the drain of tube P e2 is connected to constant current source I The upper end of Ci , the upper end of I Ci is output as J i , the lower end of I Ci is grounded, the gate of P c0 is connected to v /tg0 , the drain of P c0 is connected to the gate of P e0 ; for j≠0, when k<j, the pipe P e0 Gate g /hj voltage V g/hj < V DC , tube P e2 is turned on, J i outputs high level V DC , which means there is a borrow. When k≥j, V g/hj = V DC , tube P e2 When P e2 is cut off, the output of J i is low level 0, indicating no borrow; the source of the tube P c0 is connected to the DC voltage V DC , so that when j=0, the output of J i is the above-mentioned level indicating no borrow; all constant current The source current direction is from the upper end to the lower end. 4.根据权利要求3所述的一种采用带通阈加载技术的K值半减器的构建方法形成的一种采用带通阈加载技术的K值半减器电路,其特征在于:在所述的采用带通阈加载技术的K值半减器电路中,取K=10,则得出一种采用带通阈加载技术的10值半减器电路,10值半减器电路包括:控制信号形成电路,高值区和高选通电路,低值区和低选通电路,Si输出电路和Ji输出电路;10值半减器具体电路结构描述如下:4. a kind of construction method that adopts the K value half-subtractor of band-pass threshold-loading technology to form according to claim 3 a kind of K-value half-subtractor circuit that adopts band-pass threshold-loading technology is characterized in that: In the K-value half-subtractor circuit of adopting band-pass threshold loading technology described above, get K=10, then draw a kind of 10-value half-subtractor circuit that adopts band-pass threshold loading technology, 10-value half-subtractor circuit comprises: control Signal forming circuit, high value area and high gating circuit, low value area and low gating circuit, S i output circuit and J i output circuit; the specific circuit structure of the 10-value half reducer is described as follows: ①控制信号形成电路由逻辑值判别门U0~U9和CMOS非门M0~M9二部分组成,判别门U0~U9分别由区间最小的带通式变阈PMOS管Pb0~Pb9和恒流源I0~I9构成,管Pb0~Pb9的带通阈分别为tb0~tb9,其中tb0=t/h1,tb9=th9,即管Pb0和Pb9分别为区间最小的低通式和高通式变阈PMOS管,管Pb0~Pb9的有效输入都接Bi,管Pb0~Pb9源极接电源VDC,管Pb0~Pb9漏极分别接恒流源I0~I9上端,I0~I9上端分别作为U0~U9输出vtg0~vtg9,恒流源I0~I9下端接地,恒流源电流都是由上端流向下端,vtg0~vtg9分别接非门M0~M9输入,M0~M9输出分别为v/tg0~v/tg9,由此得出互为反相的控制信号vtg0~vtg9和v/tg0~v/tg9,M0~M9工作电压为VDC,对每个Bi输入j,j=0~9,vtg0~vtg9中仅vtgj是高电平,其余输出都是低电平;①The control signal forming circuit is composed of logic value discrimination gates U 0 ~ U 9 and CMOS NOT gates M 0 ~ M 9. The discrimination gates U 0 ~ U 9 are respectively composed of band-pass variable threshold PMOS transistors P b0 ~ P b9 and constant current sources I 0 ~ I 9 are formed, and the band-pass thresholds of tubes P b0 ~ P b9 are t b0 ~ t b9 respectively, where t b0 = t /h1 , t b9 = t h9 , that is, tubes P b0 and P b9 are the low-pass and high-pass variable-threshold PMOS transistors with the smallest interval respectively. The effective inputs of the tubes P b0 ~ P b9 are all connected to Bi, the sources of the tubes P b0 ~ P b9 are connected to the power supply V DC , and the tubes P b0 ~ P The drains of b9 are respectively connected to the upper end of the constant current source I 0 ~ I 9 , and the upper end of I 0 ~ I 9 is respectively used as U 0 ~ U 9 to output v tg0 ~ v tg9 , the lower end of the constant current source I 0 ~ I 9 is grounded, and the constant current source current Both flow from the upper end to the lower end, v tg0 ~ v tg9 are respectively connected to the input of the NOT gate M 0 ~ M 9 , and the outputs of M 0 ~ M 9 are respectively v /tg0 ~ v /tg9 , thus obtaining mutually inverse control signals v tg0 ~v tg9 and v /tg0 ~v /tg9 , the working voltage of M 0 ~M 9 is V DC , input j for each B i , j=0~9, only v tgj among v tg0 ~v tg9 is high level, other outputs are low level; ②高值区和高选通电路:高选通电路由变阈选通PMOS管Pc1~Pc9,选通受控PMOS管Pe0和PMOS管Pc0组成;管Pc1~Pc9源极待传低通阈分别为t/h1~t/h9,管Pc1~Pc9的有效输入接Ai,管Pc0~Pc9栅极分别接控制信号v/tg0~v/tg9,而其漏极都接管Pe0栅极g/hj;对每个Bi输入j,j=1~9,管Pc1~Pc9中只有一个管Pcj导通,其余管截止,于是在t/h1~t/h9中只将t/hj加载到管Pe0,管Pe0源极接VDC,其漏极接管Pa00~Pa08源极;高值区电路包括带通变阈PMOS管Pa00~Pa08和串联二极管D00~D08,管Pa01~Pa08的高通阈依次为th1~th8,管Pa00的低通阈为t/h1,管D00~D07负极各自接管D01~D08正极,管Pa00~Pa08有效输入接Ai,管Pa00~Pa08漏极各自接管D00~D08的负极;Ai输入为k,当k=0~j-1且j≠0时,管Pe0导通,将管Pa00~Pa08源极通过Pe0接通VDC,高值区电路工作,用管Pe0导通控制高值区(0,j-1)长度j-2,j≠0,当k=j~9时,管Pe0截止,管Pa00~Pa08源极与VDC断开,高值区电路不工作;②High value area and high gating circuit: the high gating circuit is composed of variable threshold gating PMOS transistors P c1 ~ P c9 , gating controlled PMOS transistor P e0 and PMOS transistor P c0 ; the sources of the transistors P c1 ~ P c9 are waiting The low-pass thresholds are respectively t /h1 ~ t /h9 , the effective input of the tubes P c1 ~ P c9 is connected to A i , the gates of the tubes P c0 ~ P c9 are respectively connected to the control signal v /tg0 ~ v /tg9 , and the drain All poles take over P e0 gate g /hj ; input j for each B i , j=1~9, only one tube P cj is turned on among the tubes P c1 ~P c9 , and the other tubes are cut off, so at t /h1 ~ In t /h9 , only t /hj is loaded to the tube P e0 , the source of the tube P e0 is connected to V DC , and its drain is connected to the source of P a00 ~ P a08 ; the circuit in the high value area includes PMOS tubes P a00 ~ P a00 ~ P a08 and diodes D 00 ~ D 08 in series, the high-pass thresholds of tubes P a01 ~ P a08 are t h1 ~ t h8 in turn, the low-pass threshold of tube P a00 is t / h1 , and the negative poles of tubes D 00 ~ D 07 respectively take over D 01 ~ D 08 are positive, the effective input of tubes P a00 ~ P a08 is connected to A i , and the drains of tubes P a00 ~ P a08 are respectively connected to the negative poles of D 00 ~ D 08 ; the input of A i is k, when k = 0 ~ j-1 And when j≠0, the tube P e0 is turned on, the sources of the tubes P a00 ~ P a08 are connected to V DC through P e0 , the circuit in the high-value area works, and the tube P e0 is turned on to control the high-value area (0, j- 1) The length j-2, j≠0, when k=j~9, the tube P e0 is cut off, the source of the tubes P a00 ~P a08 is disconnected from V DC , and the circuit in the high value area does not work; ③低值区和低选通电路:低选通电路由变阈选通PMOS管Pd1~Pd9,选通受控PMOS管Pe1和PMOS管Pd0组成;管Pd1~Pd8源极待传高通阈分别为th2~th9,Pd9源极待传低通阈为t/h1;管Pd0~Pd9栅极分别接控制信号v/tg0~v/tg9,管Pd1~Pd9漏极接管Pe1栅极,管Pd1~Pd9有效输入接Ai;对每个j,j=1~8,管Pd1~Pd8中只有一管Pdj导通,其余管截止,在th2~th9中选取thj+1加载到管Pe1,而j=9,管Pd9导通,t/h1加载到管Pe1;管Pe1和Pd0漏极接管Pa11~Pa19源极,管Pe1和Pd0源极接VDC;当k=j+1~9且0<j<9时,管Pe1导通,将管Pa11~Pa19源极通过Pe1接通VDC,低值区电路工作;低值区电路包括带通变阈PMOS管Pa11~Pa19和串联二极管D12~D19,管D12~D18负极各自接管D13~D19正极,D19负极接D00正极,将D12~D19和D00~D08串联,组成17个串联二极管序列,管Pa11~Pa19的高通阈各自为th1~th9,其有效输入接Ai,管Pa12~Pa19漏极各自接管D12~D19负极,管Pa11漏极接D12正极;当j=0时,管Pd0导通,管Pa11~Pa19源极通过Pd0接通VDC,高值区电路无效,低值区电路工作且形成为数字跟随器,用管Pe1和Pd0导通控制低值区(j+1,9)长度9-j-2,j≠9;当k=0~j且j≠9时,管Pe1截止,管Pa11~Pa19的源极与VDC断开,低值区电路不工作;对j=9,当k≠0时,管Pe1截止,而当k=0时,管Pe1导通,管Pa11~Pa19全截止,低值区电路无效,高值区电路工作;③Low value area and low gating circuit: The low gating circuit is composed of variable threshold gating PMOS transistors P d1 ~ P d9 , gating controlled PMOS transistor P e1 and PMOS transistor P d0 ; the sources of the transistors P d1 ~ P d8 are waiting The high-pass thresholds for transmission are t h2 ~ t h9 , and the low-pass thresholds for P d9 sources to be transmitted are t / h1 ; the gates of the tubes P d0 ~ P d9 are respectively connected to the control signal v /tg0 ~ v /tg9 , and the tubes P d1 ~ P The drain of d9 is connected to the gate of P e1 , and the effective input of the tubes P d1 ~ P d9 is connected to A i ; for each j, j=1 ~ 8, only one tube P dj of the tubes P d1 ~ P d8 is turned on, and the other tubes are cut off , select t hj+1 from t h2 to t h9 to load to the tube P e1 , and j=9, the tube P d9 is turned on, and t /h1 is loaded to the tube P e1 ; the drains of the tubes P e1 and P d0 take over P a11 ~P a19 source, the source of the tube P e1 and P d0 is connected to V DC ; when k=j+1~9 and 0<j<9, the tube P e1 is turned on, and the source of the tube P a11 ~P a19 is passed through When P e1 is connected to V DC , the circuit in the low-value area works; the circuit in the low-value area includes PMOS transistors P a11 ~ P a19 with pass-through thresholds and series diodes D 12 ~ D 19 , and the negative poles of tubes D 12 ~ D 18 respectively take over D 13 ~ The positive pole of D 19 , the negative pole of D 19 is connected to the positive pole of D 00 , and D 12 ~ D 19 and D 00 ~ D 08 are connected in series to form 17 series diode sequences. The high-pass thresholds of tubes P a11 ~ P a19 are t h1 ~ t h9 respectively, Its effective input is connected to A i , the drains of the tubes P a12 ~ P a19 are respectively connected to the negative poles of D 12 ~ D 19 , and the drain of the tube P a11 is connected to the positive pole of D 12 ; when j=0, the tube P d0 is turned on, and the tubes P a11 ~ The source of P a19 is connected to V DC through P d0 , the circuit in the high value area is invalid, the circuit in the low value area works and forms a digital follower, and the conduction of the tubes P e1 and P d0 is used to control the low value area (j+1, 9) Length 9-j-2, j≠9; when k=0~j and j≠9, the tube P e1 is cut off, the sources of the tubes P a11 ~ P a19 are disconnected from V DC , and the circuit in the low value area does not work; For j=9, when k≠0, the tube P e1 is cut off, and when k=0, the tube P e1 is turned on, the tubes P a11 to P a19 are all cut off, the circuit in the low value area is invalid, and the circuit in the high value area works; ④Si输出电路和Ji输出电路:Si输出电路由CMOS传输门TG0~TG9和恒流源ISi组成,传输门TG1~TG9输入分别接管Pa00~Pa08漏极,TG0输入接管Pa19漏极,TG0~TG9输出都接恒流源ISi上端,ISi上端作为Si输出,ISi下端接地,TG0~TG9的正控制端和负控制端分别接vtg0~vtg9和v/tg0~v/tg9,二极管导通压降为VDon,在TG1~TG9中,对每个j,j=1~9,只有一个TGj导通,Si通过导通的TGj接Pa0j-1漏极,对j=0,Si通过导通的TG0接管Pa19漏极;选取VDC=9VDon+△,△为K值存储单元电路特性要求补偿的偏移量;④S i output circuit and J i output circuit: S i output circuit is composed of CMOS transmission gate TG 0 ~ TG 9 and constant current source I Si , the input of transmission gate TG 1 ~ TG 9 respectively takes over the drain of P a00 ~ P a08 , TG The 0 input takes over the drain of P a19 , the outputs of TG 0 ~ TG 9 are all connected to the upper end of the constant current source I Si , the upper end of I Si is used as the output of Si , the lower end of I Si is grounded, and the positive control end and negative control end of TG 0 ~ TG 9 are respectively Connect v tg0 ~ v tg9 and v /tg0 ~ v /tg9 , the diode conduction voltage drop is V Don , in TG 1 ~ TG 9 , for each j, j=1 ~ 9, only one TG j is turned on, S i connects to the drain of P a0j-1 through the turned-on TG j , for j=0, S i takes over the drain of P a19 through the turned-on TG 0 ; select V DC =9V Don + △, △ is the K value storage unit The circuit characteristics require the offset to be compensated; Ji输出电路由PMOS管Pe2和恒流源ICi组成,管Pe2源极接VDC、管Pe2栅极接管Pe0栅极g/hj、管Pe2漏极接恒流源ICi上端,ICi上端作为Ji输出,ICi下端接地,管Pc0栅极接v/tg0,Pc0漏极接Pe0栅极;对j≠0,当k<j时,管Pe0栅极g/hj电压Vg/hj<VDC,管Pe2导通,Ji输出为高电平VDC,表示有借位,当k≥j时,Vg/hj=VDC,管Pe2截止,Ji输出为低电平0,表示无借位;管Pc0源极接直流电压VDC,使j=0时Ji输出为上述表示无借位的电平;所有恒流源电流方向是由上端流向下端。J i output circuit consists of PMOS tube P e2 and constant current source I Ci , the source of tube P e2 is connected to V DC , the gate of tube P e2 is connected to P e0 gate g /hj , and the drain of tube P e2 is connected to constant current source I The upper end of Ci , the upper end of I Ci is output as J i , the lower end of I Ci is grounded, the gate of P c0 is connected to v /tg0 , the drain of P c0 is connected to the gate of P e0 ; for j≠0, when k<j, the pipe P e0 Gate g /hj voltage V g/hj < V DC , tube P e2 is turned on, J i outputs high level V DC , which means there is a borrow. When k≥j, V g/hj = V DC , tube P e2 When P e2 is cut off, the output of J i is low level 0, indicating no borrow; the source of the tube P c0 is connected to the DC voltage V DC , so that when j=0, the output of J i is the above-mentioned level indicating no borrow; all constant current The source current direction is from the upper end to the lower end. 5.根据权利要求3所述的一种采用带通阈加载技术的K值半减器电路相同特征形成的一种采用带通阈加载技术的K值半加器电路,其特征在于:在所述的K值半减器电路中,(一)首先,将U1~UL的带通阈分别取为tbL~tb1;㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,无借位取为有进位,管Pc0源极接直流电压Vd,使j=0时Ci输出为上述表示无进位的电平,VDC-Vd=1.5伏;㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则采用带通阈加载技术的K值半减器电路就成为采用带通阈加载技术的K值半加器电路。5. a kind of K value half-adder circuit that adopts band-pass threshold loading technology of a kind of K value half-adder circuit that adopts band-pass threshold loading technology to form according to claim 3 is characterized in that: in said In the K-value half subtractor circuit described above, (1) firstly, the band-pass thresholds of U 1 ~ U L are respectively taken as t bL ~ t b1 ; (2) Then, the borrow number J i is taken as the carry number C i , Except when j=0, no borrow is taken as no carry, all borrows are taken as no carry, and no borrow is taken as carry, the source of the tube P c0 is connected to the DC voltage V d , so that when j=0, C The output of i is the above-mentioned level indicating no carry, V DC - V d = 1.5 volts; (iii) finally, the half subtractor is taken as a half adder, A i , B i and S i are taken as the summand in turn, and the addition The number and standard sum, then the K-value half-subtractor circuit using the band-pass threshold loading technology becomes the K-value half-adder circuit using the band-pass threshold loading technology. 6.根据权利要求4所述的一种采用带通阈加载技术的10值半减器电路相同特征形成的一种采用带通阈加载技术的10值半加器电路,其特征在于:在所述的采用带通阈加载技术的10值半减器电路中,(一)首先,将U1~U9的带通阈分别取为tb9~tb1;㈡接着,将借位数Ji取为进位数Ci,除j=0时无借位取为无进位之外,将全部有借位取为无进位,无借位取为有进位,管Pc0源极接直流电压Vd,使j=0时Ci输出为上述表示无进位的电平,VDC-Vd=1.5伏;㈢最后,将半减器取为半加器,将Ai,Bi和Si依次取为被加数,加数和本位和,则采用带通阈加载技术的10值半减器电路就成为采用带通阈加载技术的10值半加器电路。6. a kind of 10-value half-adder circuit that adopts band-pass threshold-loading technology to form a kind of 10-value half-adder circuit that adopts band-pass threshold-loading technology according to claim 4 is characterized in that: in said In the 10-value half-subtractor circuit using the band-pass threshold loading technique described above, (1) firstly, set the band-pass thresholds of U 1 to U 9 as t b9 to t b1 respectively; (2) then, set the borrow number J i Take it as the carry number C i , except that when j=0, no borrow is taken as no carry, all borrows are taken as no carry, and no borrow is taken as a carry, and the source of the tube P c0 is connected to the DC voltage V d , when j=0, the C i output is the above-mentioned level indicating no carry, V DC -V d =1.5 volts; (iii) finally, the half subtractor is taken as a half adder, and A i , B i and S i are sequentially Take it as the summand, the addend and the basic sum, then the 10-value half-subtractor circuit using the band-pass threshold loading technique becomes the 10-value half-adder circuit using the band-pass threshold loading technique.
CN201410520679.7A 2014-10-01 2014-10-01 Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter Expired - Fee Related CN104300965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410520679.7A CN104300965B (en) 2014-10-01 2014-10-01 Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410520679.7A CN104300965B (en) 2014-10-01 2014-10-01 Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter

Publications (2)

Publication Number Publication Date
CN104300965A CN104300965A (en) 2015-01-21
CN104300965B true CN104300965B (en) 2017-06-30

Family

ID=52320563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410520679.7A Expired - Fee Related CN104300965B (en) 2014-10-01 2014-10-01 Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter

Country Status (1)

Country Link
CN (1) CN104300965B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885278B (en) * 2019-01-28 2022-12-27 大连大学 Method for constructing molecular semi-adder and semi-subtracter
CN116931873B (en) * 2023-09-11 2023-11-28 安徽大学 Two-byte multiplication circuit, and multiplication circuit and chip with arbitrary bit width of 2-power

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1032985A (en) * 1987-11-02 1989-05-17 菲利浦光灯制造公司 Digital integrated circuit
CN1041232A (en) * 1985-01-11 1990-04-11 株式会社日立制作所 Arithmetic unit and arithmetic circuity
CN1820416A (en) * 2003-08-28 2006-08-16 富士通株式会社 Synchronous frequency dividers and components therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1041232A (en) * 1985-01-11 1990-04-11 株式会社日立制作所 Arithmetic unit and arithmetic circuity
CN1032985A (en) * 1987-11-02 1989-05-17 菲利浦光灯制造公司 Digital integrated circuit
CN1820416A (en) * 2003-08-28 2006-08-16 富士通株式会社 Synchronous frequency dividers and components therefor

Also Published As

Publication number Publication date
CN104300965A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN101868829B (en) M+N bit programming and M+l bit read for m bit memory cells
CN110942792B (en) Low-power-consumption low-leakage SRAM (static random Access memory) applied to storage and calculation integrated chip
TW201443651A (en) Systems and methods involving data bus inversion memory circuitry, configuration(s) and/or operation
TWI435325B (en) Random access memory with cmos-compatible nonvolatile storage element in series with storage capacitor
CN108806742A (en) Random access memory and having circuitry, methods and systems related thereto
CN111462797A (en) Near memory computing system and non-volatile memory unit
CN104300965B (en) Using the K values of band logical threshold loading technique and the construction method and its circuit of ten value half adders and half-subtracter
CN112929018A (en) Latch, data operation unit and chip
US20120250817A1 (en) vMOS Multi-valued Counter Unit
CN114974337B (en) Time domain memory internal computing circuit based on spin magnetic random access memory
JPH06244375A (en) Semiconductor device
CN101833433B (en) Tri-valued, thermal-insulating and low-power multiplier unit and multiplier
Velammal et al. Design of high-speed nanoscale adder logic circuit for low power consumption
CN104599707B (en) SRAM with Embedded ROM
US11914973B2 (en) Performing multiple bit computation and convolution in memory
TW200951952A (en) Random access memory with CMOS-compatible nonvolatile storage element
CN102426855B (en) 8-value memory cell embedded in DRAM storage matrix, and corresponding conversion circuit thereof
CN111817710B (en) Memristor-based hybrid logic exclusive nor circuit and exclusive nor calculation array
CN102314215A (en) Low power consumption optimization method of decimal multiplier in integrated circuit system
WO2022165808A1 (en) Storage circuit and memory
US10644030B2 (en) Integrated circuit and cell structure in the integrated circuit
CN104300940B (en) Master-slave follower type single-edge K value trigger constructing method utilizing circuit three-element theory and master-slave follower type single-edge K value trigger circuit
CN114898792A (en) Multi-bit memory inner product and exclusive OR unit, exclusive OR vector and operation method
US20220334801A1 (en) Weight stationary in-memory-computing neural network accelerator with localized data multiplexing
CN104333367B (en) K-value and ten-value signal controlled data distributor and data selector

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20170630

Termination date: 20211001