How many flip-flops do I need based on the following requirement? I'm thinking 2 flip-flop since each flip-flop can be a 0 or 1. So each flip-flop holds 2 states.(adsbygoogle = window.adsbygoogle || []).push({});

Design a clocked synchronous state machine with two inputs, X and Y, and one output, Z. The output should be 1 if the number of 1 inputs on X and Y since reset is a multiple of 4, and 0 otherwise.

At first glance, you might think the machine needs an infinite number of states, since it counts 1 inputs over an arbitrarily long time. However, since the output indicates the number of inputs received modulo 4, four states are sufficient.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How many flip-flop per state?

Loading...

Similar Threads for many flip flop | Date |
---|---|

How to determine how many watts / amps for lifting a weight | Aug 1, 2017 |

Why so many resistors? | Apr 27, 2017 |

340Ah Lithium LifeP04 battery: How many AC watts? | Dec 3, 2015 |

How many batteries are needed to light up this led button? | Nov 7, 2015 |

**Physics Forums - The Fusion of Science and Community**