Question: a) Design a digital circuit that takes two 4-bit numbers A and B as input and generates output Z as follows: (10 marks) If A

a) Design a digital circuit that takes two 4-bit numbers A and B as input and generates output Z as follows: (10 marks) If A and B are odd numbers, then Z=A-B If A and B are even numbers, then Z=B-A If A is an even number and B is an odd number, then Z=A+B If A is an odd number and B is an even number, then Z=A-B-1 O Assume that you have access to as many as you need of AND, OR, INV, XOR gates and only one FULL-ADDER, DECODER and MULTIPLEXER of any size
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
