summaryrefslogtreecommitdiff
path: root/gr-digital/grc
Commit message (Collapse)AuthorAgeFilesLines
* digital: use u with dots in ymlJosh Morman2021-11-191-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* gr-digital: Fix Header/Payload Demux block .yml file.Ron Economos2021-10-201-1/+1
| | | | | | To match block C++ constructor, Sample Rate should be real. Signed-off-by: Ron Economos <w6rz@comcast.net>
* digital: remove deprecation of pfb_clock_syncJosh Morman2021-10-142-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
* gr-digital: replace clk recovery MM in hier blksSolomon Tan2021-09-022-2/+2
| | | | | | | | | | | | | 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>
* gr-digital: Make unpack optional for gmsk mod hier blockSolomon Tan2021-08-231-1/+9
| | | | | | | 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>
* digital: replace likelyhood with likelihoodRohan Sharma2021-08-231-2/+2
| | | Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
* digital: remove non-existing msg output from chunks_to_symbols block yamlMarcus Müller2021-07-271-3/+0
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* c++ generation: escape "." in translationsJeff Long2021-07-275-5/+5
| | | | | | | Translations are a regex, so "." needs to be escaped. Fix the remaining unescaped strings. Signed-off-by: Jeff Long <willcode4@gmail.com>
* gfsk: Make packed_to_unpacked optionalSolomon Tan2021-07-211-1/+9
| | | | | | | | | | | 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>
* digital: Added a crc16 basic block. (#4649)cmrincon2021-07-122-0/+38
| | | Signed-off-by: cmrincon <cmrincon611@hotmail.com>
* rebaseVolker Schroer2021-06-2152-52/+52
| | | | | | | | | | 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>
* digital: Add NRZI option to differential en/decoderDaniel Estévez2021-06-122-4/+28
| | | | | | | | | | | | | | | | | | | 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>
* digital: remove corr_access_code_bb from grc treeJosh Morman2021-04-212-34/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* digital: remove simple_{correlator,framer}Josh Morman2021-04-213-60/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* digital: remove deprecated equalizersJosh Morman2021-04-213-127/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* digital: Fix output type in GRC bindings of chunks_to_symbolsTerry May2021-01-251-1/+1
| | | | | | | | | 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>
* gr-digital: Fix typo in digital_modulate_vector blockNick Østergaard2021-01-141-3/+3
| | | | | | | | | | | | 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>
* digital: fix bindings and yaml for constellationJosh Morman2021-01-081-2/+3
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* Allow to choose whether to normalize constellation average magnitude, ↵Eduardo Sánchez Muñoz2020-12-181-1/+8
| | | | | | average power or to not normalize at all. Signed-off-by: Eduardo Sánchez Muñoz <esm@eduardosm.net>
* digital: deprecate clock recovery blocks covered by symbol_syncJosh Morman2020-12-174-2/+3
| | | | | | | 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: add constellation_encoder blockJosh Morman2020-11-162-0/+29
|
* digital: fix enum name from underscore to dotJosh Morman2020-06-041-1/+1
|
* digital: restructure equalizers and add dfe (#3306)mormj2020-04-098-3/+204
| | | | | | | | | | | | | | | | | | * 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
* gr-digital: Fix typo in block tree for 'Correlate Access Code - Tag'Fabian P. Schmidt2020-01-311-1/+1
| | | | | | | | | 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.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* digital: add filter response truncation to generic modJosh Morman2020-01-261-2/+9
| | | | | | | | | | 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
* digital: Remove deprecated OFDM blocksMartin Braun2020-01-161-8/+0
| | | | | | | | | | | | | | | 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
* digital: ofdm: Allow multiple CP lengths for cyclic prefixerMaximilian Stiefel2020-01-081-4/+16
| | | | | | | | 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
* digital/blocks: Remove broken/unnecessary C++ sizeof translationTerry May2020-01-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* digital: Fix parameter hiding on symbol sync block YAMLIgor Freire2020-01-021-2/+2
| | | | | | | 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.
* digital: Change Umlaut ü to ue to fix string encoding problemRedStone0022020-01-011-1/+1
| | | | This enables this block to be used in GRC.
* digital: constellation object yml errorJosh Morman2019-08-021-1/+2
| | | | | | | | | | value parameter field has invalid reference to constellation_type Cleaned up the yml, but probably needs some insight into the yml generator fixes #2494
* grc: introduce flag 'show_id' to show block idBastian Bloessl2019-06-294-4/+4
| | | | useful for variable and parameter blocks, but maybe others too
* digital: Move enum tm_type from digital.core_est_cc to digitalVolker Schroer2019-06-181-1/+1
|
* QtGui: fix 'Show Msg Port' sliderPaul Boven2019-06-181-5/+3
|
* digital: default header format object template issuesJosh Morman2019-05-281-4/+4
| | | | | | | | | | 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
* Add C++ generation support to gr-digitalArpit Gupta2019-03-3170-1/+732
|
* digital: Convert GRC examples to YAML formatJohannes Demel2019-03-175-8/+8
| | | | | | | 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.
* digital: ofdm: grc: Fix cyclic prefixer GRC bindingsRon Economos2018-12-111-2/+1
| | | | | | 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.
* grc: Fixed the "Show Msg Ports" optionHåkon Vågsether2018-11-221-1/+1
| | | | | Several GRC bindings have switches to hide the message port, which is currently being ignored. This will make the switch work.
* digital: fix OFDM CA 'output_is_shifted' parameter use in GRC and documentationMichael Dickens2018-11-171-2/+9
|
* Un-break Constellation Object and Constellation Rect ObjectHåkon Vågsether2018-10-042-4/+4
|
* Cleaned up lots of blocksHåkon Vågsether2018-08-2516-108/+159
|
* Delete deprecated (q)d/qpsk and qam python hier blocks.Marcus Müller2018-08-232-127/+0
| | | | | | | | | | | | | | 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.
* Additional YML forward port fixesHåkon Vågsether2018-07-302-4/+6
|
* grc: forward port fixes from master XML to block.yaml definitionsAndrej Rode2018-07-304-4/+23
|
* Merge branch 'merges/next' into merges/python3Sebastian Koslowski2017-10-261-1/+1
|\
* | Added auto-generated YAML blocksHåkon Vågsether2017-10-10147-4718/+3093
|/
* Merge branch 'master' into nextJohnathan Corgan2017-08-271-0/+4
|\
| * gr-digital: added callbacks and setters for correlate_access_code_tag_xx ↵Jacob Gilbert2017-08-141-0/+4
| | | | | | | | block parameters including mutex for the access code setters