module valid_ready( input clk, input rst_n, input [7:0] data_in, input valid_a, input ready_b, output ready_a, output reg valid_b, output reg [9:0] data_out ); ...