04.11.2012 Views

1 Montgomery Modular Multiplication in Hard- ware

1 Montgomery Modular Multiplication in Hard- ware

1 Montgomery Modular Multiplication in Hard- ware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FEI KEMT<br />

6.2.2 Analysis of TRNG <strong>in</strong> Altera Stratix FPGAs<br />

Our implementation strategy for the described case was to get the fastest and the<br />

best quality generator us<strong>in</strong>g a m<strong>in</strong>imum amount of resources (PLLs). S<strong>in</strong>ce the<br />

Stratix family conta<strong>in</strong>s two types of PLLs, several configurations are possible.<br />

The most economic solution would be based on the use of one FPLL (s<strong>in</strong>ce there<br />

are four FPLLs <strong>in</strong> the chosen device). But the multiplication and division factors<br />

of a s<strong>in</strong>gle FPLL cannot fulfil the implementation condition (5.6). Other option is<br />

to use EPLL with extended range of parameters that enables to build a s<strong>in</strong>gle-PLL<br />

TRNG. For this reason, follow<strong>in</strong>g four architectures of the TRNG implemented <strong>in</strong><br />

Altera Stratix devices are possible:<br />

1. Two FPLLs (referenced further as configuration A)<br />

2. One FPLL and one EPLL (configuration B)<br />

3. One EPLL (configuration C)<br />

4. Two EPLLs (configuration D)<br />

The relationship between the sensibility on the jitter S and the output bitrate<br />

R of the TRNG for configuration with 2 parallel PLLs (see Table 6 – 3 for other<br />

configurations and characteristic parameters) was described <strong>in</strong> equations 5.8 and<br />

5.9.<br />

Experimental Results TRNG architectures were tested on Altera DSP board<br />

with Stratix EP1S25F780C5 [16]. The TRNG architectures were described <strong>in</strong> VHDL<br />

and implemented us<strong>in</strong>g Altera Quartus II development system, version 3.0 SP2.<br />

Acquired bits were transmitted to the PC through a parallel port. The complete<br />

TRNG design <strong>in</strong>clud<strong>in</strong>g 1024 x 8-bit FIFO and a parallel <strong>in</strong>terface controller needs<br />

up to 120 LEs from about 25000 LEs available <strong>in</strong> the device. The signal CLK was<br />

used as a clock signal for the control logic and was therefore limited to about 250<br />

MHz (although the output frequency of the PLL can be higher).<br />

In order to test basic quality of different versions of TRNG, we evaluated the<br />

follow<strong>in</strong>g statistical parameters of the generated bit sequence b(n) (all of them were<br />

computed for the record length of N = 1000000 bits):<br />

1. Bias computed as<br />

bias = E[b(n)] − 0.5 = E[b] − 0.5 ∼ = N1<br />

N<br />

103<br />

− 0.5 (6.2)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!