Prev Problem
Next Problem

4. NOT Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

it is a direct approach just using the NOT operator(~);

Code

/*Write your code here*/
module top_module(a,y);
input a;
output y;
assign y = ~a;
endmodule

 

Was this helpful?
Upvote
Downvote