Prev Problem
Next Problem

5. OR Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

I used "OR" bitwise operator to solve this problem.

 

 

Code

module top_module(input a, b, output y);
    assign y = a|b;
endmodule

 

Was this helpful?
Upvote
Downvote