I am using Xilinx Vitis 2022.2 and I have created an application project which includes a function with an interface that can be used by OpenFHE to substitute a build-in function call. This function is launched on a FPGA. Now, I want to subsitute the original OpenFHE function call with my custom-made function. However, having no experience with cmake, I am not sure how I can include my code into OpenFHE. Should I compile my design with Vitis and then use the .o file inside cmake to be build alongside the OpenFHE library? Should I import the OpenFHE library into Vitis and work directly on the library inside the Vitis environment? Should I do it in another way?
Any help will be highly appreciated! Let me know if you need further information.
George
In v1.1.0, we will also add regular polynomials (native or multiprecision) to the HAL. This code is already available in the dev branch, and v1.1.0 will be released by the end of July 2023.
Hence the recommended approach is to add a new repository, which would include the FPGA implementation of the capabilities you want to override. Please feel free to directly reach out to me for more details about adding an OpenFHE backend.