A regular matching circuit, a matching method, and an
FPGA chip provided by an embodiment of the present application include: an input end of a mode judgment module is used to connect to a storage device, and an output end is electrically connected to an enable end of a comparison module, so as to obtain a
regular expression signal, and determine whether to send an enable
signal according to the
regular expression signal; a first input end of the comparison module is used to connect to a storage device, a second input end is used to connect to a cache module, and an output end is electrically connected to a first input end of a
processing module, so as to obtain first data and second data upon receiving an enable signal, compare the first data with the second data, and send a comparison result to the
processing module; a second input end of the
processing module is used to connect to a storage device, and a third input end is used to connect to the cache module, a first output end is electrically connected to the mode judgment module, and a second output end is used to connect to a storage device, so as to obtain a
regular expression signal and a comparison result, and determine a
data path according to the regular expression signal and the comparison result.