I am simulating a feedback control strategy for power converters, the model is simulated in discrete time with a sampling rate of 1e-6. The simulation for 1 sec is taking only 2 secs in standalone mode. However, which I use PIL block and run my controller on TI C2000 board it takes a lot of time such as 5 hours, however the results are fine. I wonder if there is any method to speed it up? I am running PIL simulations with a baud rate of 115200. If someone can suggest me the solution it will be very helpful.