Getting started with CPLDs – Part 8

cpldjIn this article, we’re going to re-use the hardware from the 4-bit binary adder but convert it into a 4-bit binary subtractor instead.

It’s a very simple modification to the schematic design. We simply invert the B inputs and leave the A inputs as they are. Instead of adding A and B, this configuration will subtract B from A.

Click here to read more..