【问题标题】:cocotb simulation with Aldec使用 Aldec 模拟 cocotb
【发布时间】:2020-04-21 20:25:00
【问题描述】:

我正在使用 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

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

【问题讨论】:

    标签: cocotb active-hdl


    【解决方案1】:

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

    【讨论】:

    • 感谢您的评论。我实际上无法在 makefile 文件夹中找到 makefile.activehdl。我可以看到例如“.aldec”、“.icarus”等,但不是“.activehdl”。我使用的是旧版本的 cocotb 吗?
    • 您的版本可能不是严格意义上的“旧”,但还不够新:) 请参阅docs.cocotb.org/en/latest/… 并按照说明安装 cocotb 的开发版本。
    猜你喜欢
    • 2017-04-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多