首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >cocotb示例代码开始工作时出现的问题

cocotb示例代码开始工作时出现的问题
EN

Stack Overflow用户
提问于 2020-04-05 00:24:13
回答 1查看 335关注 0票数 0

我运行了一些cocotb示例,但并不是最常引用的(endian_swapper)。

任何建议都是值得感谢的。提前感谢!

代码语言:javascript
复制
make SIM=ghdl TOPLEVEL_LANG=vhdl

...

0.00ns CRITICAL cocotb.regression                         regression.py:137  in initialise                      Failed to import module test_endian_swapper_hal: 'return' with argument inside generator (test_endian_swapper_hal.py, line 67)
....


SyntaxError: 'return' with argument inside generator
     0.00ns ERROR    cocotb.gpi                                  gpi_embed.c:425  in embed_sim_init                  cocotb initialization failed - exiting
     0.00ns ERROR    cocotb.scheduler                            __init__.py:198  in _sim_event                      Failing test at simulator request before test run completion: Simulator shutdown prematurely
EN

回答 1

Stack Overflow用户

发布于 2020-04-05 02:48:57

这个建议对你有帮助吗?:https://github.com/cocotb/cocotb/issues/1539#issuecomment-605706516

如果你觉得有点冒险,安装cocotb master在这个问题已经解决的地方(一分钟前:)。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61031139

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档