beautypg.com

Func fill = pseudo random fill – Dataman S4 User Manual

Page 73

background image

DATAMAN S4 MANUAL

FUNC FILL = Pseudo Random Fill 73

FUNC FILL = Pseudo Random Fill


Fills the memory block with a Pseudo Random
Number sequence from START to END
inclusive.
Pseudo random numbers are generated by a
computer program. They are not true random
numbers - if they were they would always be
different and unpredictable. Pseudo random
numbers are predictable. They are always the
same sequence. For testing purposes, they are
random enough.
The algorithm is a 15-bit left-shift with the least
significant bit being the XOR of previous bits 0
and 14. This sequence repeats every 32,767
shifts. The lower 8 bits are used. Every byte
will look like a left shift of the preceding byte,
except for the LSB which is unpredictable.