Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
938 Views

what is debug_mem_slave interface of Nios II Processor

I have noticed debug_mem_slave Avalon-MM slave interface in Nios II Processor IP core but I am not able to find any documentation what it does?

 

I assumed it is some kind of on-chip ram embedded in Nios II but I am not able to generate BSP without on-chip ram.

 

SEVERE: CPU "nios2_gen2_0" has no memories connected to its Avalon master(s)

 

So it seems that debug_mem_slave is not substitute for on-chip ram.

0 Kudos
1 Reply
Highlighted
Employee
64 Views

Hi, This is useful in debugging, please read "Nios II Gen 2 Processor Reference Guide"> Break Exceptions https://www.intel.com/content/www/us/en/programmable/documentation/iga1420498949526.html#iga14093355... For example, if you want to set the break point when Debugging Nios II, but at this time you can not get the values of various registers from JTAG unless you skip the instruction to another memory. For this reason, it is necessary to skip to separate memory at Break, and it is automatically set to debug_mem_slave when using JTAG debug module. Embedded_guy
0 Kudos