Changing HDL FIR filter numerator while simulation is running

1 view (last 30 days)
muhammad ahmad
muhammad ahmad on 17 Jan 2022
Commented: muhammad ahmad on 31 Jan 2022
We are working on zynq 706 using MATLAB. we are using HDL optimized FIR filter in simulink and we are trying to change filters numenator . but each time we need to stop the simulation for cahnging numenator . How can we change the parameters while simulations contionue to run

Answers (2)

Bharath Venkataraman
Bharath Venkataraman on 18 Jan 2022
Edited: Bharath Venkataraman on 18 Jan 2022
You can set the property Coefficients Source to input port and feed the coefficients via the input port. This will allow you to change coefficients without having to stop the simulation.

muhammad ahmad
muhammad ahmad on 31 Jan 2022
As you have suggested we have set the coofficient source to input port but still we are not able to change the parametere on runtime. we are using the ZYNQ706 harware to run the HDL algorithm . Each time we need to stop the simulation to update the filter cooficients
  2 Comments
muhammad ahmad
muhammad ahmad on 31 Jan 2022
If we run the model in normal simulation mode on PC we are able to change it on run time while when we implement it on ZYNQ706 we need to stop simulation for updating filter coofficients.is there any method to overcome the issue

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by