Prev Problem
Next Problem

5. OR Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

here the two inputs of the OR gate (a,b)when the inputs are high(1) the output is also high

 

Code

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

 

Was this helpful?
Upvote
Downvote