03 Information Processing Flashcards
Relays
Switching contacts -> Simplest way to realize regional functions (“voltage present”/”voltage not present”)
- If the switching contacts are actuated by a solenoid coil, this is referred to as a relay.
- Enable one or more contacts to be actuated by an electrical control current over long distances and in inaccessible places
- Relays used to switch higher power devices (motors, heating coils, etc.) are called contactors
Transistors
- Bipolar transistors are made of silicon, germanium or mixed crystals, which are widely used or only found in very small concentrations.
- Function: When there is a change in resistance in one layer, the resistance in the other layer is also affected.
- Transistors are mainly used as switches or amplifiers.
Layers of Bipolar Transistors
Bipolar transistors consist of three thin semiconductor layers, which are placed on top of each other.
o Middle layer is very thin compared the other two layers
o Outer layers are called collector (C) and emitter (E)
o Middle layer has the designation base (B) and is the control electrode or also the control input of the transistor
Differentiation between NPN and PNP transistors
With a PNP transistor, the polarity of all voltages and currents is exactly the other way around compared to the NPN transistor.
Bipolar Transistors
- Bipolar transistors are current-controlled -> The resistance formed by the collector (C) and emitter (E) is significantly influenced by the amount of current fed into the base (B).
o Base acts as an actuator for the collector-emitter current (increase of the relatively small current at the base, controls the in return larger current from collector to emitter
o Ratio of collector-emitter current and required base current is called the gain factor
-> The higher the gain factor, the less base current is required to set a desired collector-emitter current
- Bipolar transistors can be used to implement simple logic circuits (e.g. AND or OR gates)
Moore’s Law
- In 1965 Gordon Moore predicted that the number of transistors in integrated circuits would double every year
o Since about 1975, the doubling period has stabilized at about 18 months
o Chip manufacturers lay out their product plans according to Moore’s law - Moore’s Law comes up against technical limits, since transistors used are only a few atoms in size
o Clock speed of modern processors can no longer be increased -> More performance is provided by a higher number of processor cores
Structure of Digital Networks: AND-Gate
o Inputs E1 and E2 are connected to the base of the two transistors.
o Output A is connected to the emitter resistor of the lower transistor.
o By connecting a voltage to E1 or E2 one of the transistors is activated.
-> In case of just one of the transistors is activated no current can flow to the output a, it’s set to logic 0.
-> If both transistors are activated because of a voltage at E1 and E2, a current can flow through both transistors
Structure of Digital Networks: OR-Gate
o Both transistors are connected in parallel
o Output A is connected to the emitter resistor of both transistors similar to the AND gate.
o If either of the two inputs is connected to a voltage, a current can flow through the emitter resistor and the output a is set to logic 1.
Structure of Digital Networks: NOT-Gate
o Input E is connected to the base of the transistor, similar to the other two gates
o Output A is applied behind the collector resistance
o If there is no voltage connected to E, the transistor does not conduct and no current flows. The entire supply voltage is connected to the output A which drops across the collector-emitter oath of the transistor. Thus, the output A is set to logical 1 and the input signal is inverted
o If a voltage is connected to E, the transistor conducts and a current flows through the collector resistor to ground (GND or reference potential). Because of the “conduction” of the transistor the output A is also connected to ground in terms of potential which causes a voltage drop of 0V to be registered. Hence, the output is set to logic 0.
Structure of Digital Networks: Switching Functions
o A switching function receives n truth values (0 or 1) at the input and converts these into m logical/truth values
o Gates are connected in such a way that the desired function values are present at the output
o Switching functions are represented with truth tables -> Corresponding interconnection with AND, OR or NOT gates anc thus a switching can be realized.
Combinational and Sequential Circuits
o Combinational circuit: A diagram realizing a switching function with logic gates and without clock or feedback (only using links of logic gates).
o Sequential Circuit: Extending the digital network with a clock source and delay elements for storing individual bits.
Delay
o 1-bit memory with an integrated delay element.
o Clock supplies a clock pulse for the execution of the actions of a delay
Steps of the delay:
1. Work Phase: After the first clock pulse the content of S is transmitted at the output and is available as signal yi. The signal xi at the input is temporarily stored in V. V and S are seperated by a barrier.
2. Set Phase: A central synchronization (clock), which generates clock pulses, removes
Microprocessor Architectures: Harvard Architecture
o The Harvard architecture is a circuit concept in which instruction memory and data memory are logically as well as physically separated from each other.
-> The separation results from different address spaces and machine instructions for accessing instruction data memory -> Central Unit needs to access both individual systems and storages.
o Commands and data can be loaded simultaneously in one clock cycle. This enables efficient processing of commands
Microprocessor Architectures: Von-Neumann Architecture
o Computers based on this architecture are universal, require minimal hardware and can execute variable programs
o Program and data are located in a common memory
o Most of today’s computers are Von Neumann computers (if necessary with minor mods)
Main Disadvantage of the Von-Neumann architecture
“Von-Neumann Bottleneck”
-> Connection between memory and processor through which data and program must be transported
Today most CPUs are faster than the memory -> Data cannot be loaded from memory fast enough
Counteracting method: Cache data in the CPU (e.g. Heuristically determines which data is needed next and loads it into the CPU’s cache in advance or does not write it back to memory)
Pipelining
Efficient processing of instructions in multiple stages
Pipelining accelerates the process through processing instructions in several cascaded stages
After processing a step (fetch, decode or execute), the result is passed on to the next stage and the next instruction is loaded
All instructions must be simple enough to be processed in one cycle
Pipelining: Stages
- Fetch
- Decode
- Execute
- Write Back