| Status | Title | Difficulty | Tags |
|---|---|---|---|
Design and verify a simple 2-input AND gate using Verilog.
The design should be tested using a testbench that applies all possible input combinations.
Create a Verilog module named and_gate with:
a, byy = a & bWrite a testbench module to verify the AND gate:
a and b (00, 01, 10, 11).y for correctness.Submit your Verilog code using Cmd+Enter to see the simulation results and waveform visualization.