diff options
| author | Schuyler Eldridge | 2018-09-27 14:53:47 -0400 |
|---|---|---|
| committer | Schuyler Eldridge | 2018-10-05 00:08:35 -0400 |
| commit | 1f24aa0d5648f7e55f8ec4fb307a25ac35cde58d (patch) | |
| tree | ebf625cdb0c9c55a3bc94a7a99bda8a0a56d0b6d /src/test/scala/chiselTests | |
| parent | dafdeab614a5106dac4d80e147fdbc2770053e1b (diff) | |
Change InlineSpec to expect "_" and not "$"
A FIRRTL change to inlining changes the inlined instance delimiter to "_"
from "$". This change is reflected here in an update to the associated
Chisel tests for the Inline API.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/test/scala/chiselTests')
| -rw-r--r-- | src/test/scala/chiselTests/InlineSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/InlineSpec.scala b/src/test/scala/chiselTests/InlineSpec.scala index a2aabdb3..0bb29fdf 100644 --- a/src/test/scala/chiselTests/InlineSpec.scala +++ b/src/test/scala/chiselTests/InlineSpec.scala @@ -50,7 +50,7 @@ class InlineSpec extends FreeSpec with ChiselRunners with Matchers { } "low FIRRTL should contain only instance z" in { val instances = collectInstances(firrtlResult.circuitState.circuit, Some("Top")).toSet - Set("Top", "Top.x$sub", "Top.y$sub", "Top.z", "Top.z.sub") should be (instances) + Set("Top", "Top.x_sub", "Top.y_sub", "Top.z", "Top.z.sub") should be (instances) } } } |
