I would like to know if you think I could use Scala for the use-case I have in mind, if you think this is appropriate and if you already know some similar already developed/in development ideas.
The use-case would be to use Scala as the primary language of a hardware/software codesign development environment (to program System-on-Chips with both a CPU and a FPGA). The idea is to code one .scala which would be used to generate a .c and a .vhd (some parts of the Scala code being loaded into the processor (.c), some others into the FPGA (.vhd) ). Ideally this could be applied to any languages, not only C and VHDL.
So my questions are:
- Could Scala be used to generate C code? Has it already been done somehow/somewhere? (I know that SpinalHDL did the Scala to VHDL part of the problem.)
- Has this codesign topic already been addressed and/or discussed in the Scala community?
Thanks for your answers!