moerjielovecookie

Sawen_Blog

一个普通工科牲的博客网站
x
github
follow
email

Parameters of the NCO module

The NCO module can generate real or complex sine signals while providing hardware-friendly control signals.

Accumulator Bit Width#

The frequency resolution of the sine wave depends on the size of the accumulator bit width. The bit width can be calculated based on the frequency resolution, and the data type word length of the accumulator is set according to this bit width.

The calculation formula is

N=ceil(log2(FsΔf))N=ceil(log_2(\frac{F_s}{\Delta f}))

Quantization Bit Width#

Quantizing the output of the accumulator can improve frequency resolution without increasing the size of the lookup table.

To calculate the quantization bit width based on the spurious-free dynamic range, the calculation formula is

Q=ceil(SFDR126)Q=ceil(\frac{SFDR-12}{6})

Phase Increment#

phInc=round(f×2NFs)phInc=round(\frac{f\times 2^N}{F_s})
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.