-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ad_dds: Add selectable out data width and fair rounding
The CORDIC has a selectable width range for phase and data of 8-24. Regarding the width of phase and data, the wider they are the smaller the precision loss when shifting but with the cost of more FPGA utilization. The user must decide between precision and utilization. The DDS_WD parameter is independent of CORDIC(CORDIC_DW) or Polynomial(16bit), letting the user chose the output width. Here we encounter two scenarios: * DDS_DW < DDS data width - in this case, a fair rounding will be implemented corresponding to the truncated bits * DDS_DW > DDS data width - DDS out data left shift to get the corresponding concatenation bits.
- Loading branch information
1 parent
2c1f919
commit ad7e95b
Showing
1 changed file
with
55 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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