r/java•
daybyter2

Running java on FPGAs

Hi!

​

I am interested in the state of running java on FPGAs. I've heard about some cross-compilers? Are they working?

​

I use verilog at the moment, but I am interested in any experiences using java. I looked at JOP to execute JVM code directly on the FPGA, but I guess that makes only sense, if you write the performance-critical methods in some form of HDL, because I don't see much performance gain otherwise?

​

Thanks for any response,

Andreas

Posted Sep 1, 2020, 10:22 PM UTC

74
helikal•
4
daybyter2OP•

Thanks a lot!

2
Gleethos•

You could use OpenCL with JOCL. However you would also need to write C like kernel code instead of 100% Java. Also, OpenCL compiles your kernels at runtime so it is cross platform (including FPGAs)!

2
daybyter2OP•

Thanks!

2
[deleted]•

[deleted]

1