Skip to content

Commit

Permalink
Fix incorrect usage of emitFirrtl in test (#1817) (#1818)
Browse files Browse the repository at this point in the history
Change a test to use emitChirrtl instead of emitFirrtl. This test
isn't supposed to be running the Scala FIRRTL Compiler, but the latter
method causes this to happen.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 492a71d)

Co-authored-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
mergify[bot] and seldridge authored Mar 17, 2021
1 parent 1ef3127 commit 3f987c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class VerificationSpec extends ChiselPropSpec {
}

property("basic equality check should work") {
val fir = ChiselStage.emitFirrtl(new VerificationModule)
val fir = ChiselStage.emitChirrtl(new VerificationModule)
val lines = fir.split("\n").map(_.trim)
assertContains(lines, "cover(clock, _T, UInt<1>(\"h1\"), \"\") @[VerificationSpec.scala 16:15]")
assertContains(lines, "assume(clock, _T_2, UInt<1>(\"h1\"), \"\") @[VerificationSpec.scala 18:18]")
Expand Down

0 comments on commit 3f987c9

Please sign in to comment.