Тёмный

4-bit Adder and Subtractor Circuit Explained 

ALL ABOUT ELECTRONICS
Подписаться 651 тыс.
Просмотров 379 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 115   
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 2 года назад
For more information, check these related videos on Adder and Subtractor: 1) Half Adder and Full adder ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5XbRIVWFRIw.html 2) Ripple Carry Adder ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-b70ZQwci5sY.html 3) Half Subtractor and Full Subtractor ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-lqN8xLTtdaA.html
@MrLinker44
@MrLinker44 Год назад
you could explain in 20 minutes what my professor couldn't in 2 hours. THANK YOU
@MSK-sc1gf
@MSK-sc1gf 7 месяцев назад
😂😂🪬 fact bro
@RandaDj-r3n
@RandaDj-r3n 6 месяцев назад
Yes is the same matter 😂
@jagratisharma8410
@jagratisharma8410 Месяц назад
😂😂
@srinjandutta121
@srinjandutta121 Год назад
The slow build up to the actual topic is just awesome
@waasanime2335
@waasanime2335 2 года назад
this 20 min. video literary saved my day !!.. Thank you very much 🤩
@shashankjha88
@shashankjha88 10 месяцев назад
00:11 Designing a 4-bit subtractor circuit 02:57 Performing subtraction using an adder circuit with 2's complement 05:28 Performing subtraction using the adder circuit 08:01 Performing subtraction using a modified adder circuit. 10:42 XOR gate can be used for both addition and subtraction 13:23 Binary addition and subtraction using XOR gates and adder circuit 15:59 Performing subtraction using 2's complement form 18:21 The adder circuit can be used for addition and subtraction
@eda1058
@eda1058 7 месяцев назад
It is just like a private lesson, a teacher teaches me topics I have no idea about detaily, thank you very much for saving me:))And also thanx for the subtitles sometimes because of the accent I cannot understand some parts and other than that when i speed up the video thanks to the subtitles i do not miss anything
@gopikrishnanm8091
@gopikrishnanm8091 Год назад
This is the best explaination so far i have seen, thanks sir.
@shantanusingh2039
@shantanusingh2039 10 месяцев назад
Better video than neso academy
@Osami.Junior
@Osami.Junior День назад
@@shantanusingh2039 Really coz i just wanna re - watch some vids for digital electronics
@zohaib5636
@zohaib5636 6 месяцев назад
sir your inglish is very gut. i want to take classes from you. i have a dream of securing full marks in inglish. when you say "The output of xor" hits different.❤
@deepthidonthu
@deepthidonthu 7 месяцев назад
your way of explanation is really awesome . It is very clear content to understand the concept . Thank you.
@fabulouscsk9564
@fabulouscsk9564 Год назад
WONDERFUL explanation sir! 👍
@ahmadfahryan6206
@ahmadfahryan6206 10 месяцев назад
makasih sangat jelas dan sangat memabntu saya dalam mengerjakan LK Eldas terlebih lagi modul m-11
@jonathanbanda5395
@jonathanbanda5395 Год назад
May God nature both everything you touch and involve yourself, Good health too
@rush_holic
@rush_holic Год назад
Literally the best video on this topic found so far 👍🔥
@book19118
@book19118 Год назад
Best video on this topic. Thanks a lot.
@yogeesh_kulal02
@yogeesh_kulal02 6 месяцев назад
You saved my day... Thanks❤
@udaysingh5167
@udaysingh5167 Год назад
Very Informative video. Thanks
@omanshsharma6796
@omanshsharma6796 Год назад
beautifully explained, thanks a lot
@Srinivas-sz7fn
@Srinivas-sz7fn Месяц назад
Good explaination ..! but while teaching the lecture please kindly use cursor mark.
@hoci1956
@hoci1956 9 дней назад
Your video is really helped me. Thanks a lot
@muthyalasandeep5382
@muthyalasandeep5382 Год назад
It 's excellent explanation sir
@user-wb8hl6nh7g
@user-wb8hl6nh7g Год назад
The best video I have seen ever😍
@ahmadjaradat3011
@ahmadjaradat3011 11 месяцев назад
This lecture is awesome !!!!
@praveenkumargorrepati5590
@praveenkumargorrepati5590 2 года назад
superb explanation sir ❤️❤️❤️🔥🔥
@Pallavi604
@Pallavi604 Год назад
wonderful explanation 👍
@prashantsubedi9351
@prashantsubedi9351 2 года назад
You are a legend sir!
@Happymind1331
@Happymind1331 2 года назад
Today was my end sem exam nd i got this question in it
@hafsans7323
@hafsans7323 7 месяцев назад
Very good class sir.......
@prabhleensingh5667
@prabhleensingh5667 Год назад
Really helpful 👍🏻
@bibhakardas5761
@bibhakardas5761 2 года назад
Damn good explanation! ❤️
@uyioduware693
@uyioduware693 7 месяцев назад
Great explanation sir. What it the output from the And gate is 0, since A>B. We don't want it to do the 2's complement of B again and then add since A>B. How would the system know it's to stop if A>B.
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 7 месяцев назад
If A > B, And if you are performing A - B, then you will get carry at the output. That means Co = 1. So, here since it is applied through invert to the AND gate, so the output of the AND gate will be 0. That means the output of the second ADDER is same as the output of the first adder. ( since XOR gate won't invert the S3, S2, S1 and S0 ouptuts of the first adder, and C0 for second adder will also be 0). I hope, it will clear your doubt.
@uyioduware693
@uyioduware693 7 месяцев назад
​@@ALLABOUTELECTRONICSThank you sir, I had to go back and look at it again, A0-A3 is 0, so it won't change the value of the 1st adder as you said the carry out it's applied through invert to AND gate.
@ed_731
@ed_731 Год назад
Fantastic. Thank you.
@ragzzz07
@ragzzz07 10 месяцев назад
Hi, I have tried to make the same the circuit on the circuit verse but upon doing the addition of 1111 and 1000 bits the carry out of the second 4bit adder is not giving the 1 bit as the output carry, so, do we need to need to get the output of the carry or borrow bit from the 1st 4bit adder module ?
@antoral1599
@antoral1599 2 года назад
I have a question, why does the 2's complement checker does not work when you add two negative numbers? Ex. -2-1 = 1110 + 1111 = 11101. So the most significant bit, which is 1, is inverted and then it goes through a AND gate with the CTR value, but the result ends up being 0 (0 * 1) . Even though the result is in 2's complement form. PLS HELP, I have a project related to this. Thank you!
@Reydriel
@Reydriel Год назад
This 2's complement checker here only deals with unsigned integers (positive numbers only). We are only subtracting ONE unsigned integer from the other unsigned integer. They cannot both be negative, since the circuit can only convert one of them to its 2's complement representation. However, the 2's complement checker here is also not 100% correct, it fails to account for subtraction by zero, which will never output a carry bit and thus, the checker would mark the result as a 2's complement number when it isn't. What you are doing is adding two SIGNED integers. The inputs and outputs are already guaranteed to be in 2's complement, so you don't need a checker there. (You might need a checker to detect overflows (+ve + +ve = -ve) and underflows (-ve + -ve = +ve) which you can do by comparing the MSBs of the two inputs and the output)
@igxniisan6996
@igxniisan6996 Год назад
​@@Reydriel rare to see anime lovers learning digital electronics
@Reydriel
@Reydriel Год назад
@@igxniisan6996 Nerds, going to college? Ain't no way lmao
@ZGURemixer
@ZGURemixer 3 дня назад
Thank you!
@sanjayshah9838
@sanjayshah9838 2 года назад
Very Nice 👌👍
@AbdurRehman_15
@AbdurRehman_15 6 месяцев назад
Please tell how does the circuit know that when the control is 0 or 1? and also how the circuit will know when the last carry4 will be ignored or not?
@saisnehalvamanpally4750
@saisnehalvamanpally4750 10 месяцев назад
Your explaination was awesome. But i have a doubt sir , if we add two 4 bits which results to get a 5 bit output then the carry output atlast will be not shown by this method because we use not gate and multiply with ctr. How to overcome this problem?
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 10 месяцев назад
If you closely observe, C4 output is still available. Of course, the same signal is given to NOT gate and to AND gate. But in case, if the carry is generated then it will be available. Whether it is valid carry or not, that depends on the output of the AND gate. I hope, it will clear your doubt.
@debanjanbera2695
@debanjanbera2695 2 года назад
Very very Thank you!!!!!
@harshshah1818
@harshshah1818 Год назад
Nicely explained
@abdullahfathy858
@abdullahfathy858 6 месяцев назад
what would change if the operation was like -3 +4 , thats like my problem right now is how to represent the negative number , i know that there is 1's & 2's complement representation and there is a sign magnitude representation but in the implantation on the circuit how will the gate recognize if the most significant bit is a sign
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 6 месяцев назад
This circuit is for the addition and subtraction of unsigned numbers. For the negative numbers ( 2s complete numbers), you need to modify the circuit.
@Aman-0624
@Aman-0624 7 месяцев назад
Mast explanation sir ji❤❤❤
@faneeshbansal
@faneeshbansal Год назад
sir i have one doubt in this, here we use bin0 as our control pin, as when bin0 = 0 , then the circuit perform addition, and when bin 0 = 1; the cicuit perform addition, but if we have our bin = 1 in addition case i.e if there is alreay a carry in , then we can't perform addition here.. it will do subtraction in that case. please clear this doubt
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS Год назад
you need to connect the Cin input with CTR input only for the first block (The Least significant Block). Suppose you are cascading multiple such blocks then you can directly connect Cout of one block to Cin of the next block. In the next block, you don't need to connect CTR with Cin. You can check it manually or you can also simulate the same thing. I hope you got what I mean to say. If you still have any doubt then let me know here.
@faneeshbansal
@faneeshbansal Год назад
@@ALLABOUTELECTRONICS oh, now i visualise this sir, completely clear now , Thanks for the reply 😄
@reddypallikavitha6002
@reddypallikavitha6002 Год назад
Sir clister clear sir thank you so much sir
@abdulrahimalam3243
@abdulrahimalam3243 2 года назад
Legend sir 👍❤
@田中博-v7v
@田中博-v7v Год назад
知識をありがとう
@Uncertainty777
@Uncertainty777 11 месяцев назад
6:55 - My question here is instead of making carry=1 in the first bit why can't we remove the inverter of B in first bit and making carry=0 as usual?
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 11 месяцев назад
Yes, It will work. But it is better to use the same arithmetic blocks for each bit. (rather than a little different arithmetic block/without inverter for LSB)
@Uncertainty777
@Uncertainty777 11 месяцев назад
​@@ALLABOUTELECTRONICSthank you
@avinasha237
@avinasha237 Месяц назад
at 20:05 suppose I want to add 1001+1000 using the Adder/Subtractor circuit, The final result is 10001. In this case CTR=0 , as a result output of AND gate will be 0. So the sum result from the first 4 bit RCA will be 0001. Since AND output is 0, Cin at Second RCA will be 0 and all A3A2A1A0 of second 4bit RCA is 0 added with B3B2B1B0 which is same as B3B2B1B0 of first RCA (since AND output=0). The final sum output of second RCA will be now 0001 but Cout of second RCA is 0 ( all A3A2A1A0 of second RCA is grounded) . But we know the final result is 10001. how this carry can be missed out in second RCA. . Kindly help.
@blazerchicken1619
@blazerchicken1619 Месяц назад
Don't take that carry from the second RCA, use the original carry from 1st RCA is what I would suggest
@mayurshah9131
@mayurshah9131 2 года назад
Superb
@sameedansar3552
@sameedansar3552 Год назад
TY jAZKALLAH KHAIR
@ChintanAk-c5s
@ChintanAk-c5s 2 месяца назад
can i get substraction using 1's complement
@petermarkwood9077
@petermarkwood9077 Месяц назад
@@ChintanAk-c5s yes
@e3gaming_475
@e3gaming_475 11 месяцев назад
Thank you so much❤
@rajualugubilli9078
@rajualugubilli9078 Год назад
Thank so much bro 🥰🥰
@Amigo15
@Amigo15 Год назад
Can't we just add another XOR logic gate to Cout and then connect it with CTR ?
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS Год назад
Hi would you please mention the timestamp where you are referring to in the video? It would be easy for me to answer your question.
@MotivationKida-cb1hp
@MotivationKida-cb1hp Год назад
Excellent
@mahadevs7168
@mahadevs7168 11 месяцев назад
Thank you sir❤
@Mo-fz1to
@Mo-fz1to Год назад
thank you so much
@user-yy7uh9qi4g
@user-yy7uh9qi4g 7 месяцев назад
WHAT IF THERE IS A NOT GATE BETWEEN CTRL AND THE FULL ADDER BLOCK
@Alien.Coderzzz
@Alien.Coderzzz 7 месяцев назад
Amazing 😍
@shawneenation9326
@shawneenation9326 Год назад
so is setting the control to 1 subtracting and 0 adding
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS Год назад
Yes, correct.
@MoMo-lo6kh
@MoMo-lo6kh 11 месяцев назад
Thanks brother
@uyioduware693
@uyioduware693 7 месяцев назад
Also sir, it just talks about if B was either a negative or positive, what if A was either positive or negative.
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 7 месяцев назад
This circuit is meant for the addition and subtraction of the two 4-bit unsigned numbers. It is not designed for the signed numbers.
@uyioduware693
@uyioduware693 7 месяцев назад
@@ALLABOUTELECTRONICS I know it's for 4-bit unsigned numbers. The circuit only solves for when B is either positive or negative. What if A was either positive or negative too. We can have A-B, A+B and also -A-B. The question is for the scenario where -A-B needs to be solved for sir. Thank you.
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 7 месяцев назад
The unsigned numbers will be non-negative. So, -A -B scenario won’t come. If you have two unsigned numbers then either you add them or subtract them.
@uyioduware693
@uyioduware693 7 месяцев назад
@@ALLABOUTELECTRONICS ohh thank you very much sir 🙏
@heyitsmea8883
@heyitsmea8883 10 месяцев назад
What if my carry is 1 and I want to do addition
@AryaNagar-g5k
@AryaNagar-g5k 6 месяцев назад
for the question (10-12) the answer would be 11110 when we calculate simply without using any circuit but in the final circuit while performing (10-12) the result concluded by (4-bit adder-2): s3s2s1s0 is 1100 with sign 1. while the answer should be 11110. no true form or 2s complement form. the answer should be 11110 which was given by single circuit, then why add the second?! please clearify.
@srinidhijami6484
@srinidhijami6484 8 месяцев назад
I need code for this adder and subtractor in vhdl can you help us
@khushilalwani9944
@khushilalwani9944 Год назад
why didi we used 2's complement for subtraction we could have took any other complement
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS Год назад
Since we are doing the subtraction in binary, 2s complement is preferred one. One might argue for 1s complement method instead of 2s complement, but in 1s complement representation we have two different representations for '0', which is convenient for implementation. I hope, it will clear your doubt.
@khushilalwani9944
@khushilalwani9944 Год назад
@@ALLABOUTELECTRONICS thank you for such instant reply Everything is so clear you teach so well ☺️
@as_if
@as_if Год назад
*Didi*
@nomann5244
@nomann5244 2 года назад
But in calculator we don't have two display for input. We have only one display so we add serially like at first input 3 then input 2 and we get output 5. How we can design this type of circuit which will take input serially like real life calculator and we get output using memory flip flop and logic gate. I didn't find the answer how our real life calculator is working and saving the input in memory then add it to another and produces output.
@amritanshusingh7943
@amritanshusingh7943 8 месяцев назад
Why my professor are not as you 2×50=100mins bhi kam pad gye unhe
@exploreworld4188
@exploreworld4188 2 месяца назад
Thanks
@harishanand8682
@harishanand8682 2 года назад
perfectoooooooooooooooooooooooooooooooooooooooooooooo
@Khushu_21
@Khushu_21 Год назад
Control(mode) means ??
@KartickJana2003
@KartickJana2003 2 года назад
Nice
@KartickJana2003
@KartickJana2003 2 года назад
Okay
@FellowHindu
@FellowHindu 8 месяцев назад
Am I the only one who is hearing 'five' fiuu Anyway thank you sir
@aanishas1925
@aanishas1925 10 месяцев назад
Thank you so much ❤ U have no idea how much this channel helps!🥹
@MMNayem-dq4kd
@MMNayem-dq4kd Год назад
Bravo
@savitajaincodingchannel296
@savitajaincodingchannel296 Год назад
How we wil ignore or last carry
@savitajaincodingchannel296
@savitajaincodingchannel296 Год назад
How we will ignore or use last carry
@PrincyMIT
@PrincyMIT 2 месяца назад
sir how C0=1 plz tell
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 2 месяца назад
Would you please mention the timestamp where you are referring to ?
@AyushGurjar-y9o
@AyushGurjar-y9o Год назад
please share this pdf
@mimikausik548
@mimikausik548 2 месяца назад
sir please give us the truth table
@ALLABOUTELECTRONICS
@ALLABOUTELECTRONICS 2 месяца назад
The truth table for adder subtractor is already covered in the previous videos. For more information, you can check this video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5XbRIVWFRIw.htmlsi=gNYYW1Ai8k_lLvwW
@mimikausik548
@mimikausik548 2 месяца назад
@@ALLABOUTELECTRONICS for 4 bit?
@Surya-aaa
@Surya-aaa 2 года назад
SIR PLZ CAN U MAKE VIDEO IN HINDI PLZ
@UsairaShahbazZahid
@UsairaShahbazZahid Год назад
This lecture is awesome !!!!
Далее
Handsoms😍💕
00:15
Просмотров 4 млн
Worst Punishments in History Explained Using Minecraft
11:28
How does an Electric Motor work?  (DC Motor)
10:03
Просмотров 18 млн
Half Subtractor and Full Subtractor Explained
13:38
Просмотров 209 тыс.
How Do Computers Remember?
19:32
Просмотров 6 млн
4 Bit Parallel Adder using Full Adders
10:27
Просмотров 1,2 млн