05.08.2014 Views

Lecture Notes for Computer Architecture II - St. Cloud State University

Lecture Notes for Computer Architecture II - St. Cloud State University

Lecture Notes for Computer Architecture II - St. Cloud State University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example:<br />

Design a two bit ALU with one instruction with two operands<br />

b1 a1<br />

b0 a0<br />

Operation<br />

c1<br />

Operation<br />

c0<br />

Page | 66<br />

Example:<br />

64 bit ALU – one instruction with two operands<br />

64 bit ALU<br />

Example:<br />

Design a 1 bit ALU with 3 instructions. Each instruction consists of two operands.<br />

Add, or, and<br />

ADD OR AND<br />

MUX<br />

2 bits needed to select one out of 3 inputs<br />

Carry bit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!