diff options
| author | Jiuyang Liu | 2021-12-16 09:47:05 +0800 |
|---|---|---|
| committer | GitHub | 2021-12-16 01:47:05 +0000 |
| commit | 214115a4cdbf0714d3d1716035f5eb0dd98cba45 (patch) | |
| tree | 3faf1eef78c35af066a7aba687caab80a2e4d7e6 /src/test/scala/chiselTests/util/BitPatSpec.scala | |
| parent | 4ff431bb5c7978c9915bcd6080a4f27ef12ae607 (diff) | |
BitSet API (#2211)
BitSet is a new experimental parent type for BitPat.
It enables more complex operations on BitPats.
Co-authored-by: Ocean Shen <shenao6626@gmail.com>
Diffstat (limited to 'src/test/scala/chiselTests/util/BitPatSpec.scala')
| -rw-r--r-- | src/test/scala/chiselTests/util/BitPatSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/util/BitPatSpec.scala b/src/test/scala/chiselTests/util/BitPatSpec.scala index e14b4496..549e8bca 100644 --- a/src/test/scala/chiselTests/util/BitPatSpec.scala +++ b/src/test/scala/chiselTests/util/BitPatSpec.scala @@ -24,7 +24,7 @@ class BitPatSpec extends AnyFlatSpec with Matchers { intercept[IllegalArgumentException]{BitPat("b")} } - it should "contact BitPat via ##" in { + it should "concat BitPat via ##" in { (BitPat.Y(4) ## BitPat.dontCare(3) ## BitPat.N(2)).toString should be (s"BitPat(1111???00)") } |
