In: Computer Science
use LogiSim to implement Half Adder (HA) and Full Adder (FA) using Logic Gates. You will also implement a 4-bit adder/subtractor circuit using FA blocks provided by LogiSim. Save all circuits in one file
o Implement a FA as described in class using two XOR , two AND, and one OR gate.
o Implements a 4-bit adder capable of adding two 4-bit values (A3A2A1A0 and B3B2B1B0) using single FA blocks provided by LogiSim
Simulate the circuit for ten random combinations of ‘A’ and ‘B’. Record the input values and computed sums
provide answer in logisim or paper drawing
Open logisim software and take 1 and and 1 xor gate to design the half adder. For input and output here i take pin.To change the values of input in pin use poak tool and select the output pin as a output and input side pin as input in the software.
Half adder circuit:
Similarlly for full adder circuit.
Take 2 input gates.2 exor gates,2 and gates and 1 or gate is required to design this.Connect the circuit as below.
Full adder circuit:
Now just select the full adder module in your logisim and place it in the workspace .Then it will a place a block with 3 inputs and 2 output.Copy this block four times for 4 bit adder.
Now connect the inputs pin to inputs A,B,cin and pin as output to S,Cout.
The partial cin are given as input to next adders.
Please see the below circuit for better understanding.
FULL ADDER CIRCUIT with Simulaiton results:
When cin=0 the output pics
When the input cin is 1 then the output for input combinations is:
You can take any input combinations to check the output.
Please upvote this..