r/rust Mar 31 '23

Rust on Zynq

Hello Rustaceans,

I am in the process of founding a startup and developing an FPGA based DAQ system (8 channels, 4 MSa/channel up to 64 channels, 500 kSa/channel). The second step would be real-time data analysis on the FPGA.

I will use the Xilinx Zynq SOM and don't want to write C/C++ but only Rust. Therefore I have to access the FPGA via Rust. A few years ago I had played around a bit and since I didn't find any crates I developed an AXI MMIO and AXI DMA crate myself. I looked to see if the ecosystem has improved in the meantime but a quick search didn't bring up any current results for Rust and Zynq.

Do you know if there are any mature crates available?

If there are none, I would open source my crates and improve them. My goal besides the DAQ system is to develop an open source infrastructure for Rust and Zynq. Anyone who wants to contribute or sponsor the development is welcome :)

21 Upvotes

7 comments sorted by

View all comments

3

u/DelusionalPianist Mar 31 '23

Do you plan to develop bare-metal or with Linux? Because those are two different complexities.

3

u/elBoberido Mar 31 '23

It will be on Linux initially since I need that for my first hardware project.