~/talk

Cocotb: Python-powered hardware verification

Talkat Week of Open Source Hardware 2019 · 2019-06-13..06-14· [testing, python]
links:none on file
slides:none on file

Cocotb claims that RTL verification is best written as software and provides a simulator plug‑in that links simulators to Python via VPI/FLI/VHPI. It runs on Icarus/GHDL and commercial simulators, uses coroutine-based tests to model parallel hardware, and integrates external tools (MATLAB engine, scapy for pcap handling) so golden models and packet traces feed DUTs. It runs under Python 2/3, supports CI without simulator licenses, and is actively maintained with plans for better extensions and Windows build support.

AI-written summary · about

  1. 0:00Intro
  2. 3:14Why Python for verification?
  3. 5:43In this talk
  4. 8:02test rifo.py: Our first test
  5. 10:13Install cocotb and run!
  6. 11:08Single FIFO write: init
  7. 12:10Single FIFO write check
  8. 13:40Coroutines (2)
  9. 14:58Integrations: Golden Model in Matlab
  10. 16:23Integrations: Feed in Ethernet packages
  11. 18:18Future Plans: Verilator
~/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.