EWskill Home
Verilog
Prev Problem
Next Problem
Login
Verilog
Close menu
Loading...
Task
Discussion
Submissions
Solution
Report
4. NOT Gate
All Submissions
Back To All Submissions
Previous Submission
Next Submission
yogasaikrishna
October 3, 2025
Solving Approach
The goal is to complete the Inverted Assignment to the output .
Here A is input and Y is the output .
In Verilog ' ~ ' is used to invert the given input.
so we have assigned the ~ to the given input
Code
module top_module(input a ,output y); assign y=~a; endmodule
Was this helpful?
0
Upvote
Downvote