Prev Problem
Next Problem

4. NOT Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

I understood that the problem requires implementing a NOT gate. So I applied the logical NOT operator (!) 

 

 

Code

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

 

Was this helpful?
Upvote
Downvote