Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用modelsim測試問題 #5

Open
nickhong92509 opened this issue Apr 15, 2021 · 2 comments
Open

使用modelsim測試問題 #5

nickhong92509 opened this issue Apr 15, 2021 · 2 comments

Comments

@nickhong92509
Copy link

請問如果用modelsim compile,makefile該怎麼修改,或是matmul.py要怎麼執行,才能運作,感謝!

@Oscarkai9139
Copy link
Contributor

合成的部分可以先稍安勿躁 QQ 助教在想辦法 主要是希望合成的環境和 target 要一樣

@Oscarkai9139
Copy link
Contributor

基本上 makefile 每一個 rule 只做兩行指令:
你可以先到有 python 的環境執行 matmul.py 把 *.bin 產生出來就好
cd tb/ && python3 matmul.py inputs1
然後再用自己的 verilog compiler 執行但記得把這些資料夾 build/ src/ tb/ 路徑餵給它
不然的話 src code 的路勁建議全部用絕對路徑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants