diff options
| author | Andrew Waterman | 2016-02-04 00:00:19 -0800 |
|---|---|---|
| committer | Andrew Waterman | 2016-02-04 00:00:19 -0800 |
| commit | 62fa95acc5d3d301fe461c5844c29d0c75ca6a5d (patch) | |
| tree | 89893f19fba9aacc7e18ba8013b428e9f1e03482 /src/test/scala/chiselTests/Tbl.scala | |
| parent | 7fc2ea6a14da441db9c47d094361fea07436f6d3 (diff) | |
| parent | c5240a3bfe1c05a206c7c34c3c7c5007bbcc3680 (diff) | |
Merge branch 'blackbox't push origin master
Diffstat (limited to 'src/test/scala/chiselTests/Tbl.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Tbl.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/Tbl.scala b/src/test/scala/chiselTests/Tbl.scala index 003554c8..bf1201ec 100644 --- a/src/test/scala/chiselTests/Tbl.scala +++ b/src/test/scala/chiselTests/Tbl.scala @@ -51,9 +51,8 @@ class TblTester(w: Int, n: Int, idxs: List[Int], values: List[Int]) extends Basi class TblSpec extends ChiselPropSpec { property("All table reads should return the previous write") { forAll(safeUIntPairN(8)) { case(w: Int, pairs: List[(Int, Int)]) => - require(w > 0) val (idxs, values) = pairs.unzip - assert(execute{ new TblTester(w, 1 << w, idxs, values) }) + assertTesterPasses{ new TblTester(w, 1 << w, idxs, values) } } } } |
