使用 Aldec 进行 Cocotb 模拟

cocotb simulation with Aldec

我正在使用 cocotb 作为测试平台进行一些 EDA 工具测试。我 运行 使用 icarus 和 verilator 进行模拟没有问题,但是,使用 Aldec 我在 "runsim.tcl" 遇到了问题。

控制台的输出是

 Welcome to VSIMSA!
 This message was printed from `startup.do' macro file.

 runsim.tcl(5) error: parse error
 @if [string length<--
 make[1]: *** [/c/users/mehdi/anaconda3/lib/site-packages/cocotb/share/makefiles/simulators/Makefile.aldec:176: results.xml] Error 1
 make[1]: Leaving directory '/c/Users/Mehdi/testcocotbVerilator'
 make: *** [c:\users\mehdi\anaconda3\lib\site-packages\cocotb\share\makefiles/Makefile.sim:82: sim] Error 2

如果有人能告诉我如何解决这个问题,我将不胜感激

您的标签显示 active-hdl - 那么您可能应该使用来自 cocotb master 的新 SIM=activehdlSIM=aldec 适用于 Riviera-PRO。