1M28, 1M75, and 1M150 User’s Manual
PRELIMINARY
69
DALSA
03-32-00525-04
Appendix D
Appendix D
Appendix D
Appendix D
Pseudo Random Number
Pseudo Random Number
Pseudo Random Number
Pseudo Random Number
Generator
Generator
Generator
Generator
In order to test the interface between camera and framegrabber, 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
16. The result is a pattern of vertical stripes in the captured picture. (See Figure 32: Captured
picture with active 10bit LFSR.)
Table 34: States 0 – 127 of the pseudo random number generator
Nr. HEX BINARY
Nr. Hex BINARY
Nr. HEX BINARY
Nr. HEX BINARY
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