3. Logic Gates and Circuits Flashcards
Gate
One or a series of devices that perform a basic electrical operation
Circuit
Combination of gates, created to perform more complex tasks
How do we describe logic gates?
Boolean expressions
Truth Tables
Logic diagrams
Boolean expressions
Uses boolean algebra, a mathematical notation to express two valued logic
Truth table
Table showing all possible input values and the associated output values
Logic diagrams
A graphical representation of a circuit, each gate has its own symbol
Transistors
Electrical device with two possible roles:
1) Conductor –> wire that conducts electricity
2) Resistor –> blocks the flow of electricity
–> role depends on the voltage level of an input signal
Acts like a switch
Made of a material that makes it neither a particularly good conductor, nor a particularly good resistor
Components of a gate (terminals)
Source
Base
Emitter
–> connected to a ground wire
Role of base
Regulates a gate that determines whether the connection between the source and ground is made
Transistor functions
1) If base grounds source signal
–> Source is pulled down to 0 volts
–> Base signal is high (transistor on)
== Low output signal –> binary 0
2) If base signal is NOT grounded
–> source signal stays high == 5v
–> Base signal is low (transistor off)
== High output signal –> binary 1
Combinatorial Circuits
Input values explicitly determine the output
Sequential Circuits
Output is a function of the input values and the existing state of the circuit
Always involve the storage of information