Week 8 Flashcards

3.6, 4.1-1.4 (25 cards)

1
Q

subword parallelism

A
  • takes advantage of byte- and halfword-sized data by partitioning the adder to perform multiple operations in parallel
  • adder can be configured to add sixteen 8-bit operands, 8 16-bit operands, four 32-bit operations, or 2 64-bit operations operands simultaneously in one instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

the ADD instruction with subwords has

A
  • includes support for 8-bit, 16-bit, 32-bit, 64-bit, and 128-bit numbers
  • Operands can be integers, but not floating point numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

V0, V2, ….

A
  • 32 128-bit registers (V0, V1,…,V31) and more than 500 machine-language instructions to support subword parallelism
  • supports all the subword data types (8-bit, 16-bit, 32-bit, 64-bit, and 128-bit signed/unsigned integers, 32-bit and 64-bit floating point numbers)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

first two steps for every instruction (always the same)

A
  • Send the program counter (PC) to the memory that contains the code and fetch the instruction from that memory
  • Read one or two registers, using fields of the instruction to select the registers to read
  • For the LDUR and CBZ instructions, we need to read only one register, but most other instructions require reading two registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what the basic implementation of a LEGv8 subset contains (and what it doesn’t)

A
  • contains datapath, control and memory
  • doesn’t contain input or output, since there’s no additional mechanisms that control what happens (and outcome is writing to register, not output)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

combinatorial element (for LEGv8 data path implementation)

A
  • An operational element, such as an AND gate or an ALU
  • elements that operate on data values are all combinational
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

sequential/state element (for LEGv8 data path implementation)

A
  • a memory element, such as a register or a memory that depends on input and contents of internal state/storage
  • if computer got plug pulled would lose data unless they were saved somewhere in main memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

clocking methodology

A
  • the approach used to determine when data is valid and stable relative to the clock
  • defines when signals can be read and when they can be written
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

edge-triggered methodology

A
  • A clocking scheme in which all state changes occur on a clock edge
  • for this class everything is positive edge-triggered (changes on rising edge)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

control signal

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

asserted

A

The signal is logically high or true (is 1)

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

deasserted

A

The signal is logically low or false (or 0)

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

datapath element

A
  • unit used to operate on or hold data within a processor
  • In LEGv8 implementation, the datapath elements include the instruction and data memories, the register file, the ALU, and adders
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

program counter (PC)

A
  • The register containing the address of the next instruction in the program to be executed
  • first step in using any instruction it using PC to load in instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

register file

A
  • the structure that stores the 32 registers
  • any register can be read or written by specifying the number of the register in the file
  • also contains register state of the computer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

sign-extend

A

To 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

17
Q

branch taken

A
  • A branch where the branch condition is satisfied and the program counter (PC) becomes the branch target
  • All unconditional branches are taken branches
18
Q

branch not taken/untaken branch

A
  • A branch where the branch condition is false and the program counter (PC) becomes the address of the instruction that sequentially follows the branch
19
Q

datapath

A

the hardware component of a computer’s central processing unit that performs arithmetic, logical, and data transfer operations

20
Q

clocks and registers are

A

sequential/state elements

21
Q

ALUs and truth tables are

A

combinatorial elements

22
Q

rising clock edge refers to the clock changing from

A
  • 0 to 1
  • 0 to 1 is “rising” due to changing from a lower value (0) to a higher value (1)
23
Q

how PC is used in a datapath (2 steps)

A
  • After the PC is written with an address on a positive clock edge, a new instruction is read from the instruction memory
  • Simultaneously, the next address is calculated, waiting to be written to the PC on the next positive clock edge
24
Q

key things about instructions that write/read in same line

A
  • write/read can happen in the same cycle since they are edge-triggered (have a set order)
  • doesn’t have to wait to output values on a rising clock edge
  • PC counter increments by 4 bytes
25
branch target address
- the address specified in a branch, which becomes the new program counter (PC) if the branch is take - the branch target is given by the sum of the offset field of the instruction and the address of the branch