Conflict Resolution - Altera Cyclone IV Device Handbook

Table of Contents

Advertisement

Chapter 3: Memory Blocks in Cyclone IV Devices
Design Considerations
In this mode, you also have two output choices: Old Data mode or Don't Care mode.
In Old Data mode, a read-during-write operation to different ports causes the RAM
outputs to reflect the old data at that address location. In Don't Care mode, the same
operation results in a "Don't Care" or unknown value on the RAM outputs.
f
For more information about how to implement the desired behavior, refer to the
Megafunction User
Figure 3–16
behavior for Old Data mode. In Don't Care mode, the old data is replaced with
"Don't Care".
Figure 3–16. Mixed Port Read-During-Write: Old Data Mode
q_b (asynch)
1
For mixed-port read-during-write operation with dual clocks, the relationship
between the clocks determines the output behavior of the memory. If you use the
same clock for the two clocks, the output is the old data from the address location.
However, if you use different clocks, the output is unknown during the mixed-port
read-during-write operation. This unknown value may be the old or new data at the
address location, depending on whether the read happens before or after the write.

Conflict Resolution

When you are using M9K memory blocks in true dual-port mode, it is possible to
attempt two write operations to the same memory location (address). Because there is
no conflict resolution circuitry built into M9K memory blocks, this results in unknown
data being written to that location. Therefore, you must implement conflict-resolution
logic external to the M9K memory block.
November 2011 Altera Corporation
Guide.
shows a sample functional waveform of mixed port read-during-write
clk_a&b
wren_a
address_a
a
A
data_a
rden_b
address_b
a
a (old data)
B
C
D
B
A
b (old data)
3–17
RAM
b
E
F
b
D
E
Cyclone IV Device Handbook,
Volume 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Cyclone IV and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF