在字符串模式匹配专用处理器的基础上,设计了一种双核构架的ABNF字符串模式匹配处理器.该处理器的两个内核通过任务调度模块进行耦合,以并行方式或流水线方式协同工作,目的在于减少遍历ABNF规则树的回溯情况和程序执行的分支情况,提高处理器的访存效率.该方案在可编程逻辑器件(FPGA)上进行了功能验证,结果表明,这种双核构架的设计方法能够有效地提高字符串模式匹配处理的并行程度.
A dual-core string pattern matching processor processor. The two processor cores coupled by the task is designed based on the ABNF pattern matching scheduler can work together in parallel mode and pipeline mode, aiming at reducing the backtrackings when traversing the tree of ABNF rule and the branches in the code, and improving the efficiency of memory accessing. The processor is implemented on Field Programmable Gate Array(FPGA). The results show that this dual-core architecture can significantly improve the parallelism of the system and achieve high performance for string pattern matching.