Prev Problem
Next Problem

4. NOT Gate

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

 

Code

/*Write your code here*/
module top_module (
	input a, // Port declarations
	//input b,
	output y
); 

   // Internal signals (optional)
   wire w;
   
   // Logic description
   assign y = ~a;   // continuous assignment
   
endmodule

 

Was this helpful?
Upvote
Downvote