Estimated Completion Time 10 min
This assignment is not complex. It follows the same concepts as discussed in https://youtu.be/AcLHSpvPaRQ
This project demonstrates how to use Cocotb (Coroutine-based Co-simulation Testbench) to verify a Verilog module implementing an XOR operation.
Cocotb,Icarus Verilog:- https://www.youtube.com/watch?v=WIKXy5tYCp4
This module performs a 2-input XOR operation:
module dut ( input wire a, input wire b, output wire y ); assign y = a ^ b; endmodule
Expected Output
The testbench will verify the XOR logic for all input combinations. A successful run will output something like:

