Download Internal Memory (RAM and ROM) User Guide

Transcript
Clocking Modes and Clock Enable
Page 11
Clocking Modes and Clock Enable
Altera memory supports various types of clocking modes depending on the memory
mode you select.
Table 6 shows the supported types of clocking modes in most Altera devices.
Table 6. Supported Types of Clocking Modes in Most Altera Devices
Single-port
RAM
Simple Dual-port
RAM
True Dual-port
RAM
Tri-port RAM
Single-port
ROM
Dual-port
ROM
Single clock
v
v
v
v
v
v
Read/Write
X
v
X
v
X
X
Input/Output
v
v
v
v
v
v
Independent
X
X
v
X
X
v
Clocking Modes
1
Asynchronous clock mode is only supported in MAX series of devices, and not
supported by Stratix and newer devices. However, Stratix III and newer devices
support asynchronous read memory for simple dual-port RAM mode if you choose
MLAB memory block with unregistered rdaddress port.
In the single clock mode, a single clock can be used together with a clock enable to
control all registered ports or selected registered ports of the memory blocks.
In the read/write clock mode, a separate clock is available for each read and write
port. The read clock controls all the registered read ports (data output, read address,
and read-enable ports) and the write clock controls all the registered write ports (data
input, write address, write enable, and byte enable ports).
In input/output clock mode, a separate clock is available for each input and output
port. The input clock controls all registered input ports (data input, addresses, byte
enables, read enables, and write-enables ports) to the memory and the output clock
controls the output registered ports (data output).
In the independent clock mode, a separate clock is available for each port (A and B).
Clock A controls all registered ports of port A, while clock B controls all registered
ports of port B.
1
© November 2009
You can create independent clock enable for different input and output registers to
control the shut down of a particular register for power saving purposes. From the
MegaWizard interface, click More Options (beside the clock enable option) to set the
available independent clock enable that you prefer.
Altera Corporation
Internal Memory (RAM and ROM) User Guide