Question: Design an n -bit adder/ subtractor that has an external input called SUB that when 1, performs a subtraction, when 0, performs an addition. (Hint:
Design an n-bit adder/ subtractor that has an external input called SUB that when 1, performs a subtraction, when 0, performs an addition.
(Hint: Use an adder with a carry-in input and a mux.)
HW9: Design a left-shift by one combinational building block.
HW10: Design a counter that can count either up or down. Assume that you have
incrementer and decrementer building blocks available.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
