Algorithm validation and hardware design interactive approach