Differential Decoder: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 8: Line 8:
== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI.  Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately.  The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
You can find this example here [[Differential_coding_example.grc]]


[[File:Diff_coding_example.png|1000px]]
== Source Files ==
== Source Files ==


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/diff_decoder_bb_impl.cc diff_decoder_bb_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/diff_decoder_bb_impl.h diff_decoder_bb_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/include/gnuradio/digital/diff_decoder_bb.h diff_decoder_bb.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/grc/digital_diff_decoder_bb.block.yml digital_diff_decoder_bb.block.yml]

Latest revision as of 05:38, 11 August 2022

Differential decoder: y[0] = (x[0] - x[-1]) % M. Uses current and previous symbols and the alphabet modulus to perform differential decoding.

Parameters

Modulus
Modulus of code's alphabet

Example Flowgraph

You can find this example here Differential_coding_example.grc


Diff coding example.png

Source Files

C++ files
diff_decoder_bb_impl.cc
Header files
diff_decoder_bb_impl.h
Public header files
diff_decoder_bb.h
Block definition
digital_diff_decoder_bb.block.yml