We would like to ask your help regarding our customer's inquiry below.
For our new motor controller we'd like to calculate PWM duty in both CPUs in parallel from input signals. Then transfer results into CLB, calculate an average and set PWM generator.
I wanted to use HLC block to provide the average function, but there is no division or bit shifting instruction.
Did I understood it well or is there a way how to calculate average in CLB module?
We wanted to use the CLB as it is outside the CPUs.