Prev Problem
Next Problem

5. OR Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

assign (a || b) to y

 

 

Code

module top_module (
    input wire a, 
    input wire b,
    output wire y
);

    assign y = a || b;

endmodule

 

Was this helpful?
Upvote
Downvote