四位超前进位加法器原理_第1页
四位超前进位加法器原理_第2页
四位超前进位加法器原理_第3页
四位超前进位加法器原理_第4页
四位超前进位加法器原理_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、精选优质文档-倾情为你奉上超前进位加法器原理74283为4位超前进位加法器,不同于普通串行进位加法器由低到高逐级进位,超前进位加法器所有位数的进位大多数情况下同时产生,运算速度快,电路结构复杂。其管脚如图1所示:图1 74283管脚图其真值表如下所示:表1 4位超前进位加法器真值表由全加器的真值表可得Si和Ci的逻辑表达式: 定义两个中间变量Gi和Pi: 当AiBi1时,Gi1,由Ci的表达式可得Ci1,即产生进位,所以Gi称为产生量变 。若Pi1,则Ai·Bi0,CiCi-1,即Pi1时,低位的进位能传送到高位的进位输出端,故Pi称为传输变量,这两个变量都与进位信号无关。将Gi和P

2、i代入Si和Ci得: 进而可得各位进位信号的逻辑表达如下: 根据逻辑表达式做出电路图如下: 逻辑功能图中有2输入异或门,2输入与门,3输入与门,4输入与门,2输入或门,3输入或门,4输入或门,其转化成CMOS晶体管图如下:电路网表如下:*xor 2.subckt xor2 a b c d fmxorpa 1 a vdd vdd pmos l=2 w=8mxorpb f d 1 vdd pmos l=2 w=8mxorpc 2 b vdd vdd pmos l=2 w=8mxorpd f c 2 vdd pmos l=2 w=8mxorna f a 3 0 nmos l=2 w=4mxornb

3、3 b 0 0 nmos l=2 w=4mxornc f c 4 0 nmos l=2 w=4mxornd 4 d 0 0 nmos l=2 w=4.ends xor2 *and2.subckt and2 a b f mandpa f a vdd vdd pmos l=2 w=4mandpb f b vdd vdd pmos l=2 w=4mandna f a 1 0 nmos l=2 w=4mandnb 1 b 0 0 nmos l=2 w=4.ends and2*and3.subckt and3 a b c f mandpa f a vdd vdd pmos l=2 w=4mandpb f

4、 b vdd vdd pmos l=2 w=4mandpc f c vdd vdd pmos l=2 w=4mandna f a 1 0 nmos l=2 w=6mandnb 1 b 2 0 nmos l=2 w=6mandnc 2 c 0 0 nmos l=2 w=6.ends and3*and4.subckt and4 a b c d fmandpa f a vdd vdd pmos l=2 w=4mandpb f b vdd vdd pmos l=2 w=4mandpc f c vdd vdd pmos l=2 w=4mandpd f d vdd vdd pmos l=2 w=4mand

5、na f a 1 0 nmos l=2 w=8mandnb 1 b 2 0 nmos l=2 w=8mandnc 2 c 3 0 nmos l=2 w=8mandnd 3 d 0 0 nmos l=2 w=8.ends and4*or2.subckt or2 a b fmorpa 1 a vdd vdd pmos l=2 w=8morpb f b 1 vdd pmos l=2 w=8mna f a 0 0 nmos l=2 w=4mnb f b 0 0 nmos l=2 w=4.ends or2 *or3.subckt or3 a b c fmorpa 1 a vdd vdd pmos l=2

6、 w=12morpb 2 b 1 vdd pmos l=2 w=12morpc f c 2 vdd pmos l=2 w=12mna f a 0 0 nmos l=2 w=4mnb f b 0 0 nmos l=2 w=4mnc f c 0 0 nmos l=2 w=4.ends or3*or4.subckt or4 a b c d fmorpa 1 a vdd vdd pmos l=2 w=16morpb 2 b 1 vdd pmos l=2 w=16morpc 3 c 2 vdd pmos l=2 w=16morpd f d 3 vdd pmos l=2 w=16mna f a 0 0 n

7、mos l=2 w=4mnb f b 0 0 nmos l=2 w=4mnc f c 0 0 nmos l=2 w=4mnd f d 0 0 nmos l=2 w=4.ends or4*not.subckt not a f mnotpa f a vdd vdd pmos l=2 w=4mnotna f a 0 0 nmos l=2 w=2.ends not *反相器*or21.subckt or21 a b fxor2 a b 1 or2 xnot 1 f not .ends or21 *2输入或门*or31.subckt or31 a b c fxor3 a b c 1 or3xnot 1

8、f not .ends or31 *3输入或门 *or41.subckt or41 a b c d fxor4 a b c d 1 or4xnot 1 f not .ends or41 *4输入或门*xor21.subckt xor21 a b fxm a A5 notxn b B5 notxxor a b A5 B5 f xor2.ends xor21 * 2输入异或门*and21.subckt and21 a b fxand2 a b 1 and2xnot 1 f not.ends and21 *2输入与门*and31.subckt and31 a b c fxand3 a b c 1 a

9、nd3xnot 1 f not.ends and31 *3输入与门*and41.subckt and41 a b c d fxand4 a b c d 1 and4xnot 1 f not.ends and41 *4输入与门xxor211 a1 b1 p1 xor21 xxor212 a2 b2 p2 xor21xxor213 a3 b3 p3 xor21xxor214 a4 b4 p4 xor21xand211 a1 b1 g1 and21xand212 a2 b2 g2 and21xand213 a3 b3 g3 and21xand214 p1 c0 m0 and21xor211 m0 g

10、1 c1 or21 *进位C1xand311 p2 p1 c0 m1 and31xand215 p2 g1 m2 and21xor312 g2 m1 m2 c2 or31 *进位C2xand411 p3 p2 p1 c0 m3 and41xand313 p3 p2 g1 m4 and31xand216 p3 g2 m5 and21xor412 m3 m4 m5 g3 c3 or41 *进位C3xxor215 p1 c0 s1 xor21 *输出s1xxor216 p2 c1 s2 xor21 *输出s2xxor217 p3 c2 s3 xor21 *输出s3xxor218 p4 c3 s4 x

11、or21 *输出s4.include "c:lib130nm_bulk.l"tt.opt scale=0.05u.global vdd gndvdd vdd 0 1.2va1 a1 0 pulse 1.2 1.2 20n 1f 1f 30n 100nva2 a2 0 pulse 0 0 20n 1f 1f 30n 100nva3 a3 0 pulse 0 0 20n 1f 1f 30n 100nva4 a4 0 pulse 0 0 20n 1f 1f 30n 100nvb1 b1 0 pulse 1.2 1.2 20n 1f 1f 30n 100n vb2 b2 0 pulse 1.2 1.2 20 1f 1f 30n 100nvb3 b3 0 pulse 0 0 20n 1f 1f 30n

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论