
MV-D752-28 User’s Manual
REV: 1.0
Page 51/61
18
Appendix F – Pseudo random number generator
In order to test the interface between camera and frame grabber a 10bit LFSR (linear
feedback shift register) with a “many-to-one” feedback structure has been implemented
[SMITH00]. For a maximum sequence length of 1023 states, an XOR feedback at tap 2
and 9 was implemented (VHDL implementation, see below). The state 0 does not exist in
this implementation. The sequence starts with the value 1 at the beginning of every line.
The first 256 are shown in Table 39. The result is a pattern of vertical stripes in the
captured picture (see Fig. 14).
Table 39: States 0 – 127 of the pseudo random number generator
Nr.
HEX
BIN Nr.
HEX
BIN Nr.
HEX
BIN Nr.
HEX
BIN
0 001 1000000000 32 331 1000110011 64 0E0 0000011100 96 0EC 0011011100
1 002 0100000000 33 263 1100011001 65 1C0 0000001110 97 1D9 1001101110
2 004 0010000000 34 0C7 1110001100 66 380 0000000111 98 3B2 0100110111
3 009 1001000000 35 18F 1111000110 67 301 1000000011 99 365 1010011011
4 012 0100100000 36 31F 1111100011 68 203 1100000001 100 2CA 0101001101
5 024 0010010000 37 23E 0111110001 69 007 1110000000 101 195 1010100110
6 049 1001001000 38 07C 0011111000 70 00F 1111000000 102 32B 1101010011
7 092 0100100100 39 0F9 1001111100 71 01F 1111100000 103 257 1110101001
8 124 0010010010 40 1F2 0100111110 72 03F 1111110000 104 0AE 0111010100
9 249 1001001001 41 3E4 0010011111 73 07F 1111111000 105 15D 1011101010
10 093 1100100100 42 3C8 0001001111 74 0FF 1111111100 106 2BB 1101110101
11 126 0110010010 43 391 1000100111 75 1FF 1111111110 107 177 1110111010
12 24D 1011001001 44 323 1100010011 76 3FF 1111111111 108 2EF 1111011101
13 09A 0101100100 45 247 1110001001 77 3FE 0111111111 109 1DE 0111101110
14 134 0010110010 46 08E 0111000100 78 3FC 0011111111 110 3BD 1011110111
15 269 1001011001 47 11D 1011100010 79 3F8 0001111111 111 37A 0101111011
16 0D3 1100101100 48 23B 1101110001 80 3F1 1000111111 112 2F5 1010111101
17 1A6 0110010110 49 077 1110111000 81 3E3 1100011111 113 1EA 0101011110
18 34D 1011001011 50 0EF 1111011100 82 3C7 1110001111 114 3D4 0010101111
19 29A 0101100101 51 1DF 1111101110 83 38E 0111000111 115 3A8 0001010111
20 135 1010110010 52 3BF 1111110111 84 31C 0011100011 116 351 1000101011
21 26B 1101011001 53 37E 0111111011 85 238 0001110001 117 2A3 1100010101
22 0D7 1110101100 54 2FC 0011111101 86 071 1000111000 118 147 1110001010
23 1AF 1111010110 55 1F8 0001111110 87 0E2 0100011100 119 28F 1111000101
24 35F 1111101011 56 3F0 0000111111 88 1C4 0010001110 120 11E 0111100010
25 2BE 0111110101 57 3E1 1000011111 89 389 1001000111 121 23D 1011110001
26 17C 0011111010 58 3C3 1100001111 90 313 1100100011 122 07A 0101111000
27 2F9 1001111101 59 387 1110000111 91 227 1110010001 123 0F4 0010111100
28 1F3 1100111110 60 30E 0111000011 92 04E 0111001000 124 1E9 1001011110
29 3E6 0110011111 61 21C 0011100001 93 09D 1011100100 125 3D2 0100101111
30 3CC 0011001111 62 038 0001110000 94 13B 1101110010 126 3A5 1010010111
31 398 0001100111 63 070 0000111000 95 276 0110111001 127 34A 0101001011
HEX: Hexadecimal
value
BIN:
Binary value, bit order 0 - 7