Searched Projects

Tags: two's complement

project.name
0 Stars     65 Views
User:

4 digit sign/magnitude to two's complement

4 digit sign/magnitude to two's complement

If most sig. digit is 1 then we add -1(or 1111 in 4 digits) and then invert the other three digits.

If most sig. digit is 0 then we don't add anything(or add 0000) and don't invert any digits.

Used adders, 3 NOT gates and 3 demultiplexers.