Are RISC-V processors supported by Embedded Coder?

47 次查看(过去 30 天)
I want to generate code for a RISC-V processor. Is it possible to configure Embedded Coder for RISC-V?

采纳的回答

Jack Ferrari
Jack Ferrari 2023-8-4
编辑:Jack Ferrari 2023-8-7
Yes, you can specify the word sizes for RISC-V using the built-in RISC-V device details in the Hardware Implementation section of the Configuration Set (as shown below.)
The C standard does not fully specify integer word sizes so this will ensure that the generated C/C++ code will have the same numerical results on the target as it had in the model simulation.
The generated algorithm code can then be integrated and plugged into your embedded software framework and scheduler as you would do with hand code for your production hardware.
If you desire complete support of a particular RISC-V Board, that is directly generated from Embedded Coder with I/O drivers, scheduler, profiling, and more, you can request MathWorks consulting services to create a custom Embedded Target solution.
  4 个评论
Jack Ferrari
Jack Ferrari 2023-8-8
@svanimisetti While we do not have a BSP specific to that board, the IDE should be able to call code generated with Embedded Coder with its own scheduler. The code should work on any RISC-V board.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by