我运行了一些cocotb示例,但并不是最常引用的(endian_swapper)。
任何建议都是值得感谢的。提前感谢!
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发布于 2020-04-05 02:48:57
这个建议对你有帮助吗?:https://github.com/cocotb/cocotb/issues/1539#issuecomment-605706516
如果你觉得有点冒险,安装cocotb master在这个问题已经解决的地方(一分钟前:)。
https://stackoverflow.com/questions/61031139
复制相似问题