Micro 5-7 Flashcards
represents the fundamental building block of the central processing unit of a computer.
arithmetic logic unit (ALU)
is a digital circuit used to perform arithmetic and logic operations.
arithmetic logic unit (ALU)
is a small amount of storage available as part of a CPU
register
tells the ALU what operation to perform on that data, and the ALU stores the result in an output register.
control unit
this moves the data between these registers, the ALU, and memory.
control unit
are used to manipulate binary numbers since there are only two possible states of a switch: open or closed.
Transistor switches
An _______, through which there is no current, represents a 0.
open transistor
A _____, through which there is a current, represents a 1.
closed transistor
FPU
floating-point unit
GPU
graphics processing units
The inputs to an ALU are the data to be operated on, called
operands
produces and conveys signals to external circuitry via its outputs.
arithmetic logic unit (ALU)
They can be found at the heart of every digital computer and are one of the most important parts of a CPU (Central Processing Unit)
arithmetic unit or ALU
It provide further information about the status of a result: if it is zero, if there is a carry out, or if an overflow has occurred.
a series of ‘flags’
All information in a computer is stored and manipulated in the form of what?
binary numbers
is a parallel bus that conveys to the ALU an operation selection code, which is an enumerated value that specifies the desired arithmetic or logic operation to be performed by the ALU.
opcode input
determines the maximum number of different operations the ALU can perform; for example, a four-bit opcode can specify up to sixteen different ALU operations.
The opcode size (its bus width)
however, contain ‘arithmetic units’ which are far more complex
than the one described above. These units may perform additional basic mathematical operations (multiply & divide) and bitwise operations (AND, OR, XOR et al). As such, they are commonly referred to as an ALU (Arithmetic Logic Unit).
Modern computational machines
is the portion of a machine language instruction that specifies the operation to be performed.
opcode
opcode
abbreviated from operation code, also known as instruction machine code, instruction code, instruction syllable, instruction parcel or opstring
is an idealized or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output.
A logic gate
is a component of a computer’s central processing unit (CPU) that directs the operation of the processor
The control unit (CU)
It tells the computer’s memory, arithmetic and logic unit and input and output devices how to respond to the instructions that have been sent to the processor
The control unit (CU)
It directs the flow of data between the CPU and the other devices.
The control unit (CU)
is typically an internal part of the CPU with its overall role and operation unchanged since its introduction.
The control unit (CU)
is the part of the computer’s central processing unit (CPU), which directs the operation of the processor.
The control unit (CU)
included the control unit as part of the von Neumann architecture.
John von Neumann
It fetches internal instructions of the programs from the main memory to the processor instruction register, and based on this register contents, the control unit generates a control signal that supervises the execution of these instructions.
The control unit (CU)
Examples of devices that require a CU are:
- Control Processing Units(CPUs)
- Graphics Processing Units(GPUs)
Types of Control Unit
Control units for low-powered computers
Hardwired control unit
Microprogram control unit
Multicycle Control Units
Pipelined control units
Out of Order Control Units
Translating control units
refers to a computational process that continually fetches instructions from a memory store, decodes them into operations and executes them to perform a calculation.
Fetch-Decode-Execute Cycle
The fetch-decode-execute process can be further explained by linking each cycle step (FETCH / DECODE / EXECUTE) with three hardware subsystems:
a memory unit, a control unit, and an arithmetic
unit.
A memory unit is the part of a computational machine that contains the machine instructions or data for performing general purpose calculations. This subsystem allows stored instructions or data to be accessed or fetched during a program’s execution.
FETCH (performed by a memory unit)
The control unit is responsible for automating and sequencing the fetch-decode-execute cycle – you can think of it as a system ‘conductor’. It also decodes instructions and makes sure the correct system operations are consequently performed.
DECODE (performed by a control unit)
An arithmetic unit is a hardware subsystem that performs arithmetic operations on binary inputs. The simplest arithmetic units execute binary addition and subtraction. More complex AUs can perform multiplication, division and logical bitwise operations. However, those more complex AUs are usually referred to as ALUs: ‘Arithmetic Logic Unit’.
EXECUTE (performed by an arithmetic unit)
The simplest computers use a multicycle microarchitecture.
Multicycle Control Units
These were the earliest designs. They are still popular in the very smallest computers, such as the embedded systems that operate
machinery
Multicycle Control Units
These typically use both the rising and falling edges of their square-wave timing clock. They operate a step of their operation on each edge of the timing clock, so that a four-step
operation completes in two clock cycles.
Multicycle Control Units
This design has several stages. For example, it might have one stage for each step of the Von Neumann cycle.
Pipelined control units
These store the bits calculated by a stage so that the logic gates of the next stage can use the bits to do the next step.
Pipelined control units
It is common for even numbered stages to operate on one edge of the square-wave clock, while odd-numbered stages operate on the other edge.
Pipelined control units