Same-port read-during-write mode, Same-port read-during-write mode -2 – Altera MAX 10 Embedded Memory User Manual
Page 18

Same-Port Read-During-Write Mode
The same-port read-during-write mode applies to a single-port RAM or the same port of a true dual-port
RAM.
Table 3-1: Output Modes for Embedded Memory Blocks in Same-Port Read-During-Write Mode
This table lists the available output modes if you select the embedded memory blocks in the same-port read-
during-write mode.
Output Mode
Description
"new data"
(flow-through)
The new data is available on the rising edge of the same clock cycle on which
the new data is written.
When using New Data mode together with byte enable, you can control the
output of the RAM.
When byte enable is high, the data written into the memory passes to the
output (flow-through).
When byte enable 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.
"don't care"
The RAM outputs reflect the old data at that address before the write
operation proceeds.
Figure 3-2: Same-Port Read-During-Write: New 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
3-2
Same-Port Read-During-Write Mode
UG-M10MEMORY
2015.05.04
Altera Corporation
MAX 10 Embedded Memory Design Consideration