PyHDL-IF: An Easy-to-Use Python/HDL Cross-Calling Interface
summary
PyHDL-IF provides an object-oriented Python↔HDL bridge that is 99% pure-Python with a tiny precompiled C++ bootstrap, avoiding per-user generated wrappers. It generates a pure SystemVerilog wrapper from annotated Python classes so SystemVerilog can call Python export functions and tasks (example: a count ones example where an SV method returns a Python-calculated integer). The library synchronizes Python async coroutines with SystemVerilog threads, integrates with cocotb when present, and is alpha-quality with working examples and a roadmap.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:45Python-HDL interoperability
- 3:52PyHDL-IF library architecture
- 5:19Reference algorithms with Python-HDL
- 8:35UVM sequences in Python
- 11:50Library features overview
- 12:54Q&A
related talks
19mPyha: Python overlay for OOP-VHDL
21mHiPy: Extracting High-Level Semantics From Python Code For Data Processing
24mHPy: a better C API for Python
22mPython for bridging between researchers and service operators: from CFFI to Jupyterhub
22mPyPy hands-on
36mPython, C, C++, and Fortran Relationship Status: It’s Not That Complicated
11mDoing Hard Things in a Soft Way
19mPython as a language for testing and code generation
