~/talk

Another Introduction to Cocotb

Talkat ORConf 2018 · 2018-09-21..09-23· [testing, python]
links:none on file
slides:none on file

Hands-on introduction to cocotb showing Python-driven RTL verification against standard simulators (default: Icarus), VPI-based access to signals, and runnable examples on GitHub. Demonstrates reading/writing signals with binary_value (.value, .integer), preserving X/Z with configurable resolution, using yield on triggers and coroutines for timers, edges, fork/join, and iterating the design to auto-hook monitors. Produces JUnit XML for CI, is used inside Broadcom, and claims comparable productivity with only modest simulation-speed impact.

AI-written summary · about

  1. 0:00Start
  2. 0:38Overview
  3. 2:56Quickstart
  4. 3:24What is cocoth
  5. 3:53Creating a test
  6. 4:40Accessing the design
  7. 5:49Reading values from signals
  8. 7:34Assigning values to signals
  9. 8:28yield - waiting on the simulator
  10. 9:34Triggers
  11. 10:49forking and joining
  12. 11:27Advanced yield'ing
  13. 15:25exploring the design hierarchy
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.