Skip to content

Feature/cossin tuneup#199

Merged
jordens merged 6 commits intomasterfrom
feature/cossin-tuneup
Dec 10, 2020
Merged

Feature/cossin tuneup#199
jordens merged 6 commits intomasterfrom
feature/cossin-tuneup

Conversation

@jordens
Copy link
Member

@jordens jordens commented Dec 10, 2020

  • 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

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
image
FFT at some 120 dBc
image

* 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
@jordens jordens requested a review from matthuszagh December 10, 2020 16:09
Copy link
Contributor

@matthuszagh matthuszagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

FYI: godbolt

@jordens jordens merged commit a53da3d into master Dec 10, 2020
@bors bors bot deleted the feature/cossin-tuneup branch December 10, 2020 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants