Use FPGA and CPU directly

Applications, development tools, FPGA, C, WEB
Post Reply
b4byhulk
Posts: 1
Joined: Wed Jun 01, 2022 7:22 am

Use FPGA and CPU directly

Post by b4byhulk » Wed Jun 01, 2022 7:29 am

Hi there,

I want to build a measuring device from STEMlab 125-14 that calculates moving means and moving maxima on the FPGA while sampling at 125 MS/s. Some of this data is to be taken into account and should be sent to a PC via CPU. I would like to know if you guys know any way to program the CPU directly (e.g. via C code) whilst also configuring the FPGA directly (VHDL or Verilog) without using all the official images and Linux running on the board. Is there a "standard" way to do this? Do you guys know of any project which has done something like this?

Thank you in advance,
b4byhulk

pavel
Posts: 789
Joined: Sat May 23, 2015 5:22 pm

Re: Use FPGA and CPU directly

Post by pavel » Wed Jun 01, 2022 8:17 am

b4byhulk wrote:
Wed Jun 01, 2022 7:29 am
I want to build a measuring device from STEMlab 125-14 that calculates moving means and moving maxima on the FPGA while sampling at 125 MS/s.
This description is very similar to what the Multichannel Pulse Height Analyzer does. The software part of this project uses Linux because I find Linux drivers and libraries much easier to use than baremetal drivers and libraries.
b4byhulk wrote:
Wed Jun 01, 2022 7:29 am
I would like to know if you guys know any way to program the CPU directly (e.g. via C code) whilst also configuring the FPGA directly (VHDL or Verilog) without using all the official images and Linux running on the board. Is there a "standard" way to do this?
I think UG1400 and the following wiki page are good entry points into the Xilinx documentation on how to develop such applications:

https://docs.xilinx.com/r/en-US/ug1400-vitis-embedded

https://xilinx-wiki.atlassian.net/wiki/ ... +Libraries

There is also a framework that allows writing baremetal applications in Rust:

https://git.m-labs.hk/M-Labs/zynq-rs

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 16 guests