
Random Number Generator (RNG)
Freescale Semiconductor
34-5
34.3
Functional Description
shows the RNG has three functional blocks: output FIFO, internal bus interface, and the RNG
core/control logic blocks. The following sections describe these blocks in more detail.
Figure 34-5. RNG Block Diagram
34.3.1
Output FIFO
The output FIFO provides temporary storage for random data that the RNG core/control logic block
generates. This allows you to read multiple random long words back-to-back. The RNGSR allows the user
to monitor the number of random words in the FIFO, through the output FIFO level field. If the user reads
from the FIFO when it is empty and the interrupt is enabled, the RNG drives an interrupt request to the
interrupt controller. It is very important to poll RNGSR[OFL] to make sure random values are present
before reading from the FIFO.
34.3.2
RNG Core/Control Logic Block
This block contains the RNG’s control logic as well as its core engine that generates random data.
34.3.2.1
RNG Control Block
The control block contains the address decoder, all addressable registers, and control state machines for
the RNG. This block is responsible for communication with the peripheral interface and the FIFO
interface. The block also controls the core engine to generate random data. The general functionality of
the block is as follows. After reset, entropy generates and stores in the RNG’s shift registers. After
RNGCR[GO] is set, the FIFO is loaded with a random word every 256 cycles. The process of loading the
FIFO continues as long as the FIFO is not full.
34.3.2.2
RNG Core Engine
The core engine block contains the logic that generates random data. The logic within the core engine
contains the internal shift registers, as well as the logic that generates the two oscillator based clocks. This
RNG Core/Control
Output FIFO
Inter
n
al Bus
Logic
Internal Bus
Random Number
Generator
Internal
Control
Signals
In
te
rf
ace Unit
MCF5329 Reference Manual, Rev 3
Summary of Contents for MCF5329
Page 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...