3 Bit & 4 Bit UP/DOWN Ripple Counter

  Рет қаралды 1,182,388

Neso Academy

Neso Academy

9 жыл бұрын

Digital Electronics: 3 Bit and 4 Bit UP/DOWN Ripple Counter
Contribute: www.nesoacademy.org/donate
Website ► www.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Pinterest ► / nesoacademy

Пікірлер: 392
@khalilrouatbi6345
@khalilrouatbi6345 6 жыл бұрын
this guy is saving my life each time!!!
@darshanbari2439
@darshanbari2439 5 жыл бұрын
Mine too...
@HeWhoShalNotBeNamed_
@HeWhoShalNotBeNamed_ 5 жыл бұрын
Nigaa true
@ankita_chavan.
@ankita_chavan. 5 жыл бұрын
Yeah ......;-);-);-)
@kakashisenpai99
@kakashisenpai99 5 жыл бұрын
@@ankita_chavan. Yes
@sinto4105
@sinto4105 5 жыл бұрын
how can you say this he has not told from where the output will be taken
@akshitarora470
@akshitarora470 5 жыл бұрын
To simplify the circuit: Use an XOR gate it will give the same output.
@neelthakker7070
@neelthakker7070 3 жыл бұрын
and use Tff insted of jkFF
@nikhilhaspe2734
@nikhilhaspe2734 3 жыл бұрын
@Pooja Agarwal no you can't use exor here cause exor needs two same literals but here they are three so you can't implement that here get it ! 😉
@aditwani6562
@aditwani6562 3 жыл бұрын
@@nikhilhaspe2734 could you explain further? i don't see a problem with using M XOR Q as one of the 3 literals is just complement of another...
@ArnavJainprofile
@ArnavJainprofile 3 жыл бұрын
@@aditwani6562 ig cuz we're trying to physically use Q' instead of Q as our clock in down-counting, XOR would mean dono case mein Q see hi karenge
@AmitProgue28
@AmitProgue28 3 жыл бұрын
Obviously
@abhishek.rathore
@abhishek.rathore 3 жыл бұрын
You could've simplified the circuit a lot more by using Qa, Qb etc as the next flip flops clock and used a 2:1 MUX to select the output between Qa and Q'a and so based upon the select input M.
@ss1995ify
@ss1995ify 5 жыл бұрын
The way of explaining has made understanding concepts effortless.
@gauthamghetia4946
@gauthamghetia4946 3 жыл бұрын
Learning things is far easier than the college teaching ❤️ Thank you so much neso academy for the lovely videos
@arindampal2796
@arindampal2796 6 жыл бұрын
1)simply use a 2:1 mux and a common mode line as combinational ckt. 2) u can't get all possible combination in M,Q,&Q(bar) table because Q & Q( bar) are always complement of each other as u using jk(1,1 state)/T ff. 3) collect the output as Qa, Qb, Qc. when M=0 u'll get up counting & when m=1 u'll get down counting (in conventional way).
@programmingShorts2022
@programmingShorts2022 7 ай бұрын
I like your idea of using 2:1 MUX and I also thought about these combination in which cases Q and Q' are same. Thank you for your comment.
@saibunny1253
@saibunny1253 5 ай бұрын
​@programmingShorts2022 yes
@hasan_beats
@hasan_beats 5 жыл бұрын
Each and every topic is clear after going through ur videos...thanks
@satorugojo9627
@satorugojo9627 Жыл бұрын
Very good and informative videos, really relieved from some of the stresss..... But, HOW IS THIS GUY USING HIS MOUSE SO SMOOTHLY???
@siddhanttiwary
@siddhanttiwary 5 жыл бұрын
The presentation is awesome, Thank you. Just two things, you could have used an XOR gate to avoid the mess and also you didn't point out the output.
@clown1057
@clown1057 Жыл бұрын
We can simply use XOR operation (M XOR Q). Lets say, for M=1 we want to do down counting and for M=0, we have to do Up counting. Then, clock of Q1=Q0 XOR M. when M=0, clock of Q1=Q0 XOR 0=Q0(which is the condition of up counting) and when M=1, Q1=Q0 XOR 1= Q0 COMPLIMENT (which is required condition for down Counting.
@mauryajain6922
@mauryajain6922 5 жыл бұрын
Loadss of respect to neso academy n THIS PERSON , brother 🤝🤝🤝
@shubhankkulshreshtha2195
@shubhankkulshreshtha2195 3 жыл бұрын
Got in love with electronics after seeing ur videos😍
@yonghuiliew8066
@yonghuiliew8066 4 жыл бұрын
My teacher used positive and negative edge triggering randomly and the circuit design is so confusing. Thank god I saw ur playlist. It began filling in the holes that were left by my teacher.
@jarzis
@jarzis 5 жыл бұрын
why not just use a 2x1 MUX?...... where M will be the select line and Q and Q' will be the inputs
@ubaidurrehman4377
@ubaidurrehman4377 5 жыл бұрын
yup, you can,
@chulbuli_titli
@chulbuli_titli 4 жыл бұрын
That is actually a 2x1 mux expanded in terms of gates. Draw a rectangular box over 3 gates and you get the mux.
@hrithikjain1806
@hrithikjain1806 4 жыл бұрын
Rather use a xor gate. Much simpler
@pjrox8467
@pjrox8467 4 жыл бұрын
Nerdiiezzzz
@brahmakillampalli9677
@brahmakillampalli9677 9 жыл бұрын
instead of AND-OR logic, we can simply put Ex-or gate( M and Q as inputs)
@ajoykrmohanta4379
@ajoykrmohanta4379 7 жыл бұрын
awesome videos ...tomorrow is my exam n I got so much help from the videos
@stutiraj7823
@stutiraj7823 6 жыл бұрын
Thank you so much Sir You explained really well.
@Poojaruhal
@Poojaruhal 9 жыл бұрын
I was waiting for counter video ...thanks ...
@imanesabrinafeknous3141
@imanesabrinafeknous3141 6 жыл бұрын
you are doing a great job thank you so much I learned a lot
@mousanadermahdi5656
@mousanadermahdi5656 8 жыл бұрын
شكرا @Neso Academy
@RahulMadhavan
@RahulMadhavan 5 жыл бұрын
another way to do this one is to use 3 xors at the outputs than 2 xors at the clocks: use output_a as (m xor Qa), output_b as (m xor Qb) and output_c as (m xor Qc) - this comes with advantage of not having clock cycle shifted by 1 (see previous video)
@raghawagrawal9578
@raghawagrawal9578 6 жыл бұрын
correction needed, q and q complement can never be same as shown in table.
@archplays8bp146
@archplays8bp146 3 жыл бұрын
You are a indeed Life saver 🙏 Thank you so much
@manishagrawal7980
@manishagrawal7980 8 жыл бұрын
super videos. Thanks a lot to make the subject very simple.
@rohilraaz155
@rohilraaz155 2 жыл бұрын
Superb...... That's how you teach..!! Thank you very much.
@thechhavibansal
@thechhavibansal 6 жыл бұрын
Sir u r great. Stld has been made easy only because of u.. and I recommend Ur videos to all my friends. Thank u so much for doing so good
@bessaihabdelkadermahieddin9152
@bessaihabdelkadermahieddin9152 2 жыл бұрын
Hello , thank you so much for this ! i was wondering though , what about the outputs , shouldnt we make a line going from Q a,b,c so we can show the result of the counting ?
@harshchauhan6508
@harshchauhan6508 3 жыл бұрын
We can use a multiplexer in between ever flip flop pair with Q and Q' as input and M as select line
@vladbugayev1603
@vladbugayev1603 6 жыл бұрын
so i built this circuit in multisim, and it turn out that when m is 0, you have a down counter (the bits ripple through to make 111 from 000 initially) and and when it's 1, you have an up counter. I made this with XOR gates instead of the AND/OR logic you implemented but the function was the same. just wanted to clarify if anyone else comes across this. Thanks for your videos, I watch all of them religiously
@soumikbasu4880
@soumikbasu4880 5 жыл бұрын
When q ' is connected to clk. It will act as up counting . There is nothing flaw except that.
@zuodidavid
@zuodidavid 5 жыл бұрын
For an up ripple counter it knows it always increment, it only needs a signal that tells it when to. For this up/down ripple counter, it is not really ripple since it has a clk. It always change value at the posedge of clk, and it only needs to know whether to increment or decrement, which is still one signal. To design an async up/down ripple counter it needs two signals: when to change, and whether to increment or decrement. Because of setup time, constraint, it is impossible to work with only one signal. We either use delay unit which brings tons of physical requirements, or use two counters.
@nishantpatil4621
@nishantpatil4621 13 күн бұрын
The use of XOR instead of AND + NOR gate (which is a 2 to 1 MUX) is logically correct. However, you need to consider loading at outputs of the flip flops, Using only Q output with XOR will have uneven loading and hence rise time will be different from fall time. This produces duty cycle != 50%. It can cause issues at higher clock frequencies.
@tinystepswithmomg
@tinystepswithmomg 7 жыл бұрын
The combinational circuit can also replace by Ex-or gate or 2:1 Mux..
@yoyoml6380
@yoyoml6380 3 жыл бұрын
Great channel!
@noob2notorious286
@noob2notorious286 5 жыл бұрын
thank you so much bro
@MoaazQaddah
@MoaazQaddah 8 жыл бұрын
AMAAAZINGLY described :D
@labambangpunto
@labambangpunto 2 ай бұрын
terima kasih banyak
@iboz2253
@iboz2253 6 ай бұрын
Your explanation is very good. I think we can also use also Multiplexers instead of the gates, can't we?
@sanketborkar92
@sanketborkar92 7 жыл бұрын
Can MQ'+M'Q circuit diagram with AND/OR gates be replaced with a simple XOR gate?
@gauravpant08
@gauravpant08 5 жыл бұрын
@@medicharlaravivinay9591 Don't misguide people q and q' are always opposite, that is the rule of a flip flop. A mux or a xor can replace this circuit
@rohit-kt1qq
@rohit-kt1qq 5 жыл бұрын
ya , i think it should be replaced by the XOR gate.
@arnabroy2122
@arnabroy2122 5 жыл бұрын
Yes
@Crazyforelectronics
@Crazyforelectronics 5 жыл бұрын
Yes
@moinshaikh3501
@moinshaikh3501 5 жыл бұрын
No we cannot use because see the 5th state in the truth table where M=1 and Q= 0 and if you XOR both the output is 1 where as it should have been 0
@nafeesshaheb8388
@nafeesshaheb8388 6 жыл бұрын
Sir your teaching skill is amazing !
@and1fer
@and1fer 9 жыл бұрын
It felt like this was rather incomplete, what was the output in this case? I am guessing if it were up counting it would be just "Y" for each bit, and " Y' " for down counting. Yet is there a way I can store a number in a counter and be able to both increment and decrement it according to my needs :D? (I feel like what you just did will do the job but still can't see it clearly) Thank you for putting all these videos for us.
@ashgoku6966
@ashgoku6966 4 жыл бұрын
dude are you like god or what . I understood the topic I felt complicated so easily
@amanchaudhary8817
@amanchaudhary8817 2 жыл бұрын
Thank you sir 🙏🏼
@ViralShortsOfDuniya
@ViralShortsOfDuniya 6 жыл бұрын
Thankyou very much Sir👍
@sarthakgoel183
@sarthakgoel183 8 жыл бұрын
YOU ARE AWESOME ! :D
@allanraju1570
@allanraju1570 5 жыл бұрын
We can use 2:1 mux and also exclusive or gate as a combinational ckt b/w two FF
@reazuddinbhuiyan2210
@reazuddinbhuiyan2210 3 жыл бұрын
Jazakallah Khairan
@sabitrap
@sabitrap 8 жыл бұрын
why not use a 2:1 mux in the combinational circuit part?
@saibunny1253
@saibunny1253 5 ай бұрын
Yes !
@PanagiotisKar
@PanagiotisKar 5 жыл бұрын
You can use a 2:1 mux with the select line set to M, for short
@saibunny1253
@saibunny1253 5 ай бұрын
Yes we can we are getting these because of him 😅. He made us think to have least hardware .
@kshitijvengurlekar1192
@kshitijvengurlekar1192 6 жыл бұрын
Thank You :)
@DesiWitHub9
@DesiWitHub9 5 жыл бұрын
Thank you sir ☺️☺️
@sharonyabanerjee2867
@sharonyabanerjee2867 4 жыл бұрын
Why we don't use xor
@arpitmishra81
@arpitmishra81 5 жыл бұрын
kitna achha padathe ho aap sir
@kajalmondal9745
@kajalmondal9745 6 жыл бұрын
thank you very much sir
@manishagrawal7980
@manishagrawal7980 8 жыл бұрын
one more question :- a sequential machine produces an output 1 only when exactly two 0's are followed by 1 or exactly two 1's are followed by 0. Determine the reduced state table of the machine.
@ddrapper2326
@ddrapper2326 9 күн бұрын
I feel using a 2:1 MUX between all pairs of consecutive flip flops would've been better, taking control input M as select line and inputs being Q and Q' of the previous flip flop and the output being fed as clock to the next flip flop.
@desmond6637
@desmond6637 7 жыл бұрын
Thanks sir
@ajinkyalatkar2285
@ajinkyalatkar2285 3 жыл бұрын
We can even use 2:1 MUX as combinational circuit instead of gates.
@elenatsouni4506
@elenatsouni4506 3 жыл бұрын
bro good job
@NelsonOokami
@NelsonOokami 4 жыл бұрын
Thank you very much for your video. Thanks to you I could FINALLY understand how to put both circuits together. :D
@FatihErdemKzlkaya
@FatihErdemKzlkaya 9 жыл бұрын
Well, actually you do not need to add Q's complement to table since it will be always opposite of Q. When you do it with only M and Q you can use just a XOR gate as combinational circuit.
@Ebuilt
@Ebuilt 8 жыл бұрын
+Fatih Erdem Kızılkaya circuit diagram plz
@imansaleem8041
@imansaleem8041 Жыл бұрын
Sir your chennal is best
@user-bu8mg7uq3s
@user-bu8mg7uq3s 2 жыл бұрын
thank you
@jahadroyal152
@jahadroyal152 3 жыл бұрын
Where is 4bit??
@invisibleduck
@invisibleduck 5 жыл бұрын
You could use XOR gate for making it more simple
@astaragmohapatra9
@astaragmohapatra9 6 жыл бұрын
How can Q and Q' be equal in some cases in the truth table ?
@udaykiranjayanthi7514
@udaykiranjayanthi7514 5 жыл бұрын
Sir, why can't we use M XOR Q. Instead of that combinational circuit
@vikaskota15
@vikaskota15 4 жыл бұрын
We can use multiplexer circuit with single selection line(one xor gate )
@ankushdhiman2764
@ankushdhiman2764 Жыл бұрын
thankyou sir it is helpful
@luckysaadaan8617
@luckysaadaan8617 Жыл бұрын
Useful even in 2023
@poondlasaidinesh9208
@poondlasaidinesh9208 2 жыл бұрын
Don't know whether it's correct or not But even 2×1 multiplexer is an alternative
@agstechnicalsupport
@agstechnicalsupport 2 жыл бұрын
This can be a good exam question.
@xlogn
@xlogn 7 жыл бұрын
simple xor of Qa, Qb, Qc with M as output , could make it more neater !
@ABHISHEKKUMAR-yb5vf
@ABHISHEKKUMAR-yb5vf 9 жыл бұрын
in the table,which you made, how can Q and Q complement have same value..e.g 1 and 1 or 0 and 0???
@Ebuilt
@Ebuilt 8 жыл бұрын
+ABHISHEK KUMAR mportant question sir plz ans this question
@minhazurrahman8592
@minhazurrahman8592 5 жыл бұрын
take them as not used/don't care.
@arijitgayen4674
@arijitgayen4674 5 жыл бұрын
This is really bothering me.
@adarshsasidharan254
@adarshsasidharan254 5 жыл бұрын
there won't be a case when there is 1 1 on both the outputs because we are feeding 1 1 as the input to the flip flop and the output generated by this combination gives the previous state which can't be 1 1. The truth table that is creating this confusion shows merely the possibilities but it doesn't necessarily mean that there should be 1 1 as the output.
@vikramank4521
@vikramank4521 4 жыл бұрын
Yes
@aymaanshabbir1650
@aymaanshabbir1650 Жыл бұрын
Just use a xor gate as y = m(xor)q that will simplify the circuit
@YuriYodie
@YuriYodie 8 жыл бұрын
Thanks Neso, You helped m,e apelpwelot
@vinaypant569
@vinaypant569 3 жыл бұрын
If you want to design this using D flip flop just connect D input to complement output , remaining same.
@fahadgaming6606
@fahadgaming6606 3 жыл бұрын
Design a 4-bit ripple up-down counter with two control bits C and D. The circuit counts up when the control variable C is logic ‘HIGH’ and counts down when C is logic ‘LOW’. The circuit will work only if 𝐷=1 and remains unchanged if 𝐷=0 ...????
@skprajapat5772
@skprajapat5772 3 жыл бұрын
How can Q and Q' both be zero or 1 simultaneously 3:21
@muzammalhussain4887
@muzammalhussain4887 3 жыл бұрын
same question
@vishnukanth5993
@vishnukanth5993 3 жыл бұрын
for up counting we need to feed QA_bar as clk to next flop right so if it should happen at m=0 then function would be M_bar.QA_bar + M.QA . So Finally we need to use M xnor QA
@-.____________________________
@-.____________________________ 4 жыл бұрын
What is the difference between the truth table for a synchronous counter and asynchronous counter? Or are they the same?
@shubhamtiwari4281
@shubhamtiwari4281 6 жыл бұрын
Sir can we use 2x1 mux instead of this combinational circuit in between?
@n00b_asaurus
@n00b_asaurus Жыл бұрын
There is a problem with this circuit, sir. If the output of the combination circuit is high when the mode is changed, the next flip flop will register that as a falling edge and change state. This design can only switch modes reliably while in the 000 state. In other words, you cannot count up 0-1-2-3 then switch modes and count down 3-2-1-0. That mode change will trigger flip flops B and C and change state, and the resulting number will be 5. This is fine, if that is the intended behavior, but you may want to disclose that.
@shaileshpawar3712
@shaileshpawar3712 8 жыл бұрын
why we not used Y=M (XOR) Q between the two flip-flops in up/down ripple counter
@Ebuilt
@Ebuilt 8 жыл бұрын
+Shailesh Pawar you can use but it is best way so that people can understand
@user-sb9zv8xd3l
@user-sb9zv8xd3l 7 ай бұрын
Hi guys, as positive feedback, I have tested your circuit, but both mode perform a down counting only. For 2 BITS counter both mode count: 11, 10, 01 and 00. I think you should revise your circuit. For 2 BITS up/down counter, please look carefully that output Q of 1st T flip-flop must trigg the clock Pulse for the second flip-flop since this is a typical of asynchronous counter. Then, the output Q and Q' of first FF must be chosen using 2 to 1 mux then we OR both and take the output of OR gate as one of it output bit itself (Verify MSB or LSB. Do the same step for the second FF, third FF and fourth FF for 4 bit up/down counter modulo 16 from 0 to 15. Thank you.
@amp_001
@amp_001 4 жыл бұрын
Can we use a 2×1 mux instead.. to select the required output
@RaqibZaman
@RaqibZaman 6 жыл бұрын
At 8:42, He means Qb compliment and M
@akashghosh3788
@akashghosh3788 4 жыл бұрын
This guy help me to become a Topper
@pushpampatel9608
@pushpampatel9608 5 жыл бұрын
Sir, can we use Xor gat directly using Q and M only?
@adarshsasidharan254
@adarshsasidharan254 5 жыл бұрын
isn't the combinational circuit used in this counter equivalent to a 2 X 1 MUX ?
@AbhishekKumar-nz9dn
@AbhishekKumar-nz9dn Жыл бұрын
U have done a mistake 5:55 in k map equation ... its :- MQ+M(BAR)Q. U have written :- M(BAR)Q + MQ(BAR)
@aliabdulmalekalhaj1867
@aliabdulmalekalhaj1867 6 жыл бұрын
u r great thanks
@sayalikathore9611
@sayalikathore9611 2 жыл бұрын
And from where we are going to consider the output
@shivampaliya9011
@shivampaliya9011 4 жыл бұрын
In finding the relation for Q and M why did we consider one of the inputs like 0,0,0 and 0,1,1 .I mean if we consider Q and Q' they are not supposed to be same na ?
@pratyushharsh7186
@pratyushharsh7186 4 жыл бұрын
East or West Neso is the best
@ontimegrad7069
@ontimegrad7069 5 жыл бұрын
Sir, I want to ask how can you list the true table that Q and Q complement have the same value?
@prashantsharma3134
@prashantsharma3134 3 жыл бұрын
for MQQ' == 011, y should be X, since this condition never happen so should take as don't care for small output(Y) logic
@kleofernandes1991
@kleofernandes1991 8 ай бұрын
I have the same doubt
@schika99
@schika99 5 жыл бұрын
Why not use a multiplexer with m as selector and q at I1 and ^q at I2 and take the output as the next clock?
@debanjanghosal618
@debanjanghosal618 7 ай бұрын
Can we use EX-OR gate instead of 2 AND gates for the combinational circuit?
@sankarayachitula4328
@sankarayachitula4328 5 жыл бұрын
cant the combinational circuit be the 2 *1 multiplexer to select the the present state????
@ak_chavda
@ak_chavda 6 жыл бұрын
We can use directly ex-or gate instead of eq. of two and gates and one or gate ??
@lasue7244
@lasue7244 5 жыл бұрын
Sir, Kabhi Kabhi Lagta Hai AAP Hi Bhagvan Ho :)
@ridakhawar1833
@ridakhawar1833 7 жыл бұрын
bt in this case if we take q complement as a clock then q is permanently zero so from where we take output
Modulus of the Counter & Counting up to Particular Value
13:30
Neso Academy
Рет қаралды 998 М.
Asynchronous Counters (Ripple Counters) Explained | Binary Up/Down Ripple Counters
19:09
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 33 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 36 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
3-Bit & 4-bit Up/Down Synchronous Counter
19:44
Neso Academy
Рет қаралды 1,4 МЛН
How to Design Synchronous Counters | 2-Bit Synchronous Up Counter
12:57
Neso Academy
Рет қаралды 1,2 МЛН
I spent 100 hours ELECTROPLATING this 3D Printed C-3PO
10:41
HEN3DRIK - Electroplating 3D Prints
Рет қаралды 15 М.
Ring Counter
14:21
Neso Academy
Рет қаралды 1,1 МЛН
3 bit & 4 bit Asynchronous Down Counter
10:22
Neso Academy
Рет қаралды 1 МЛН
Synchronous Counters Explained  (Part-1)
25:59
ALL ABOUT ELECTRONICS
Рет қаралды 57 М.
SR Latch | NOR and NAND SR Latch
16:42
Neso Academy
Рет қаралды 3,7 МЛН
Half Subtractor
6:56
Neso Academy
Рет қаралды 960 М.
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 33 МЛН