Optimising reconfigurable systems for real-time applications