Forum Discussion
Altera_Forum
Honored Contributor
8 years agohow to read/write to dual port ram
I added a dual port ram in on-chip memory named "dpram" to qsys but don't know how to read or write to it in Eclipse. Am using Cyclone 10LP and Quartus Prime Lite Edition 17.1. I tried thi...
Altera_Forum
Honored Contributor
8 years agoI assume you are talking about accessing using Nios. If so for starters you have a typo, that should be IOWR and not IOWC.
Your memory probably has _S1 appended to the name. Macros such as these are defined in system.h so make sure to include it and when in doubt what the name is open that file and look for the macro definition.