Assign separate wires for each of the connections then assign the output to both the inputs one by one.
/*Write your code here*/ module top_module( input a, input b, output y ); wire w1; assign y = a; wire w2; assign y = b; endmodule