how to implement datapath tb?