簡體   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