CSE-45208                 Lab #8  Adder / Subtractor                 Dr. Izadi

 

 

1. Go through the Xilinx tutorial .

2. Using Xilinx tools, design and implement a four-bit adder / subtractor circuit as indicated below.

 

 

X=0:     S3S2S1S0 = A3A2A1A0 + B3B2B1B0

X=1:     S3S2S1S0 = A3A2A1A0 - B3B2B1B0

 

Verify the circuit and have it signed by your instructor or TA.

 

3. Additional tutorial is available in the lab web site.