How do you plan to solve it?
module open_source_line (input drive_high, output line); assign line = (drive_high)? 1 : 0; endmodule