Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTCM speed advantage over onchip RAM?
(Please excuse if my ignorance of cache and bus technologies shows through my question) My NIOS FPGA application only uses on-chip RAM for code and data storage (no ext mem). Is there any spee...
Altera_Forum
Honored Contributor
16 years agoThat's a good point. If you plan on creating a design that has the code run completely on-chip then I would recommend these two configurations to ensure the maximum performance possible:
During Development:- Turn off the data cache
- Reduce the instruction cache to 512B
- Add a dual port on-chip RAM that will be pre-initialized with your code
- Hook up tightly coupled instruction and data masters to the dual port ram
- Reduce the instruction cache to 0B (this will remove the instruction master)
- Remove the JTAG debug module
- Regenerate the system
- Recompile the software
- Recompile the hardware