UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor dasco1632
Visitor
1,156 Views
Registered: ‎06-06-2016

how to reload coefficinets in fir compiler during runtime.

Hi,

I am trying to load coefficients of aFIR that I generated in matlab filterdesigner during runtime.

can somebody give me an example or a template to start with?

thanks

0 Kudos
4 Replies
1,135 Views
Registered: ‎06-21-2017

Re: how to reload coefficinets in fir compiler during runtime.

Do you have a reloadable filter? If so, there should be ports for the coefficients and a reload control port.  On the FIR IP, these are the s_axis_reload interfaces and s_axis_config interfaaces.

0 Kudos
Visitor dasco1632
Visitor
1,111 Views
Registered: ‎06-06-2016

Re: how to reload coefficinets in fir compiler during runtime.

Hello Bruce,
so you treat S_AXIS_RELOAD as a RAM memory for the coefficient data?
and S_AXIS_COFNIG is for?

another question is I can not change the output width?

if I slice it and skip 8bits of the LSB side, what would be the effect on precision of the filter?

the format of output is [MSB:0] right?

thank you in advance for your reply
here is the fir I generated

fir compiler.PNG
fir summary.PNG
0 Kudos
1,101 Views
Registered: ‎06-21-2017

Re: how to reload coefficinets in fir compiler during runtime.

Correct, the coefficients are loaded into the RELOAD channel and the CONFIG channel is used to tell the filter to use the new set of coefficients.  There is a nice timing diagram in the data sheet on page 20.  Look in PG149, FIR Compiler v7.2 LogiCORE IP Product Guide

Xilinx Employee
Xilinx Employee
1,085 Views
Registered: ‎08-02-2011

Re: how to reload coefficinets in fir compiler during runtime.

Also, the demo testbench that comes with the core shows how to reload it when enabled.

www.xilinx.com
0 Kudos