我运行了一些 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