How to set Oversampling factor, Max Oversampling and Max Computational Latency in HDL work flow advisor?

1 view (last 30 days)
I have a subsystem in which I have MATLAB function block (I have written code for Feedforward control and Field Oriented Control in it).. In real time, I want to run this function block code after every 100us (100 kHz).. My FPGA clock frequency is 64 MHz (15.6 ns)... I am confused about setting the value of Oversampling factor, max Oversampling factor and max computational latency values? Can someone tell me what would be the optimum values for these field in my case?
I think that Oversampling factor of 640 (64 MHz/100 kHz), max oversampling rate =1 and max computational latency = 640 would exactly equivalent to real time implementation of code on FPGA...

Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!