# Designing a sequential circuit using JK flip flops

• Engineering
• Ramir
In summary, sequential circuits are digital circuits that can store and remember previous states or inputs, making them more complex than combinational circuits. JK flip flops are unique in their ability to toggle between states, making them useful for designing sequential circuits. The truth table for a JK flip flop has four possible combinations of inputs and outputs, and the number needed for a circuit varies depending on the desired output. The process for designing a sequential circuit using JK flip flops involves creating a state diagram, determining the number of flip flops needed, and assigning inputs and outputs before testing and optimizing the circuit.
Ramir

## Homework Statement

Design [/B]:2-bit count-down counter; with two flip-flops and one input

## Homework Equations

When input = 0, the state of the flip-flops does not change.
When input = 1, the state is 11, 10, 01,11, and repeat.

## The Attempt at a Solution

Start with truth table, then characteristic table, and then excitation table, then Kmap?
How do I start deriving the truth table

Ramir said:
How do I start deriving the truth table
The truth table is meaningless here. You need to create a state diagram (for example: [state 0, output 00, state change: On clock transition, next state:...]).

## 1. What is the purpose of a sequential circuit?

A sequential circuit is a type of digital circuit that has the ability to store and remember previous states or inputs. This allows it to perform more complex functions and tasks compared to combinational circuits, which only depend on the current inputs.

## 2. How do JK flip flops differ from other types of flip flops?

JK flip flops have the ability to toggle between states, unlike other flip flops such as D or T flip flops which can only change states in one direction. This makes JK flip flops more versatile and useful in designing sequential circuits.

## 3. What is the truth table for a JK flip flop?

The truth table for a JK flip flop has four possible combinations of inputs (J and K) and outputs (Q and Q'). The outputs depend on the current state of the flip flop and the inputs given. It can be represented as:

J K Q Q'
0 0 Previous state Previous state
0 1 0 1
1 0 1 0
1 1 Toggle Toggle

## 4. How many JK flip flops are needed to design a sequential circuit?

The number of JK flip flops needed depends on the complexity of the circuit. Each JK flip flop can store one bit of information, so the number needed will depend on the number of bits in the output.

## 5. What is the process for designing a sequential circuit using JK flip flops?

The process for designing a sequential circuit using JK flip flops involves analyzing the desired output and creating a state diagram to represent the different states and transitions. Then, the number of JK flip flops needed is determined and they are connected according to the state diagram. Finally, the inputs and outputs are assigned to each flip flop and the circuit is tested and optimized as needed.

• Engineering and Comp Sci Homework Help
Replies
20
Views
2K
• Engineering and Comp Sci Homework Help
Replies
1
Views
2K
• Engineering and Comp Sci Homework Help
Replies
5
Views
3K
• Engineering and Comp Sci Homework Help
Replies
1
Views
2K
• Engineering and Comp Sci Homework Help
Replies
2
Views
2K
• Engineering and Comp Sci Homework Help
Replies
31
Views
3K
• Engineering and Comp Sci Homework Help
Replies
4
Views
2K
• Engineering and Comp Sci Homework Help
Replies
1
Views
3K
• Engineering and Comp Sci Homework Help
Replies
1
Views
4K
• Engineering and Comp Sci Homework Help
Replies
10
Views
2K