Forum Discussion
Ali8
New Contributor
5 years agoSimultaneous read and write to the same memory address using HLS
Hello,
I have a specific need to be able to perform a simultaneous read and write to the same memory address in a dual-port RAM with the output of the RAM showing the newly written data. According ...
BoonBengT_Altera
Moderator
5 years agoHi @Ali8,
Thank you for posting in Intel community forum and hope all is well.
From my understanding it can be done, however it is not recommended as the data width will be reduced.
Perhaps I would recommend to look into the memory configuration example in the following location <quartus_installation_dir>\hls\examples\tutorials\component_memories\memory_bank_configuration.
The example provide example as well as some explain on how memory can be configured.
As for ivdep pragma further explanation can be found here.
Please do have a look and if that helps clarify your doubts.
Best Wishes
BB
- Ali85 years ago
New Contributor
Thank you for your answer. I will sure have a look at the examples you have provided!