summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests')
-rw-r--r--src/test/scala/chiselTests/CompatibilitySpec.scala2
-rw-r--r--src/test/scala/chiselTests/UIntOps.scala2
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
}