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 />

we can mention a generator kept <strong>in</strong> metastable state whose stable output value will<br />

be <strong>in</strong>fluenced by noise conditions <strong>in</strong>side the generator. In such case, the primary<br />

source of randomness is the metastability and the secondary source is the noise.<br />

Metastability A fundamental build<strong>in</strong>g block of digital circuits, the flip-flop (FF)<br />

has two well-def<strong>in</strong>ed stable states - high and low level usually denoted as 1 and 0<br />

(see Figure 5 – 2). Under certa<strong>in</strong> conditions the device may get <strong>in</strong>to a state which<br />

cannot be described by any of the above def<strong>in</strong>ed states. This condition is called<br />

metastability.<br />

stable state 0<br />

Metastable state<br />

stable state 1<br />

Figure 5 – 2 Illustration of stable states (0 and 1) and undef<strong>in</strong>ed metastable state<br />

The most common way to get a device <strong>in</strong>to the metastability is to violate the<br />

setup 7 and hold 8 times of the device. That can be achieved by choos<strong>in</strong>g the frequen-<br />

cies of the clock and <strong>in</strong>put signals of the FF <strong>in</strong> a ratio that results <strong>in</strong>to changes of<br />

the <strong>in</strong>put signal level that are too close to edges of the clock signal. Other option<br />

is that the frequencies of the signals are the same, but the phases are aligned <strong>in</strong> a<br />

way that causes FF’s setup and hold time violation.<br />

Keep<strong>in</strong>g the FF close to metastability and then allow<strong>in</strong>g it to resolve produces a<br />

b<strong>in</strong>ary sequence that depends on noise conditions <strong>in</strong>side the FF <strong>in</strong> the time of release.<br />

If the orig<strong>in</strong> of the noise is a thermal motion, then its random nature suggests that<br />

repeatedly clock<strong>in</strong>g a FF forced <strong>in</strong>to metastability will produce a succession of b<strong>in</strong>ary<br />

bits with little correlation between any pair <strong>in</strong> the sequence [75].<br />

7Setup time is def<strong>in</strong>ed as the m<strong>in</strong>imum time before sampl<strong>in</strong>g edge by which the sampled signal<br />

must be stable<br />

8Hold time is def<strong>in</strong>ed as the m<strong>in</strong>imum time after sampl<strong>in</strong>g edge dur<strong>in</strong>g which the sampled signal<br />

must be stable<br />

78

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

Saved successfully!

Ooh no, something went wrong!