Update the problem details below.
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:
xor_gate
a
b
y
y = a ^ b
Write a testbench module to verify the XOR gate:
testbench
Nothing to preview yet. Start typing in the editor...
Enter the expected output as valid JSON format that will be used to verify student submissions.