Forum Discussion
Altera_Forum
Honored Contributor
13 years agoTo get 'pure' code you'll need:
1) A special linker script that assigns readonly data to the data memory (not code memory). 2) Use gcc3 (or rebuild gcc4 with sane options) to remove switch statement jump tables from the text segment. With a suitable loader it is then possible to run without data access to the instruction memory.