Global training solutions for engineers creating the world's electronics
Menu

Verification with cocotb Primer Workshop

Standard Level - 1 day (In-Person)


Join Doulos at the Verification Futures Conference for a special 1-day hands-on workshop!

Date: June 22, 2026
Location: Reading, UK
Discounted rate: £149+VAT (usual price £900) Register now »


cocotb is a Python-based framework, created to accelerate the construction of verification environments for digital designs.  

With many engineers having a working knowledge of Python, cocotb can prove a highly effective verification tool. 

This 1-day hands-on workshop provides a rapid introduction to verification with cocotb, and is designed to enable you to start writing your own structured RTL test benches.

Topics will include:

  • Principles of cocotb co-simulation
  • Structure of a cocotb test
  • Reading and writing HDL elements
  • Applying stimulus and checking results
  • Generating clocks
  • Timing in combinational and synchronous designs
  • Writing a cocotb test makefile
  • Log messages
  • Manipulating scalars and vectors
  • Handling signed numbers
  • Basics of Transaction Level Modelling in cocotb
  • Generating constrained random stimulus in native Python
  • Overview of other Python packages useful for verification

All attendees of this training will also receive:

  • a PDF copy of the course manual in Doulos’ renowned format (slides with supporting notes, searchable and indexed)
  • a PDF copy of the exercise instructions workbook
  • indefinite access to the course exercises and worked examples on the EDA Playground platform
  • A complimentary copy of the renowned Doulos VHDL Golden Reference Guide (normally retailing for $50)
  • A 50% discount voucher for any Doulos Self-Paced Training Class 

This workshop is suitable for ASIC and  FPGA Design and Verification engineers who wish to get a rapid introduction to verification with cocotb and start writing structural RTL test benches.

Attendees should have a basic understanding of Python.

Please bring a laptop with you that:

  • can connect to Wi-Fi
  • has a PDF reader
  • and a web browser


Full instructions for accessing the exercises will be provided during the event.

This workshop is a one-day, in-person event.

9:00am: Registration (Tea / Coffee provided)

9:30am: Workshop starts

10:30–10:45am: Tea / Coffee with biscuits

12:00–1pm: Lunch provided 

3:00–3:15pm: Tea / Coffee with sweet treats

5pm: Workshop ends 

The workshops are sponsored by Doulos and  available at a very special rate of £149+VAT. (Usual price £900)

Please select the Register now link at the top of the page to register and pay for this training. 

The event will be held at Reading University:

Palmer Building, University of Reading, Whiteknights, Reading, RG6 6EW

  • Introduction to cocotb
  • Exercise 1 - A Simple cocotb test bench
  • cocotb Test Structure
  • Working with HDL values
  • Exercise 2 - Testing a synchronous device
  • Transaction Level Verification in cocotb
  • Exercise 3 - Transactions
  • Further useful Python packages