SN2
Stochastic
Output
Figure 2.17: Apply 10–bit Weighted Binary SNG in stochastic computation
FF29
FF28
x
FF27
FF26
FF25
FF23
Second binary number
Stochastic Output
FF22
y
FF20
FF19
.
.
.
FF10
FF9
. s
.
.
FF1
FF0
30-Stages LFSR
Figure 2.18: Stochastic scale adder based on 10–bit Weighted Binary SNG in stochastic computation
is devided by three 10–tuples (each tuple includes 10 stages as shown in Fig.2.18), three 10–WBtt and an MUX for stochastic scale addition. We set as follows
Note that maximum length condition of LFSR is still ensured, i.e, the primitive polynomial f (x) =
x29 + x28 + x26 + x25 is considered in calculating the feedback path.