You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like it should be possible to get TinyGo running on an FPGA softcore without too much trouble.
I was reading this article earlier that describes using linker scripts for the HiFive1 and startup code for the fe310, which already exist in the TinyGo project. https://blog.adacore.com/ada-on-fpgas-with-picorv32
The tricky part would be the machine package. There are several "machines" or SoCs that are currently in use in the RISC-V softcore world including
So building out a machine package may be difficult.
It seems the most commonly used pairs are VexRiscv+LiteX and PicoRV32+PicoSoC
There is a great simulator called Renode that can emulate both of these configurations.
Here is a great guide https://risc-v-getting-started-guide.readthedocs.io/en/latest/zephyr-litex.html#running
I will try to hack on getting a program running. It would be great if FPGAs could be a supported platform for Golang
The text was updated successfully, but these errors were encountered:
What the machine package does is give a common abstraction over specific hardware. In this case, the abstraction would probably cover one set of hardware peripherals.
Perhaps the best way to start is to implement support for one specific softcore and then see what kind of abstraction is needed to also support other softcores?
It looks like it should be possible to get TinyGo running on an FPGA softcore without too much trouble.
I was reading this article earlier that describes using linker scripts for the HiFive1 and startup code for the fe310, which already exist in the TinyGo project.
https://blog.adacore.com/ada-on-fpgas-with-picorv32
The tricky part would be the machine package. There are several "machines" or SoCs that are currently in use in the RISC-V softcore world including
So building out a machine package may be difficult.
It seems the most commonly used pairs are VexRiscv+LiteX and PicoRV32+PicoSoC
There is a great simulator called Renode that can emulate both of these configurations.
Here is a great guide
https://risc-v-getting-started-guide.readthedocs.io/en/latest/zephyr-litex.html#running
I will try to hack on getting a program running. It would be great if FPGAs could be a supported platform for Golang
The text was updated successfully, but these errors were encountered: