English
Language : 

EP4CE30F29C7N Datasheet, PDF (40/488 Pages) Altera Corporation – Cyclone IV Device Handbook, Volume 1
3–4
Chapter 3: Memory Blocks in Cyclone IV Devices
Overview
Figure 3–1 shows how the wren and byteena signals control the RAM operations.
Figure 3–1. Cyclone IV Devices byteena Functional Waveform (1)
inclock
wren
rden
address
an
a0
a1
a2
a0
a1
a2
data XXXX
ABCD
XXXX
byteena XX
10
01
11
XX
contents at a0
FFFF
ABFF
contents at a1
FFFF
FFCD
contents at a2
q (asynch)
doutn
FFFF
ABFF
FFCD
ABCD
ABCD
ABFF
FFCD
ABCD
Note to Figure 3–1:
(1) For this functional waveform, New Data mode is selected.
When a byteena bit is deasserted during a write cycle, the old data in the memory
appears in the corresponding data-byte output. When a byteena bit is asserted during
a write cycle, the corresponding data-byte output depends on the setting chosen in
the Quartus® II software. The setting can either be the newly written data or the old
data at that location.
1 Byte enables are only supported for True Dual-Port memory configurations when
both the PortA and PortB data widths of the individual M9K memory blocks are
multiples of 8 or 9 bits.
Packed Mode Support
Cyclone IV devices M9K memory blocks support packed mode. You can implement
two single-port memory blocks in a single block under the following conditions:
■ Each of the two independent block sizes is less than or equal to half of the M9K
block size. The maximum data width for each independent block is 18 bits wide.
■ Each of the single-port memory blocks is configured in single-clock mode. For
more information about packed mode support, refer to “Single-Port Mode” on
page 3–8 and “Single-Clock Mode” on page 3–15.
Cyclone IV Device Handbook,
Volume 1
November 2011 Altera Corporation