158k views
5 votes
Create an absolute value component abs() with an 8-bit input A that is a signed binary number, and an 8-bit output Q that is unsigned and that is the absolute value of A. So if the input is 00001111 (+15) then the output is also 00001111 (+15), but if the input is 11111111 (-1) then the output is 00000001 (+1).

User Avaq
by
3.9k points

1 Answer

1 vote

Answer:

Step-by-step explanation:

Find attached the solution

Create an absolute value component abs() with an 8-bit input A that is a signed binary-example-1
Create an absolute value component abs() with an 8-bit input A that is a signed binary-example-2
Create an absolute value component abs() with an 8-bit input A that is a signed binary-example-3
User Tania Chistyakova
by
4.0k points