GLFSR Source: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...") |
Basti schr (talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
Galois LFSR pseudo-random source generating float outputs -1.0 - 1.0. | |||
== 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). | |||
; Repeat | |||
: Set to repeat sequence. | |||
; | ; 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 == | == Example Flowgraph == | ||
Line 20: | Line 22: | ||
== Source Files == | == Source Files == | ||
; C++ | ; C++ files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/glfsr_source_b_impl.cc glfsr_source_b_impl.cc] | ||
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/glfsr.cc glfsr.cc] | |||
; Header files | ; Header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/glfsr_source_b_impl.h glfsr_source_b_impl.h] | ||
; Public header files | ; Public header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/include/gnuradio/digital/glfsr.h glfsr.h] | ||
; Block definition | ; Block definition | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/grc/digital_glfsr_source_x.block.yml digital_glfsr_source_x.block.yml] |
Latest revision as of 14:37, 29 February 2024
Galois LFSR pseudo-random source generating float outputs -1.0 - 1.0.
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).
- Repeat
- Set to repeat sequence.
- 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
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.
Source Files
- C++ files
- Header files
- glfsr_source_b_impl.h
- Public header files
- glfsr.h
- Block definition
- digital_glfsr_source_x.block.yml