Seamlessly Integrate Python with SystemVerilog
PyStim
PyStim is a lightweight, SystemVerilog library that facilitates seamless integration between SystemVerilog and Python, embedding Python Interpreter into SystemVerilog. It allows developers to expose Python functions, classes, and objects to SystemVerilog with minimal boilerplate code, making it easy to create SystemVerilog bindings for existing Python codebases. With the integration of SystemVerilog and Python through PyStim, developers can explicitly call Python functions from SystemVerilog. PyStim leverages modern OOP patterns, offering a simple and intuitive API for binding Python types to SystemVerilog, handling type conversions, and supporting advanced features like embedded Python code execution. It’s widely used for high-performance applications where Python’s ease of use is combined with SystemVerilog’s HDL nature. The integration SystemVerilog and Python thus enhances productivity and efficiency in development.

PyStim features:
Embed Python Interpreter into SystemVerilog
Embedding Python could allow you to bring the power and flexibility of Python’s ecosystem directly into the granular, time-driven world of hardware simulation.
Call Python functions from SystemVerilog
Provides an intuitive and straightforward way to expose Python functions, classes, and objects to SystemVerilog.
Compatibility
Supports Python 3.7+
Works across different Linux platforms.
Compatible with various HDL simulators and Verilator
High performance
Engineered for minimal overhead, allowing for efficient data transfer and execution, leveraging the speed of Python within SystemVerilog.