1 / 4

Mealy Machines part 2

Mealy Machines part 2. Adder as a Mealy machine. Two states Alphabet is set of pairs Every transition emits an output character Emits the sum of the two numbers formed where each bit is paired together (least signifcant bits first) 0 01 + 111 uses input (1,1)(0,1),(0,1).

emelda
Télécharger la présentation

Mealy Machines part 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mealy Machines part 2

  2. Adder as a Mealy machine • Two states • Alphabet is set of pairs • Every transition emits an output character • Emits the sum of the two numbers formed where each bit is paired together (least signifcant bits first) • 001 + 111 uses input (1,1)(0,1),(0,1)

  3. For a fixed number of bits (here we use 4) we can unfold the machine. • The length of a path to the accepting state is a function of the number of bits (4+1) • Can we do better? • trade shorter path length for more states?

  4. This is exactly analagous tothe Ripple Carry Adder 0 1 0 1 0 1 1 0 1 0 1 1 1 0 1 1

More Related