Non-C DPI-C libraries
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- build-system, tooling
调研方向
首先追踪 dvsim 如何将 file_type: cppSource 传递给 Edalize,然后比较 Edalize 在各个 simulator 中对 dpiLibrary 的处理方式。确定如何在仿真开始前运行库构建命令,以及 simulator 如何接收 -sv_lib;使用一个最小的 Rust DPI-C 示例验证该行为。
由索引模型根据 Issue 内容生成。
描述
If I'm not mistaken, dvsim supports building DPI-C libraries by adding files with file_type: cppSource (example here).
To be honest I couldn't follow the labyrinth of Python packages to the place that actually takes effect (in Edalize?) so I'm not 100% sure how it works...
Anyway I would like to use a DPI-C library that isn't written in C (in Rust specifically). So I need to:
- Run a build command automatically.
- Add the
-sv_lib foo.so(or whatever) to the simulator command.
Is that possible? I did find that Edalize supports file_type: dpiLibrary, but only for Xcelium??. So maybe that just needs to be extended to other simulators... and then how would you run the actual library build command before running the simulation?
Any help appreciated!
- 主要语言
- Python
- 星标
- 15
- 派生
- 22
- 平均合并
- 4 天 3 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lowRISC/dvsim 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
Better log visibility on the license type usage profile可能已有人在做 @AlexJones0 于 18 天前认领。 未关闭
相似的 Issue
-
tunneld on Windows: Wi-Fi devices are not discovered because uvicorn runs on a ProactorEventLoop未关闭
难度 2/5 1-3 小时 新手友好度 76/100
doronz88/pymobiledevice3#2051 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
collabnix/awesome-mcp-lists#230 ·
维护者通常 9 天内回复
-
Groc schedules with out of range values pass config validation and fail later when the scheduler is built可能已有人在做 @auraseb 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
autowarefoundation/autoware_carla_scenario#342 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 72/100
ianktoo/project-monitor#14 ·