Prev Problem
Next Problem

24. Open-Source Line using tri0

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

 

Code

/*Write your code here*/
module open_source_line(input drive_high,output reg line);
always@(*)
begin
    line=1'b0;
    line=drive_high?1'b1:1'b0;
end
endmodule

 

Was this helpful?
Upvote
Downvote