How to input data accompanied by a data valid signal