Menu

GRAMPC on Vitis Software

2020-08-05
2020-08-05
  • MATTEO PETRELLI

    MATTEO PETRELLI - 2020-08-05

    Hello,

    i'm using the GRAMPC library and i want port my MPC project on Vitis (Xilinx Software). Is there the possibility to use the library on a development environment without running the make command in the terminal? Thanks

     
  • Andreas Völz

    Andreas Völz - 2020-08-05

    Dear Matteo,

    thank you for your interest in GRAMPC. First of all, let me say that I have no experience with Xilinx Vitis platform. From a short internet search I found https://www.xilinx.com/html_docs/xilinx2020_1/vitis_doc/oyw1565072992738.html and https://www.xilinx.com/html_docs/xilinx2020_1/vitis_doc/creatinglibrar_project.html#ipa1565072992673 which describe how to build a library for Vitis. Since GRAMPC consists of pure C-code without external dependencies except the standard libraries, it should be possible to compile it on Vitis. Of course, you don't have to use the makefiles. Add all .c-files in grampc/src to the project and make sure that the header files in grampc/include can be found by the compiler. If you want to use GRAMPC without dynamic memory allocation, then follow the steps in the GRAMPC manual and add the compiler flag -DFIXEDSIZE.

    Regards,
    Andreas

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.