Тёмный

3 Bit & 4 Bit UP/DOWN Ripple Counter 

Neso Academy
Подписаться 2,7 млн
Просмотров 1,2 млн
50% 1

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

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

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 395   
@khalilrouatbi6345
@khalilrouatbi6345 6 лет назад
this guy is saving my life each time!!!
@darshanbari2439
@darshanbari2439 6 лет назад
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 6 лет назад
The way of explaining has made understanding concepts effortless.
@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).
@z_mahmud-p8h
@z_mahmud-p8h 9 месяцев назад
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 7 месяцев назад
​@programmingShorts2022 yes
@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 2 года назад
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.
@gauthamghetia4946
@gauthamghetia4946 3 года назад
Learning things is far easier than the college teaching ❤️ Thank you so much neso academy for the lovely videos
@mousanadermahdi5656
@mousanadermahdi5656 9 лет назад
شكرا @Neso Academy
@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 5 лет назад
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
@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
@shubhankkulshreshtha2195
@shubhankkulshreshtha2195 3 года назад
Got in love with electronics after seeing ur videos😍
@brahmakillampalli9677
@brahmakillampalli9677 9 лет назад
instead of AND-OR logic, we can simply put Ex-or gate( M and Q as inputs)
@nishantpatil4621
@nishantpatil4621 2 месяца назад
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.
@satorugojo9627
@satorugojo9627 Год назад
Very good and informative videos, really relieved from some of the stresss..... But, HOW IS THIS GUY USING HIS MOUSE SO SMOOTHLY???
@raghawagrawal9578
@raghawagrawal9578 6 лет назад
correction needed, q and q complement can never be same as shown in table.
@sabitrap
@sabitrap 8 лет назад
why not use a 2:1 mux in the combinational circuit part?
@saibunny1253
@saibunny1253 7 месяцев назад
Yes !
@mauryajain6922
@mauryajain6922 5 лет назад
Loadss of respect to neso academy n THIS PERSON , brother 🤝🤝🤝
@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.
@hasan_beats
@hasan_beats 5 лет назад
Each and every topic is clear after going through ur videos...thanks
@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
@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.
@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 9 лет назад
+ABHISHEK KUMAR mportant question sir plz ans this question
@minhazurrahman8592
@minhazurrahman8592 6 лет назад
take them as not used/don't care.
@arijitgayen4674
@arijitgayen4674 6 лет назад
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
@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.
@udaykiranjayanthi7514
@udaykiranjayanthi7514 5 лет назад
Sir, why can't we use M XOR Q. Instead of that combinational circuit
@iboz2253
@iboz2253 8 месяцев назад
Your explanation is very good. I think we can also use also Multiplexers instead of the gates, can't we?
@n00b_asaurus
@n00b_asaurus 2 года назад
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.
@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.
@jahadroyal152
@jahadroyal152 3 года назад
Where is 4bit??
@luckysaadaan8617
@luckysaadaan8617 Год назад
Useful even in 2023
@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)
@tinystepswithmomg
@tinystepswithmomg 7 лет назад
The combinational circuit can also replace by Ex-or gate or 2:1 Mux..
@skprajapat5772
@skprajapat5772 3 года назад
How can Q and Q' both be zero or 1 simultaneously 3:21
@muzammalhussain4887
@muzammalhussain4887 3 года назад
same question
@ajoykrmohanta4379
@ajoykrmohanta4379 7 лет назад
awesome videos ...tomorrow is my exam n I got so much help from the videos
@allanraju1570
@allanraju1570 5 лет назад
We can use 2:1 mux and also exclusive or gate as a combinational ckt b/w two FF
@astaragmohapatra9
@astaragmohapatra9 6 лет назад
How can Q and Q' be equal in some cases in the truth table ?
@PanagiotisKar
@PanagiotisKar 6 лет назад
You can use a 2:1 mux with the select line set to M, for short
@saibunny1253
@saibunny1253 7 месяцев назад
Yes we can we are getting these because of him 😅. He made us think to have least hardware .
@ddrapper2326
@ddrapper2326 2 месяца назад
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.
@rohilraaz155
@rohilraaz155 2 года назад
Superb...... That's how you teach..!! Thank you very much.
@ajinkyalatkar2285
@ajinkyalatkar2285 4 года назад
We can even use 2:1 MUX as combinational circuit instead of gates.
@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 9 лет назад
+Fatih Erdem Kızılkaya circuit diagram plz
@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.
@pratikagarwala2919
@pratikagarwala2919 4 года назад
In combinational part why are you not using XOR??
@ashgoku6966
@ashgoku6966 4 года назад
dude are you like god or what . I understood the topic I felt complicated so easily
@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 ?
@royacademy9997
@royacademy9997 8 лет назад
sir in the M,Q,Q bar table the combination where Q=1 and Q bar=1.....how it is possible?,can u tell me abut it sir please!!!
@royacademy9997
@royacademy9997 8 лет назад
what time sir?
@pawanpikapin
@pawanpikapin 8 лет назад
exactly.
@royacademy9997
@royacademy9997 8 лет назад
2:39 sir
@pawanpikapin
@pawanpikapin 8 лет назад
The Truth table u made in the beginning to figure out the circuit structure to be inserted in between flipflops had # columns M Q and Q'. and u have considered the entry where both Q and Q' is 1. which is impossible because Q and Q' can not be 1 at a time. But it dint affect ur final circuit because Q=Q'=1 is a dont care condition and u can count them as 1 in ur k-map. But u should rectify that
@royacademy9997
@royacademy9997 8 лет назад
yeh accactly
@labambangpunto
@labambangpunto 5 месяцев назад
terima kasih banyak
@046ishanprashar7
@046ishanprashar7 3 года назад
Sir how Q and Q' can be same when you made truth table of 8 combination m0, m3, m4, m7 cases should not be there kindly explain this
@poondlasaidinesh9208
@poondlasaidinesh9208 2 года назад
Don't know whether it's correct or not But even 2×1 multiplexer is an alternative
@imanesabrinafeknous3141
@imanesabrinafeknous3141 6 лет назад
you are doing a great job thank you so much I learned a lot
@bideeptaacharya6581
@bideeptaacharya6581 5 месяцев назад
Sir in the M Q and Q' table, there are two cases (namely 011 and 111) when Q = Q'.... But then Sir how is that possible and allowed in a digital circuit to occur ?
@yashpaliwal1770
@yashpaliwal1770 8 лет назад
Can we use 2*1 MUX to select from Q and Q' ,M as a selection line . if M=0 Q is selected , else if M=1 Q' is selected ?
@Agntjpa
@Agntjpa 8 лет назад
Yes that is right as well.
@vikaskota15
@vikaskota15 4 года назад
We can use multiplexer circuit with single selection line(one xor gate )
@shaileshpawar3712
@shaileshpawar3712 9 лет назад
why we not used Y=M (XOR) Q between the two flip-flops in up/down ripple counter
@Ebuilt
@Ebuilt 9 лет назад
+Shailesh Pawar you can use but it is best way so that people can understand
@imansaleem8041
@imansaleem8041 Год назад
Sir your chennal is best
@DesiWitHub9
@DesiWitHub9 5 лет назад
Thank you sir ☺️☺️
@sharonyabanerjee2867
@sharonyabanerjee2867 5 лет назад
Why we don't use xor
@arpitmishra81
@arpitmishra81 5 лет назад
kitna achha padathe ho aap sir
@agstechnicalsupport
@agstechnicalsupport 2 года назад
This can be a good exam question.
@invisibleduck
@invisibleduck 5 лет назад
You could use XOR gate for making it more simple
@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 ?
@aymaanshabbir1650
@aymaanshabbir1650 Год назад
Just use a xor gate as y = m(xor)q that will simplify the circuit
@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 4 года назад
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 10 месяцев назад
I have the same doubt
@HelloWorld40408
@HelloWorld40408 Год назад
Thank you sir
@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
@akashghosh3788
@akashghosh3788 4 года назад
This guy help me to become a Topper
@adarshsasidharan254
@adarshsasidharan254 5 лет назад
isn't the combinational circuit used in this counter equivalent to a 2 X 1 MUX ?
@ElifArslan-l9g
@ElifArslan-l9g 2 года назад
thank you
@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 ...????
@stutiraj7823
@stutiraj7823 7 лет назад
Thank you so much Sir You explained really well.
@xlogn
@xlogn 7 лет назад
simple xor of Qa, Qb, Qc with M as output , could make it more neater !
@reazuddinbhuiyan2210
@reazuddinbhuiyan2210 3 года назад
Jazakallah Khairan
@Poojaruhal
@Poojaruhal 9 лет назад
I was waiting for counter video ...thanks ...
@priyanshubhardwaj4268
@priyanshubhardwaj4268 6 лет назад
As the outputs of flip flop are complement of each other .... Why did you consider the case where q and it's complement is equal..While making combinational for.
@MoaazQaddah
@MoaazQaddah 8 лет назад
AMAAAZINGLY described :D
@pratyushharsh7186
@pratyushharsh7186 4 года назад
East or West Neso is the best
@raghavmittal7637
@raghavmittal7637 5 лет назад
Sir, where we take Output of this circuit?
@hemanth6225
@hemanth6225 4 года назад
Qc Qb Qa is going to give output I guess
@sindhupalanki6578
@sindhupalanki6578 4 года назад
@@hemanth6225 yes
@nooobcoder
@nooobcoder 4 года назад
Why didn't you use a XOR gate for the reduced function of Y? The end expression was clearly equal to M xor Q!
@desmond6637
@desmond6637 7 лет назад
Thanks sir
@ankushdhiman2764
@ankushdhiman2764 Год назад
thankyou sir it is helpful
@amanchaudhary8817
@amanchaudhary8817 2 года назад
Thank you sir 🙏🏼
@onedayoneday2955
@onedayoneday2955 8 лет назад
Why are we not putting the combinational circuit after the third flip flop?
@thechhavibansal
@thechhavibansal 7 лет назад
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
@sayalikathore9611
@sayalikathore9611 2 года назад
And from where we are going to consider the output
@archplays8bp146
@archplays8bp146 4 года назад
You are a indeed Life saver 🙏 Thank you so much
@OliverPasaribu-c7d
@OliverPasaribu-c7d 9 месяцев назад
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.
@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?
@mayankranjan1855
@mayankranjan1855 4 года назад
Why didn't you use multiplexer directly (with 'M' acting as a selection line) instead?
@TheFootballShow986
@TheFootballShow986 4 года назад
The clock pulse used in this circuit is negative triggered or Positive triggered
@vinaypant569
@vinaypant569 3 года назад
If you want to design this using D flip flop just connect D input to complement output , remaining same.
@debanjanghosal618
@debanjanghosal618 9 месяцев назад
Can we use EX-OR gate instead of 2 AND gates for the combinational circuit?
@danishbhatia1734
@danishbhatia1734 7 лет назад
can we use xor gate here.
@fadilaelcheikh5006
@fadilaelcheikh5006 7 лет назад
yes exactly, in my college book it uses XOR gate.
@fadilaelcheikh5006
@fadilaelcheikh5006 7 лет назад
yes exactly, in my college book it uses XOR gate.
@fadilaelcheikh5006
@fadilaelcheikh5006 7 лет назад
yes exactly, in my college book it uses XOR gate.
@JMaktabi
@JMaktabi 6 лет назад
one more reply would be amazing
@JMaktabi
@JMaktabi 6 лет назад
one more reply would be amazing
@manishagrawal7980
@manishagrawal7980 8 лет назад
super videos. Thanks a lot to make the subject very simple.
@Brian-mf3ry
@Brian-mf3ry 7 лет назад
why not use an XOR gate for the combinational circuit?
@kajalmondal9745
@kajalmondal9745 6 лет назад
thank you very much sir
@alterguy4327
@alterguy4327 7 лет назад
Why didnt you use an Ex-or GATE.
@ViralShortsOfDuniya
@ViralShortsOfDuniya 6 лет назад
Thankyou very much Sir👍
@prernarawat528
@prernarawat528 7 лет назад
here , when M is 1the output of combinational circuit is Q bar but you didn't give any information about the output of flipflop. without knowing about output of flipflop how can we judge that the counting is up or down ?
@nafeesshaheb8388
@nafeesshaheb8388 6 лет назад
Sir your teaching skill is amazing !
@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
@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)
Далее
3 Bit Asynchronous Up Counter
11:48
Просмотров 1,4 млн
Living life on the edge 😳 #wrc
00:17
Просмотров 7 млн
3 bit & 4 bit Asynchronous Down Counter
10:22
Просмотров 1 млн
Introduction to Counters | Important
11:40
Просмотров 2,1 млн
3-Bit & 4-bit Up/Down Synchronous Counter
19:44
Просмотров 1,4 млн
MOD- 5 synchronous counter using JK flip flop
10:33
Просмотров 101 тыс.
Ring Counter
14:21
Просмотров 1,1 млн
Synchronous Counters Explained  (Part-1)
25:59
Просмотров 62 тыс.
Ripple Up Counter
13:48
Просмотров 311 тыс.
UP & Down Counter | Recognise Up & Down Counter
6:05
Просмотров 368 тыс.
Living life on the edge 😳 #wrc
00:17
Просмотров 7 млн