Getting Started - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

In order to prepare the framework for use, it is first necessary to build it. As mentioned in L1 regex-VM, we re-used VM instructions and compiler from popular Oniguruma library, which is the foundation of current Ruby regex implementation.

To fit the instructions into FPGA and achieve reasonable performance, we cannot simply move the original Oniguruma-like OPs into our implementation without optimizing it. Thus, the post-compiled OPs for FPGA is quite different from the one in Oniguruma. A software compiler which is responsible for tranforming the post-compiled OPs to our desired instructions is provided in L1/src/sw.

Builds the libxfcompile.so (the software compiler) simply by:

cd xf_DataAnalytics/L3/tests/re_test/re_compile
make

After the build is complete, libxfcompile.so should be available in L3/tests/re_test/re_compile/lib/lib.