summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/MulLookup.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/MulLookup.scala')
-rw-r--r--src/test/scala/chiselTests/MulLookup.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/MulLookup.scala b/src/test/scala/chiselTests/MulLookup.scala
index 1fe77a93..18dcc431 100644
--- a/src/test/scala/chiselTests/MulLookup.scala
+++ b/src/test/scala/chiselTests/MulLookup.scala
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
package chiselTests
import Chisel._
@@ -12,7 +14,7 @@ class MulLookup(val w: Int) extends Module {
val z = UInt(OUTPUT, 2 * w)
}
val tbl = Vec(
- for {
+ for {
i <- 0 until 1 << w
j <- 0 until 1 << w
} yield UInt(i * j, 2 * w)
@@ -31,7 +33,7 @@ class MulLookupSpec extends ChiselPropSpec {
}
property("Mul lookup table should return the correct result") {
- forAll(smallPosInts, smallPosInts) { (x: Int, y: Int) =>
+ forAll(smallPosInts, smallPosInts) { (x: Int, y: Int) =>
assert(execute{ new MulLookupTester(3, x, y) })
}
}