You will see the following errors during BSP generation when the Efficiency Monitor is enabled in the UniPHY-based memory controller.
SEVERE: CPU "cpu" has no memories connected to its Avalon master(s)
SEVERE: CPU "cpu" has no memories connected to its Avalon master(s)
SEVERE: nios2-bsp-generate-files failed.
These errors are caused by the CPU being unable to identify any connected memory.
The workaround is to set the “isMemory Device” parameter to “true” for the Efficiency Monitor.
Modify the following lines in the sopcinfo file:
<assignment>
<name>embeddedsw.configuration.isMemoryDevice</name>
<value>0</value>
</assignment>
<parameter name="isMemoryDevice">
<type>boolean</type>
<value>false</value>
</parameter>
To:
<assignment>
<name>embeddedsw.configuration.isMemoryDevice</name>
<value>1</value>
</assignment>
<parameter name="isMemoryDevice">
<type>boolean</type>
<value>true</value>
</parameter>
This issue will be fixed in a future release of the Quartus® II software.