Forum Discussion
Dual Port Nios V BSP error
I can confirm, that I run into the same Problem using Quartus Pro 25.3 & 26.1
However, if I use Quartus 25.1 Standard, the Memory appears correctly as a single memory.
I have made no changes to the .qsys Design. I started with a Quartus Standard .qsys design (Arria 10) and then coverted it to Quartus Pro automatically.
In both variants I created a new .bsp from scratch.
Quartus Standard result:
Quartus Pro result:
Why is the Standard version achieving the correct results, while the Pro version is messed up?
The Problem is that the Memory appears as 2 memories devices in the Pro version. Not the linker memory region (this can be modified) but the underlying memory device (I have found no option to edit the automatically generated memory devices).
In the Standard version it appears as
- single memory device
- connected to data & instruction
In the Pro version the same dual port memory appears as:
- 2 individual memory devices
- 1 connected to instruction (s1)
- 1 connected to data (s2)
This also prevents e.g. mapping .txt section s2 memory device and .rwdata to s1 memory device.
Assigning different addresses for the 2 ports is not enough. Also the linker memory region must be split, so data does not overwrite code. This fragmentation must be setup before compilation, which significantly reduces memory efficiency.
A working solution for the Pro version would be great.
best regards
Fabian