Optimising and evaluating designs for reconfigurable hardware