From 7fe61318433a8ecaac80ef2b547a88ab9dc04aec Mon Sep 17 00:00:00 2001 From: Henry Cook Date: Fri, 6 Nov 2015 13:23:24 -0800 Subject: added elaboration tests for remaining old Chisel3 examples --- src/test/scala/chiselTests/Counter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/scala/chiselTests/Counter.scala') diff --git a/src/test/scala/chiselTests/Counter.scala b/src/test/scala/chiselTests/Counter.scala index d1ea0dd7..1aa2aaba 100644 --- a/src/test/scala/chiselTests/Counter.scala +++ b/src/test/scala/chiselTests/Counter.scala @@ -17,7 +17,7 @@ class EnableTester(seed: Int) extends BasicTester { ens := ens >> 1 val (cntEn, cntWrap) = Counter(ens(0), 32) val cnt = Counter(Bool(true), 32)._1 - when(cnt === UInt(30)) { + when(cnt === UInt(31)) { io.done := Bool(true) io.error := cnt != UInt(popCount(seed)) } -- cgit v1.2.3