By using adder, subtract or, comparator, or any other necessary modules, design a logic circuit that can
Fantastic news! We've Found the answer you've been seeking!
Question:
By using adder, subtract or, comparator, or any other necessary modules, design a logic circuit that can replace the following pseudo-code lines:
If (A>5) then X-A+ B,
else if (A=5)then X=A-B,
else X-2A+ B
A is a 3-bit number, while B is a 2-bit number.
-Show the design and test codes (internal modules can be implemented using any method). Insert both codes in the text box below
-Test the circuit for different values of A and 8 (at least 3 values covering all cases). Attach screenshots showing the results clearly (pdf)
Related Book For
Finite Mathematics and Its Applications
ISBN: 978-0134768632
12th edition
Authors: Larry J. Goldstein, David I. Schneider, Martha J. Siegel, Steven Hair
Posted Date: