| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
| |
To match block C++ constructor, Sample Rate should be real.
Signed-off-by: Ron Economos <w6rz@comcast.net>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As Clock Recovery MM is deprecated, this commit replaces them
in the hier blocks, gmfsk demod and gfsk demod, with Andy Wall's Symbol
Sync block. Backward compatibility is maintained by keeping the
parameters unchanged, and converting the two gain values to the
corresponding loop bandwidth value that Symbol Sync requires.
Even though `mu` parameter's services is no longer required, we leave it
in the hier block for backward compatibility purposes.
Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
|
|
|
|
|
|
|
| |
Allow the unpack option to be disabled for custom, non-byte-aligned bit
streams in gmsk mod, just like how it was done for gfsk in #4940.
Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
|
|
|
| |
Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
| |
Translations are a regex, so "." needs to be escaped. Fix the
remaining unescaped strings.
Signed-off-by: Jeff Long <willcode4@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Provide the option to not use the packed_to_unpacked block in the gfsk
mod hier block so that the latter can be used to modulate
non-byte-aligned bit stream.
The option enables packed_to_unpacked by default for backward
compatibility.
Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
|
|
|
| |
Signed-off-by: cmrincon <cmrincon611@hotmail.com>
|
|
|
|
|
|
|
|
|
|
| |
grc: cpp generation
set correct link entry in yml files for modern cmake.
Applying this fix simple flowgraphs containing signal sources and audi sinks etc. build and run
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds an option to the differential encoder an decoder blocks
to perform NRZI encoding and decoding. NRZI only makes sense with
a modulus of 2, so the blocks constructors will throw and exception
if passed nrzi = true and a modulus different from 2.
The GRC blocks handle this by hiding the modulus field if the user
selects NRZI encoding.
A new unit test for the NRZI version of the blocks is added. Besides
checking that encode plus decode gives the original, this test also
compares the C++ implementation results against a Numpy implementation.
Additionally, a faster implementation of differential encoding/
decoding for modulus 2 is included here.
Signed-off-by: Daniel Estévez <daniel@destevez.net>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
|
|
|
| |
Type was flagged as 'real_vector', which would mean vector<double>. We
want vector<float>, thus this fix.
This would cause an error when creating CPP code from GRC.
Signed-off-by: Terry May <terrydmay@gmail.com>
Signed-off-by: Martin Braun <martin@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There appears to be an errant space between mod and .to_basic_block().
This doesn't seem to affect the operation. This makes sense as in both
python and c++ the . is an operator that can have whitespace aorund it.
This is a cosmetic fix.
Fixes #4036
Signed-off-by: Nick Østergaard <oe.nick@gmail.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
| |
average power or to not normalize at all.
Signed-off-by: Eduardo Sánchez Muñoz <esm@eduardosm.net>
|
|
|
|
|
|
|
| |
The pfb, msk and mm clock recovery blocks are all covered by the
symbol_sync block. See https://www.youtube.com/watch?v=uMEfx_l5Oxk
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* digital: restructure equalizers and add dfe
This commit restructures the linear equalizer to have a separate
specifiable adaptive algorithm. Generally this works the same as the
previous LMS and CMA decision directed equalizers, but also adds the
ability to equalize using training sequences as well.
Also, a Decision Feedback Equalizer structure is added
* digital: more const in equalizers
* digital: equalizers - more safety based on review
* digital: dfe - use deque instead of vector for decision_history
* digital - equalizers, further cleanup
|
|
|
|
|
|
|
|
|
| |
Previously the block wasn't part of any category and thus it was
only possible to find it by searching for it using some
filter string, not by clicking trough the categories.
All credits for finding and describing this bug to Johannes Wegener
aka @hpfmn.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The generic mod implementation is a convenience hier block to modulate
bits to symbols and apply an RRC filter. One downside is the output is
delayed by the length of the RRC filter (which is specified inside the
block). This adds an option to truncate the output according to the
length of the filter response such that the start of output is aligned to the first symbol.
Fixes #2920
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These blocks have been marked deprecated for a while and had been slated
for removal. They are now being removed.
This includes the following blocks:
- ofdm_frame_acquisition
- ofdm_frame_sink
- ofdm_insert_preamble
- ofdm_sync_fixed
- ofdm_sync_pn
- ofdm_sync_pnac
- ofdm_sync_ml
- ofdm_receiver
|
|
|
|
|
|
|
|
| |
This allows to specify multiple CP lengths that can be used one
after another, for example for LTE modulators.
- Improve sanity checking
- Maintains old API
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several components use the following translation in cpp_templates:
```
translations: gr.sizeof_: 'sizeof('
```
The problem is the generated code is missing a closing parens i.e.:
this->blocks_delay_0 = blocks::delay::make(sizeof(gr_complex*1, 0);
This could be fixed by adding a closing parens in the make template, but
it looks awkward to have an unmatched closing parens. And only a few
blocks currently have this closing parens added. Most of them produce
erroneous code like that above.
However, this sizeof translation is not even needed in the YAML file
because cpp_top_block.py explicitly adds the proper sizeof translation.
```
translations.update( {r"gr\.sizeof_([\w_]+)": r"sizeof(\1)"} )
```
So removing this translation all together produces correct code for
blocks that use gr.sizeof_X.
|
|
|
|
|
|
|
| |
Fix the options that are used in order to hide the "Filterbank Arms" and
"PFB MF Taps" parameters of the symbol sync block
(digital_symbol_sync_xx), depending on the chosen interpolating
resampler.
|
|
|
|
| |
This enables this block to be used in GRC.
|
|
|
|
|
|
|
|
|
|
| |
value parameter field has invalid reference to
constellation_type
Cleaned up the yml, but probably needs some insight into the
yml generator
fixes #2494
|
|
|
|
| |
useful for variable and parameter blocks, but maybe others too
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Since the first argument of the header_format_default object
is a uint64 but the template argument is a string, there is
some confusion and addition of unnecessary quotes
Fix by stripping the quotes with eval() in the var_make
Fixes #2052
|
| |
|
|
|
|
|
|
|
| |
This commit converts the examples in `gr-digital/ofdm` to the new YAML format.
Also, multiple fixes to GRC files are made. These fix issues with
outdated hide attributes.
This conversion is tracked in #2285.
|
|
|
|
|
|
| |
This fixes the make() call in the GRC bindings which incorrectly
calculated the OFDM symbol length due to a syntax error in the YAML
file.
|
|
|
|
|
| |
Several GRC bindings have switches to hide the message port, which is
currently being ignored. This will make the switch work.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #1081.
These blocks were just overly specific wrappers for RRC + constellation
decoders/encoders.
With the nice constellation objects, no need to keep these around.
Note that they are still in use as *possible* constellations
(runtime-detected) in examples like narrowband/tunnel.py, but reducing
these in functionality is inavoidable at this point. Progress of
updating them is tracked in #1956.
|
| |
|
| |
|
|\ |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
block parameters including mutex for the access code setters
|