Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAgain a reply to myself.
After trying a few times on different PCs to reproduce the strange behavior, I maybe found a way to reproduce it (I hope that this sequence will work on your machines): - make a copy of a "fast example" - open quartus, then sopcbuilder - add a dual port onchip ram (with slaves s1 and s2) - add a tightly coupled data port to the cpu - connect s1 only to the instruction master - connect s2 only to the tightly coupled data master of the cpu - in the "More CPU settings" tab put the reset and exception address in s1 - exit sopcbuilder - open Nios II IDE - create a systemlibrary based on the ptf just generated by sopcbuilder - open the system library property - set the .text to s1 - build the system library look at generated.x. On my machine, it contains the following: <div class='quotetop'>QUOTE </div> --- Quote Start --- .exceptions : { ... } > onchip_memory_0_s2 ... .text : { ..... } > onchip_memory_0_s1 =0x3a880100 /* NOP on Nios2 (big endian) */[/b] --- Quote End --- I think that is maybe wrong, because it is putting .exceptions in s2 that is the space of the data master that also has the SAME address of s1... the result at the end is that if you compile a simple application, the .exceptions data section will conflict with the .text data section... bye PJ