You are on page 1of 8

.

: SYNCHRONOUS COUNTER WITH CONTROL


INPUT : .
 Designing synchronous counter that has a control
button.
 For example: Design a synchronous counter that counts
as follows:
Control Button Counting sequence
1 0,1,2,3
0 Reset to 0
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .

 Steps to design the counter are as follows:


Step 1: Draw the state diagram.
Step 2: Derive the excitation table
Step 3: Get the JK equation and simplify it with K-Map.
Step 4: Draw the counter circuit.
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .
Step 1: Draw the state diagram

0 0 0 0
1 1 1
00 01 10 11

1
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .

 Step 2: Derive the excitation table


 Treat P as the control input.
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .
 For control input P=0, what are the JA KA inputs to shift A to A’:
A A’
Use the following: Will get inputs JA KA as
0 0 follows:
Changes JK
0 0 0 to 0 0X
A JA KA A’
0 0X 0
1 0 0 to 1 1X
0 0X 0
1 0 1 to 0 X1
1 to 1 X0 1 X1 0
 Do the same for B to B’ to get JB KB. 1 X1 0
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .
Step 3: Get the JK equation by simplifying it with K-Map.

PA B 0 1 PA B 0 1
00 0 0 00 X 1
01 X X 01 1 1
11 X X 11 0 1
10 0 1 10 0 X

JA = P.B KA = P’+B
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .
Step 3: Get the JK equation by simplifying it with K-Map.

PA B 0 1 PA B 0 1
00 0 X 00 X 1
01 0 X 01 X 1
11 1 X 11 X 1
10 1 X 10 X 1

JB = P KB = 1
. : SYNCHRONOUS COUNTER WITH
CONTROL INPUT : .
Step 4: Draw the counter circuit.
A B

SET SET
S Q S Q
P

R CLR Q R CLR Q

You might also like