120 likes | 263 Vues
This guide covers the essential concepts of single and two-input logic gates, focusing on truth tables and function tables based on voltage assumptions. It explains the operation of gates like buffers, inverters, AND, OR, NAND, NOR, and XOR, with practical applications including signal reshaping and current management. The document highlights how to create a 2-bit adder using an XOR gate for the least significant bit and discusses the role of gates in addressing signal degradation and propagation delays. Master the fundamentals of logic gates for digital electronics!
E N D
Simple One and Two InputLogic Gates Truth Tables and Function Tables Based Upon 0 – 5 V
Assumptions • Truth Tables • True = logical “1” • False = logical “0” • Function Tables • Ideal gate • Output is 0V, which is equivalent to a logical “0” • Output is 5V, which is equivalent to a logical “1” for TTL.
Single Input Gates: Buffer Symbol Function Table • Truth Table
Applications • Reshape signal to increase voltage of a logical ‘1’/lower the voltage of a logical ‘0’. • Digital signals degrade as the signal passes through components (e.g., resistive losses in wires), addition of noise from electromagnetic interference (EMI), etc. • Source or sink current beyond the specifications of the other gates. • Acts as a voltage follower (an op amp circuit). • Used to compensate for propagation delay times.
Single Input Gates: Inverter Symbol Function Table • Truth Table
Two Input Gates: AND Symbol Function Table • Truth Table
Two Input Gates: OR Symbol Function Table • Truth Table
Two Input Gates: NAND Symbol Function Table • Truth Table
Two Input Gates: NOR Symbol Function Table • Truth Table
Two Input Gates: XOR • Symbol • Truth Table • Function Table
2 bit Adder 0 + 0 = 00 0 + 1 = 01 1 + 0 = 01 1 + 1 = 10
2 bit Adders • A half adder is an Exclusive OR gate. • The output of the XOR gate is the least significant bit (LSB) of the addition of 2 1-bit numbers. • A adder with carry is an XOR gate and an AND gate. • The output of the XOR gate is the LSB. • The output of the AND gate is the Carry.