TECHNIQUES FOR DEFINING FINITE AUTOMATA
73
set do not coincide. Any basic table of
a
finite automaton defines an
ordered finite set
of
triads. Conversely, any ordered set of
rk
triads
defines
a
basic table, that is,
a
finite automaton.
The above also applies to
P
-
Pr
automata, that
is,
those defined
by
xp+1=
FlxP,
pP+']
However, in this case each triad consists of the symbol triplet
so
that an ordered
set
is
said to be one in which no two triads have
identical first
two
symbols
XP
and
pp
+
I.
Now,
if
we
wish
to define
a
sequential machine in
a
table form,
we
must consider simultaneously the equations of its constituent
automaton [(3.5') or (3.5")] andconverter (3.8). Todo this,
we
draw
up the basic table for the finite automaton and add to each square
the symbol
hp
+
resulting from the converter equation. This com-
bined table
is
the
basic table
of
the s-machine.
If the automaton
is
of the
P
-
P
type [Eq. (3.5')], then
we
add to
its table symbol
hP.
For example, the automaton
of
Table 3.4 plus
the converter
of
Table 3.6 define the s-machine basic table 3.7.
If,
however, the automaton
is
of the
P
-
Pr
type [Eq. (3.5")], then
we
add to each square the symbol
P+l,
obtained from the converter
table at the intersection of
xP+'
(the symbol already present in the
square of the basic table) and
pP+'
(the heading of the basic table
column in which the square
is
situated). Thus,
if
the
P
-
Pr
auto-
maton
is
given by Table 3.4 and the associated converter by Table
3.6, then the basic table of the s-machineincorporating
this
P
-
Pr
automaton
is
Table
3.8.
Let us note in passing that the converter table for the
P
-
Pr
case
may containblank spaces, because some
x.
values may be miss-
ing from the corresponding column of the automaton table. Thus
we
could leave the square
(pl,
XI)
of Table 3.6 blank, because column
pl
of Table 3.4. contains no
zl
entries.
To obtain a state diagram of
an
s-machine,
we
modify the dia-
gram of the corresponding automaton by including the appropriate
h
symbol
at
each
circle.
However,inans-machine
h
is
defined not
only by
z
,
but also by
p.
For this reason the
state
diagram for an
s-machine differs from that of afinite automatonwith an associated
output converter in that the symbol
h
isnot written inside
a
circle,
but
side
by
side with the symbol
p
(above the arrow).
The arrow
connects state xp with state
XP
+
I.
For
a
P
-
P
automaton [Eq. (3.5')],