Prev Problem
Next Problem

4. NOT Gate

Back To All Submissions
Previous Submission
Next Submission

 

 

just using a negation for the input "~"

Code

module top_module

(
    input a,
    output y
);
assign y=~a;
endmodule

 

Was this helpful?
Upvote
Downvote