Project Summary
A company asks you to design a controller for a basketballmachine that will indicate that a
player has won a game if they get a total of 3 points. There aretwo sensors in this machine. One
in the backboard and on the inside of the orange rim. If a playershoots a shot and the ball hits the
backboard and the ball goes through the rim, then the play willgain 1 point. If the player shoots
the ball and it doesn't hit the backboard and the ball just goesthrough the rim, then the play will
gain 2 points. If the player hits the backboard and the ball doesnot go through the rim, then the
player will lose 1 point. The total score can only go down to zeroand cannot become negative. If
the ball does not go through the rim or hit backboard, then it willcount as a no shot and nothing
will happen. Once the player scores three points, the game ends,and a light will indicate that the
player has won.
Deliverables
• You need to design TWO finite-state synchronous machines so thatthe company can
pick one that appears more suitable. However, you should pick yourfavorite and come up
with convincing arguments why you favor one design over the other.You, for example,
can build a Moore design and a Mealy design and compare them. Youshould use D flip
flops for your designs. Mixing different types of flip flops withdifferent trigger edge
sensitivity is possible but not recommended. Note that two designswhich differ by only
the type of flip flop (e.g., J-K vs. D) or number of states (i.e.,changing the type of FF or
inserting more unnecessary states) is not considered conceptuallydifferent.