# Homework, Mealy's Moore's automaton

#### Xenon02

Joined Feb 24, 2021
35
Hello all!

I've got a problem with making a graf for a Mealy's/Moore's automaton. The task is : to make a Mealy's/Moore's synchronic automatic, with one input and one output so X-input Y-output. Output equals 1 if the total number of ones that appeared in input is divisible by 3 for example 3,6,9,12 etc.

I don't know if it's correct
But I would appreciate for any advice.

#### Attachments

• 22.9 KB Views: 2

#### ci139

Joined Jul 11, 2016
1,814
? i don't quite get what "they" insist from you
but the task seems to be a simple mod3 counter - however is the input like electrical wire or
like 2 push-buttons (one for 1 and another to input the 0)
the educators are known by their poor , lacking , incomplete , fuzzy and impossible problem definitions

#### Xenon02

Joined Feb 24, 2021
35
? i don't quite get what "they" insist from you
but the task seems to be a simple mod3 counter - however is the input like electrical wire or
like 2 push-buttons (one for 1 and another to input the 0)
the educators are known by their poor , lacking , incomplete , fuzzy and impossible problem definitions
It's electrical input so 1 is for max Voltage and 0 is for 0 Voltage.
And I'm supposed to use flip-flop elements such as flip-flop D or T ot JK. But I need to make a state graf.
Something like this :

#### ci139

Joined Jul 11, 2016
1,814
so you got a raising (positive going) edge triggered mod 3 counter // Edit or mod 6 depending how to interpret it

#### Attachments

• 703 bytes Views: 3
Last edited:

#### Xenon02

Joined Feb 24, 2021
35
so you got a raising (positive going) edge triggered mod 3 counter // Edit or mod 6 depending how to interpret it
Ty for the simulation, but my question was more about, if my graf (Moore and Mealy graf) are correct

#### ci139

Joined Jul 11, 2016
1,814
at the #1 the Moore is ... interesting - as, when you get input "0" after the "divisible by 3" the "divisible by 3" drops? // if that was your intention
(altough i am not so home about Mealy's graph) it seems it behaves as your Moor - dropping the output.. (but since i never heard of Mealy's) ..on the input of "0" , or - as soon as it's set (← can't really help with the last one)
this is really interesting → https://www.google.com/search?q="mealy+machine"+exact+"output+transition+time"