Effacer les filtres
Effacer les filtres

HDL NCO: How do I set the fraction length for the phase accumulator?

1 vue (au cours des 30 derniers jours)
Arne
Arne le 30 Juil 2018
Commenté : Arne le 31 Juil 2018
Hello, I want to design a high precision NCO, but I want to keep the LUT short. For example, I want to use a 16bit LUT but want to use a 32bit phase accumulator with 16 fractional bits. I can change the accumulator word length to 32bits, but I have not found a way to set the fraction length even though this feature is described in the help menu. The block keeps the fraction length fixed at 0. What do I need to do to change that? Thanks, Arne

Réponse acceptée

Bharath Venkataraman
Bharath Venkataraman le 31 Juil 2018
The accumulator and quantizer do not have fractional bits. You can scale your input phase offset to match the accumulator and quantizer scaling.
Set your accumulator word length to 32 and your quantizer bits to 16. This will result in a 2^16 lookup table, You can also use the lookup table compression method to reduce the size of the lookup table at the expense of SFDR.

Plus de réponses (0)

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by