4 bit synchronous up counter – Programmerbay https://programmerbay.com A Tech Bay for Tech Savvy Sun, 10 Mar 2024 16:45:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://programmerbay.com/wp-content/uploads/2019/09/cropped-without-transparent-32x32.jpg 4 bit synchronous up counter – Programmerbay https://programmerbay.com 32 32 Design a 4 bit synchronous up counter using T flip flop https://programmerbay.com/design-a-4-bit-synchronous-up-counter-using-t-flip-flop/ https://programmerbay.com/design-a-4-bit-synchronous-up-counter-using-t-flip-flop/#respond Wed, 28 Feb 2024 15:34:00 +0000 http://programmerbay.com/?p=3113

These are the following steps to design a 4 bit synchronous up counter using T flip flop:

Step 1: To design a synchronous up counter, first we need to know what number of flip flops are required. we can find out by considering a number of bits mentioned in the question. So, in this, we required to make 4 bit counter so the number of flip flops required is 4 [2n where n is a number of bits].

Step 2: After that, we need to construct a state table with excitation table.
Note: To construct excitation table from state table you should know the excitation table of respective flip flop, in this case, it is T flip flop. So check the excitation table for T flip flop Which is:

T Flip Flop Excitation Table

Present stateNext State    T
000
011
101
110

So, the above table is the excitation table for T Flip Flop.


State Table with  excitation  table

   Present State    Next State    Flip Flop
Q4Q3Q2Q1Q'4Q'3Q'2Q'1T4T3T2T1
000000010001
000100100011
001000110001
001101000111
010001010001
010101100011
011001110001
011110001111
100010010001
100110100011
101010110001
101111000111
110011010001
110111100011
111011110001
111100001111

Above  table is created as per follow :

When Q4 =0 which is present state and Q4‘=0 which is next state then T4 become 0 [As per excitation table, have a look ]
Similarly, if Q4 is 0 and Q4‘ is 1 then T3  become 1.
In similar way it goes on .

Step 3: After making the excitation table the next thing  to do is dig out the equation from the boolean algebra or K map for the design of the counter. So, for T1 , T2, T3 and T4 we got 1,  Q1, Q1.Q2 and  Q1.Q2.Q3

K-Map


 For TFlip flop,

T4 4BIT
T4  Q1.Q2.Q3

 

For TFlip flop,

T3 2B4 2BBIT
T3= Q1.Q2

For T2  Flip flop,

T2 4BIT

 

T2= Q1

For TFlip flop,

T1 4BIT

 

T1=1

Step 4: Lastly according to the equation got from K map create the design for 4 bit synchronous up counter.

4 bit synchronous up counter using t

In above design T1 is getting input logic 1 and T2 is getting input from the output of the T1 flip flop and Tis getting input from the output of T1  and T2 lastly, Tis getting input from the output of TT2 and T3. A clock is attached to it which is in blue colour.

Related Posts:

Design a 3 bit synchronous up counter using T Flip flop?
Design a 2 bit Synchronous up counter using T Flip flop?

]]>
https://programmerbay.com/design-a-4-bit-synchronous-up-counter-using-t-flip-flop/feed/ 0