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

[request] Add an example of Chisel Printf #13

Closed
ccelio opened this issue Jan 12, 2018 · 1 comment
Closed

[request] Add an example of Chisel Printf #13

ccelio opened this issue Jan 12, 2018 · 1 comment

Comments

@ccelio
Copy link
Contributor

ccelio commented Jan 12, 2018

The 2.1 First Module introduces the peekPostTester. It also uses a Scala Println() to show test completion.

It does not however show the most useful testing construct of all --- the magical Printf!

I've gotten feedback from users who keep trying to use Println() to debug their Chisel code and became very confused.

Thanks and keep up the good work!

@grebe
Copy link
Contributor

grebe commented Jan 16, 2018

+1 on having printf somewhere. The difference between chisel printf() and println() is important to explain like other Scala vs Chisel constructs. I have a little PR, not sure if I put it in the right place.

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

No branches or pull requests

2 participants