Skip to content

Calling a python function from SV, then have this python function call SV tasks. Useful for coding register sequences in python

Notifications You must be signed in to change notification settings

avidan-efody/pyreg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

about

This repo shows how to call a python function from SV, then have this function kick off SV tasks and wait for them to return. This is often useful if you have a long firmware sequence that is coded in python and you want to run it from SV code. The python firmware sequence will send individual reads/writes to SV for execution.

prerequisites

cmake of a reasonably recent version

running instructions

git clone https://github.com/avidan-efody/pyreg.git

cd pyreg/run_here/
vi runme # enable your simulator
source runme

About

Calling a python function from SV, then have this python function call SV tasks. Useful for coding register sequences in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published