Question: 2 . A sequential circuit has two inputs ( X ) and ( Y ) and one output ( Z

2. A sequential circuit has two inputs \( X \) and \( Y \) and one output \( Z \).
- If no 1's have been received on \( X \), then \( Z \) is whatever \( Y \) is.
- If one 1 has been received on \( X \), then \( Z \) is 1 if the number of 1's received on \( Y \) is a multiple of 2, and 0 otherwise.
- If two or more 1's have been received on \( X \), then \( Z \) is the opposite of whatever \( Y \) is.
For example
```
X:00010001011
Y:01001110110
Z:01001011001
* no 1's on X: Z is whatever Y is.
- one 1 on X, two 1's on Y: two is a multiple of 2
- one 1 on X, four 1's on Y: four is a multiple of 2
.... two or more 1's on X: Z is the opposite of Y.
```
(a) Pick one or the other, Moore or Mealy. Draw a state diagram.
(b) Then assign states to the bits of flip-flops.
(c) Then, design the combinational logic to compute the next state.
(d) Then, design the combinational logic to compute the output.
DRAW THE STATE DIAGRAM
2 . A sequential circuit has two inputs \ ( X \ )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!