This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Executing and Simulating in idata RAM

How can I execute time-critical code in internal idata RAM of the C161?
I located my interrupt routine to 0xfc60, but both simulator and
target monitor show that it's as slow as executed from the external
8-bit-wide RAM. I also tried locating the module to some other address
and then copied it to 0xfc60 during run-time. It worked, but didn't
speed up either.

The only way to increase speed (in simulation only, of course) is
changing the BUSCON0 to 16-bit bus mode, so I assume that the
respective module actually isn't stored in the internal RAM

What can I try? Thanks!

Parents
  • The uVision2 Debugger (when simulating) does not take pipeline effects and other RAM speed timing into consideration. So, the simulation on the C16x devices is NOT cycle accurate.

    When running on a real chip in real hardware, you should see some speed improvements from running in on-chip RAM. Check the timing diagrams for your specific chip to see exactly how much of a performance boost you should see.

    Jon

Reply
  • The uVision2 Debugger (when simulating) does not take pipeline effects and other RAM speed timing into consideration. So, the simulation on the C16x devices is NOT cycle accurate.

    When running on a real chip in real hardware, you should see some speed improvements from running in on-chip RAM. Check the timing diagrams for your specific chip to see exactly how much of a performance boost you should see.

    Jon

Children
No data