diff options
| author | Richard Lin | 2019-01-22 15:06:08 -0800 |
|---|---|---|
| committer | GitHub | 2019-01-22 15:06:08 -0800 |
| commit | b39bc25ff76762d93300975e533ec3bd4f119d1c (patch) | |
| tree | 38a8219d1c8ef6c61fd667a3f46a189091e2ea20 /src/test/scala/chiselTests/PrintableSpec.scala | |
| parent | 40f4d3edf93cf48294bd6555a1deaa07571b2d3d (diff) | |
Define Data .toString (#985)
toString on Data subtypes will now print the type and optionally binding information including literals and IO names as feasible.
Diffstat (limited to 'src/test/scala/chiselTests/PrintableSpec.scala')
| -rw-r--r-- | src/test/scala/chiselTests/PrintableSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/PrintableSpec.scala b/src/test/scala/chiselTests/PrintableSpec.scala index c6ba0a1d..6d74fbc0 100644 --- a/src/test/scala/chiselTests/PrintableSpec.scala +++ b/src/test/scala/chiselTests/PrintableSpec.scala @@ -177,7 +177,7 @@ class PrintableSpec extends FlatSpec with Matchers { } val firrtl = Driver.emit(() => new MyModule) getPrintfs(firrtl) match { - case Seq(Printf("Bundle(foo -> %d, bar -> %d)", + case Seq(Printf("AnonymousBundle(foo -> %d, bar -> %d)", Seq("myBun.foo", "myBun.bar"))) => case e => fail() } |
