rfnoc: blocks: Minor cleanup (whitespace, typos)

This commit is contained in:
Martin Braun 2021-11-04 20:59:16 +01:00 committed by Aaron Rossetto
parent 06a9ded7c0
commit 9f666e22c4
6 changed files with 5 additions and 13 deletions

View File

@ -4,8 +4,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
//
#ifndef INCLUDED_LIBUHD_FIR_FILTER_BLOCK_CONTROL_HPP
#define INCLUDED_LIBUHD_FIR_FILTER_BLOCK_CONTROL_HPP
#pragma once
#include <uhd/config.hpp>
#include <uhd/rfnoc/noc_block_base.hpp>
@ -65,5 +64,3 @@ public:
};
}} // namespace uhd::rfnoc
#endif /* INCLUDED_LIBUHD_FIR_FILTER_BLOCK_CONTROL_HPP */

View File

@ -13,6 +13,8 @@
namespace uhd { namespace rfnoc {
enum class siggen_waveform { CONSTANT, SINE_WAVE, NOISE };
/*! Siggen Control Class
*
* The Siggen Block is an RFNoC block that acts as a simple function
@ -21,9 +23,6 @@ namespace uhd { namespace rfnoc {
* and phase increment between samples (but with a random initial phase
* offset), and a noise source.
*/
enum class siggen_waveform { CONSTANT, SINE_WAVE, NOISE };
class UHD_API siggen_block_control : public noc_block_base
{
public:
@ -203,4 +202,3 @@ public:
};
}} // namespace uhd::rfnoc

View File

@ -60,4 +60,3 @@ public:
};
}} // namespace uhd::rfnoc

View File

@ -14,10 +14,10 @@ namespace uhd { namespace rfnoc {
/*! Switchboard Block Control Class
*
* The Switchboard Block is an RFNoC block that routes any single input to any
* single output. Routing is 1 to 1, that is, an input port can only be connected
* single output. Routing is 1 to 1, that is, an input port can only be connected
* to one output port, and vice versa.
*
* INIT: This block is initialized with only input port 0 connected to output
* INIT: This block is initialized with only input port 0 connected to output
* port 0.
*
* NOTE: This block is not intended to switch during the transmission of packets.

View File

@ -106,4 +106,3 @@ public:
};
}} // namespace uhd::rfnoc

View File

@ -71,4 +71,3 @@ public:
};
}} // namespace uhd::rfnoc