summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/Counter.scala
diff options
context:
space:
mode:
authorPalmer Dabbelt2015-10-23 13:20:00 -0700
committerPalmer Dabbelt2015-10-23 13:20:00 -0700
commitda7162921544ca6265ee837b811f1eafb9b47208 (patch)
tree627d85a99298c431dc638095000c2df096a2eac6 /src/test/scala/chiselTests/Counter.scala
parent6ce580969d1cefcdff18aa8ab6610b1c89c57739 (diff)
parent233875001af47b0c7773872f8bd76f1e53ef9e83 (diff)
Merge pull request #31 from ucb-bar/scalastyle-tests
Whitespace scalastyle fixes for tests
Diffstat (limited to 'src/test/scala/chiselTests/Counter.scala')
-rw-r--r--src/test/scala/chiselTests/Counter.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/Counter.scala b/src/test/scala/chiselTests/Counter.scala
index 90e3afa3..0e8601b3 100644
--- a/src/test/scala/chiselTests/Counter.scala
+++ b/src/test/scala/chiselTests/Counter.scala
@@ -1,3 +1,5 @@
+// See LICENSE for license details.
+
package chiselTests
import Chisel._
import org.scalatest._
@@ -21,7 +23,7 @@ class CounterSpec extends ChiselPropSpec {
val (cntEn, cntWrap) = Counter(ens(0), 32)
val cnt = Counter(32)
when(cnt.value === UInt(31)) {
- io.done := Bool(true)
+ io.done := Bool(true)
io.error := cnt.value != UInt(popCount(seed))
}
}