Commit Graph

19 Commits

Author SHA1 Message Date
Miical dfd8fb6ddf Refine XPin and add an interface to get the original value 2024-10-03 22:02:54 +08:00
yaozhicheng ca4a946c80 new feature: add cascaded ports for python 2024-07-29 17:46:23 +08:00
yaozhicheng ed1bd11e4a add option --cp_lib 2024-07-29 05:46:49 +00:00
yaozhicheng 5e09957aa3 fix: handle import error 2024-07-26 12:23:09 +08:00
yaozhicheng 805753f834 uniform dut.xclock, dut.xport 2024-07-17 10:34:01 +08:00
yaozhicheng 3f857c4dbb refine user APIs 2024-07-17 10:34:01 +08:00
Makiras 33e7314c73 refactor libDUT init function 2024-07-17 10:34:01 +08:00
Makiras a777499620 optimize multi-instance with hash DPI func name
also add dlclose to release namespace and flag to reuse main namespace
2024-07-17 10:34:01 +08:00
Makiras 7cdd8d576c refacted DutUnifiedBase without inhert and change dlmopen abstract level
due to dlmopen DPI library is simulator-related, we choose to dlmopen whole libUT.so without simulator-related code
2024-07-17 10:34:01 +08:00
Makiras a1192bd277 add multi-instance support with dlmopen for VERILATOR 2024-07-17 10:34:01 +08:00
Miical ad03526c25 Update the python template to change the waveform and coverage file names at initialization 2024-04-29 16:33:17 +08:00
FrankOu2001 292151ec52 Update & Fix bugs: Wrap methods `StepRis` and `StepFal` of `xclock` in `template/python/dut.py`; Fixed bugs in `template/python/dut.py` where calling async functions resulted in coroutines never being awaited. 2024-04-28 11:23:47 +08:00
FrankOu2001 eb5b4b4b06 Fix bugs: Fixed a bug in `template/python/dut.py` where it should have been "RunStep" instead of "RunSetp". 2024-04-27 13:36:42 +08:00
Makiras f61a0118b1 fix: verilator failed to dump wave in python, optimize example 2024-03-19 06:32:14 +00:00
Miical efc0a13f3d add python test after generation 2024-01-16 02:06:48 +00:00
Miical c5a10f42b6 modify the Python template, add XPin, and package the generated Python code as a Python package. 2023-12-26 11:19:24 +08:00
Makiras e900e948c3 workaround with LDPRELOAD for VCS 2023-12-14 09:09:52 +00:00
Makiras 8705b0bf10 workaround optimize python lib install, add XDATA c-function-pointer support for python swig 2023-12-14 08:20:31 +00:00
Makiras 81b5521004 [wip] for python 2023-12-14 06:34:58 +00:00