PN Correlator: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(add Example Flowgraph)
(add plot)
 
Line 18: Line 18:
[[File:Pn_correlator_fg.png|800px]]
[[File:Pn_correlator_fg.png|800px]]
<p>This flowgraph can be downloaded from [[Media:Pn_correlator.grc]].</p>
<p>This flowgraph can be downloaded from [[Media:Pn_correlator.grc]].</p>
[[File:Pn_correlator_plot.png]]


== Source Files ==
== Source Files ==

Latest revision as of 14:03, 1 October 2025

PN code sequential search correlator.

Receives complex baseband signal, outputs complex correlation against reference PN code, one sample per PN code period. The PN sequence is generated using a GLFSR.

Parameters

Degree
Degree of shift register must be in [1, 32]. If mask is 0, the degree determines a default mask (see digital_impl_glfsr.cc for the mapping).
Mask
Allows a user-defined bit mask for indexes of the shift register to feed back.
Seed
Initial setting for values in shift register.

Example Flowgraph

Pn correlator fg.png

This flowgraph can be downloaded from Media:Pn_correlator.grc.

Pn correlator plot.png

Source Files

C++ files
pn_correlator_cc_impl.cc
Header files
pn_correlator_cc_impl.h
Public header files
pn_correlator_cc.h
Block definition
digital_pn_correlator_cc.block.yml