![Altera Cyclone IV Device Handbook Download Page 50](http://html1.mh-extra.com/html/altera/cyclone-iv/cyclone-iv_device-handbook_2910785050.webp)
3–14
Chapter 3: Memory Blocks in Cyclone IV Devices
Clocking Modes
November 2011
Altera Corporation
Clocking Modes
Cyclone IV devices M9K memory blocks support the following clocking modes:
■
Independent
■
Input or output
■
Read or write
■
Single-clock
When using read or write clock mode, if you perform a simultaneous read or write to
the same address location, the output read data is unknown. If you require the output
data to be a known value, use either single-clock mode or I/O clock mode and choose
the appropriate read-during-write behavior in the MegaWizard Plug-In Manager.
1
Violating the setup or hold time on the memory block input registers might corrupt
the memory contents. This applies to both read and write operations.
1
Asynchronous clears are available on read address registers, output registers, and
output latches only.
lists the clocking mode versus memory mode support matrix.
Independent Clock Mode
Cyclone IV devices M9K memory blocks can implement independent clock mode for
true dual-port memories. In this mode, a separate clock is available for each port
(port A and port B).
clock A
controls all registers on the port A side, while
clock B
controls all registers on the port B side. Each port also supports independent clock
enables for port A and B registers.
Input or Output Clock Mode
Cyclone IV devices M9K memory blocks can implement input or output clock mode
for FIFO, single-port, true, and simple dual-port memories. In this mode, an input
clock controls all input registers to the memory block including data, address,
byteena
,
wren
, and
rden
registers. An output clock controls the data-output registers.
Each memory block port also supports independent clock enables for input and
output registers.
Table 3–5. Cyclone IV Devices Memory Clock Modes
Clocking Mode
True Dual-Port
Mode
Simple
Dual-Port
Mode
Single-Port
Mode
ROM Mode
FIFO Mode
Independent
v
—
—
v
—
Input or output
v
v
v
v
—
Read or write
—
v
—
—
v
Single-clock
v
v
v
v
v
Summary of Contents for Cyclone IV
Page 10: ...x Chapter Revision Dates Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Page 14: ...I 2 Section I Device Core Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Page 274: ...vi Contents Cyclone IV Device Handbook February 2015 Altera Corporation Volume 2...
Page 440: ...iv Contents Cyclone IV Device Handbook December 2016 Altera Corporation Volume 3...
Page 442: ...vi Chapter Revision Dates Cyclone IV Device Handbook December 2016 Altera Corporation Volume 3...
Page 446: ......