FSM implementation Flashcards

1
Q

How do we implement the Next State Logic part of an FSM?

A

We create a current-state | next-state table

We create Boolean expressions for each state bit using Karnaugh maps

We use these expressions to create a logic circuit

This connects to the state register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do we implement the state register part of an FSM?

A

We use D flip-flops for each state bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can we use a ROM to implement next-state logic?

A

We can map each current_state codeword to the ROM address

At each address we store the relevant next_state codeword.

The next state is then found with a simple lookup of the current state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the third state in tristate and when do we use it?

A

Z

High Impedence state

When one device is sending information over a bus, all other transmitting devices should be disconnected. This is achieved by putting output stage of devices into a high impedance state, Z, that effectively disconnects the gate from the output wire

How well did you know this?
1
Not at all
2
3
4
5
Perfectly