Closed AltiumHanChou closed 3 years ago
hi @AltiumHanChou
When you run linux, there's no need to specify the TEST_PROGRAM. For that target, in fact, the main program that executes is Linux itself.
Since you have correct execution on FPGA, it's unlikely that you have a hardware bug. I would check the Linux application code. The reason for failure could be wrong computation of the golden output, or wrong configuration of the accelerator.
The Linux application should be located at the path eps/accelerators/stratus_hls/mac_stratus/sw/linux/app
.
If you can't spot the issue, I would recommend printing some of the output values, as well as the expected golden output. The result of that print should help you debug.
Remember, every time you change the application, to recompile it and update the Linux root file system with the following make targets before rebooting.
make mac_stratus-app
make linux
Alternatively, you can simply recompile the app with make mac_stratus-app
and use scp to copy it into the running ESP instance. If the problem is just a software bug, in fact, you most likely don't need to reboot to test your changes to the application.
The compiled application is copied into esp/socs/<design>/soft-build/ariane/sysroot/applications/test/mac_stratus.exe
and the IP of the ESP instance can be obtained using ifconfig
from the UART interface.
Hi @AltiumHanChou, were you able to get a correct validation of the mac
accelerator Linux application? Has this issue been resolved?
Thanks!
Hi ~
Yes. I think all of the issue has been resolved. All of test in new release is pass. Now I am trying to make and test some different “mac” in ESP platform . Thank you for your help. That was very helpful to me to do these research.
Altium han chou
Davide Giri @.***>於 2021年5月26日 週三,下午10:31寫道:
Hi @AltiumHanChou https://github.com/AltiumHanChou, were you able to get a correct validation of the mac accelerator Linux application? Has this issue been resolved?
Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sld-columbia/esp/issues/102#issuecomment-848818733, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZ6NVAH7LAZZBFX4BCS7LTTPUA2XANCNFSM423P3PXQ .
That's good to hear! Please don't hesitate to contact us with any further question, either here or by email.
Describe the bug
Expected behavior
Desktop (please complete the following information):
Additional context