What is Cocotb
Cocotb is a Python based framework for HDL Verification. It works with all major simulators both commercial (Mentor, Synopsys, Cadence, Aldec) and opensource (iverilog, ghdl).
Why cocotb instead of System Verilog(SV)?
- Opensource simulators do not support SV+UVM, Commercial simulators cost upwards of 10K/license
- SV+UVM Environment has a huge setup time. It can be weeks/months before you are able to run your first test.
- You can be productive with Cocotb from day 1. The environment can be incrementally developed to add features.
- A python based model makes it easy to integrate reference models which are normally written in Python or C.
Cocotb Resources