aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/legacy_compat.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rfnoc: fix multidevice graph connectionsMark Meserve2019-08-061-96/+107
| | | | | | | - Fixes an issue where a multi-device device3 object would cause connections to be generated across devices in legacy_compat - The connect_blocks function previously assumed that find_blocks would always return blocks in the same device number order
* rfnoc: Add update_graph() API callMartin Braun2019-07-151-6/+0
| | | | | | Blocks that change scaling, tick rate, or sampling rate can now notify the graph to update streamers. Before, this was handled only by mult_usrp, and only for DDC and DUC blocks.
* device3: Remove unused 'rate' argument from update_?x_streamers()Martin Braun2019-07-151-2/+2
|
* RFNoC: Fix typos in legacy_compatmichael-west2019-01-311-2/+2
| | | | Signed-off-by: michael-west <michael.west@ettus.com>
* X300: Fix tick and sample rate settingmichael-west2019-01-311-6/+8
| | | | | | | | | | | | - Removed incorrect function call to set tick rate in x300_radio_ctrl_impl. - Modified legacy compat layer to properly set tick and sample rates. These changes eliminate the tick and sample rate warnings during X300 initialization if TwinRX is used and allow for TwinRX to be used alongside other types of daughterboards in the same X300. Signed-off-by: michael-west <michael.west@ettus.com>
* lib: rfnoc: apply clang-formatMartin Braun2019-01-171-384/+490
| | | | | | This is a continuation of 967be2a4. $ clang-format -i -style=file host/lib/rfnoc/*.cpp
* Device3: Change packet-based flow control to byte-based flow controlMartin Braun2018-07-251-2/+2
|
* rfnoc: legacy_compat: Remove superfluous variableMartin Braun2018-07-231-1/+0
|
* legacy_compat: Fix tx/rx channel map initialization for all channelsSugandha Gupta2018-07-091-5/+14
| | | | | | | | This will populate tx/rx channel map (radio and port index) considering number of channels, radios and mboards. On TwinRX and N310, the default subdev spec will now include all available channels.
* X300/TwinRX: Fix for RuntimeError: Could not find block in list for device ↵Michael West2018-05-151-5/+5
| | | | 0, radio 0, and port 1
* legacy_compat: skip fifo ports size checkTrung N Tran2018-05-091-15/+23
| | | | | | We don't need to assert error if there are not enough fifo ports to connect to radio. Radio ports still can be connected to all available fifo ports until they're running out.
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-021-3/+2
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* fixup! legacy: fix legacy compat to work with 2TX radio blockmichael-west2018-04-061-23/+9
|
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-2/+1
| | | | | | | | | | | | | | | | 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>
* legacy: fix legacy compat to work with 2TX radio blockTrung N Tran2018-03-131-89/+230
| | | | | | | This change will allow legacy compat connect any in/out ports radios/ddcs/ducs/dmafifo block connect together in a legacy graph: [HOST]=>DFIFO/SFIFO=>DUC=>RADIO=>DDC=>[HOST]
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Revert "rfnoc: compat: Disable DMA FIFO if more radios than DMA channels exist"Ashish Chaudhari2018-01-081-31/+1
| | | | This reverts commit c8cdbfc4d4e307017e02dd48c449d3e3f38118af.
* rfnoc: compat: Disable DMA FIFO if more radios than DMA channels existMartin Braun2017-12-221-1/+31
|
* legacy_compat: extend radio index and radio slotTrung N Tran2017-12-221-2/+28
| | | | We need more radio index and radio slot for N310.
* legacy_compat: Fix number of TX channels per radio calculation when ↵Michael West2017-12-221-1/+1
| | | | skip_dram is used
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* rfnoc: Fixed SRAM FIFO indexingMartin Braun2017-06-301-3/+12
| | | | | | | Loopback FIFOs ("SRAM FIFOs") only have a single channel, unlike the DRAM FIFOs (and that's also the reason why we have full bandwdith between all channels using those). We thus need to ensure that every TX stream gets its own SRAM FIFO.
* Merge branch 'maint'Martin Braun2017-06-271-5/+29
|\
| * X300: Dual channel TX performance improvementsMichael West2017-06-261-4/+28
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-14/+14
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-6/+6
| | | | | | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* | Merge branch 'maint'Martin Braun2017-02-101-8/+16
|\|
| * legacy_compat: fallback to min(spp) if no user-specified spp value existsAndrej Rode2017-02-031-8/+16
| |
* | Merge branch 'maint'Martin Braun2016-12-131-3/+1
|\|
| * rfnoc: Removed stray print in legacy_compatMartin Braun2016-12-131-1/+0
| |
| * Move motherboard index increment to after channel map index. This willKevin Gilbert (kegilbert)2016-12-081-2/+1
| | | | | | | | properly map the channel index to the motherboard in chan_to_mcp(...).
| * rfnoc: legacy_compat gets its own set_{rx,tx}_rate() callsMartin Braun2016-11-291-44/+130
| | | | | | | | | | | | This avoids double-calling subscribers, and will fix the case where a rate change in a multi-channel scenario will break because the graph resolution is done before all rates are set.
* | rfnoc: legacy_compat gets its own set_{rx,tx}_rate() callsMartin Braun2016-12-091-44/+130
| | | | | | | | | | | | This avoids double-calling subscribers, and will fix the case where a rate change in a multi-channel scenario will break because the graph resolution is done before all rates are set.
* | rfnoc: Replaced some simple pseudo-lambdas with actual lambdas.Martin Braun2016-12-011-14/+5
|/ | | | | Note: This is the first commit that uses lambdas, and lambdas are now usable for UHD development.
* Remove and recreate properties with member function callbacks inunknown2016-11-181-0/+32
| | | | | legacy_compat_impl dtor to prevent future sessions from calling into the destroyed bound functions
* X300: Fix for channel 1 failure to ACK a TX burst.michael-west2016-11-071-0/+3
| | | | | | - Added mapping from radio block and port to channel in legacy compat layer. - Improved parsing of stream args and added parsing of radio ID and port parameters for each channel. - Added proper programming of the response SID based on the new radio ID and port parameters.
* rfnoc legacy compat: Call update_*_streamer on all samp rate updatesMartin Braun2016-10-271-5/+44
| | | | Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* rfnoc: legacy compat cache will always recreate entriesMartin Braun2016-08-231-6/+5
|
* rfnoc: Legacy compat tracks TX and RX spp values separatelyMartin Braun2016-08-091-17/+37
|
* Merging RFNoC support for X310Martin Braun2016-08-091-0/+700