Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

- Community Forums
- :
- Forums
- :
- Hardware Development
- :
- AI Engine, DSP IP and Tools
- :
- FIR core doesn't use reload coefficients

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

embedded

Advisor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-01-2021 11:21 AM

456 Views

Registered:
06-09-2011

Hi all,

I am working with a single channel FIR core with reloadable coefficients to create correlation. I have a problem that it only works with the coefficients in "Coefficient vector" of the core. it doesn't use the reload coefficients that I give to the core!. I have generated all the timings for config port correctly. I am using Vivado 2020.2

I would appreciate any help

Thanks,

Hossein

Hossein

1 Solution

Accepted Solutions

embedded

Advisor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-08-2021 12:30 PM

270 Views

Registered:
06-09-2011

I could eventually find the root cause of this problem. I was configuring and using the reloadable FIR filter inappropriately. I was applying Config, then used to reload coefficients. And, this is false!. The correct routine comes below:

- Reloading the coefficients
- Applying filter Config vector. Or, writing filter Config in the case of port for configuration
- Give some time to the core to initialize every necessary things. I delayed something equal to NUM_FILTER_COEFF clock cycles

That is all needed to work with FIR in reloadable coefficients mode.

Thanks,

Hossein

Hossein

5 Replies

bruce_karaffa

Scholar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-01-2021 11:24 AM

453 Views

Registered:
06-21-2017

embedded

Advisor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-01-2021 11:45 AM

441 Views

Registered:
06-09-2011

Hi,

Thank you for the prompt answer. I have done the simulation and everything is fine there. I don't have access to hardware to use Chipscope. Anyway, I see in the simulation it is not working. So, no need to go further. I have to solve it here in simulation.

Thanks,

Hossein

Hossein

embedded

Advisor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-01-2021 02:29 PM

411 Views

Registered:
06-09-2011

I think I need to clarify something about my above comment. Regarding simulation, I can see that every signaling of AXI for config is correct. In spite of correct signaling of AXI_CONFIG I don't see those coefficients take into effect.

Thanks,

Hossein

Hossein

embedded

Advisor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-02-2021 11:53 PM

345 Views

Registered:
06-09-2011

Hi all,

Isn't there anybody here with experience in "reloadable FIR coefficients" implementation? I am running out of time for this piece of work.

Thanks,

Hossein

Hossein

embedded

Advisor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-08-2021 12:30 PM

271 Views

Registered:
06-09-2011

I could eventually find the root cause of this problem. I was configuring and using the reloadable FIR filter inappropriately. I was applying Config, then used to reload coefficients. And, this is false!. The correct routine comes below:

- Reloading the coefficients
- Applying filter Config vector. Or, writing filter Config in the case of port for configuration
- Give some time to the core to initialize every necessary things. I delayed something equal to NUM_FILTER_COEFF clock cycles

That is all needed to work with FIR in reloadable coefficients mode.

Thanks,

Hossein

Hossein