Optimization of Regular Expression Pattern Matching Circuit Using At-Most Two-Hot Encoding on FPGA

SangKyun Yun, KyuHee Lee · 2010

Regular expression pattern matching circuits have been implemented based on NFA. Most of them adapted the one-hot state encoding. Recently FPGAs with 6-input lookup tables (6-LUTs) such as Virtex-5 has been announced. However, if regular expression matching circuits are implemented using one-hot encoding on FPGAs with 6-LUTs, additional inputs of 6-LUTs may be wasteful. In this paper, we propose a new state encoding scheme, called At Most Two Hot (AMTH) encoding, to allow 6-LUTs to be fully utilized. AMTH encoding scheme leads to about 19% area saving compared to the one-hot encoding in the implementation of Snort IDS regular expression.

Read the paper · More papers on PaperTik