Prev Problem
Next Problem

5. OR Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

created top module with input and output , then i have assigned the output y with bitwise add operator which will add a , b and appear at output y

 

Code

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

assign y = a | b;
endmodule

 

Was this helpful?
Upvote
Downvote