03 Information Processing Flashcards

1
Q

Relays

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Transistors

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Layers of Bipolar Transistors

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Differentiation between NPN and PNP transistors

A

With a PNP transistor, the polarity of all voltages and currents is exactly the other way around compared to the NPN transistor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Bipolar Transistors

A
  • 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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Moore’s Law

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Structure of Digital Networks: AND-Gate

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Structure of Digital Networks: OR-Gate

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Structure of Digital Networks: NOT-Gate

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Structure of Digital Networks: Switching Functions

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Combinational and Sequential Circuits

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Delay

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Microprocessor Architectures: Harvard Architecture

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Microprocessor Architectures: Von-Neumann Architecture

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Main Disadvantage of the Von-Neumann architecture

A

“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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Pipelining

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Pipelining: Stages

A
  1. Fetch
  2. Decode
  3. Execute
  4. Write Back
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Simple Arithmetic Logic Unit (ALU)

A

An ALU calculates arithmetic and logical functions and is a central part of processors

Supports at least the following minimal operations
 Addition
 Negation
 Conjunction (AND operation)
 Right and left shift

19
Q

Additional Arithmetic Operations of an ALU

A
  • Increment and decrement
  • Subtraction
  • Comparison
  • Multiplication
  • Division
20
Q

Additional Logic Operations of an ALU

A
  • Disjunction (OR operation)
  • Contravelence (exclusive OR operation)
  • Left and right rotation
  • Register Manipulation and bit changes
21
Q

Half Adder

A

Central component of an ALU

Half adders are used for the addition of two 1-bit numbers -> Sum is created by linking the two inputs A and B with an XOR gate
* The carry is created by linking two inputs with an AND gate

22
Q

Full Adder

A

Central component of an ALU

Full adders are used for the addition of three 1-bit numbers -> Can be composed of two half adders

  • The carry results from a check whether a carry has occurred at one of the two half adders
23
Q

Ripple-Carry Adder based on half adder and full adder

A

 By cascading full adders with a half adder, an adder for the addition of two n-bit long numbers can be realized
 Least significant bits are adjacent to the half adder (right); Most significant bits are adjacent to full adder (left)
 Transfers from the previous adder stage are passed to and processed by the next higher adder stage

24
Q

Disadvantage of Ripple-Carry Adder

A

Transfers at the least significant bit must be looped forward trhough the complete cascade to the most significant bit -> Adder does not work deterministically (time needed to calculate the result cannot be predicted due to switching times of the individual gates; it depends on the operands to be added)

25
Q

Serial-Adder based on one full adder

A

A serial-adder constits of three n-bit shift registers, a full adder and a 1-bit memory, which is realized as a positive edge-triggered D-flip-flop

  • A shift register is an n-bit memory whose content can be shiftet bit by bit either to the left or to the right
  • Two shift registers are used to load the two binary numbers as operand registers and in one shift register the result of the addition is stored
26
Q

Deterministic Approach to add binary numbers (Serial-Adder)

A

Operands are loaded into operand registers, with every clock cycle, addition of two bits is executed, result is shifted into result register, operand registers are shifted one bit to the right, carry over is termporarily stored in 1 bit memory.

27
Q

Negative Numbers - Signed Numbers

A

The most significant bit indicates the sign of the binary number.
o Positive numbers are represented linearly
o Signed representation of binary numbers jumps from the right side of the number beam to the left side as soon as the most significant bit changes from 0 to 1

Convert positive numbers into negative numbers (Two’s Complement):
 Binary representation of the number is negated bit by bit
 Add “1” to the number

o Subtraction of binary numbers can be replaced by bitwise negation (for further information see lecture slide 35)

28
Q

Embedded Systems

A

Embedded Systems are computer systems which are integrated into an embedding system, here a production system

  • Design requirements are derived from the embedding system
  • ES measures, stores, processes and monitors data and controls the embedding system
  • Examples for ES: Programmable Logic Controllers (PLC) or Industrial PCs (IPCs)
29
Q

Components of Embedded Systems

A
  • Microprocessor/Microcontroller for instruction execution
  • RAM (Random Access Memory) as temporary storage for calculations
  • ROM (Read-Only Memory) as long-term, fast-reading, non-volatile memory for storing configurations of other data (Non-volatile means that data continues to be retained in a de-energized state)
  • D/A converter for converting analog voltages into digital numerical values
  • (Mostly standardized) interfaces to other systems, e.g. HDMI/DVI for displays, USB for connection to PCs, field busses (like ProfiBus), Ethernet, CAN bus etc.
  • Accelerated hardware used specifically for data-intensive application functions, such as signal processing or encoding of data streams
  • Bus Systems are used to interconnect chips
30
Q

Static vs. Dynamic RAM

A

 Static RAM: Data can be stored for any length of time, when operating voltage is applied

 Dynamic RAM: Requires periodic refreshing to prevent data loss

31
Q

Different Embedded Systems Structures

A
  • Board System
  • Multi Chip Module (MCM)
  • System on a Chip (SoC)
32
Q

ES: Board System

A

 Central components are distributed over several chips and accommodated on one or more circuit boards  Board size depends on number of chips used
 Decreasing in use today because of large required space and development for one specific task
 Example: Rasberry Pi

33
Q

ES: Multi Chip Module (MCM)

A

 Several microchips are accommodated in a common housing
 Typical chips to be integrated are microcontrollers, peripheral chips, RAM and ROM
 Do not differ externally from SoCs
 Specialized chips

34
Q

ES: System on a Chip (SoC)

A

 Many components of an ES are integrated on one chip  Require hardly any external circuitry
 An SoC consists of microcontroller, RAM, mostly ROM and peripherals
 Not developed specifically for one task  Can cover almost all possible tasks

35
Q

Programmable Logic
(Advantage, Fields of Application)

A

o Interconnection of the logic circuits can be programmed (as oppose to hard-wired hardware) -> Variable complexity

o Needed when standard processors are not fast enough, cost too much, or require too much power

o Often used for prototyping in order to perform further optimizations and corrections

o Wide range of applications -> Competes with application-specific integrated circuits (ASICs)

36
Q

Programmable Array Logic (PAL)

A

 Gird of programmable grid points -> Each grid point is programmed to one of four basic building blocks (can be written once)

 Consist of hardwired and programmable gates -> AND gates are freely programmable; OR gates are hardwired

 Programming is done by deliberate destruction of connections to AND gates by overvoltage -> Programming is possible once

37
Q

Programmable Logic Array (PLA)

A

Programmable logic that can be rewritten -> Programming is done by selective writing of single grid points (each grid point corresponds to one of four basic blocks)

 Number of columns corresponds to the number of terms in all switching functions to be realized
 Number of rows corresponds to the number of different variables in all switching functions and the number of switching functions to be realized
 Binary value 0 is applied to left of output lines
 Binary value 1 is applied to top of all columns

38
Q

Complex Programmable Logic Device (CPLD)

A

 Consists of Logical Array Blocks (LABs) interconnected with Programmable Interconnect Arrays (PIAs)
-> Individual LABs linked together as needed to route signals through signal switches

 Additionally, there are input and output blocks which can also store data
 CPLDs are rewritable
 Configuration or programming is nonvolatile

39
Q

Field Programmable Gate Array (FPGA)

A

 Many CLBs (Configurable Logic Blocks) form a complex overall function by programmable connections
 CLBs consist of a lookup table and a flip-flop

40
Q

Pipelining: Fetch

A

Instruction is loaded from memory or from the cache

41
Q

Pipelining: Decode

A
  • Stage 1: Determining the instruction type and deciding whether the loaded instruction can be processed in one or two steps
  • Stage 2: Determination of the addresses of the operands to be processed
42
Q

Pipelining: Execute

A

Operands are loaded from the cache and the arithmetic operations are performed

43
Q

Pipelining: Write Back

A

Processing results are written into the cache or the main memory