Component: Linear Feedback Shift Register (Calculation): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 28: | Line 28: | ||
{| class="mtx-class-macrotable 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 42: | Line 42: | ||
{| class="mtx-class-macrotable 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 61: | Line 61: | ||
{| class="mtx-class-macrotable 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 81: | Line 81: | ||
{| class="mtx-class-macrotable 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