-
Notifications
You must be signed in to change notification settings - Fork 38
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
Chisel Notes: First Hardware discrepancy #130
Comments
First of all, thanks, John! I'm not sure I understand what you're asking, though. Do you need help understanding how to write Chisel tests or something else? If your question is how to do testing in Chisel, I suggest checking out their documentation: https://www.chisel-lang.org/. However, there are two versions of testers. The first one, "Testers" is the old version (which is currently used in DINO CPU). However, they have a new way to test (ChiselTest/testers2) that looks like it's much better. I would normally suggest using the new version. However, I'm not sure if the benefits are worth having inconsistency in the documentation or migrating everything. |
Whoops! Apologies, I seem to have missed my main concern(s) in haste. I'd like to add a
All of these differences make it somewhat tricky for me to figure out how to add a nice Any clarification would be greatly appreciated! |
We should definitely alert users that it already exists in the dinocpu repo. They can either make another file (with new names), just look at the code in
Sure! TBH, I don't remember exactly what I was thinking at the time.
I'm not sure exactly what you're referring to here. Could you provide links?
I think a separate MuxCase example (maybe building on top of |
Looks like the test case code is accounted for in Would the separate If it was a separate markdown file I think it might be worth considering adding some other common constructs like those from the chisel cheat sheet from the Chisel project. |
Yeah, a separate markdown file sounds great! Adding other things is a wonderful idea as well. We should chat sometime about credit for this... I only have so much extra credit I can give ;). Significantly improving the documentation this way is a huge contribution! |
The current
first-hardware.md
guide assumes thatsimple.scala
doesn't exist and that it can be created.However, the file does exist and contains a number of major differences from the guide.
Furthermore,
simple.scala
contains the following test case code:I'd be willing to update the guide for this new situation, especially since I'm working towards adding
MuxCase
examples (you can check out the muxcase-documentation branch on my current progress).However, I'm not quite certain what the best way is to approach such an update
The text was updated successfully, but these errors were encountered: