| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
|  | 
Scale the M and N values if the tick_rate differs from the sample rate.
Fixes timestamps in packets when using TwinRX on X300.
Signed-off-by: michael-west <michael.west@ettus.com>
 | 
| | 
| 
| 
| 
| 
|  | 
This is a continuation of 967be2a4.
$ clang-format -i -style=file host/lib/rfnoc/*.cpp
 | 
| | 
| 
| 
| 
| 
|  | 
- Allows different TX sample rates on separate channels
- Prevents stream commands from being issued on wrong ports
- Prevents some receive timeout errors
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
The DDC and DUC convert the requested rate to an integer before
selecting a decimated / interpolated rate. This causes the selection to
select a lower rate than requested in some corner cases. The effect is
more pronounced when the input rate of the DDC or the output rate of the
DUC is very small.
 | 
| | 
| 
| 
|  | 
- Bump compat number for DDC/DUC to 2.0
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
To avoid the proliferation of additional include directories and
multiple ways of including project-local headers, we now default to
moving all headers that are used across UHD into the uhdlib/
subdirectory.
Some #include statements were also reordered as they were modified for
closer compliance with the coding guidelines.
Internal cpp source files should now include files like this:
    #include <uhdlib/rfnoc/ctrl_iface.hpp>
Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
 | 
| | 
| 
| 
|  | 
Replace with lambdas.
 | 
| | 
| 
| 
|  | 
- New file: uhdlib/utils/math.hpp
 | 
| | 
| 
| 
| 
|  | 
- Applied changes to DUC and DDC blocks
- Fixed minor formatting
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- NUM_HALFBANDS and CIC_MAX are no longer hard coded and are now
  readback regs.
- both DDC and DUC use same encoding to enable halfbands
  (increment the number)
- removed hacky hack & fixed get_output_rate/get_input_rate
  to include only valid rates based on NUM_HALFBANDS and CIC_MAX.
- added compatibility number readback w/ warning/error messages
- Updated images package to include new DDC/DUC (affects X-Series only)
- Updated fpga-src submodule pointer
 | 
| |\   | 
 | 
| | | 
| | 
| | 
| | 
| |  | 
Update happens when the sampling rate is queried, which needs
revisiting, but happens to occur at the correct time in the sequence.
 | 
| | |  | 
 | 
| |/  
|   
|   
|   
|    | 
Note: This is the first commit that uses for-range, and range-based
for-loops are now usable for UHD development.
 | 
|    | 
 |