
Chapter 3: Memory Blocks in Cyclone IV Devices
3–17
Design Considerations
November 2011
Altera Corporation
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
.
shows a sample functional waveform of mixed port read-during-write
behavior for
Old Data
mode. In
Don't Care
mode, the old data is replaced with
“Don't Care”.
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.
Figure 3–16. Mixed Port Read-During-Write: Old Data Mode
a
b
a (old data)
b (old data)
clk_a&b
wren_a
address_a
q
_b (asynch)
rden_b
a
b
address_b
data_a
A
B
C
D
E
F
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: ......