网站大量收购独家精品文档,联系QQ:2885784924

Combinational Logic Department of Computer Science组合逻辑计算机科学系.ppt

Combinational Logic Department of Computer Science组合逻辑计算机科学系.ppt

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Combinational Logic Multi-input gates - (x+(y*z))’ Half Adder 1-bit addition (x + y) outputs: sum s and carry c s = xy’ + x’y (x XOR y or x ? y) c = xy Full 1-bit adder Need a carry in ci CMOS adder Multiplexor A multiplexor (selector or mux) selects one of n inputs to be output Let’s make it easy and start with a 2-input mux when s = 0, f = a when s = 1, f = b 2 input Multiplexor design Making bigger muxes You can design them directly, or just glue together smaller muxes: Decoders Decode an n-bit input to set output line 2n-1 Programmable Logic Array (PLA) Since all Boolean functions can be expressed in sum of products form, we can implement a set of n input functions systematically in hardware using a PLA University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell * University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell y x Out Vdd z 0 1 1 0 0 0 0 1 0 1 0 1 0 0 1 1 1 0 0 0 x 0 1 1 1 0 1 1 0 z 1 0 1 0 out y Very easy with inverting gates 1 0 0 0 c 0 1 1 1 0 1 1 0 y 1 0 0 0 s x x y s c 1 0 1 1 0 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 0 0 x 1 0 0 0 co 1 1 1 1 0 1 1 0 ci 1 0 0 0 s y s = x’yci’+ xy’ci’ + x’y’ci + xyci = ci’(x’y+xy’) + ci (xy+x’y’) = ci’(x’y+xy’) + ci (x’y+xy’)’ = ci ? (x ? y) co = x’yci + xy’ci + xyci’ + xyci = ci (x’y+xy’) + xy(ci’+ci ) = ci (x ? y) + xy x y s ci co For the carry, we can first use De Morgan’s laws For the xor, recall that a xor b = ab’ + a’b and (a xor b)’ = ab + a’b’ Vdd x’ y Out x y’ y x’ x y’ x y s ci co co x y s ci a b c d f s0 s1 a b f s 1 1 1 0 0 0 0 1 1 1 0 1 0 0 1 1 1 0 0 0 s 1 1 1 1 0 1 1 0 b 0 0 0 0 f a f = s’ab’ + s’ab + sa’b + sab = s’a(b’+b) + sb(a’+a) = s’a + sb b a s f c d f s1 a b s0 a b 11 10 01 00 1 0 0 0 11 0 1 0 0 10 0 0 1 0 01 0 1 1 0 0 1 1 0 b 0 0 1 0 00 a 00 01 10 11 b a b a Connections f2 f1 f0 University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell

您可能关注的文档

文档评论(0)

zyzsaa + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档