Computer Arch Notes
Computer Arch Notes
Any device that has memory and a control/clock input is called a sequential machine. Latches,
flip-flops, and ripple counters are examples of sequential machines.
Moore Machine: The output is a function of the state (combinational logic), independent of the
input
Mealy Machine: The output is a function of both the input and the clock. It changes when the
INPUT changes (asynchronously). It is possible to synchronize a mealy machine, but with more
flip flops.
Mealy & Moore Example: Design a Moore & Mealy machine whose output is asserted
whenever its input string has 2 1’s in sequence and goes to 0 on a 0 input.
Lecture 2
Execution time depends on:
Hard-wired Computer Board Computer-programmed circuits: are wired with all signals. The
advantages are easy to track and simpler to understand but are inflexible if we want to
redesign.
Micro-coded Computer Board Computer-programmed circuits: are programmed through a
pseudo code and any programming language and embedded in digital devices. Advantages easy
to reprogram, but harder to track errors.