CHAPTER 5: The Processor Flashcards
combinational element
operational element, such as an AND gate or an ALU
state element
memory element, such as a register or a memory
clock methodology
approach used to determine when data is valid and stable relative to the clock
edge-triggered clocking
clocking scheme in which all state changes occur on a clock edge
control signal
signal used for multiplexor selection or for directing the operation of a functional unit; contrasts with a data signal, which contains information that is operated on by a functional unit
asserted
signal is logically high or true
deasserted
signal is logically low or false
datapath element
unit used to operate on or hold data within a processor. In the LEGv8 implementation, the datapath elements include the instruction and data memories, the register file, the ALU, and adders
program counter
register containing the address of the instruction in the program being executed
register file
state element that consists of a set of registers that can be read and written by supplying a register number to be accessed
sign-extend
increase the size of a data item by replicating the high-order sign bit of the original data item in the high-order bits of the larger, destination data item
branch target address
address specified in a branch, which becomes the new program counter (PC) if the branch is taken. In the LEGv8 architecture, the branch target is given by the sum of the offset field of the instruction and the address of the branch
branch taken
branch where the branch condition is satisfied and the program counter (PC) becomes the branch target. All unconditional branches are taken branches
branch not taken (untaken branch)
branch where the branch condition is false and the program counter (PC) becomes the address of the instruction that sequentially follows the branch
truth table
a representation of a logical operation by listing all the values of the inputs and then in each case showing what the resulting outputs should be
don’t-care term
element of a logical function in which the output does not depend on the values of all the inputs. Don’t-care terms may be specified in different ways
opcode
field that denotes the operation and format of an instruction
single cycle implementation (single clock cycle implementation)
implementation in which an instruction is executed in one clock cycle. While easy to understand, it is too slow to be practical
pipelining
implementation technique in which multiple instructions are overlapped in execution, much like an assembly line
structural hazard
planned instruction cannot execute in the proper clock cycle because the hardware does not support the combination of instructions that are set to execute
data hazard (pipeline data hazard)
planned instruction cannot execute in the proper clock cycle because data that is needed to execute the instruction are not yet available
forwarding (bypassing)
method of resolving a data hazard by retrieving the missing data element from internal buffers rather than waiting for it to arrive from programmer-visible registers or memory
load-use data hazard
specific form of data hazard in which the data being loaded by a load instruction has not yet become available when it is needed by another instruction.