Professional Documents
Culture Documents
ECE-548 Sequential Machine Theory: Department of Electrical and Computer Engineering
ECE-548 Sequential Machine Theory: Department of Electrical and Computer Engineering
Prof. K. J. Hintz
Department of Electrical and Computer
Engineering
Lecture 1
http://mason.gmu.edu/~khintz
Why SMT?
• Some Things Cannot be Parallelized
• Theory Leads to New Ways of Doing
Things
• Understand Fundamental FSM Limits
• Minimize FSM Complexity and Size
• Find the “Essence” of a Machine
Why SMT?
• Discuss FSM Unencumbered by
Implementation Issues
• Technology is Changing Rapidly
• Theory is a Framework within which to
Understand and Integrate Practical
Considerations
Hardware/Software
• H/S equivalence extends to formal
languages
– Different classes of computational machines
are related to different classes of formal
languages
– Finite State Machines (FSM) can be
equivalently represented by one class of
languages
Formal Languages
• Unambiguous
• Can Be Finite or Infinite
• Can Be Rule-based or Enumerated
• Various Classes With Different Properties
• Studied First Half of ECE-548
Goal of ECE-548
• Develop understanding of Hardware/
Software/Language Equivalence
• Understand Properties of FSM
• Develop Ability to Convert FSM
Specification Into Set-theoretic Formulation
• Develop Ability to Partition Large Machine
Into Greatest Number of Smallest Machines
– This reduction is unique
1/21/10 ©KJH, ECE-548 8
Machine/Mathematics Hierarchy
• AI Theory Intelligent Machines
F
e
e
• Computer Theory Computer Design d
b
a
c
• Automata Theory Finite State Machine k
n
o
• Boolean Algebra Combinational Logic n
e
Computer Design
• Defined by Turing Computability
– Can compute anything that is “computable”
– Some things are not computable
• Assumed Infinite Memory
• State Dependent Behavior
• 5 Elements
– Control Unit is specified and implemented as
FSM
1/21/10 ©KJH, ECE-548 12
Intelligent Machines
• Ability to Learn
• Possibly Not Computable
Abstract Mathematical
• Discrete
– Continuous system can be discretized to any
degree of resolution
• Finite State
• Input/Output
– Some cause, some result
Types of FSMs
• Moore
– Output is a function of state only
• Mealy
– Output is a function of both the present state
and the present input
Types of FSMs
• Finite State Acceptors, Language
Recognizers
– Start in a single, specified state
– End in particular state(s)
• Pushdown Automata
– Not an FSM
– Assumed infinite stack with access only to
topmost element
– Enumerated Set:
– Finite Set:
Sets
– Infinite set
– Set of sets
Proper Subset
• All elements of B are elements of A and
there is at least one element of A that is not
an element of B
Set Equality
• Set A is equal to set B
Operations on Sets
• Intersection
• Union
Operations on Sets
• Set Difference
*no braces around the null set since the symbol represents the set
Special Sets
• Disjoint sets: A and B are disjoint if
• Cover:
• Associative
• Distributive
• R-related:
Domain of a Relation
Domain of R
a R B
A
b
Range of R
R b
A
a
B
R-1 B
a
A b
R
a b
b’
a’ *
A
B
* can be many to one
– Single-valued
Function
• A partial function with
– A b corresponds to each a, but only one b for
each a
Function Example
A a
Injective, One-to-One
• “A relation between 2 sets such that pairs
can be removed, one member from each set,
until both sets have been simultaneously
exhausted.”
Injective, One-to-One
a could map to b’
also if it were not at a =
a’
least a partial function
which implies R
single-valued
b
Function Examples
• Monotonically increasing
if injective B
A
• Not one-to-one,
b
but single-valued B
a a’
A
1/21/10 ©KJH, ECE-548 44
Function Examples
• Multivalued, but one-to-one
b
b’
B
b’’
a
A
1/21/10 ©KJH, ECE-548 45
The End of the Beginning