hello everybody,
I am using the TMS570LS3137 HDK with CCS Version: 6.0.1.00040 and HALCoGen 04.01.00.
I want to run a Dhrystone at 180MHz but the best score I manage to get is 121.6 DMIPS (0.68 DMIPS/MHz) With ARM recommended compilation flags.
As you can see, it's far from the 1.66 DMIPS/MHz of the datasheet.
setup :
- I generated the project files with HalCoGen with the basic configuration : 180MHz, all drivers desactivated.
- Dhrystone code is directly from the official repository.
- I use PMU for time measurement with overflow management => switch with first #define in dhry.h (slightly same results than native time())
Tries :
- At first I thought this was because I run the code in CCS debug mode (to have the printf), so I managed to redirect the printf to the UART and monitor the output with the terminal out of the CCS debug session. There was no difference.
- Lower optimization levels gave me 60 DMIPS at 180MHz.
- I also tried to reproduce this guy setup, without better results.
Other Bugs :
- my Dhrystone is called inside a while(1) loop.... but it crash after 16 runs trough the loop.
I'm kinda stuck here... I don't understand what I'm missing.
please find attached here my project files with the HalCoGen configuration files : 6724.Dhrystone_simple.zip