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
@khalilrouatbi63456 жыл бұрын
this guy is saving my life each time!!!
@darshanbari24395 жыл бұрын
Mine too...
@HeWhoShalNotBeNamed_5 жыл бұрын
Nigaa true
@ankita_chavan.5 жыл бұрын
Yeah ......;-);-);-)
@kakashisenpai995 жыл бұрын
@@ankita_chavan. Yes
@sinto41055 жыл бұрын
how can you say this he has not told from where the output will be taken
@akshitarora4705 жыл бұрын
To simplify the circuit: Use an XOR gate it will give the same output.
@neelthakker70703 жыл бұрын
and use Tff insted of jkFF
@nikhilhaspe27343 жыл бұрын
@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 ! 😉
@aditwani65623 жыл бұрын
@@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...
@ArnavJainprofile3 жыл бұрын
@@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
@AmitProgue283 жыл бұрын
Obviously
@abhishek.rathore3 жыл бұрын
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.
@ss1995ify5 жыл бұрын
The way of explaining has made understanding concepts effortless.
@gauthamghetia49463 жыл бұрын
Learning things is far easier than the college teaching ❤️ Thank you so much neso academy for the lovely videos
@arindampal27966 жыл бұрын
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).
@programmingShorts20227 ай бұрын
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.
@saibunny12535 ай бұрын
@programmingShorts2022 yes
@hasan_beats5 жыл бұрын
Each and every topic is clear after going through ur videos...thanks
@satorugojo9627 Жыл бұрын
Very good and informative videos, really relieved from some of the stresss..... But, HOW IS THIS GUY USING HIS MOUSE SO SMOOTHLY???
@siddhanttiwary5 жыл бұрын
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 Жыл бұрын
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.
@mauryajain69225 жыл бұрын
Loadss of respect to neso academy n THIS PERSON , brother 🤝🤝🤝
@shubhankkulshreshtha21953 жыл бұрын
Got in love with electronics after seeing ur videos😍
@yonghuiliew80664 жыл бұрын
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.
@jarzis5 жыл бұрын
why not just use a 2x1 MUX?...... where M will be the select line and Q and Q' will be the inputs
@ubaidurrehman43775 жыл бұрын
yup, you can,
@chulbuli_titli4 жыл бұрын
That is actually a 2x1 mux expanded in terms of gates. Draw a rectangular box over 3 gates and you get the mux.
@hrithikjain18064 жыл бұрын
Rather use a xor gate. Much simpler
@pjrox84674 жыл бұрын
Nerdiiezzzz
@brahmakillampalli96779 жыл бұрын
instead of AND-OR logic, we can simply put Ex-or gate( M and Q as inputs)
@ajoykrmohanta43797 жыл бұрын
awesome videos ...tomorrow is my exam n I got so much help from the videos
@stutiraj78236 жыл бұрын
Thank you so much Sir You explained really well.
@Poojaruhal9 жыл бұрын
I was waiting for counter video ...thanks ...
@imanesabrinafeknous31416 жыл бұрын
you are doing a great job thank you so much I learned a lot
@mousanadermahdi56568 жыл бұрын
شكرا @Neso Academy
@RahulMadhavan5 жыл бұрын
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)
@raghawagrawal95786 жыл бұрын
correction needed, q and q complement can never be same as shown in table.
@archplays8bp1463 жыл бұрын
You are a indeed Life saver 🙏 Thank you so much
@manishagrawal79808 жыл бұрын
super videos. Thanks a lot to make the subject very simple.
@rohilraaz1552 жыл бұрын
Superb...... That's how you teach..!! Thank you very much.
@thechhavibansal6 жыл бұрын
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
@bessaihabdelkadermahieddin91522 жыл бұрын
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 ?
@harshchauhan65083 жыл бұрын
We can use a multiplexer in between ever flip flop pair with Q and Q' as input and M as select line
@vladbugayev16036 жыл бұрын
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
@soumikbasu48805 жыл бұрын
When q ' is connected to clk. It will act as up counting . There is nothing flaw except that.
@zuodidavid5 жыл бұрын
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.
@nishantpatil462113 күн бұрын
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.
@tinystepswithmomg7 жыл бұрын
The combinational circuit can also replace by Ex-or gate or 2:1 Mux..
@yoyoml63803 жыл бұрын
Great channel!
@noob2notorious2865 жыл бұрын
thank you so much bro
@MoaazQaddah8 жыл бұрын
AMAAAZINGLY described :D
@labambangpunto2 ай бұрын
terima kasih banyak
@iboz22536 ай бұрын
Your explanation is very good. I think we can also use also Multiplexers instead of the gates, can't we?
@sanketborkar927 жыл бұрын
Can MQ'+M'Q circuit diagram with AND/OR gates be replaced with a simple XOR gate?
@gauravpant085 жыл бұрын
@@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-kt1qq5 жыл бұрын
ya , i think it should be replaced by the XOR gate.
@arnabroy21225 жыл бұрын
Yes
@Crazyforelectronics5 жыл бұрын
Yes
@moinshaikh35015 жыл бұрын
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
@nafeesshaheb83886 жыл бұрын
Sir your teaching skill is amazing !
@and1fer9 жыл бұрын
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.
@ashgoku69664 жыл бұрын
dude are you like god or what . I understood the topic I felt complicated so easily
@amanchaudhary88172 жыл бұрын
Thank you sir 🙏🏼
@ViralShortsOfDuniya6 жыл бұрын
Thankyou very much Sir👍
@sarthakgoel1838 жыл бұрын
YOU ARE AWESOME ! :D
@allanraju15705 жыл бұрын
We can use 2:1 mux and also exclusive or gate as a combinational ckt b/w two FF
@reazuddinbhuiyan22103 жыл бұрын
Jazakallah Khairan
@sabitrap8 жыл бұрын
why not use a 2:1 mux in the combinational circuit part?
@saibunny12535 ай бұрын
Yes !
@PanagiotisKar5 жыл бұрын
You can use a 2:1 mux with the select line set to M, for short
@saibunny12535 ай бұрын
Yes we can we are getting these because of him 😅. He made us think to have least hardware .
@kshitijvengurlekar11926 жыл бұрын
Thank You :)
@DesiWitHub95 жыл бұрын
Thank you sir ☺️☺️
@sharonyabanerjee28674 жыл бұрын
Why we don't use xor
@arpitmishra815 жыл бұрын
kitna achha padathe ho aap sir
@kajalmondal97456 жыл бұрын
thank you very much sir
@manishagrawal79808 жыл бұрын
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.
@ddrapper23269 күн бұрын
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.
@desmond66377 жыл бұрын
Thanks sir
@ajinkyalatkar22853 жыл бұрын
We can even use 2:1 MUX as combinational circuit instead of gates.
@elenatsouni45063 жыл бұрын
bro good job
@NelsonOokami4 жыл бұрын
Thank you very much for your video. Thanks to you I could FINALLY understand how to put both circuits together. :D
@FatihErdemKzlkaya9 жыл бұрын
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.
@Ebuilt8 жыл бұрын
+Fatih Erdem Kızılkaya circuit diagram plz
@imansaleem8041 Жыл бұрын
Sir your chennal is best
@user-bu8mg7uq3s2 жыл бұрын
thank you
@jahadroyal1523 жыл бұрын
Where is 4bit??
@invisibleduck5 жыл бұрын
You could use XOR gate for making it more simple
@astaragmohapatra96 жыл бұрын
How can Q and Q' be equal in some cases in the truth table ?
@udaykiranjayanthi75145 жыл бұрын
Sir, why can't we use M XOR Q. Instead of that combinational circuit
@vikaskota154 жыл бұрын
We can use multiplexer circuit with single selection line(one xor gate )
@ankushdhiman2764 Жыл бұрын
thankyou sir it is helpful
@luckysaadaan8617 Жыл бұрын
Useful even in 2023
@poondlasaidinesh92082 жыл бұрын
Don't know whether it's correct or not But even 2×1 multiplexer is an alternative
@agstechnicalsupport2 жыл бұрын
This can be a good exam question.
@xlogn7 жыл бұрын
simple xor of Qa, Qb, Qc with M as output , could make it more neater !
@ABHISHEKKUMAR-yb5vf9 жыл бұрын
in the table,which you made, how can Q and Q complement have same value..e.g 1 and 1 or 0 and 0???
@Ebuilt8 жыл бұрын
+ABHISHEK KUMAR mportant question sir plz ans this question
@minhazurrahman85925 жыл бұрын
take them as not used/don't care.
@arijitgayen46745 жыл бұрын
This is really bothering me.
@adarshsasidharan2545 жыл бұрын
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.
@vikramank45214 жыл бұрын
Yes
@aymaanshabbir1650 Жыл бұрын
Just use a xor gate as y = m(xor)q that will simplify the circuit
@YuriYodie8 жыл бұрын
Thanks Neso, You helped m,e apelpwelot
@vinaypant5693 жыл бұрын
If you want to design this using D flip flop just connect D input to complement output , remaining same.
@fahadgaming66063 жыл бұрын
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 ...????
@skprajapat57723 жыл бұрын
How can Q and Q' both be zero or 1 simultaneously 3:21
@muzammalhussain48873 жыл бұрын
same question
@vishnukanth59933 жыл бұрын
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?
@shubhamtiwari42816 жыл бұрын
Sir can we use 2x1 mux instead of this combinational circuit in between?
@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.
@shaileshpawar37128 жыл бұрын
why we not used Y=M (XOR) Q between the two flip-flops in up/down ripple counter
@Ebuilt8 жыл бұрын
+Shailesh Pawar you can use but it is best way so that people can understand
@user-sb9zv8xd3l7 ай бұрын
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_0014 жыл бұрын
Can we use a 2×1 mux instead.. to select the required output
@RaqibZaman6 жыл бұрын
At 8:42, He means Qb compliment and M
@akashghosh37884 жыл бұрын
This guy help me to become a Topper
@pushpampatel96085 жыл бұрын
Sir, can we use Xor gat directly using Q and M only?
@adarshsasidharan2545 жыл бұрын
isn't the combinational circuit used in this counter equivalent to a 2 X 1 MUX ?
@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)
@aliabdulmalekalhaj18676 жыл бұрын
u r great thanks
@sayalikathore96112 жыл бұрын
And from where we are going to consider the output
@shivampaliya90114 жыл бұрын
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 ?
@pratyushharsh71864 жыл бұрын
East or West Neso is the best
@ontimegrad70695 жыл бұрын
Sir, I want to ask how can you list the true table that Q and Q complement have the same value?
@prashantsharma31343 жыл бұрын
for MQQ' == 011, y should be X, since this condition never happen so should take as don't care for small output(Y) logic
@kleofernandes19918 ай бұрын
I have the same doubt
@schika995 жыл бұрын
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?
@debanjanghosal6187 ай бұрын
Can we use EX-OR gate instead of 2 AND gates for the combinational circuit?
@sankarayachitula43285 жыл бұрын
cant the combinational circuit be the 2 *1 multiplexer to select the the present state????
@ak_chavda6 жыл бұрын
We can use directly ex-or gate instead of eq. of two and gates and one or gate ??
@lasue72445 жыл бұрын
Sir, Kabhi Kabhi Lagta Hai AAP Hi Bhagvan Ho :)
@ridakhawar18337 жыл бұрын
bt in this case if we take q complement as a clock then q is permanently zero so from where we take output