Prev Problem
Next Problem

5. OR Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

 

Code

/*Write your code here*/
module top_module(input a, b,
                  output y);
    //assign y = (a == 1'b1 || b == 1'b1) ? 1'b1 : 1'b0;
    assign y = a | b;
endmodule

 

Was this helpful?
Upvote
Downvote