In: Electrical Engineering
Please provide a digital design circuit modeled in structural verilog that takes two 5-bit inputs (in 2's complement format), and a add/subtract input. If add/subtract = 0 than the circuits ouputs A+B, If add subtract = 1, the circuit outputs A-B (by taking the 2's compliment of B and than adding).
will upvote, thanks