Component: Linear Feedback Shift Register (Calculation)

From Flowcode Help
Revision as of 15:59, 27 February 2024 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | PC |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;" | Cat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author PC
Version 1.0
Category Calculation


Linear Feedback Shift Register component

Implements a linear feedback shift register to produce a pseudo-random bit sequence.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

Generate

Fc9-comp-macro.png Generate
Generate the next itteration 
Fc9-bool-icon.png - BOOL Return


Seed

Fc9-comp-macro.png Seed
Write a seed value into the shift register. Any 16-bit value is allowed except zero. 
Fc9-u16-icon.png - UINT Seed
 
Fc9-void-icon.png - VOID Return


Set_Mask

Fc9-comp-macro.png Set_Mask
Set the 16-bit mask to describe the feedback polynomial. 1=bit is fed back 0=bit is not fed back The number of taps must be even and setwise co-prime (no common divisor except 1) 
Fc9-u16-icon.png - UINT Mask
16-bit polynomial 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Linear_Feedback_Shift_Register.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Linear_Feedback_Shift_Register.fcfx