前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >error: 'class Vtop' has no member named 'nextTimeSlot' & 'eventsPending'

error: 'class Vtop' has no member named 'nextTimeSlot' & 'eventsPending'

原创
作者头像
y0sh1ne
修改2025-02-24 15:19:45
修改2025-02-24 15:19:45
720
举报
文章被收录于专栏:Error

使用cocotb+verilator运行时报错

代码语言:bash
复制
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

Quickstart Guide — cocotb 1.9.2 documentation

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档