Forum Discussion
Altera_Forum
Honored Contributor
12 years agoprevent write/write collision in on-chip True Dual Port Ram
Hi, FPGA: Cyclone V SoC On-chip Memory: Ram, True Dual Port, single clock, Old_data Two NIOS will have access to the ram (NIOS A to Ram port S1, NIOS B to Ram port S2) In Altera docume...
Altera_Forum
Honored Contributor
12 years agoHello Pete,
The idea of connecting both NIOS to the same Ram is to let them exchange data between each oother. I mean, both of processors needs some data from each other, and each defined data will be saved in a predefined address in the Ram, and Processor A will write to this predefined address, at the same time(or later) Processor B could read or write also to the same address. My question was if it is really efficient to implement such memory manager in C code? I am talking here in the aspect of timing. In C code I know how to do it, but if it should be done in HDL, I can not imagine how to do it. Best Regards