diff options
| author | ducky | 2015-10-23 17:38:01 -0700 |
|---|---|---|
| committer | ducky | 2015-10-23 17:38:01 -0700 |
| commit | 3592aaebf04fbcba8a563fde05a15d22bad4e113 (patch) | |
| tree | d0b56064bfdc797f9f34deff25a7a699017818e1 /src/test/scala/chiselTests/Decoder.scala | |
| parent | 8f906edd711271e8c3eb7fef687e79b249c51d41 (diff) | |
Fix stylistic issues and document standard Chisel generators
Diffstat (limited to 'src/test/scala/chiselTests/Decoder.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Decoder.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/Decoder.scala b/src/test/scala/chiselTests/Decoder.scala index 69863608..9ac0a3b7 100644 --- a/src/test/scala/chiselTests/Decoder.scala +++ b/src/test/scala/chiselTests/Decoder.scala @@ -33,7 +33,7 @@ class DecoderSpec extends ChiselPropSpec { val bp = bs.map(if(rnd.nextBoolean) _ else "?").mkString ("b" + bs, "b" + bp) } - def nPairs(n: Int) = Gen.containerOfN[List, (String,String)](n,bitpatPair) + private def nPairs(n: Int) = Gen.containerOfN[List, (String,String)](n,bitpatPair) property("BitPat wildcards should be usable in decoding") { forAll(nPairs(16)){ (pairs: List[(String, String)]) => |
