
3–16
Chapter 3: Memory Blocks in Cyclone IV Devices
Design Considerations
November 2011
Altera Corporation
Same-Port Read-During-Write Mode
This mode applies to a single-port RAM or the same port of a true dual-port RAM. In
the same port read-during-write mode, there are two output choices:
New Data
mode
(or flow-through) and
Old Data
mode. In
New Data
mode, new data is available on
the rising edge of the same clock cycle on which it was written. In
Old Data
mode, the
RAM outputs reflect the old data at that address before the write operation proceeds.
When using
New Data
mode together with
byteena
, you can control the output of the
RAM. When
byteena
is high, the data written into the memory passes to the output
(flow-through). When
byteena
is low, the masked-off data is not written into the
memory and the old data in the memory appears on the outputs. Therefore, the
output can be a combination of new and old data determined by
byteena
.
and
show sample functional waveforms of same port
read-during-write behavior with both
New Data
and
Old Data
modes, respectively.
Mixed-Port Read-During-Write Mode
This mode applies to a RAM in simple or true dual-port mode, which has one port
reading and the other port writing to the same address location with the same clock.
Figure 3–14. Same Port Read-During Write: New Data Mode
Figure 3–15. Same Port Read-During-Write: Old Data Mode
clk_a
wren_a
address_a
data_a
rden_a
q
_a (asynch)
a0
a1
A
B
C
D
E
F
A
B
C
D
E
F
clk_a
wren_a
address_a
data_a
rden_a
q
_a (asynch)
a0
a1
A
B
C
D
E
F
a0(old data)
a1(old data)
A
B
D
E
Содержание Cyclone IV
Страница 10: ...x Chapter Revision Dates Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Страница 14: ...I 2 Section I Device Core Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Страница 106: ...II 2 Section II I O Interfaces Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Страница 164: ...III 2 Section III System Integration Cyclone IV Device Handbook March 2016 Altera Corporation Volume 1...
Страница 274: ...vi Contents Cyclone IV Device Handbook February 2015 Altera Corporation Volume 2...
Страница 276: ...viii Chapter Revision Dates Cyclone IV Device Handbook February 2015 Altera Corporation Volume 2...
Страница 280: ...I 2 Section I Transceivers Cyclone IV Device Handbook February 2015 Altera Corporation Volume 2...
Страница 440: ...iv Contents Cyclone IV Device Handbook December 2016 Altera Corporation Volume 3...
Страница 442: ...vi Chapter Revision Dates Cyclone IV Device Handbook December 2016 Altera Corporation Volume 3...
Страница 446: ......