diff options
| author | Jack Koenig | 2018-02-20 11:21:59 -0800 |
|---|---|---|
| committer | GitHub | 2018-02-20 11:21:59 -0800 |
| commit | 853a88bc6ffeb37ac26de6c893cf6509bb1c7ca1 (patch) | |
| tree | ed5a04f62ad50234a70ef6055666fbf604419509 /src/test/scala | |
| parent | 7f6f1cee2da468fb657d40c14d0a583696cc7105 (diff) | |
Make Bundle abstract (#774)
Diffstat (limited to 'src/test/scala')
| -rw-r--r-- | src/test/scala/chiselTests/CompatibilitySpec.scala | 2 | ||||
| -rw-r--r-- | src/test/scala/chiselTests/UIntOps.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/CompatibilitySpec.scala b/src/test/scala/chiselTests/CompatibilitySpec.scala index 7feee96f..d24c3b4d 100644 --- a/src/test/scala/chiselTests/CompatibilitySpec.scala +++ b/src/test/scala/chiselTests/CompatibilitySpec.scala @@ -69,7 +69,7 @@ class CompatibiltySpec extends ChiselFlatSpec with GeneratorDrivenPropertyChecks it should "successfully compile a complete module" in { class Dummy extends Module { // The following just checks that we can create objects with nothing more than the Chisel compatibility package. - val io = new Bundle + val io = new Bundle {} val data = UInt(width = 3) new ArbiterIO(data, 2) shouldBe a [ArbiterIO[_]] new LockingRRArbiter(data, 2, 2, None) shouldBe a [LockingRRArbiter[_]] diff --git a/src/test/scala/chiselTests/UIntOps.scala b/src/test/scala/chiselTests/UIntOps.scala index 490af22b..149ec3c4 100644 --- a/src/test/scala/chiselTests/UIntOps.scala +++ b/src/test/scala/chiselTests/UIntOps.scala @@ -92,7 +92,7 @@ class BadBoolConversion extends Module { } class NegativeShift(t: => Bits) extends Module { - val io = IO(new Bundle) + val io = IO(new Bundle {}) Reg(t) >> -1 } |
