




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、13 Logic Gates2Contentsw Basic Logic Operationsw The Inverterw The AND Gatew The OR Gatew The NAND Gatew The NOR Gatew The Exclusive-OR Gatew The Exclusive-NOR Gate31-3 Basic Logic Operations(基本逻辑运算)NOT Logic Operation (非运算)(非运算)AND Logic Operation (与运算)(与运算)OR Logic Operation (或运算)(或运算)41-3-1 NOT L
2、ogic Operationw The NOT operation changes one logic level to the opposite logic level. If the input is HIGH(1), the output is LOW (0), and vice versa.51-3-1 NOT Logic Operationw Function (逻辑功能)(逻辑功能): changes one logic level to the opposite level. Changes a 1 to a 0 and a 0 to a 1.EYALogic symbol61-
3、3 Basic Logic Operationsw Logic symbol (逻辑符号) : some standard distinctive shape symbol.7w Logic gate (逻辑门)逻辑门): the circuit that performs a specified logic operationw Inputs, outputs (输入,输出)(输入,输出): the lines connected to each symbol (gate). AND and OR gates can have any number of inputs; NOT gate h
4、as only one input.1-3 Basic Logic Operations8The gate to perform the NOT logic operation is called an inverter (反相器(反相器,非门)非门).1-3-1 The Inverter93-1 The Inverterw Truth table(真值表): shows the output for each possible input in terms of levels and corresponding bits. Inverter Truth Table103-1 The Inve
5、rterw Inverter operation (反相器运算)w For a pulse input, when the input is LOW(0), the output is HIGH(1); when the input is HIGH, the output is LOW, thereby producing an inverted output pulse.113-1 The Inverterw Timing Diagrams (时序图) is basically a graph that accurately displays the relationship of two
6、or more waveforms with respect to each other on a time basis.123-1 The Inverter w ex. A waveform is applied to an inverter in the following figure, show the timing diagram.133-1 The Inverter Logic Expression (逻辑表达式)w In Boolean algebra(布尔代数), which is the mathematics of logic circuits and will be co
7、vered in Chapter 4, a variable ( a symbol used to represent a logical quantity) is designated by a letter.w The complement of a variable (反变量)is designated by a bar over the letter. w A variable can take on a value of either 1 or 0.A143-1 The Inverter Logic ExpressionLogic expression(逻辑表达式) for the
8、inverterw If the variable is called A and the output variable is called X (中文课本多用F表示),thenw The complement variable can be read as “A bar” or “not A” (A反).w If A=0, =1AX A151-3-2 AND Logic Operation(与逻辑操作)EABYThe AND operation produces a HIGH output only if all the inputs are HIGH.When any of the in
9、puts is LOW, the output is LOW.163-2 The AND Gate (与门)w The operation is implemented by an AND gate.w The basic purpose of an AND gate is to determine when certain conditions are simultaneously true.A possible logic levels for a 2-input(2输入) AND gate173-2 The AND Gate Truth TableThe truth table for
10、a 2-input AND gate183-2 The AND Gate Timing Diagram193-2 The AND Gate Logic Expressionw For a 2-input AND gate, if one input variable is A, the other one is B, and the output variable is X, then the Boolean expression is X=AB or X=ABw The AND function is the same as Boolean multiplication. 00=0, 01=
11、0, 10=0, 11=1201-3-3 OR Logic Operation(或逻辑操作)w The OR operation produces a HIGH output when any of the inputs is HIGH.w The output is LOW only when all of the inputs are LOW.AEBY 213-3 The OR Gate (或门)w The OR operation is implemented by a OR gate. A possible logic levels for a 2-input OR gate223-3
12、 The OR Gate Truth Table The truth table for a 2-input OR gate233-3 The OR Gate Timing Diagram243-3 The OR Gate Logic Expressionw For a 2-input ORgate, if one input variable is A, the other one is B, and the output variable is X, then the Boolean expression is X=A+Bw The OR function is the same as B
13、oolean addittion. 0+0=0, 0+1=1, 1+0=1, 1+1=1253-4 The NAND Gate (与非门)w The term NAND is a contraction (缩写) of NOT-AND and implies an AND function with a complemented (inverted) output. 263-4 The NAND Gatew The NAND gate produces a LOW output only when all the inputs are HIGH.w For a 2-input NAND gat
14、e, the output X is HIGH if either A or B is LOW, and HIGH if both A and B are LOW.273-4 The NAND Gate Truth TableThe truth table for a 2-input NAND gate283-4 The NAND Gate Logic Expression The Boolean expression for the output of a 2-input NAND gate is NAND gates can be used in combination to perfor
15、m the AND,OR and inverter operation.ABX 293-5 The NOR Gate (或非门)w The term NOR is a contraction of NOT-OR and implies an OR function with a complemented (inverted) output. 303-5 The NOR Gatew The NOR gate produces a LOW output when any of the inputs is HIGH, and HIGH only when all of its input are L
16、OW.w For a 2-input NOR gate, the output X is LOW if either A or B is HIGH, and HIGH if both A and B are LOW.313-5 The NOR Gate Truth TableThe truth table for a 2-input NOR gate323-5 The NOR Gate Logic Expressionw The Boolean expression for the output of a 2-input NOR gate isw NOR gates can be also u
17、sed in combination to perform the AND,OR and inverter operation.BAX333-6 The Exclusive-OR Gate (XOR) (异或门)w The output of an exclusive-OR gate is HIGH only when the two inputs are at opposite logic levels.343-6 The Exclusive-OR Gate For an exclusive-OR gate, output X is HIGH if input A is LOW and in
18、put B is HIGH, or if A is HIGH and B is LOW; X is LOW if A and B are both HIGH or both LOW.353-6 The Exclusive-OR Gate Truth TableTruth table for an exclusive-OR gateLogic ExpressionBABABAX363-7 The Exclusive-NOR Gate (XNOR) (同或门)w The output of an exclusive-NOR gate is HIGH only when the two inputs are at the same logic levels.373-7 The Exclusive-NOR Gatew For an
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二零二五年度商铺转租及后续经营权转让合同
- 二零二五年度安全生产免责协议书:企业安全生产责任
- 2025年度金融衍生品包销合同性质与风险管理策略
- 二零二五年度人力资源服务外包与人才测评合作协议
- 二零二五年度竞业禁止劳动合同在高新技术产业的创新实践
- 二零二五年度民营企业协商解除劳动合同及安置方案
- 二零二五年度秸秆供应合同中的秸秆生物质能源项目市场推广合作协议
- 二零二五年度简易弃土场租赁协议(环保园区建设)
- 2025年荆门普通货运从业资格证考试
- 2025年揭阳货运从业资格证考试卷
- 《劳动保障监察条例》课件
- 外籍工作人员聘用合同范本
- 大学生就业指导教学-大学生就业形势与政策
- 中华人民共和国学前教育法
- 2021年广东省公务员录用考试《行测》题(乡镇卷)【原卷版】
- 2020年全国中学生生物学竞赛联赛试题真题(含答案解析)
- 足浴技师与店内禁止黄赌毒协议书范文
- 铁路专业基础知识考试题及答案
- 车路协同路侧设备通信终端(RSU)测试技术要求(征求意见稿)
- 租电合作合同协议书范本
- TCAICC 001-2024 张家界莓茶质量等级评价
评论
0/150
提交评论