Publication detail

Optimization of state machine

Miloš Čábel, Soběslav Valach

Original Title

Optimization of state machine

Type

conference paper

Language

English

Original Abstract

This article shows an implementation of a state machine in an embedded system. Goal was to reduce code size and allow adding a feature into the device without any change in hardware. General and specific optimization techniques have been used to achieve the goal. You can see dramatic changes in implementation and gain of required code space for adding the new feature. The article compares four different implementation of the same state machine and shows several methods how to reduce code size. Moreover there is shown several additional techniques how to reduce code size. This shows which methods are simple and helps reduce code size without reducing code readability, which may reduce code size for cost of reduced code readability or efficiency and which are not working at all.

Keywords

Embedded systems, state machine, optimisation, optimization, C, AVR

Authors

Miloš Čábel, Soběslav Valach

RIV year

2007

Released

24. 5. 2007

Publisher

TU Košice, BERG Faculty

Location

Košice

ISBN

978-80-8073-805-1

Book

Proceedings of 8th international Carpathian Control Conference

Edition number

1

Pages from

87

Pages to

90

Pages count

4

BibTex

@inproceedings{BUT23268,
  author="Miloš {Čábel} and Soběslav {Valach}",
  title="Optimization of state machine",
  booktitle="Proceedings of 8th international Carpathian Control Conference",
  year="2007",
  number="1",
  pages="4",
  publisher="TU Košice, BERG Faculty",
  address="Košice",
  isbn="978-80-8073-805-1"
}