Skip to content

Commit

Permalink
Don't check GCD result before sending it a request
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Waterman committed Jul 8, 2016
1 parent c90be4e commit 1b8f848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/chiselTests/GCD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 1b8f848

Please sign in to comment.