Component: Linear Feedback Shift Register (Calculation): Difference between revisions
Appearance
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..." |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 26: | Line 26: | ||
===Generate=== | ===Generate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Generate''' | ||
|- | |- | ||
| colspan="2" | Generate the next itteration | | colspan="2" | Generate the next itteration | ||
| Line 40: | Line 40: | ||
===Seed=== | ===Seed=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Seed''' | ||
|- | |- | ||
| colspan="2" | Write a seed value into the shift register. Any 16-bit value is allowed except zero. | | colspan="2" | Write a seed value into the shift register. Any 16-bit value is allowed except zero. | ||
| Line 59: | Line 59: | ||
===Set_Mask=== | ===Set_Mask=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Set_Mask''' | ||
|- | |- | ||
| colspan="2" | 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) | | colspan="2" | 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) | ||
| Line 79: | Line 79: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|} | |} | ||
Latest revision as of 14:23, 13 July 2026
| 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
| Generate | |
| Generate the next itteration | |
| Return | |
Seed
| Seed | |
| Write a seed value into the shift register. Any 16-bit value is allowed except zero. | |
| Seed | |
| Return | |
Set_Mask
Property reference
| 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