We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前可以通过其它cpu_test程序,但是含有字符操作的程序通不过 通过看波形可以观察是运行sprintf函数的时候直接就运行halt了。 联系之前AM教程中讲到的完善putch函数,这个问题是否是未修改putch导致的?请问大家有遇到这个问题吗?是怎么解决的?多谢!!!
The text was updated successfully, but these errors were encountered:
有大佬帮忙指点一下吗😀
Sorry, something went wrong.
hello-str是需要完善putch函数的,但是string不需要。你需要自己在am的stdio里补上printf、sprintf等函数的实现。
请问这个有实现好的版本吗?还是说必须要自己来实现?或者能提示一下putch是如何实现的吗?
putch可以自己添加一条自定义指令,然后在自己的core中使用chisel中的printf或者verilog中的fwrite输出字符。至于标准库中的函数,应该自己按照文档实现(不过github上也有很多开源的实现,可以参考)。
No branches or pull requests
目前可以通过其它cpu_test程序,但是含有字符操作的程序通不过
通过看波形可以观察是运行sprintf函数的时候直接就运行halt了。
联系之前AM教程中讲到的完善putch函数,这个问题是否是未修改putch导致的?请问大家有遇到这个问题吗?是怎么解决的?多谢!!!
The text was updated successfully, but these errors were encountered: