pysv
pysv copied to clipboard
Running Python code in SystemVerilog
Hi Dear Dev Team, I'm having a hard time running simulations with linked Python scripts / pysv module, but I would really like to. I'm running command line UVM simulations...
Hi, I use IntArray as funtion parameter in python side and compile passed. But a error occurs when I simulate by vcs: _Error-[DPI-ASSERT] Assertion failure in DPI call Assertion failure...
I saw a similar issue w.r.t "Getting an error in Questa simulator when importing PyCrypto library from Python #16" The python I used is python 3.6.5 and i have installed...
It's a fairly well trodden path to write testcases in C. The simulator calls the C testcase, which in turn interacts with the simulation via various DPI export callbacks. A...
Hi, I want to pass an array as output from Python to SV and get it as a dynamic array in SV. My code is as below : @sv(A_in=DataType.IntArray[1], **return_type=DataType.IntArray[1]**)...
Hello! I'm just wondering if asyncio is supported in pysv? For example, `asyncio.run()` is called within one of exported functions to perform some async work?
In the file compile.py there is this argument -DPython_EXECUTABLE:FILEPATH it should be -DPYTHON_EXECUTABLE:FILEPATH (all caps) otherwise it try to find it from PATH.