Conversation
* shrink the LUT by another bit * correctly use the octant bit to offset the dphi to LUT entry midpoint * add more diagnistics to the unittest and rewrite it in relative units * MSB-align phase and output to match the PLL data, dynamic range and remove the need for roudning bias. * clean up the build.rs table generator a bit
* origin/master: Updating after review Fixing semantics Adding documentation Fixing buffer size Adding updated QSPI stream writer Increasing batch size Adding updates for QSPI streaming Adding WIP refactor Updating DDS control Removing pounder test, adding file Removing unused code Refactoring DDS output control Updating QSPI frequency Adding support for hardware IO_update Fixing merge issues Adding WIP Adding WIP HRTimer Adding WIP experimental code Adding WIP QSPI streaming
Appears to give better code. Test by matthusagh.
matthuszagh
approved these changes
Dec 10, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
remove the need for roudning bias.
Now the quadratic error (the little parabolas), the LUT data quantization error (the scatter) and the phase quantization error (not visible here) all three are of similar magnitude. The max and rms quadrature errors are now 1e-5 and 6e-8 relative to full scale over all possible 20 bit values.
Error in the first octant


FFT at some 120 dBc