summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/qa_header_payload_demux.py
Commit message (Collapse)AuthorAgeFilesLines
* gr-digital: qa_header_payload_demux fixJeff Long2021-02-151-4/+8
| | | | | | | | | | The HeaderToMessageBlock adapter assumed it would receive a complete header in work(). Also, forecast() is not currently working for Python blocks, so a local buffer was required in the adapter. Two asserts needed list(). Signed-off-by: Jeff Long <willcode4@gmail.com>
* qa: run autopep8 formatting on qa python filesmormj2020-10-301-83/+126
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* qa: remove xml file parameter causing deprecation warningsmormj2020-10-301-1/+1
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-2/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* digital: add python bindings for equalizers+modulate_vectorJosh Morman2020-06-041-22/+22
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* qa: Fix the stop condition in qa_header_payload_demuxVasil Velichkov2020-01-231-2/+2
| | | | | | | | Tests nees to run until both payload_sink and header_sink recive the specified amount of data or the time limit is reached and should not stop when only one of the sinks has received enough data. This should fix the sporadic tests failures.
* digital: HPD QA uses fixed random.seed(0)Martin Braun2018-12-161-0/+1
| | | | This removes any randomness from the test.
* digital: Fix some Pylint warnings in qa_header_payload_demux.pyMartin Braun2018-12-161-77/+86
| | | | No functional changes.
* python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-13/+16
|
* digital: Major update to header/payload demuxer (HPD)Martin Braun2016-04-301-110/+341
| | | | | | | | | | | - Added padding feature (trigger/tag can now be off by some items) - Payload offset can also be specified - Fixed some index counting bugs - More and better unit tests, cleaned up the unit test file - Cleanups: - Consistent whitespace - Consistent use of size_t and other types - Used more enums where it increases readability
* digital: Removed all references to remove_item_tag()Martin Braun2014-09-211-0/+80
|
* runtime: update message port qa to account for new system portTim O'Shea2014-04-281-3/+3
|
* digital: HPD now supports time- and other special tags, can mark rx-time of ↵Martin Braun2014-01-301-4/+67
| | | | packets
* digital: HPD: fixed tag propagation, minimized calls to work()Martin Braun2013-06-141-3/+176
|
* Merged next into uninstalled import branch.Ben Reynwar2013-04-021-0/+77