summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/util/BitPatSpec.scala
diff options
context:
space:
mode:
authorJiuyang Liu2021-12-16 09:47:05 +0800
committerGitHub2021-12-16 01:47:05 +0000
commit214115a4cdbf0714d3d1716035f5eb0dd98cba45 (patch)
tree3faf1eef78c35af066a7aba687caab80a2e4d7e6 /src/test/scala/chiselTests/util/BitPatSpec.scala
parent4ff431bb5c7978c9915bcd6080a4f27ef12ae607 (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.scala2
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)")
}