Complex to Magnitude-Angle HDL Optimized does not get converted to clock-rate
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Manuel K
el 24 de Jul. de 2020
The "Complex to Magnitude-Angle HDL Optimized"-Block I use in order to calculate the atan2 of my alpha and beta components that come from my clarke-transfrom stays at the data-rate. All the other blocks get converted to the clock-rate in the generated-model as intendet by using the option "clock-rate pipelining".
I tried the oversampling factor and defining the sample-rate and data-rate through rate-transitions, either way the result stays identical.
Is there something I'm missing or do I have to force the block to its final sample-time?
1 comentario
Kiran Kintali
el 24 de Jul. de 2020
can you share a sample model with your clock rate pipelining requirements for additional guidance? Thanks
Respuesta aceptada
Kiran Kintali
el 24 de Jul. de 2020
Editada: Kiran Kintali
el 24 de Jul. de 2020
The "Complex to Magnitude-Angle HDL Optimized" simulates latency in the original model and does not participate in clock rate pipelining where the latency is modeled at the data rate in the original model and hence currently does not participate in clock rate pipelining.
Please consider using CORDIC atan2 block in the Math library in the interim. We will be expanding on the capabilities of CMA block in the near future to support additional features.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/336601/image.jpeg)
10 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Speed Optimization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!