Welcome to cocotb-bus’s documentation!

What is cocotb-bus?

cocotb-bus consists of pre-packaged testbenching tools and reusable bus interfaces for https://cocotb.org.

A bit more detailed, cocotb-bus is:

  • A set of Driver & Monitor base classes to assist in creating cocotb VIPs.

  • An implementation of a scoreboard class for cocotb.

  • Sample implementation of protocol bus drivers using these classes.

Dependencies

In addition to what cocotb itself requires, cocotb-bus has a dependency on scapy (https://scapy.readthedocs.io/) for its scapy.utils.hexdump() and scapy.utils.hexdiff() functions used in the scoreboard.