P2.2 - the output of the flip-flop will change to 1 Even if in another turn the E input of a flip-flop will be 0 Q will still be 1 because in this

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Daniel Mihai Problem 2.2 We can design the upper circuit in order to determine if the player lost. If we set the D input of the D flip-flop to 1 and maintain it constant, AND the signals from all the cells of a battleship and set the Q output to be 0 initially, once one battleship is destroyed all the signals from its cells will be 1, hence the result of the lower AND gate will be 1. As soon as we have D and E 1,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the output of the flip-flop will change to 1. Even if in another turn the E input of a flip-flop will be 0, Q will still be 1, because in this state( E=0 and D=1) the value of Q is hold (so, once a battleship is destroyed, the output of the respective flip-flop will change to 1 and will remain this way, no matter the following turns)....
View Full Document

This note was uploaded on 04/14/2010 for the course CS 320102 taught by Professor M.k during the Spring '10 term at Jacobs University Bremen.

Ask a homework question - tutors are online