here start and end time are two interface signals and its impossible to avoid end time signal Thats the reason why i mentioned end time and start time. And both the timings need to be captured in array in run phase and then in check phase using that array doing the calculations