aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc
Commit message (Collapse)AuthorAgeFilesLines
...
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-1426-800/+19
| | | | | | | | | | | | | | | | 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: Fix some log statementsAndrej Rode2018-03-071-1/+0
| | | | Some log statements were incorrectly using multi-line log statements.
* fixup! rfnoc: Refactor radio_ctrl_impl, remove some BoostAshish Chaudhari2018-02-201-5/+5
|
* uhd: Update license headersMartin Braun2018-02-1945-43/+85
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* rfnoc: Check noc_shell compat number at runtimeMartin Braun2018-02-191-7/+19
|
* ddc: duc: Factor out usage of boost::bind()Martin Braun2018-02-192-32/+54
| | | | Replace with lambdas.
* rfnoc: Factor out ceil_log2() into central locationMartin Braun2018-02-192-13/+7
| | | | - New file: uhdlib/utils/math.hpp
* rfnoc: Factored out FPGA compat checkMartin Braun2018-02-192-89/+89
| | | | | - Applied changes to DUC and DDC blocks - Fixed minor formatting
* rfnoc: Refactor radio_ctrl_impl, remove some BoostMartin Braun2018-02-082-56/+74
| | | | | | - Replaces some very verbose boost::bind() with simpler lambdas - Replaces some boost:tuple with std::tuple - Replaces some Boost locks with std locks
* rfnoc: Add TX bandwidth APIs to radio_ctrlMartin Braun2018-02-082-0/+15
|
* Revert "rfnoc: compat: Disable DMA FIFO if more radios than DMA channels exist"Ashish Chaudhari2018-01-081-31/+1
| | | | This reverts commit c8cdbfc4d4e307017e02dd48c449d3e3f38118af.
* rfnoc: dma_fifo: Minor: Cleaned up log printsAshish Chaudhari2018-01-081-4/+4
|
* rfnoc: Fix named readback of user_reg_read32()Martin Braun2018-01-051-1/+1
| | | | Thanks to github user mdmikh for pointing out problem and fix.
* Move all headers to SPDX format, harmonize license headersMartin Braun2017-12-221-13/+2
|
* 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
* rfnoc: Added anonymous connections capability to graphMartin Braun2017-12-222-0/+87
|
* rfnoc: ddc - Changed M = 2 for eiscat DDCsugandhagupta2017-12-221-1/+9
|
* mpmd: Added preliminary support for passing RPC client to blocksMartin Braun2017-12-221-0/+51
|
* rfnoc: Enabled log messages for graph_implMartin Braun2017-12-221-2/+1
|
* Move all license headers to SPDX format.Martin Braun2017-12-2244-528/+44
|
* rfnoc: ddc: Removed boost::bind usage, other minor cleanupMartin Braun2017-12-201-39/+60
|
* ddc/duc: enhance ddc/duc with new parametersRyan Marlow2017-12-202-40/+113
| | | | | | | | | | | | - 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
* rfnoc: Added TX LO APIs to radio_ctrlMartin Braun2017-12-062-2/+84
| | | | | | | Also added stubs in the default impl. Reviewed-By: Ashish Chaudhari <ashish@ettus.com> Reviewed-By: Derek Kozel <derek.kozel@ettus.com>
* rfnoc: Fix potential double-overrun handling in rx stream terminatorMartin Braun2017-10-042-0/+9
| | | | | | It's feasible that error messages are sent out during overrun handling, which would cause a nested invocation of handle_overrun(). This adds a lock to prevent that.
* dram_fifo, BIST: BUS_CLK_RATE is now a readback reg.Ryan Marlow2017-09-291-4/+2
|
* rfnoc: Fixed seq # error message in ctrl_ifaceMartin Braun2017-09-281-2/+3
|
* rfnoc: Do not pop a sequence number earlyTom Bereknyei2017-09-281-1/+1
| | | | | | The ctrl_iface class will assume that a response packet is available. There are cases where no response packet is available, in which case sequence numbers should not get popped from the stack prematurely.
* lib: rfnoc: cmake: Fix typo in CMakeLists.txtMoritz Fischer2017-07-271-2/+2
| | | | | | | | The file was missing a .cpp suffix for the dma_fifo_block_ctrl_impl file, somehow CMake was being smart and inferring the filetype. Be explicit. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* 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.
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-294-17/+16
|
* rfnoc: Added some more logging in graph codeMartin Braun2017-06-281-8/+18
|
* rfnoc: Fixed radio compiler warningsMartin Braun2017-06-271-5/+5
|
* Merge branch 'maint'Martin Braun2017-06-271-5/+29
|\
| * X300: Dual channel TX performance improvementsMichael West2017-06-261-4/+28
| |
* | rfnoc radio: Made GPIO functions not pure virtualMartin Braun2017-05-262-0/+28
| | | | | | | | | | Default implementations simply throw an exception. Makes it easier to write new radio controls that do not implement GPIO features.
* | Merge branch 'maint'Martin Braun2017-05-031-0/+2
|\|
| * coverity: fix various minor issuesAndrej Rode2017-04-251-0/+2
| |
* | Merge branch 'maint'Martin Braun2017-04-134-0/+24
|\|
| * rfnoc: Update DDC and DUC command tick rateMartin Braun2017-04-132-0/+18
| | | | | | | | | | Update happens when the sampling rate is queried, which needs revisiting, but happens to occur at the correct time in the sequence.
| * rfnoc: radio blocks update their own command time based on updated tick rateMartin Braun2017-04-131-0/+1
| |
| * rfnoc: Add set_command_time hook to radio blockDerek Kozel2017-04-131-0/+5
| |
* | RFNoC: Exposed LO sharing functions in radio blockDerek Kozel2017-03-242-0/+59
| |
* | rfnoc: Add API calls for time/clock controlMartin Braun2017-03-212-1/+36
| |
* | Rfnoc: Exposed analog lowpass bandwidth option in X300 ctrlsejk2017-02-272-0/+13
| |
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-2019-107/+106
| |
* | uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-1015-63/+57
| | | | | | | | | | 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
|\|