Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Arithmetic Logics (10 pts+ 20 pts + 25 pts) In our final ALU design shown below,

ID: 3590353 • Letter: A

Question

Arithmetic Logics (10 pts+ 20 pts + 25 pts) In our final ALU design shown below, we specified Op values for the six operations that we aimed to implement. But, with the existing logic, we can actually do more operations just by entering corresponding values to Op input. Find the proper Op values for the operations specified in the table below. Fill the values to the Op column of the table 2. Cin OM Out Function B- A A NAND B B> A A' AND B A OR B OM Full Adder 2 Less Set Less Than Op 13 Op Op [1:0] Op Cout

Explanation / Answer

op(3)=1 will select A'

op(3)=0 will select A

op(2)=1 will select B'

op(2)=0 will select B

op(10)=00 will select output from AND gate

op(10)=01 will select output from OR gate

op(10)=10 will select output from Full Adder

op(10)=11 will select output from Less

for A-B if output of full adder is 1 than B > A

You comment is most welcome.

Op Function 1010 B-A 1101 A NAND B 1110 B>A 1000 A' AND B 0101 A OR B'