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 wire a,
    input wire b,
    output wire y

);
    //OR gate 1 bit (|), more bit (||)
    assign y = a | b;

endmodule

 

Was this helpful?
Upvote
Downvote