Hello, Im new with the Pluto. I saw this wiki: https://wiki.analog.com/university/tools/pluto/developers
I'm trying to modify the PL part of the Pluto, to add a FIR filter (low order filter) but i have some problems to understand the steps to do it. So, can someone give me a little tutorial/steps to do it?
Assuming I already have the HDL code of the filter.
Thanks for your time.
Assuming I already have the HDL code of the filter.
Have you integrated this into the reference design?
What stage do you need help with?
-Travis
No, i made the filter with hdl coder in Matlab (i need to add it inside the vivado project for Pluto). Then, which are the nexts steps?
Best
There is an example project here that shows adding IP to a similar project (Pluto's design is slightly different): https://wiki.analog.com/resources/fpga/docs/hdl/fmcomms2_fir_filt
Vivado will produce a HDF file which you can modify the makefile in the firmware repo to use:https://github.com/analogdevicesinc/plutosdr-fw/blob/master/Makefile
You could replace this line: https://github.com/analogdevicesinc/plutosdr-fw/blob/master/Makefile#L135
with this to use your built HDL:
bash -c "cp <path of custom hdl output>/system_top.hdf $@"
-Travis
Thanks Travis.
So, after that ( do the "make" with the new .hdf) , which are the next steps ? I saw that /u-boot-xlnx and /build was modify.
If im okay, a new frmware image must be produced containing the custom bitstream. In the /build directory ,where the "make" command produce both .dfu and .frm images.
Thank you for your time.
First build your custom HDF file, then pull down the firmware source. Update the makefile as suggested, then run make. The generated firmware will contain your custom bitstream.
-Travis