Glossary

cocotb

An open-source framework for writing HDL testbenches in Python. Test code runs as coroutines that drive and sample signals in a Verilog or VHDL simulator, so a design can be checked against a Python or NumPy reference model.

Learn it in depthcocotb tutorial: Python testbenches for FPGA designsVerify Verilog and SystemVerilog designs from Python with cocotb 2.x: clocks, triggers, NumPy reference models, scoreboards and pytest with Icarus Verilog.

Related terms

← All glossary terms