diff options
| author | Andrew Waterman | 2016-07-07 20:12:30 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2016-07-07 20:12:51 -0700 |
| commit | 1b8f84859f2ac2d40085e6c31034dd598a5c6aad (patch) | |
| tree | d5654ddce8cbb830febc38e992beb3c44c8ab445 | |
| parent | c90be4ea06faf9a39c85f38e932d29fe63eb4b37 (diff) | |
Don't check GCD result before sending it a request
| -rw-r--r-- | src/test/scala/chiselTests/GCD.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/GCD.scala b/src/test/scala/chiselTests/GCD.scala index 60a70cc8..23df3256 100644 --- a/src/test/scala/chiselTests/GCD.scala +++ b/src/test/scala/chiselTests/GCD.scala @@ -31,7 +31,7 @@ class GCDTester(a: Int, b: Int, z: Int) extends BasicTester { dut.io.b := UInt(b) dut.io.e := first when(first) { first := Bool(false) } - when(dut.io.v) { + when(!first && dut.io.v) { assert(dut.io.z === UInt(z)) stop() } |
