|
EP2AGX95EF29C6N Datasheet, PDF (71/380 Pages) Altera Corporation – Device Interfaces and Integration | |||
|
◁ |
Chapter 3: Memory Blocks in Arria II Devices
Design Considerations
3â23
Mixed-Port Read-During-Write Mode
This mode applies to a RAM in simple or true dual-port mode that has one port
reading from and the other port writing to the same address location with the same
clock. In this mode, you can choose âold dataâ, ânew dataâ or âdonât careâ values as
the output.
For old data mode, a read-during-write operation to different ports causes the RAM
outputs to reflect the âold dataâ value at that address location.
For new data mode, a read-during-write operation to different ports causes the MLAB
registered output to reflect the ânew dataâ value on the next rising edge after the data
is written to the MLAB memory.
For donât care mode, the same operation results in a âdonât careâ or âunknownâ value
on the RAM outputs.
1 Read-during-write behavior is controlled using the RAM MegaWizard Plug-In
Manager. For more information about how to implement the desired behavior, refer to
the Internal Memory (RAM and ROM) Megafunction User Guide.
Figure 3â23 shows a sample functional waveform of mixed-port read-during-write
behavior for old data mode in MLABs.
Figure 3â23. MLABs Mixed-Port Read-During-Write: Old Data Mode
clk_a
wraddress
rdaddress
data_in
wrena
byteena_a
q_b(registered)
A0
A0
AAAA BBBB
CCCC DDDD
A1
A1
EEEE
FFFF
11
01
10
A0 (old data) AAAA
11
01
10
AABB A1(old data) DDDD
DDEE
December 2011 Altera Corporation
Arria II Device Handbook Volume 1: Device Interfaces and Integration
|
▷ |