0 evaluări0% au considerat acest document util (0 voturi)
512 vizualizări14 pagini
The document discusses basic logic gates that are used to build all digital computers. It explains that logic gates accept binary input signals and produce a binary output signal. The four basic logic gates are AND, OR, XOR, and NOT. AND gates output 1 only if both inputs are 1. OR gates output 1 if either or both inputs are 1. XOR gates output 1 if the inputs are different. NOT gates output the opposite value of the single input. Truth tables are used to summarize the output values for each combination of inputs to a logic gate.
The document discusses basic logic gates that are used to build all digital computers. It explains that logic gates accept binary input signals and produce a binary output signal. The four basic logic gates are AND, OR, XOR, and NOT. AND gates output 1 only if both inputs are 1. OR gates output 1 if either or both inputs are 1. XOR gates output 1 if the inputs are different. NOT gates output the opposite value of the single input. Truth tables are used to summarize the output values for each combination of inputs to a logic gate.
The document discusses basic logic gates that are used to build all digital computers. It explains that logic gates accept binary input signals and produce a binary output signal. The four basic logic gates are AND, OR, XOR, and NOT. AND gates output 1 only if both inputs are 1. OR gates output 1 if either or both inputs are 1. XOR gates output 1 if the inputs are different. NOT gates output the opposite value of the single input. Truth tables are used to summarize the output values for each combination of inputs to a logic gate.
Logic Gates Goal: To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations of what is possible for a digital computer. Logic Gates All digital computers for the past 50 years have been constructed using the same type of components. These components are called logic gates. Logic gates have been implemented in many different ways. Currently, logic gates are most commonly implemented using electronic VLSI transistor logic. Logic Gates All basic logic gates have the ability to accept either one or two input signals (depending upon the type of gate) and generate one output signal. Logic Gates Input and Output signals are binary. binary: always in one of two possible states; typically treated as: • On / Off (electrically) • 1 / 0 • True / False There is a delay between when a change happens at a logic gates inputs and when the output changes, called gate switching time. The True or False view is most useful for thinking about the meaning of the basic logic gates. Logic Gates The four basic logic gates are: AND OR XOR NOT Each of these gates may be drawn in either A generic form; or An electrical engineering form (more common in text books) Logic Gates : AND
The Output signal from an AND gate is True (on, 1)
if and only if both Input signals are True (on, 1). The Output signal from an AND gate is False (off, 0), otherwise. Logic Gates : OR
The Output signal from an OR gate is True (on, 1) if
either, or both, Input signals are True (on, 1). The Output signal from an OR gate is False (off, 0) if and only if both Input signals are False (off, 0). Logic Gates : XOR
The Output from an XOR (exclusive or) is True
(on, 1) if and only if the Input signals are different. The Output from an XOR is False if the Input signals are either both True or both False. Logic Gates : NOT
The Output signal from a NOT gate is True (on, 1)
if and only if the Input signal is False. The Output signal from a NOT gate is False (off, 0) if and only if the Input signal is True. Logic Gates : NOT combined with other gates Note that in the “classic: electronic engineering form, it is really the “bubble” that indicates the NOT activity. Logic Gates : Analysis of Circuit with Feedback Logic Gates : Summary Truth Tables