How to speed up Xtimecomposer simulator

If you have a simple question and just want an answer.
malbahri
Member++
Posts: 19
Joined: Sun Mar 23, 2014 9:51 pm

How to speed up Xtimecomposer simulator

Post by malbahri »

While I am running my program in xmos start kit I am getting the expected output immediately. Unfortunately, when I am running it in the simulation it takes too long time to get the output. Is there any way to speed up the simulator, because I need to perform some debugging as well as time analysis using xtime.
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

Hi,

You can't expect the simulator to be as fast as the real hardware. There will always be a huge factor of difference. A faster CPU may speed up a little bit, but likely not enough to have a significant impact (also I think that the sim is mostly single-threaded).

If you need to simulate something and want to have the output faster, you have to create a smaller test, i.e. with a smaller data set.
malbahri
Member++
Posts: 19
Joined: Sun Mar 23, 2014 9:51 pm

Post by malbahri »

Thanks a lot Bianco. Your comment is valuable