Skip to content
/ scvpi Public

Provides a stub implementation of (System)Verilog VPI functions for SystemC

License

Notifications You must be signed in to change notification settings

fvutils/scvpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scvpi

Provides a stub implementation of (System)Verilog VPI functions for SystemC. Currently, this is just enough to allow cocotb to schedule coroutines. Access to signals, and other RTL-like things is not currently implemented. The purpose of this package is to enable running a Python testbench with high-level SystemC models.

Using scvpi

  • Compile scvpi with your SystemC model

    • Add /src/scvpi.cpp to your SystemC files
    • Add /src as an include path
  • Specify VPI libraries to load at runtime

    • Add +vpi=<path_to_so> to the SystemC command line

About

Provides a stub implementation of (System)Verilog VPI functions for SystemC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published