Forum Discussion
Altera_Forum
Honored Contributor
21 years agoROM initialisation
Hello, I created a SOPC-builder module with an on-chip ROM component. This ROM should be instantiated with the content of on_chip_rom.hex, that is in the Quartus directory and contains just 0...
Altera_Forum
Honored Contributor
21 years agoHi damc,
> The section in the .objdump file looks like this: > 8 .on_chip_rom 00000000 00801600 00801600 0000ef58 2**0 > CONTENTS This indicates that section .on_chip_rom has a length of zero. Better check your linker command file. If you don't reference cardbus_content anywhere in your code, the linker might be tossing it into the bit bucket ... so you'll need to either wrap a KEEP around your .on_chip_rom input section(s) ... or add some dummy code that references cardbus_content. By default, I don't believe the linker command file in the syslib wraps on-chip memory input sections with a KEEP. Regards, --Scott