Implementing in reconfigurable hardware the control logic of a TTFM ultrasonic system for cardiovascular flow-metering