-
Notifications
You must be signed in to change notification settings - Fork 74
Conversation
ac2ecc0
to
ee76a7d
Compare
36adedf
to
21512ef
Compare
21512ef
to
5cd73c5
Compare
missing: respect epsilon for expect
9feaf68
to
35fa513
Compare
@carlosedp and @schoeberl, I would appreciate your feedback. Would this PR solve your issues wrt. using native Scala types to interact with the DUT? |
Pretty amazing @ekiwi! I just think we could have the Other than that, the ability to use native and Chisel types for poke and peek/expect is great! |
Changed it. Thanks! |
+1 Very good! Looking forward to having this available. Sad that it didn't make it for 3.5.0 |
We can try to backport it. |
We can have this in 3.5.1/0.5.1! |
* peek/poke: lazy message + remove un-used "stale" arg * package: clean up * add new private Utils object * rename private expect to "expectInternal" in order to fix faul locator * provide scala type access to UInt, SInt and Bool * add peek/poke/expect tests, make sure values fit * wip: Interval peek/poke missing: respect epsilon for expect * test: add fixed point tests for chiseltest * provide FixedPoint methods * internal: implement expect check outside of backend * fix some tests * peekBigInt -> peekIn * add trailing new lines (cherry picked from commit 7a21ed6)
Awesome! Thanks all :) |
I do not really understand what backporting means. I thought this means that it will show up in the future 0.4.X version. It will not change 0.5.0, right? On 0.5.1 and book/teaching timing. I can add this into the book now with the master SNAPSHOT. However, my class starts on February 3rd, and then all code and examples should be in place. Will 0.5.1 be out until then? |
In this case it will eventually be part of 0.5.1
I would not count on that. @jackkoenig knows more though. |
* peek/poke: lazy message + remove un-used "stale" arg * package: clean up * add new private Utils object * rename private expect to "expectInternal" in order to fix faul locator * provide scala type access to UInt, SInt and Bool * add peek/poke/expect tests, make sure values fit * wip: Interval peek/poke missing: respect epsilon for expect * test: add fixed point tests for chiseltest * provide FixedPoint methods * internal: implement expect check outside of backend * fix some tests * peekBigInt -> peekIn * add trailing new lines (cherry picked from commit 7a21ed6)
* peek/poke: lazy message + remove un-used "stale" arg * package: clean up * add new private Utils object * rename private expect to "expectInternal" in order to fix faul locator * provide scala type access to UInt, SInt and Bool * add peek/poke/expect tests, make sure values fit * wip: Interval peek/poke missing: respect epsilon for expect * test: add fixed point tests for chiseltest * provide FixedPoint methods * internal: implement expect check outside of backend * fix some tests * peekBigInt -> peekIn * add trailing new lines (cherry picked from commit 7a21ed6) Co-authored-by: Kevin Laeufer <laeufer@cs.berkeley.edu>
I've migrated all tests in my core to the new API using Scala native values and it all worked perfectly. Commit: carlosedp/chiselv@221cab2 |
Note: for
Interval
andFixedPoint
I decided to just make sure that we get all the features from the old PeekPokeTester API.