| Status | Title | Difficulty | Tags |
|---|---|---|---|
Design and verify a simple 2-input XOR gate using Verilog.
The design should be tested using a testbench that applies all possible input combinations.
Create a Verilog module named xor_gate with:
a, byy = a ^ bWrite a testbench module to verify the XOR 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.