Publication Details

NFA Reduction for Regular Expressions Matching Using FPGA

KOŠAŘ, V.; ŽÁDNÍK, M.; KOŘENEK, J. NFA Reduction for Regular Expressions Matching Using FPGA. Proceedings of the 2013 International Conference on Field Programmable Technology. Kyoto: IEEE Computer Society, 2013. p. 338-341. ISBN: 978-1-4799-2199-7.
Czech title
Redukce NKA pro vyhledávání řetězců popsaných regulárními výrazy v FPGA
Type
conference paper
Language
English
Authors
Keywords

FPGA, NFA, Reduction, Regular expressions matching

Abstract

Many algorithms have been proposed to accelerate regular expression matching via mapping of a nondeterministic finite automaton into a circuit implemented in an FPGA. These algorithms exploit unique features of the FPGA to achieve high throughput. On the other hand the FPGA poses a limit on the number of regular expressions by its limited resources. In this paper, we investigate applicability of NFA reduction techniques - a formal aparatus to reduce the number of states and transitions in NFA prior to its mapping into FPGA. The paper presents several NFA reduction techniques, each with a different reduction power and time complexity. The evaluation utilizes regular expressions from Snort and L7 decoder. The best NFA reduction algorithms achieve more than 66% reduction in the number of states for a Snort ftp module. Such a reduction translates directly into 66% LUT and FF saving in the FPGA.

Published
2013
Pages
338–341
Proceedings
Proceedings of the 2013 International Conference on Field Programmable Technology
ISBN
978-1-4799-2199-7
Publisher
IEEE Computer Society
Place
Kyoto
BibTeX
@inproceedings{BUT104513,
  author="Vlastimil {Košař} and Martin {Žádník} and Jan {Kořenek}",
  title="NFA Reduction for Regular Expressions Matching Using FPGA",
  booktitle="Proceedings of the 2013 International Conference on Field Programmable Technology",
  year="2013",
  pages="338--341",
  publisher="IEEE Computer Society",
  address="Kyoto",
  isbn="978-1-4799-2199-7",
  url="https://www.fit.vut.cz/research/publication/10306/"
}
Back to top