Forum Discussion
Altera_Forum
Honored Contributor
12 years agocalculate 64 bit unsigned
hi, i've implemented a nco megafunction with a 64 bit phase accumulator in order to obtain very high precision output frequencies. Now to be able to program externally (by microcontroller for ex...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- ok I'll try this way then I'll let you know... i don't understand the constant temp.... So if my numbers is: Fo=4050Hz Fclk=250Khz N=64 how could i put them in your code? Thanks --- Quote End --- just insert the binary value(in hex) of 4050 for Fo and 250000 for Fclk. Keep everything else same (2**64 is implied by the zeros on temp)