Altera_Forum
Honored Contributor
16 years agoseperate memories for data and instruction masters?
I'm curious if anyone has experimented with putting 2 on chip memories in an SOPC. One which is connected to the nios instruction master and one that is connected to the data master? It seems there could be some bottleneck with a single memory hooked to both masters. Both masters will be being arbitrated if they share a common on chip memory.
Also I'm curious which parts of the C code are exclusive to which master. Meaning which bus accesses instruction code (.text) which bus accesses read-only data mem (.rodata) which bus accesses r/w data mem (.rwdata) which bus accesses the heap which bus accesses the stack. Are each of these sections accesses by only one master or are some of them shared by both the data and instruction masters?