Full Adder in Ltspice

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
hi 680,
The point I am making is that the test pattern of A, B CYi , of the LTS is set to prove the OR function.

In order to check the full adder operation you need to modify the A,B CYin test voltages , so that you get all the possible input states.

Do you follow what I am saying.
E
yes i got it that to implement all the states and show the functioning of full adder i need to change the test voltages of a b and cin but how do i go about doing that? i dont have any clue regarding it. So far i have only worked with .DC mostly. Can u please help me with that?
 

ericgibbs

Joined Jan 29, 2010
21,442
hi,
I would say the Sum and CYO are incorrect,.
The Test inputs A,B, CYI are as the Adder table, but the outputs are wrong.

Check your diode are wiring network.

Do you know if the Adder as posted on that link was correct and fully tested.???


E

Update:
Check the output line of the CYI inverter, there is something loading the signal on that line.
 

Attachments

Last edited:

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
hi,
I would say the Sum and CYO are incorrect,.
The Test inputs A,B, CYI are as the Adder table, but the outputs are wrong.

Check your diode are wiring network.

Do you know if the Adder as posted on that link was correct and fully tested.???


E

Update:
Check the output line of the CYI inverter, there is something loading the signal on that line.
i think mostly the circuit posted on that site is correct and should give the correct output as it also looks like a LTspice diagram
 

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
yes i
hi,
No, as I say there is problem with the diode matrix.
I have marked the image with dark Blue lines showing what SUM and CYout should be.
Check against the table.


E
yes I already realised this. Its not matching the desired output table i think all connections are correct according to that diagram. what are your thoughts about this?

If at all anything is not possible can you send me the input draft only till the part the output is correct?
 

ericgibbs

Joined Jan 29, 2010
21,442
hi,
I suspect the original design was never fully tested.

I am not sure what you mean.?
send me the input draft only till the part the output is correct?

E
 

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
hi,
I suspect the original design was never fully tested.

I am not sure what you mean.?
send me the input draft only till the part the output is correct?

E
hi,
I suspect the original design was never fully tested.

I am not sure what you mean.?
send me the input draft only till the part the output is correct?

E
yeah actually i thought executing it only for the parts it is showing correct output but what do u suggest me doing now?
 

ericgibbs

Joined Jan 29, 2010
21,442
hi,
Would suggest that you submit to your tutor, the 'marked up' corrected plots and simulations with an explanation of why you think the original circuit you discovered is at fault.

E
 

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
hi,
Would suggest that you submit to your tutor, the 'marked up' corrected plots and simulations with an explanation of why you think the original circuit you discovered is at fault.

E
Yeah I think of doing the same. According to you, what is wrong in the orignal circuit?
 

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36

Attachments

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
hi 680.
Hard wired the A,B,CYI Low and the /A,/B /CYI High and it still outputs Sum and CYO as high.

Ask the Author of the circuit for confirmation that it works.

E
i contacted the author he asked me that the pull-ups and pull-downs should not be the same value , the thresholds for the output buffers need to be adjusted , the resistor values 47k for all resistors using 5V inputs are probably incorrect and also the inverters should not be present for the true outputs. What are your suggestions on these?
 

ericgibbs

Joined Jan 29, 2010
21,442
hi 680,
The fact he does not know the resistor values, are probably incorrect , suggests to me that he never had the circuit working.
What did he suggest for the Threshold levels.?
Post a circuit with his 'suggestions' and I will simulate, see what we get.
E
 

Thread Starter

omkarshinde680

Joined Oct 7, 2020
36
hi 680.
Hard wired the A,B,CYI Low and the /A,/B /CYI High and it still outputs Sum and CYO as high.

Ask the Author of the circuit for confirmation that it works.

E
Voila! So after all the changes the circuit is now correct and functional. Can you please guide me as to how is this circuit working and the circuit analysis ?
 

Attachments

Last edited:
Top