EWskill Home
Verilog
Prev Problem
Next Problem
Login
Verilog
Close menu
Loading...
Task
Discussion
Submissions
Solution
Report
6. AND Gate
module top_module(input a, input b, output y); assign y = a & b; endmodule
💡 Remember
The
&
operator in Verilog performs
bitwise AND
.
Output
y
is
1
only when both inputs are
1
.
Synthesizes directly to a
single AND gate
in hardware.