recategorized by
4,935 views
10 10 votes
Give a minimal DFA that performs as a $\mod - 3,\;$ $1$'s counter, i.e. outputs a $1$ each time the number of $1$'s in the input sequence is a multiple of $3$.

1 Answer

Best answer
18 18 votes

Since it is given that the minimal DFA outputs $1$ $\implies$ we have to make a minimal DFA and then convert it into mealy/ moore machine by associating output with each input or state.

the minimal DFA will be as shown below :-

I am associating output with each input i.e. creating a mealy machine. It will print 1 each time the number of 1's in the input sequence is a multiple of 3.

selected by
Position:
Show:

Related questions

30 30 votes
4 answers 4 answers
6.5k
6.5k views
Misbah Ghaya asked Nov 15, 2016
6,481 views
The below figure shows four $\text{D}$-type flip-flops connected as a shift register using a $\text{XOR}$ gate. The initial state and three subsequent states for three cl...
15 15 votes
3 answers 3 answers
10.0k
10.0k views
Misbah Ghaya asked Nov 7, 2016
9,995 views
The above circuit produces the output sequence:$1111\quad 1111\quad0000\quad0000$$1111 \quad 0000\quad1111\quad0000$$1111 \quad 0001\quad0011\quad0101$$1010\quad1010\quad...
1 1 vote
0 0 answers
1.0k
1.0k views
Misbah Ghaya asked Nov 11, 2016
1,048 views
Design an $8 \times 8$ multiplier using five $4$-bits adders and $4$ ROM's each programmed to realise $4 \times 4$ multiplier.
36 36 votes
5 answers 5 answers
8.8k
8.8k views
Misbah Ghaya asked Nov 15, 2016
8,810 views
A Boolean function $f$ is to be realized only by $\text{NOR}$ gates. Its $K$-map is given below:The realization is