{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# 11 - Arithmetic and Logic Unit(ALU Basic building block of...

This preview shows pages 1–5. Sign up to view the full content.

9-13-06 COCO F06 1 Arithmetic and Logic Unit (ALU) Basic building block of every CPU Basic building block of every CPU Chapter 6, Sections 6.10.6

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
9-13-06 COCO F06 2 Arithmetic Logic Unit C 0 B n-1 … B 0 A n-1 … A 0 INPUTS ALU S i-1 … S 0 M CONTROL SIGNALS F n-1 … F 0 C n OUTPUTS
9-13-06 COCO F06 3 S 1 0 0 1 1 S 0 0 1 0 1 Function F i = A i F i = not A i F i = A i xor B i F i = A i xnor B i Comment Input A i transferred to output Complement of A i transferred to output Compute XOR of A i , B i Compute XNOR of A i , B i M = 0, Logical Bitwise Operations Sample ALU Specification M = 1, C M = 1, C 0 = 0, Arithmetic Operations (with no carry in) = 0, Arithmetic Operations (with no carry in) 0 0 1 1 0 1 0 1 F = A F = not A F = A plus B F = (not A) plus B Input A passed to output Complement of A passed to output Sum of A and B Sum of B and complement of A M = 1, C M = 1, C 0 = 1, Arithmetic Operations (with carry in) = 1, Arithmetic Operations (with carry in) 0 0 1 1 0 1 0 1 F = A plus 1 F = (not A) plus 1 F = A plus B plus 1 F = (not A) plus B plus 1 Increment A Twos complement of A Increment sum of A and B B minus A Not all operations appear useful, but "fall out" of internal logic Not all operations appear useful, but "fall out" of internal logic Logical and Arithmetic Operations Logical and Arithmetic Operations

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
9-13-06 COCO F06 4 M 0 1 1 S1 0 0 1 1 0 0 1 1 0 0 1 1 S0 0 1 0 1 0 1 0 1 0 1 0 1 Ci X X X X X X X X X X X X 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
This is the end of the preview. Sign up to access the rest of the document.
• Spring '08
• Ji
• Arithmetic logic unit, ALU Design, B3 B2 B1, COCO F06, L L L L L L L L H L H L H L H H L H L H L H L H H H H H H 9-13-06 H H L L H H L L H H L L H H L L H H L H L H L H L H L H L H L H L H A, B1 B0 Cn

{[ snackBarMessage ]}

### Page1 / 12

11 - Arithmetic and Logic Unit(ALU Basic building block of...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online