| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
For some reason when running grcc with this example, the generation
fails when the alist_file is a separate variable. Works fine from GRC,
but not in grcc
|
| |
|
| |
|
| |
|
|
|
|
|
| |
With this commit, all components except gr-qtgui use lambdas instead of
`boost::bind` to register msg handlers.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
pybind gets confused with char arguments and tries to interpret them as
strings. uint8_t is more consistent across the gr codebase as well
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the volk/ submodule pointer and updates the CMake to detect
VOLK like any other dependency. The VOLK_MIN_VERSION CMake variable is
added (and set to 2.1.0).
The GR_VOLK_LIB variable is replaced with Volk::volk everywhere.
The VOLK_INSTALL_LIBRARY_DIR and VOLK_INSTALL_INCLUDE_DIR variables
weren't used and were removed.
CMake will now fail if VOLK cannot be detected. Therefore, ENABLE_VOLK
was also removed as a variable; all in-tree components may assume the
existence of VOLK.
|
|
|
|
|
|
| |
This patch fixes issues like #1545 and #1539.
Basically if a module in fec.polar requires SciPy and fails to do ,
it overwrites the missing function with an approximate version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of this code is automated code changes:
```
set -e
SUB="s/dummy/dummy/"
for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do
SUB="$SUB;s/boost::$i/std::$i/g"
done
SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g"
SUB="$SUB;s^namespace boost^namespace std^g"
find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB"
```
Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add
`#include <algorithm>`.
|
|
|
|
|
|
|
|
|
| |
Constant was only used to emulate log_2 from ln.
Which is a strange thing to do on a computer with binary floating point
numbers.
Which is a superfluous thing to do when you have ::log2 in C++11.
|
| |
|
|
|
|
| |
This fixes the formatting in cc_encoder_impl.cc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix wrong Voyager polynomials. The binary and decimal representation
which must be passed as an argument to the block, however, is
correct.
* Clarify how the generator polynomials are to be represented. Add the
important note that an uncommonly used representation is required.
* Mention that start_state must be possibly reversed and that
start_state is used to flush the encoder in terminated mode.
* Mention support for inversion of the output of a generator polynomial.
* Improve description of tailbiting and terminated mode.
* Mention valid values for parameters.
|
| |
|
|
|
|
|
|
|
|
| |
The convolutional encoder produces wrong output for codes with a
constraint length larger than 8. Fix this by using a variable of
appropriate size.
Fixes #2344.
|
| |
|
|
|
| |
read_alist_file is not an LDPC_matrix method.
|
| |
|
|
|
| |
calloc() can return NULL too
|
| |
|
|
|
|
|
| |
This fixes every leftover file in the GNU Radio source tree to match our
clang-format definition.
|
|
|
|
|
|
|
|
|
| |
Adds a QA test that tries to detect the kind of buffer
overflows in the CC decoder that were fixed in #2965
The decoder is run with different frame lengths, and several
frames are tried to be decoded for each frame length. The
test is considered successful if it doesn't segfault or abort.
|
|
|
|
|
|
| |
When using async_decoder with a CC decoder with k = 7 and no input byte packing,
the frame size of the underlying FEC decoder is set incorrectly to a too large
value. This causes out of bounds accesses which corrupt the heap.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang-format: ordering includes in gnuradio-runtime
clang-format: ordering includes in gr-filter
clang-format: ordering includes in gr-fft
clang-format: ordering includes in gr-audio
clang-format: ordering includes in gr-analog
clang-format: ordering includes in gr-fec
clang-format: ordering includes in gr-wavelet
clang-format: ordering includes in gr-zeromq
clang-format: ordering includes in gr-vocoder
clang-format: ordering includes in gr-video-sdl
clang-format: ordering includes in gr-trellis
clang-format: ordering includes in gr-blocks
clang-format: ordering includes in gr-digital
clang-format: ordering includes in gr-uhd
clang-format: ordering includes in gr-dtv
clang-format: ordering includes in gr-channels
clang-format: ordering includes in gr-qtgui
clang_format.py: re-enable include reordering
|
| |
|
|
|
|
|
|
|
|
| |
Without the extra list expressions, grc passes map objects
into the BER curve gen hier blocks, instead of lists
of the enc/dec objects, which is what it is expecting
update polar and tpc ber curve gen examples
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk`
Fix typos in gnuradio-runtime/
Fix typos in gr-digital/
Fix typos in gr-qtgui/
Fix typos in gr-channels/
Fix typos in grc/
Fix typos gr-filter/
Fix typos in gr-uhd/
Fix typos in gr-blocks/
Fix typos in gr-fec/
|
|
|
|
|
|
|
|
| |
Bus ports had not been added back in since the refactor of grc
Hopefully this fully enables busports though there are still some
issues with the gr-fec flowgraphs
Fixes #2277
|
|
|
|
| |
useful for variable and parameter blocks, but maybe others too
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes using target based setting of includes
and link libraries. This will transitively add the includes
and linking flags to dependent targets.
This is still a work in progress since only the dynamic
libraries have been touched and not all of include_directories
directives are gone yet.
cmake: remove GR_INCLUDE_SUBDIRECTORY macro
Previously this macro was used to inject subdirectories in the
current CMake namespace. This is generally undesired and pollutes the
current context.
previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS
to build both, shared libraries and static libraries.
This seems to be a construction taken over from autotools and serves
no purpuose in CMake and complicates the library building.
cmake: remove GR_LIBTOOL and la generation support
This looks like it was primarily used to support projects using
autotools, but comments state that the generated .la files aren't
compatible with autotools anyway.
cmake: Bump required CMake version to 3.8
UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial
to change
|
| |
|
|
|
|
| |
RS test codes were using random() instead of rand(), which is now fixed.
|
| |
|
|
|
|
| |
The examples in gr-fec have some small issues e.g. integer vs. float division bevahior. This commit fixes those issues in those examples.
|
|
|
|
|
|
|
|
| |
Several FECAPI blocks have issues to generate correct Python code.
These problems should be fixed now.
Issues with the option persist, though. Those must be handled in the
encoder/decoder block definitions.
|
|
|
|
| |
by changing the is_packed parameter from enum to bool
|
| |
|
| |
|
| |
|