Component: Linear Feedback Shift Register (Calculation)

From Flowcode Help
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