使用cocotb+verilator运行时报错
error: ‘class Vtop’ has no member named ‘nextTimeSlot’ 157 | top->eventsPending() ? top->nextTimeSlot() : NO\_TOP\_EVENTS\_PENDING
error: 'class Vtop' has no member named 'eventsPending'
将verilator升级到v5.006以上即可.
ubuntu各版本apt提供的最新版本verilator见链接.
如果你的ubuntu的apt不提供v5.006以上的verilator,根据官网的Git Quick Install安装.
注意安装步骤中的注释!!!确保安装了依赖,unsetenv
命令是csh命令行工具用的,unset
是bash用的
参考:
Cocotb error with Verilator · cocotb/cocotb · Discussion #3602
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。