8.1 ALU Flashcards

1
Q

How does a ripple carry full adder work (using full adders)

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

How does subtraction using two’s compliment and addition work

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

What is the diagram for a ripple-carry adder-subtractor

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

What is the ALU (and what functions does it have)

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

How to convert a number i into -i using two’s compliment

A

not i + 1

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

When does two’s compliment addition overflow occur

A

Final two carry bits unequal

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

What are some example ALU flag conditions

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

Why is repeated multiplication by addition a bad idea

A

Takes variable amount of time depending on data, eg: A + A vs A + A + A + A - twice as many loops.

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

How is binary multiplication done via shifts and adding

A

Same as denary 17 x 11 = (17 x 1 x 10^0) + (17 x 1 x 10^1)

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

What does a shift add multiplication circuit look like

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

How does wallace tree’s work for multiplication

A

3-group = full adder, 2 group = half adder. Reduces from O(n) layers to O(log(n) layers

CI at top, Res at bottom (for each layer). 3 inputs = FA

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

What does a wallace tree (final layer) circuit look like

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

What are fixed-function units

A

Unit with unique function eg: ALU, MUL, DIV etc.

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