繁体   English   中英

myhdl协同仿真测试失败

[英]myhdl cosimulation test fail

我正在尝试在ubuntu上下载myhld并安装协同仿真。 myhdl的安装正常,但是在进行协同仿真安装后,我无法正确运行下载包中提供的测试用例。 运行进行的测试时出现错误。

我已经使用pip3 install myhdl安装了myhld进行协同仿真,我已经进入了我的协同仿真目录

〜/ .local / share / myhdl / cosimulation / icarus /

就像makefile告诉我一样,打make。 myhdl.vpi已创建。 我将myhdl.vpi文件复制到测试目录中

〜/ .local / share / myhdl / cosimulation / icarus / test

在这里我使用cmd python3 test_all.py运行了test_all.py

http://www.myhdl.org/start/installation.html

pip3安装myhdl

安装后移至协模拟器输出目录cd〜/ .local / share / myhdl / cosimulation / icarus

使cp myhdl.vpi测试/

python3 test_all.py

我希望测试通过,但无法产生错误

追溯(最近一次调用):文件“ test_gray.py”,第27行,在导入test_gray_properties,test_gray_original ModuleNotFoundError中:没有名为“ test_gray_properties”的模块

我刚遇到这个问题。 pip安装仅将共享目录安装在共享目录下,但是test_gray.py附加路径“ ../../../example/manual”。 这是test_gray_properties.py的位置,但不是。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM